3 Keysight SD1 Command Reference
Keysight M3100A/M3102A PXIe Digitizer User's Guide
41
LabVIEW
channelTriggerConfig.vi
M3601A
Available: Yes
3. 3. 2. 4 DAQconfig
Configures the acquisition of words
in two possible reading
modes:
Blocking: Using the function
to read the words. DAQread
is a blocking function that is released when the amount of words specified in
DAQpoints is acquired or when timeout elapses. This mode is enabled when a
callback function is not specified (it is set to null).
Non-blocking: The user specifies a callback function which is called whenever
the DAQeventDataReady event is signaled or when
timeout elapses. In the latter condition, there may be words available, but less than
the amount specified in DAQpoints.
Parameters
Name
Description
Inputs
moduleID
(Non-object-oriented languages only) Module identifier, returned by function
nDAQ
DAQ to configure
triggerMode
Trigger mode
triggerDelay
(number of samples that trigger is delayed (or advanced if negative))
DAQpointsPerCycle Number of words to acquire per trigger
cycles
Number of acquisition cycles. Each cycle requires a trigger specified by triggerMode.
A negative number means continuous acquisition
errorIn
(LabVIEW only) If it contains an error, the function will not be executed and errorIn
will be passed to errorOut
Outputs
moduleIDout
(LabVIEW only) A copy of moduleID
errorOut
Keysight SD1 Command Reference
C
int SD_AIN_DAQconfig(int moduleID, int nDAQ, int DAQpointsPerCycle, int cycles, int
triggerDelay, int triggerMode);