Language Reference

ENTER

190

OUTPUT 723;"FUNCDEF VDM,^";

Begin de￿nition of user-de￿ned func-

 

 

tion, called VDM.

 

200

OUTPUT 723;"OUTPUT 25,K,$H5$;";

Send message , \H5" to multimeter .

210

OUTPUT 723;"ENTER 25,K,NN;";

Receive value in amperes from multime-

 

 

ter. Store value in NN.

 

220

OUTPUT 723;"CLRDSP;";

Clear graphics from memory .

 

230

OUTPUT 723;"PA 400,500;";

Set pen at (400,500).

 

240

OUTPUT 723;"MPY NN,NN,1000;";

Convert queried value to milliamperes .

250

OUTPUT 723;"DSPLY NN,7,4;";

Display value on analyzer display .

260

OUTPUT 723;"RELHPIB;";

Release control of HP-IB .

 

270

OUTPUT 723;"^;"

End de￿nition of user-de￿ned function.

280

OUTPUT 723;"KEYDEF 7,VDM,$VDM$;"

Assign function to user-de￿ned key

, called

 

 

FFFFFFFFF

 

 

 

VDM .

 

290

LOCAL 723

Place analyzer in local control.

Press

 

 

4

 

5 , then press the user-de￿ned key,

 

 

USER

 

 

VDM , to communicate with the multimeter .

 

 

FFFFFFFFF

 

300

SEND 7;UNT UNL DATA

Releases control of the HP-IB and clears

HP-IB of all talkers and listeners .

Description

See Also

The ENTER command establishes the analyzer as a controller on HP-IB. Use ENTER to request data from an HP-IB device. Since HP-IB allows only one controller on HP-IB, the execution of ENTER must be either synchronized with computer operation or incorporated into user-de￿ned functions that are executed with keys. Execute RELHPIB to discontinue analyzer control of HP-IB.

RELHPIB, VARDEF

7-132