Reference
Components
Phidgets 2/2/2
Description
This primitive allows you to control a Phidgets 2/2/2 Interface Kit board.
Once you have the board connected to your PC you need to start the component by sending a trigger to the first input. The 'On' output will
return True if a connection has been established (False otherwise).
If you have multiple boards connected to your PC then you should provide the unique serial number of the board you want to connect to at
the 'Conn' (connection string) input. If you want to connect to a device on a remote server provide the device serial, IP and port or server
name and also a password if necessary separated by commas. Use -1 as the serial if you want to connect to the first device found.
Example connection strings:
“196491” or “635824,myserver” or “-1,myserver,password” or “142567,192.168.1.1,800,password”
The board has 2 digital outputs, 2 digital inputs and 2 analog inputs. These are mirrored on the component. The 2 boolean inputs will send
data out through the 2 digital outputs. The 2 integer outputs receive data from the 2 analog inputs. The 2 boolean outputs receive data from
the 2 digital inputs.
The 2 Int outputs are in the range 0-999.
297 of 494