|
Typedefs |
typedef struct _CPhidgetAnalog * | CPhidgetAnalogHandle |
Functions |
int | CPhidgetAnalog_create (CPhidgetAnalogHandle *phid) |
int | CPhidgetAnalog_getOutputCount (CPhidgetAnalogHandle phid, int *count) |
int | CPhidgetAnalog_getVoltage (CPhidgetAnalogHandle phid, int index, double *voltage) |
int | CPhidgetAnalog_setVoltage (CPhidgetAnalogHandle phid, int index, double voltage) |
int | CPhidgetAnalog_getVoltageMax (CPhidgetAnalogHandle phid, int index, double *max) |
int | CPhidgetAnalog_getVoltageMin (CPhidgetAnalogHandle phid, int index, double *min) |
int | CPhidgetAnalog_setEnabled (CPhidgetAnalogHandle phid, int index, int enabledState) |
int | CPhidgetAnalog_getEnabled (CPhidgetAnalogHandle phid, int index, int *enabledState) |
Detailed Description
These calls are specific to the Phidget Analog object. See your device's User Guide for more specific API details, technical information, and revision details. The User Guide, along with other resources, can be found on the product page for your device.
Typedef Documentation
Function Documentation
Creates a Phidget Analog handle.
- Parameters:
-
| phid | A pointer to an unallocated Phidget Analog handle. |
Gets the number of outputs supported by this phidget analog.
- Parameters:
-
| phid | An attached phidget analog handle. |
| count | The axis count. |
Gets the currently set voltage for an output, in V.
- Parameters:
-
| phid | An attached phidget analog handle. |
| index | The output index. |
| voltage | The voltage. |
Sets the voltage of an output, in V.
- Parameters:
-
| phid | An attached phidget analog handle. |
| index | The otuput index. |
| voltage | The output voltage. |
Gets the maximum settable output voltage, in V.
- Parameters:
-
| phid | An attached phidget analog handle. |
| index | The output index. |
| max | The max voltage. |
Gets the minimum settable output voltage, in V.
- Parameters:
-
| phid | An attached phidget analog handle. |
| index | The output index. |
| min | The min voltage. |
Sets the enabled state for an output.
- Parameters:
-
| phid | An attached phidget analog handle. |
| index | The output index. |
| enabledState | The enabled state. Possible values are PTRUE and PFALSE. |
Gets the enabled state for an output.
- Parameters:
-
| phid | An attached phidget analog handle. |
| index | The output index. |
| enabledState | The enabled state. Possible values are PTRUE and PFALSE. |