VTI Instruments Corp.
158
EX1629 Command Set
vtex1629_get_gain
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_get_gain (ViSession
vi
, ViInt32
channel
,ViPReal64
gain
);
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.
channel
= an integer input value that specifies the channel for which the gain will be returned. Valid input values: 0
to 47.
gain
= a real return value indicating the specified channel’s currently configured gain setting. Valid return values:
1.00, 10.0, and 100.0.
D
ATA
I
TEM
R
ESET
V
ALUE
Not applicable to this function.
D
ESCRIPTION
This function queries and returns the specified channel’s signal conditioning gain.
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
ViReal64 gain;
…
status = vtex1629_get_gain(instrumentHandle, 31, &gain);
Содержание EX1629
Страница 310: ...VTI Instruments Corp 310 EX1629 Command Set...
Страница 342: ...VTI Instruments Corp 342 EX1629 Onboard Memory...