National Instruments 321645c-01 Welding System User Manual


 
Chapter 2 Function Reference Lab_ISCAN_to_Disk
©
National Instruments Corporation 2-275 NI-DAQ FRM for PC Compatibles
1 through 8 for the DAQCard-700 in differential mode.
1 through 8 for the 516 and Lab and 1200 Series devices in single-ended mode.
1 through 16 for the DAQCard-700 and LPM devices in single-ended mode.
gain is the gain setting to be used for the scanning operation. NI-DAQ applies the same gain
to all the channels scanned. This gain setting applies only to the DAQ device; if you use SCXI
modules with additional gain selection, you must establish any gain you want at the SCXI
module either by setting jumpers on the module or by calling
SCXI_Set_Gain. The
following gain settings are valid for the Lab and 1200 Series devices: 1, 2, 5, 10, 20, 50, 100.
If you use an invalid gain setting, NI-DAQ returns an error. NI-DAQ ignores gain for the
DAQCard-500/700 and LPM devices.
count is the number of samples to be acquired (that is, the number of A/D conversions to be
performed). The length of your data file should be exactly twice the value of count. If you
have previously enabled pretrigger mode (by a call to
DAQ_StopTrigger_Config)
NI-DAQ ignores the count parameter.
Range: 3 through 2
32
– 1.
sampleRate is the sample rate you want in units of pts/s.
Range: Roughly 0.00153 pts/s through 62,500 pts/s (Lab and 1200 Series devices).
Roughly 0.00153 pts/s through 50,000 pts/s (DAQCard-500/700 and 516 and
LPM devices).
Note If you are using an SCXI-1200 with remote SCXI, the maximum rate will depend
on the baud rate setting and count. Refer to the SCXI-1200 User Manual for more
details.
scanRate is the scan rate you want in units of pts/s. This is the rate at which NI-DAQ performs
scans. The function performs a scan each time NI-DAQ samples all channels in the scan
sequence. Therefore, scanRate must be equal to or greater than sampleRate * numChans.
Lab_ISCAN interval scanning is available on the Lab and 1200 Series devices only.
Range: 0 and roughly 0.00153 pts/s through 62,500 pts/s.
Note If you are using an SCXI-1200 with remote SCXI, the maximum rate will depend
on the baud setting. Refer to the SCXI-1200 User Manual for more details.
A value of 0 disables interval scanning.
concat enables concatenation of data to an existing file. Regardless of the value of concat,
if the file does not exist, NI-DAQ creates the file.
0: Overwrite file if it exists.
1: Concatenate new data to an existing file.