2 summarize – National Instruments NI-488.2 User Manual

Page 70

Advertising
background image

Chapter 7

Interactive Control Utility

© National Instruments Corporation

7-7

NI-488.2 User Manual

ibwait mask

Wait for selected event where

mask

is a hex or decimal integer or a list

of mask bit mnemonics, such as

ibwait TIMO CMPL

.

ibwrt wrtbuf

Write data.

ibwrta wrtbuf

Write data asynchronously.

ibwrtf flname

Write data from a file where

flname

is pathname of file to write.

Table 7-2. Syntax for Board-Level Traditional NI-488.2 Calls in Interactive Control

Syntax

Description

ibask option

Return configuration information where

option

is a mnemonic for

a configuration parameter.

ibcac v

Become active Controller.

ibcmd cmdbuf

Send commands.

ibcmda cmdbuf

Send commands asynchronously.

ibconfig option

value

Alter configurable parameters where

option

is mnemonic for

a configuration parameter.

ibdma v

Enable/disable DMA.

ibeos v

Change/disable EOS message.

ibeot v

Enable/disable END message.

ibfind udname

Return unit descriptor where

udname

is the symbolic name of

interface (for example,

gpib0

).

ibgts v

Go from Active Controller to standby.

ibist v

Set/clear

ist

.

iblck v

LockWaitTime

Acquire or release an exclusive interface lock for the current process.

iblines

Read the state of all GPIB control lines.

ibln pad sad

Check for presence of device on the GPIB at

pad

,

sad

.

ibloc

Go to local.

Table 7-1. Syntax for Device-Level Traditional NI-488.2 Calls in Interactive Control (Continued)

Syntax

Description

Advertising