Boards that Support the Function
Operation Reads the contents of the uPD7210C register.
Format
(VB.NET)
Dim Reg, Preg, Ret As Integer
Ret = GpReadreg(Reg, Preg)
(C)
DWORD Reg, Preg, Ret;
Ret = GpReadreg(Reg, &Preg);
(C#)
uint Reg, Preg, Ret;
Ret = gpib.Readreg(Reg, out Preg);
(Python)
Reg, Preg, Ret = ctypes.c_ulong(), ctypes.c_ulong(), ctypes.c_ulong()
Ret.value = GpibPy.GpReadreg(Reg, ctypes.byref(Preg))
Mode Master mode/Slave mode
Parameters Reg : Register specification
0 : Data in
1 : Interrupt status 1
2 : Interrupt status 2
3 : Serial poll status
4 : Address status
5 : Command pass through
6 : Address 0
7 : Address 1
Preg : Register value (return value)
Ret : Return value
0 : Normal completion
80 : GpIni() hasn't execute
140 : Asynchronous function is executing now
255 : Parameter error
(See "Return Values" for details.)
Notes This function has been superseded by GpBoardsts . New applications should use GpBoardsts. See "Contents of the uPD7210C register" for details about each register.