Boards that Support the Function
Operation Writes to the Parallel Poll Enable register. (*PRE)
Format
(VB.NET)
Dim Adr, Stb, Ret As Integer
Ret = GpCpre(Adr, Stb)
(C)
DWORD Adr, Stb, Ret;
Ret = GpCpre(Adr, Stb);
(C#)
uint Adr, Stb, Ret;
Ret = gpib.Cpre(Adr, Stb);
(Python)
Adr, Stb, Ret = ctypes.c_ulong(), ctypes.c_ulong(), ctypes.c_ulong()
Ret.value = GpibPy.GpCpre(Adr, Stb)
Mode Master mode only
Parameters
Adr : Destination device address
Valid range : 0 to 30
Stb : Output status
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.)
Notes
This function cannot be used for a device that does not support IEEE-488.2.