Download PowerDNA API Reference Manual

Transcript
PowerDNA API Reference Manual, Release 4.0
uint32* din
Digital input value
DQ_NO_MEMORY
DQ_ILLEGAL_HANDLE
DQ_BAD_DEVN
DQ_BAD_PARAMETER
DQ_SEND_ERROR
DQ_TIMEOUT_ERROR
DQ_IOM_ERROR
DQ_SUCCESS
Other negative values
error allocating buffer
illegal IOM Descriptor or communication wasn’t established
device indicated by devn does not exist or is not an AI-255
Configuration parameters are incorrect
unable to send the Command to IOM
nothing is heard from the IOM for Time out duration
error occurred at the IOM when performing this command
successful completion
low level IOM error
Return:
Description:
The function reads available auxiliary digital inputs.
Notes:
4.10.13
DqAdv255WriteDOut
Syntax:
int
DqAdv255WriteDOut(int hd, int devn, uint32 dout, uint32* din);
Command:
DQE
Input:
int hd
int devn
uint32 dout
Handle to the IOM received from DqOpenIOM()
Layer inside the IOM
Digital output value
uint32* din
Digital input value
DQ_NO_MEMORY
DQ_ILLEGAL_HANDLE
DQ_BAD_DEVN
DQ_BAD_PARAMETER
DQ_SEND_ERROR
DQ_TIMEOUT_ERROR
DQ_IOM_ERROR
DQ_SUCCESS
Other negative values
error allocating buffer
illegal IOM Descriptor or communication wasn’t established
device indicated by devn does not exist or is not an AI-255
Configuration parameters are incorrect
unable to send the Command to IOM
nothing is heard from the IOM for Time out duration
error occurred at the IOM when performing this command
successful completion
low level IOM error
Output:
Return:
Description:
The function writes available digital outputs and reads back auxiliary digital inputs.
- 189 -