Template:UGSensorVoltageRatioInput: Difference between revisions

From Phidgets Support
m (Reverted edits by Jdecoux (talk) to last revision by Lmpacent)
 
Line 8: Line 8:
*Select the {{{1}}} from the ''Sensor Type'' drop-down menu. The example will now convert the voltage into {{{2}}} automatically. Converting the voltage to {{{2}}} is not specific to this example, it is handled by the Phidget libraries, with functions you have access to when you begin developing!
*Select the {{{1}}} from the ''Sensor Type'' drop-down menu. The example will now convert the voltage into {{{2}}} automatically. Converting the voltage to {{{2}}} is not specific to this example, it is handled by the Phidget libraries, with functions you have access to when you begin developing!
<br clear="all">
<br clear="all">
===In Your Software===
Since this sensor sends a ratiometric signal through the Phidget cable, you must use the '''VoltageRatioInput''' API to interface with this device. To ensure the signal from the 1125 is properly processed, you must be sure to set the following parameters in your program:
{| class="plain_product_table" cellpadding="10"
|-
!
! VINT Hub Port (VINT HUB)
! Analog Input Port (Interface Kit)
|-
| '''isHubPortDevice'''
| TRUE
| FALSE
|-
| '''sensorType'''
| 1125_HUMIDITY or 1125_TEMPERATURE
| 1125_HUMIDITY or 1125_TEMPERATURE
|}

Latest revision as of 16:13, 10 May 2018

Voltage Ratio Input

Double-click on a Voltage Ratio Input object in order to run the example:

1018 Sensors VoltageRatioInput.png


General information about the selected object will be displayed at the top of the window. You can also experiment with the following functionality:

  • Modify the change trigger and/or data interval value by dragging the sliders. For more information on these settings, see the data interval/change trigger page.
  • Select the {{{1}}} from the Sensor Type drop-down menu. The example will now convert the voltage into {{{2}}} automatically. Converting the voltage to {{{2}}} is not specific to this example, it is handled by the Phidget libraries, with functions you have access to when you begin developing!