GpDevFindEx

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

 

 

image\head10.gif Operation             Search out devices that can receive data. And can be specified by primary address and secondary address.

 

image\head10.gif Format                

(VB.NET)

Dim Ret As Integer

Dim Pad, Sad, Lstn As Short

Ret = GpDevFindEx(Pad, Sad, Lstn)

 

(C)

DWORD Ret;

short Pad, Sad, Lstn;

Ret = GpDevFindEx(Pad, Sad, &Lstn);

 

(C#)

uint Ret;

short Pad, Sad, Lstn;

Ret = gpib.DevFindEx(Pad, Sad, out Lstn);

 

(Python)

Ret = ctypes.c_ulong()

Pad, Sad, Lstn ctypes.c_short(), ctypes.c_short(), ctypes.c_short()

Ret.value = GpibPy.GpDevFindEx(Pad, Sad, ctypes.byref(Lstn))

 

image\head10.gif Mode                   Master mode only

 

image\head10.gif Parameters          Pad        : Primary Address (0-30)

Sad        : Secondary Address (0, 96-126, -1)

0          : Secondary Address is not used.

96-126 : Specified Secondary Address is used.

1          : All Secondary Address is used.

Lstn       : (OUT) Whether a device exists.

0                : Not exists

Except for 0 : Exists

Ret         : Return value

0       : Normal completion

80     : GpIni() hasn't execute

140   : Asynchronous function is executing now

255   :  Illegal call

(See "Return Values" for details.)

 

image\head10.gifNotes                    There is the following difference in comparison with GpDevFind().