Please wait. Due to its content this page might take a while to load...
This chapter gives an overview of the members available for the Phidgets Voltage Ratio Input device.
Please read the chapter "Phidgets - Voltage Ratio Input" 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_VoltageRatioInputID.Channel Example: This member sets and returns the channel which is displayed next to "Channel" 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_VoltageRatioInput1.Channel Example2: The second example shows, how to set the channel to a value of 2. |
Phidgets_VoltageRatioInputID.DeviceSerial Example: This member sets and returns the serial number which is displayed next to "Serial" 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_VoltageRatioInput1.DeviceSerial Example2: The second example shows, how to set the serial number of the device in the Configuration menu to 530161. |
Phidgets_VoltageRatioInputID.Disable Example: This disables the Phidgets_VoltageRatioInput1 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_VoltageRatioInputID.Enable Example: This enables the Phidgets_VoltageRatioInput1 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_VoltageRatioInputID.GetInterval Example: This member returns the interval time which is 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_VoltageRatioInput1.GetInterval An alternative command is: Phidgets_VoltageRatioInput1.Interval |
Phidgets_VoltageRatioInputID.GetSensorType Example: This member returns the sensor type which is 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_VoltageRatioInput1.GetSensorType An alternative command is: Phidgets_VoltageRatioInput1.SensorType |
Phidgets_VoltageRatioInputID.GetTrigger Example: This member returns the trigger value which is 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_VoltageRatioInput1.GetTrigger An alternative command is: Phidgets_VoltageRatioInput1.Trigger |
Phidgets_VoltageRatioInputID.GetUnit Example: This member returns the unit, e.g. "v" for "Volts".. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_VoltageRatioInput1.GetUnit An alternative command is: Phidgets_VoltageRatioInput1.Unit |
Phidgets_VoltageRatioInputID.GetValue Example: This member returns the value which is 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_VoltageRatioInput1.GetValue An alternative command is: Phidgets_VoltageRatioInput1.Value |
Phidgets_VoltageRatioInputID.HubPort Example: This member sets and returns the hub port number which is displayed next to "Hub Port" 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_VoltageRatioInput1.HubPort Example2: The second example shows, how to set the hub port to a value of 2. |
Phidgets_VoltageRatioInputID.Interval(test) Example: This member sets and returns the interval time which is 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_VoltageRatioInput1.Interval An alternative command is: Phidgets_VoltageRatioInput1.GetInterval Example2: The second example shows, how to set the interval time to a value of 500ms. An alternative command is: Phidgets_VoltageRatioInput1.SetInterval |
Phidgets_VoltageRatioInputID.IsConnected Example: This member returns the connection status for the Phidgets_VoltageRatioInput1 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_VoltageRatioInput1.IsConnected |
Phidgets_VoltageRatioInputID.IsEnabled Example: This member returns the status of the check box "Enable" of the configuration dialog when selecting the according Phidget 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_VoltageRatioInput1.IsEnabled |
Phidgets_VoltageRatioInputID.IsHubPortDevice Example: This member returns the status of the check box "Is Hub Port Device" of the configuration dialog when selecting the according Phidget device. The result, a Boolean value (or string), is "True" if the device is a hub port device and "False" if it is not. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_VoltageRatioInput1.IsHubPortDevice |
Phidgets_VoltageRatioInputID.SensorType Example: This member sets and returns the sensor type which is 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_VoltageRatioInput1.SensorType An alternative command is: Phidgets_VoltageRatioInput1.GetSensorType Example2: The second example shows, how to set the sensor type to one of the available types (as seen in the above mentioned drop-down list). An alternative command is: Phidgets_VoltageRatioInput1.SetSensorType |
Phidgets_VoltageRatioInputID.SetInterval(value) Example: This member sets the interval time which is displayed next to "Interval (ms)" in the Configuration menu when selecting the according Phidget device. An alternative command is: Phidgets_VoltageRatioInput1.Interval |
Phidgets_VoltageRatioInputID.SetSensorType(value) Example: This member sets the sensor type which is 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_VoltageRatioInput1.SensorType |
Phidgets_VoltageRatioInputID.SetTrigger(value) Example: This member sets the trigger value which is displayed next to "Trigger" in the Configuration menu when selecting the according Phidget device. An alternative command is: Phidgets_VoltageRatioInput1.Trigger |
Phidgets_VoltageRatioInputID.Trigger Example: This member sets and returns the trigger value which is 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_VoltageRatioInput1.Trigger An alternative command is: Phidgets_VoltageRatioInput1.GetTrigger Example2: The second example shows, how to set the trigger value to 0.2. An alternative command is: Phidgets_VoltageRatioInput1.SetTrigger |
Phidgets_VoltageRatioInputID.Unit Example: This member returns the unit, e.g. "v" for "Volts".. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Phidgets_VoltageRatioInput1.Unit An alternative command is: Phidgets_VoltageRatioInput1.GetUnit |
Phidgets_VoltageRatioInputID.Value Example: This member returns the value which is 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_VoltageRatioInput1.Value An alternative command is: Phidgets_VoltageRatioInput1.GetValue |