VXI VM4016 Computer Hardware User Manual


 
VXI Technology, Inc.
44 VM4016 Programming
VXIPLUG&PLAY DRIVER EXAMPLES
/**************************************************************************
Function: vtvm4016_setup_and_read_data
Formal Parameters
ViSession instr_hndl
- A valid sessionandle to the instrument.
ViInt16 channel_list[]
- This parameter specifies the channels which are to be setup.
Only the specified channels will be enabled, the rest will be
disabled.
Each channel number in the array has the range :
vtvm4016_MIN_CHANNEL_NO (1) to
vtvm4016_MAX_CHANNEL_NO (16)
ViInt16 num_of_channels
- This parameter specifies the number of channels in the channel
list.
Valid Range:
vtvm4016_MIN_CHANNEL_NO (1) to
vtvm4016_MAX_CHANNEL_NO (16)
ViReal32 offset[],
- This parameter specifies the offset voltage to be configured for
the input channels.
Valid Range:
vtvm4016_MIN_VOLTAGE_LEVEL (-10.00 V) to
vtvm4016_MAX_VOLTAGE_LEVEL (9.96 V)
ViInt16 polarity[]
- This parameter specifies the polarity to be configured for the
specified channels.
Valid Range:
vtvm4016_INVERTED_POLARITY (0) or
vtvm4016_NORMAL_POLARITY (1)
ViInt16 voltage_range[]
- This parameter specifies the voltage range to be configured for
the specified channels.
Valid Range:
vtvm4016_10VOLTS_RANGE (0) or
vtvm4016_100VOLTS_RANGE (1)