GpUpperCode

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

 

 

image\head10.gif Operation             It is set up whether to make Upper Bytes of a return value of function available.As for this function, GP-IB(PCI), GP-IB(PCI)L, GP-IB(PM), GP-IB(PC)L and GP-IB(PC)F is available.

 

image\head10.gif Format                 

(VB.NET)

Dim UpperCode, Ret As Integer

Ret = GpUpperCode(UpperCode)

 

(C)

DWORD UpperCode, Ret;

Ret = GpUpperCode(UpperCode);

 

(C#)

uint UpperCode, Ret;

Ret = gpib.UpperCode(UpperCode);

 

(Python)

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

Ret.value = GpibPy.GpUpperCode(UpperCode)

 

image\head10.gif Mode                   Master mode / Slave mode

 

image\head10.gif Parameters

UpperCode : valid / invalid of Upper bytes of a return value of function.

0 : Invalid

1 : Valid

 

Ret           : End information(Return value)

0      : Normal completion

80    : GpIni() hasn't execute

140  : Asynchronous function is executing now

255  : Parameter error

(See "Return Values" for details.)

 

image\head10.gif Notes

It is available by default.(Return Upper bytes.)