VTI Instruments Corp.
278
EX1629 Command Set
vtex1629_set_sample_frequency
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_set_sample_frequency (ViSession
vi
, ViReal64
sampleFrequency
)
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.
sampleFrequency
= a real input value that specifies, in hertz (Hz), the desired sampling frequency of the EX1629.
D
ATA
I
TEM
R
ESET
V
ALUE
sampleFrequency
= 1000.00000
D
ESCRIPTION
This function sets the sampling frequency of all channels of the EX1629. The EX1629 offers a discrete number of
sample frequencies. Programmed values that fall between valid values will be rounded to the closest valid value. See
in Section 3 for a list of the valid values. The actual sample frequency can be queried with the
vtex1629_get_sample_frequency command.
As changing the
sampleFrequency
parameter effects the actual values of the arm and trigger delay calls, it is best
practice to perform vtex1629_get_arm_delay and vtex1629_get_trigger_delay calls after making a
vtex1629_set_sample_frequency call to determine if these delays have been effected.
E
XAMPLE
ViStatus status;
…
status = vtex1629_set_sample_frequency(instrumentHandle, 100.0);
Содержание EX1629
Страница 310: ...VTI Instruments Corp 310 EX1629 Command Set...
Страница 342: ...VTI Instruments Corp 342 EX1629 Onboard Memory...