GpComand

image\BLTLRGSQ.gifBoards that Support the Function image\SETUP.gif image\SANBTN.gif

 

 

image\head10.gif Operation             Sets ATN to True to transmit commands.

 

image\head10.gif Format                 

(VB.NET)

Dim Ret As Integer

Dim Cmd(xxxx) As Integer ' (xxxx specifies the maximum number of command arrays.)

Ret = GpComand(Cmd)

 

(C)

DWORD Ret;

DWORD * Cmd;

Ret = GpComand(Cmd);

 

(C#)

uint Ret;

uint[] Cmd = new uint[xxxx]; /*(xxxx specifies the maximum number of command arrays.) */

Ret = gpib.Comand(Cmd);

 

(Python)

Ret = ctypes.c_ulong()

Cmd = (ctypes.c_ulong * xxxx)() #(xxxx specifies the maximum number of command arrays.)

Ret.value = GpibPy.GpComand(Cmd)

 

image\head10.gif Mode                   Master mode only

 

image\head10.gif Parameters          Cmd         : Command array

[0] Number of commands

[1] Command data

image\CONTINUE.gif

 

Ret           : Return value

0       : Normal completion

80      : GpIni() hasn't execute

140    : Asynchronous function is executing now

240    : ESC key pressed

252    : GP-IB error

254    : Timeout

255    : Illegal call

(See "Return Values" for details.)