GpCwai

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

 

 

image\head10.gif Operation             Executes the command following *WAI after all the operations being executed have been completed. (*WAI)

 

image\head10.gif Format                 

(VB.NET)

Dim Adr, Ret As Integer

Ret = GpCwai(Adr)

 

(C)

DWORD Adr, Ret;

Ret = GpCwai(Adr);

 

(C#)

uint Adr, Ret;

Ret = gpib.Cwai(Adr);

 

(Python)

Adr, Ret = ctypes.c_ulong(), ctypes.c_ulong()

Ret.value = GpibPy.GpCwai(Adr)

 

image\head10.gif Mode                   Master mode only

 

image\head10.gif Parameters

Adr        :   Destination device address

Valid range : 0 to 30

 

Ret        :   Return value

0     :  Normal completion

80    :  GpIni() hasn't execute

140  :  Asynchronous function is executing now

240  :  ESC key pressed

242  :  Miss in address specified

252  :  GP-IB error

254  :  Timeout

255  :  Parameter error

(See "Return Values" for details.)

 

image\head10.gif Notes

This function cannot be used for a device that does not support IEEE-488.2.