beautypg.com

Memsetdt.vi – Measurement Computing UL for NI LabVIEW User Manual

Page 92

background image

Universal Library Virtual Instruments (VIs)

Memory board VIs

MemSetDT.VI

Sets the DT Connect mode of a memory board.

Summary:

Inputs:

BoardNum

[U32] - The board number assigned when installed with InstaCal. Can

be 0 to 100.

Mode

[TF] - Direction of memory board DT transfer.

Output:

ErrCode

[I32] - Error code. See ErrMsg.VI

Arguments:

BoardNum

The board number associated with a board when it was installed with InstaCal.

Mode

Must be set to either

DTIN

(default) or

DTOUT

. Set the

Mode

on the memory board to

DTIN

to transfer data from an A/D board to the memory board. Set

Mode

=

DTOUT

(True) to transfer data from a memory board to a D/A board.

ErrCode

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

VI to convert

ErrCode

into a readable string.

Notes:

This command only controls the direction of data transfer between the memory board and another board that
is connected to it via a DT Connect cable.

Do not use this VI when you are using the

EXTMEMORY

option with AInScBg.VI or AInScFg.VI, etc., as the

memory board mode is already set through AInScBg.VI or AInScFg.VI

EXTMEMORY

option.

Use this VI only if the parent board is not supported by the Universal Library.

92