beautypg.com

Measurement Computing UL for NI LabVIEW User Manual

Page 84

background image

Universal Library Virtual Instruments (VIs)

Streamer File VIs

Range

If the selected A/D board does not have a programmable range feature, then this

argument will be ignored. Otherwise the gain can be set to any of the ranges that
are supported by the selected A/D board. See the "

Range

input values" table on

page 19 for valid values. Refer to board-specific information contained in the
Universal Library User's Guide (available on our web site at

www.mccdaq.com/PDFmanuals/sm-ul-user-guide.pdf

) for the list of ranges

supported by each board.

FileName

Name of the streamer file to create.

Use

FileRead.VI

to read the data from this file.

Refer to the Universal Library User's Guide (available on our web site at

www.mccdaq.com/PDFmanuals/sm-ul-user-guide.pdf

) for information on the

streamer file functions.

ExtClock

If this option is used, then conversions will be controlled by the signal on the

external clock input line rather than by the internal pacer clock. Each conversion
will be triggered on the appropriate edge of the external clock input signal (see
board-specific information). When this option is used, the

Rate

argument is

ignored. The sampling rate is dependent on the trigger signal.

DTConnect

If True, samples are sent to the DT-Connect port if the board is equipped with one.

If False, samples are not output to the DT-Connect port. This is the default.

ExtTrigger

Wait until trigger input line is asserted. When set to True, the sampling will not

begin until the trigger condition is met.

Rate

(output)

Actual update rate in samples per second.

ErrCode

Error code returned from the Universal Library. Zero if no error occurred. Use the

ErrMsg VI to convert

ErrCode

into a readable string.

Notes:

OVERRUN

Error: This error indicates that the data was not written to the file as fast as the data was sampled.

Consequently, some data was lost. The value returned from FileInfo.VI in

Count

will be the number of points

that were successfully collected.

Important - Read board-specific information in UL User's Guide

In order to understand the functions, read the board-specific information contained in the Universal Library
User's Guide (available on our web site at

www.mccdaq.com/PDFmanuals/sm-ul-user-guide.pdf

). The

example programs should be examined and run prior to attempting any programming of your own.

84