VTI Instruments Corp.
280
EX1629 Command Set
vtex1629_set_shunt_enabled
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_set_shunt_enabled (ViSession
vi
, ViInt32 _VI_FAR
channels[]
,ViInt32
numberOfChannels
,
ViBoolean
enabled
);
F
UNCTION
P
ARAMETERS
vi
= contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
channels
= an input integer array containing a list of channel numbers for which the shunt resistors will be
enabled/disabled. Valid input values: 0 to 47.
numberOfChannels
= the size of the
channels
list. Valid input values: 1 to 48.
enabled
= a Boolean input value indicating whether to enable the shunt resistors for the given list of channels.
VI_TRUE(1) will enable the shunt resistors for the given list of channels and VI_FALSE(0) will disable the shunt
resistors for the given list of channels..
D
ATA
I
TEM
R
ESET
V
ALUE
enabled
= 0 (disabled)
D
ESCRIPTION
This function enables or disables the shunt resistors for a particular list of channels, based on the currently
configured shunt source for each channel. A shunt source that is not enabled will not actually be applied in
hardware.
NOTE
The configuration of the shunt source and its enabling are separate operations. Thus, setting a
shunt source using the
vtex1629_set_shunt_source
function does not guarantee that the shunt
source is enabled. That must be set with the
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 channels[] = {0,1,2,3};
…
status = vtex1629_set_shunt_enabled(instrumentHandle, channels, 4, VI_TRUE);
Содержание EX1629
Страница 310: ...VTI Instruments Corp 310 EX1629 Command Set...
Страница 342: ...VTI Instruments Corp 342 EX1629 Onboard Memory...