Loading...
This chapter gives an overview of the members available for the Phidgets InterfaceKit 8/8/8. The members of the InterfaceKits 0/0/4 and 0/16/16 are named in the same way and therefore they are not listed separately. The only difference is, that there are fewer members because these Kits have less functionality. Voltage inputs, for example, are only offered by the InterfaceKit 8/8/8 Kit which therefore has members referring to them whilst the others do not offer them
Please read the chapter "Phidgets InterfaceKits" if you like to know how to add and use this device. The chapter Object and Member Notation in Widget Designer explains how to use members in general.
Phidgets_InterfaceKit_8_8_8_ID.DeviceSerial Example: This member sets and returns the serial number which is displayed next to "Serial" in the Configuration menu when selecting the according Phidgets device. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.DeviceSerial Example2: The second example shows, how to set the serial number of the device in the Configuration menu to 530161. |
Phidgets_InterfaceKit_8_8_8_ID.Disable Example: This disables the Phidgets device in the Configuration dialog as if the "Enable" check box in the window was unchecked. Use the .Enable member to reverse this command. |
Phidgets_InterfaceKit_8_8_8_ID.Enable Example: This enables the Phidgets device in the Configuration dialog as if the "Enable" check box in the window was checked. Use the .Disable member to reverse this command. |
Phidgets_InterfaceKit_8_8_8_ID.GetDeviceSerial Example: This member returns the serial number which is displayed next to "Serial" in the Configuration menu when selecting the according Phidgets device. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.GetDeviceSerial |
Phidgets_InterfaceKit_8_8_8_ID.GetInputState(inputIndex) Example: This member returns the state of the first input (which starts with index 0!). The state is also displayed as an icon in the Configuration menu when selecting the according Phidget device. True = "On" state and False = "Off" state. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.GetInputState(0) |
Phidgets_InterfaceKit_8_8_8_ID.GetOutputState(outputIndex) Example: This member returns the state of the first output (which starts with index 0!). The state is displayed with the On/Off button in the Configuration menu when selecting the according Phidget device. True = "On" state and False = "Off" state. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.GetOutputState(0) |
Phidgets_InterfaceKit_8_8_8_ID.GetVoltageInterval(voltageIndex) Example: This member returns the interval time of the first voltage input (which starts with index 0!). This is also displayed next to "Interval (ms)" in the Configuration menu when selecting the according Phidget device. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.GetVoltageInterval(0) |
Phidgets_InterfaceKit_8_8_8_ID.GetVoltageSensorType(voltageIndex) Example: This member returns the sensor type of the first voltage input (which starts with index 0!). This is also displayed in the drop-down list next to "Sensor Type" in the Configuration menu when selecting the according Phidget device. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.GetVoltageSensorType(0) |
Phidgets_InterfaceKit_8_8_8_ID.GetVoltageTrigger(voltageIndex) Example: This member returns the trigger value of the first voltage input (which starts with index 0!). This is also displayed next to "Trigger" in the Configuration menu when selecting the according Phidget device. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.GetVoltageTrigger(0) |
Phidgets_InterfaceKit_8_8_8_ID.GetVoltageUnit(voltageIndex) Example: This member returns the unit, e.g. "v" for "Volts" of the first voltage input (which starts with index 0!). You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.GetVoltageUnit(0) |
Phidgets_InterfaceKit_8_8_8_ID.GetVoltageValue(voltageIndex) Example: This member returns the value of the first voltage input (which starts with index 0!). This is also displayed next to "Current Value" in the Configuration menu when selecting the according Phidget device. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.GetVoltageValue(0) |
Phidgets_InterfaceKit_8_8_8_ID.InputID.GetState Example: This member returns the state of the first input (which starts with index 0!). The state is also displayed as an icon in the Configuration menu when selecting the according Phidget device. True = "On" state and False = "Off" state. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.Input0.GetState An alternative command is Phidgets_InterfaceKit_8_8_8_ID.GetInputState(inputIndex) which allows to address the input dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.InputID.State Example: This member returns the state of the first input (which starts with index 0!). The state is also displayed as an icon in the Configuration menu when selecting the according Phidget device. True = "On" state and False = "Off" state. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.Input0.State An alternative command is: Phidgets_InterfaceKit_8_8_8_ID.GetInputState(inputIndex) which allows to address the input dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.isConnected Example: This member returns the connection status for the Phidgets device as a Boolean value. The result is "True" if the device is connected and "False" if it is currently disconnected. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.IsConnected |
Phidgets_InterfaceKit_8_8_8_ID.isEnabled Example: This member returns the status of the check box "Enable" of the configuration dialog when selecting the according Phidgets device. The result, a Boolean value (or string), is "True" if the device is enabled and "False" if it is currently not enabled. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.IsEnabled |
Phidgets_InterfaceKit_8_8_8_ID.OutputID.GetState Example: This member returns the state of the first output (which starts with index 0!). The state is displayed with the On/Off button in the Configuration menu when selecting the according Phidget device. True = "On" state and False = "Off" state. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.Output0.GetState An alternative command is Phidgets_InterfaceKit_8_8_8_ID.GetOutputState(outputIndex) which allows to address the output dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.OutputID.SetState(value) Example: This member sets the state of the first output (which starts with index 0!). The state is displayed with the On/Off button in the Configuration menu when selecting the according Phidget device. True = "On" state and False = "Off" state. An alternative command is Phidgets_InterfaceKit_8_8_8_ID.SetOutputState(outputIndex,value) which allows to address the output dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.OutputID.State Example: This member sets and returns the state of the first output (which starts with index 0!). The state is displayed with the On/Off button in the Configuration menu when selecting the according Phidget device. True = "On" state and False = "Off" state. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.Output0.State An alternative command is Phidgets_InterfaceKit_8_8_8_ID.GetOutputState(outputIndex) which allows to address the output dynamically. Example2: The second example shows, how to set the state to False (which is the "Off" state). An alternative command is Phidgets_InterfaceKit_8_8_8_ID.SetOutputState(outputIndex,value) which allows to address the output dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.SetAllOutputsOff Example: This member sets the state of all outputs to off. The state is displayed with the On/Off button in the Configuration menu when selecting the according Phidget device. True = "On" state and False = "Off" state. |
Phidgets_InterfaceKit_8_8_8_ID.SetAllOutputsOn Example: This member sets the state of all outputs to on. The state is displayed with the On/Off button in the Configuration menu when selecting the according Phidget device. True = "On" state and False = "Off" state. |
Phidgets_InterfaceKit_8_8_8_ID.SetAllOutputStates(state) Example: This member sets the state of all outputs. The state is displayed with the On/Off button in the Configuration menu when selecting the according Phidget device. True = "On" state and False = "Off" state. |
Phidgets_InterfaceKit_8_8_8_ID.SetDeviceSerial(value) Example: This member sets the serial number which is displayed next to "Serial" in the Configuration menu when selecting the according Phidgets device. |
Phidgets_InterfaceKit_8_8_8_ID.SetOutputState(outputIndex,value) Example: This member sets the state of the first output (which starts with index 0!). The state is displayed with the On/Off button in the Configuration menu when selecting the according Phidget device. True = "On" state and False = "Off" state. |
Phidgets_InterfaceKit_8_8_8_ID.SetVoltageInterval(voltageIndex,value) Example: This member sets the interval time of the first voltage input (which starts with index 0!) to 500ms. This is also displayed next to "Interval (ms)" in the Configuration menu when selecting the according Phidget device. |
Phidgets_InterfaceKit_8_8_8_ID.SetVoltageSensorType(voltageIndex,value) Example: This member sets the sensor type of the first voltage input (which starts with index 0!) to "PN_1102". This is also displayed in the drop-down list next to "Sensor Type" in the Configuration menu when selecting the according Phidget device. |
Phidgets_InterfaceKit_8_8_8_ID.SetVoltageTrigger(voltageIndex,value) Example: This member sets the trigger value of the first voltage input (which starts with index 0!) to 0.2. This is also displayed next to "Trigger" in the Configuration menu when selecting the according Phidget device. |
Phidgets_InterfaceKit_8_8_8_ID.VoltageID.GetInterval Example: This member returns the interval time of the first voltage input (which starts with index 0!). This is also displayed next to "Interval (ms)" in the Configuration menu when selecting the according Phidget device. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_ID.VoltageID.GetInterval An alternative command is Phidgets_InterfaceKit_8_8_8_ID.GetVoltageInterval(voltageIndex) which allows to address the output dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.VoltageID.GetSensorType Example: This member returns the sensor type of the first voltage input (which starts with index 0!). This is also displayed in the drop-down list next to "Sensor Type" in the Configuration menu when selecting the according Phidget device. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.Voltage0.GetSensorType An alternative command is Phidgets_InterfaceKit_8_8_8_ID.GetVoltageSensorType(voltageIndex) which allows to address the output dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.VoltageID.GetTrigger Example: This member returns the trigger value of the first voltage input (which starts with index 0!). This is also displayed next to "Trigger" in the Configuration menu when selecting the according Phidget device. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.Voltage0.GetTrigger An alternative command is Phidgets_InterfaceKit_8_8_8_ID.GetVoltageTrigger(voltageIndex) which allows to address the output dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.VoltageID.GetUnit Example: This member returns the unit, e.g. "v" for "Volts" of the first voltage input (which starts with index 0!). You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.GetVoltageUnit(0) An alternative command is Phidgets_InterfaceKit_8_8_8_ID.GetVoltageUnit(voltageIndex) which allows to address the output dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.VoltageID.GetValue Example: This member returns the value of the first voltage input (which starts with index 0!). This is also displayed next to "Current Value" in the Configuration menu when selecting the according Phidget device. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.Voltage0.GetValue An alternative command is Phidgets_InterfaceKit_8_8_8_ID.GetVoltageValue(voltageIndex) which allows to address the output dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.VoltageID.Interval Example: This member sets and returns the interval time of the first voltage input (which starts with index 0!). This is also displayed next to "Interval (ms)" in the Configuration menu when selecting the according Phidget device. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_ID.VoltageID.Interval An alternative command is Phidgets_InterfaceKit_8_8_8_ID.GetVoltageInterval(voltageIndex) which allows to address the output dynamically. Example2: The second example sets the interval time to 500ms. An alternative command is Phidgets_InterfaceKit_8_8_8_ID.SetVoltageInterval(voltageIndex,value) which allows to address the output dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.VoltageID.SensorType Example: This member sets and returns the sensor type of the first voltage input (which starts with index 0!). This is also displayed in the drop-down list next to "Sensor Type" in the Configuration menu when selecting the according Phidget device. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.Voltage0.SensorType An alternative command is Phidgets_InterfaceKit_8_8_8_ID.GetVoltageSensorType(voltageIndex) which allows to address the output dynamically. Example2: The second example sets the sensor type to "PN_1102". An alternative command is Phidgets_InterfaceKit_8_8_8_ID.SetVoltageSensorType(voltageIndex,value) which allows to address the output dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.VoltageID.SetInterval(value) Example: This member sets the interval time of the first voltage input (which starts with index 0!) to 500ms. This is also displayed next to "Interval (ms)" in the Configuration menu when selecting the according Phidget device. An alternative command is Phidgets_InterfaceKit_8_8_8_ID.SetVoltageInterval(voltageIndex,value) which allows to address the output dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.VoltageID.SetSensorType Example: This member sets the sensor type of the first voltage input (which starts with index 0!) to "PN_1102". This is also displayed in the drop-down list next to "Sensor Type" in the Configuration menu when selecting the according Phidget device. An alternative command is Phidgets_InterfaceKit_8_8_8_ID.SetVoltageSensorType(voltageIndex,value) which allows to address the output dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.VoltageID.SetTrigger Example: This member sets the trigger value of the first voltage input (which starts with index 0!) to 0.2. This is also displayed next to "Trigger" in the Configuration menu when selecting the according Phidget device. An alternative command is Phidgets_InterfaceKit_8_8_8_ID.SetVoltageTrigger(voltageIndex,value) which allows to address the output dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.VoltageID.Trigger Example: This member sets and returns the trigger value of the first voltage input (which starts with index 0!). This is also displayed next to "Trigger" in the Configuration menu when selecting the according Phidget device. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.Voltage0.Trigger An alternative command is Phidgets_InterfaceKit_8_8_8_ID.GetVoltageTrigger(voltageIndex) which allows to address the output dynamically. Example2: The second example sets the trigger value to 0.2. An alternative command is Phidgets_InterfaceKit_8_8_8_ID.SetVoltageTrigger(voltageIndex,value) which allows to address the output dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.VoltageID.Unit Example: This member returns the unit, e.g. "v" for "Volts" of the first voltage input (which starts with index 0!). You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.VoltageUnit(0) An alternative command is Phidgets_InterfaceKit_8_8_8_ID.GetVoltageUnit(voltageIndex) which allows to address the output dynamically. |
Phidgets_InterfaceKit_8_8_8_ID.VoltageID.Value Example: This member returns the value of the first voltage input (which starts with index 0!). This is also displayed next to "Current Value" in the Configuration menu when selecting the according Phidget device. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_InterfaceKit_8_8_8_1.Voltage0.Value An alternative command is Phidgets_InterfaceKit_8_8_8_ID.GetVoltageValue(voltageIndex) which allows to address the output dynamically. |