GX5961, File
Returns the specified High Voltage I/O channel input threshold.
GtDio6xHighVoltageIoGetInputThreshold (nHandle, pdThreshold, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Session identifier:● Board handle is used when communicating with the hardware. The Board handle session identifier is returned by calling GtDio6xInitialize or GtDio6xSetupInitialization. ● File handle is used when communicating with a file. The File handle session identifier is returned by calling GtDio6xFileOpen. |
pdThreshold |
PDOUBLE |
Returns all the High Voltage I/O channels common voltage thresholds. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative value on failure. |
Note: Applies only to the GX5961, the high voltage I/O are connected to J10 in the Front Panel Connector.
The following example sets the High Voltage I/O input threshold to 10 and returns the thresholds:
SHORT nStatus;
DOUBLE dThreshold;
GtDio6xHighVoltageIoSetInputThreshold (nHandle, 10, &nStatus);
GtDio6xHighVoltageIoGetInputThreshold (nHandle, &dThreshold, &nStatus);
GtDio6xHighVoltageIoSetState, GtDio6xHighVoltageIoGetState, GtDio6xHighVoltageIoGetInputLevels, GtDio6xHighVoltageIoSetInputThreshold, GtDio6xGetErrorString