Vizard 8 » Command Index » Vizard objects » sensor » <sensor>.command
8.1

<sensor>.command

This action will send a command to the plugin

<sensor>.command(  
command  
mesg = ''  
[x,y,z,w]  
)  
command
A command number
mesg = ''
An optional message to pass
[x,y,z,w]
Some optional extra numbers to pass

Remarks

This will perform the given command on the plugin.

Return Value

None

Example

sensor = viz.add('sensor.dls')
sensor.command(1,'message')
sensor.command(2,'',23,34)