Vxiplug&play driver examples, Vxi plug&play driver examples, Plug – VXI VM4016 User Manual
Page 44: Play, River, Xamples

VXI Technology, Inc.
44
VM4016 Programming
VXI
PLUG
&
PLAY
D
RIVER
E
XAMPLES
/**************************************************************************
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)