xPCI-3009 API
PCI-3009 analog output functions

Functions

_INT_ i_PCI3009_AnalogOutputWrite1Channel (DWORD_ dw_BoardHandle, BYTE_ b_Channel, WORD_ w_AnalogOutputValue)
 
_INT_ i_PCI3009_AnalogOutputWriteMoreChannels (DWORD_ dw_BoardHandle, BYTE_ b_NbrOfChannels, PBYTE_ pb_ChannelList, PWORD_ pw_AnalogOutputValueList)
 

Detailed Description

Function Documentation

_INT_ i_PCI3009_AnalogOutputWrite1Channel ( DWORD_  dw_BoardHandle,
BYTE_  b_Channel,
WORD_  w_AnalogOutputValue 
)

Set 1 analog output of the board xPCI-3009

Parameters
[in]dw_BoardHandle: Handle of board PCI-3009
[in]b_Channel: Channel number of the analog output to set (0 to 3)
[in]w_AnalogOutputValue: Analog output value to set on the selected analog output channel (0:-10V, 2048=0V, 4095=+10V)
Returns
0: No error
-1: The handle parameter of the board is wrong
-2: The channel number parameter is wrong
-3: The channel value parameter is wrong
_INT_ i_PCI3009_AnalogOutputWriteMoreChannels ( DWORD_  dw_BoardHandle,
BYTE_  b_NbrOfChannels,
PBYTE_  pb_ChannelList,
PWORD_  pw_AnalogOutputValueList 
)

Set more analog output of the board xPCI-3009

Parameters
[in]dw_BoardHandle: Handle of board PCI-3009
[in]b_NbrOfChannels: Nbr of channels so setings (1 to 4)
[in]pb_ChannelList: Channel number list of the analog output to set (0 to 3)
[in]pw_AnalogOutputValueList: Analog output value list to set on the selected analog output channel (0:-10V, 2048=0V, 4095=+10V)
Returns
0: No error
-1: The handle parameter of the board is wrong
-2: Wrong channels number selection
-3: The channel index 0 number parameter is wrong
-4: The channel index 0 value parameter is wrong
-5: The channel index 1 number parameter is wrong
-6: The channel index 1 value parameter is wrong
-7: The channel index 2 number parameter is wrong
-8: The channel index 2 value parameter is wrong
-9: The channel index 3 number parameter is wrong
-10: The channel index 3 value parameter is wrong