Boards that Support the Function
Operation Reads the contents of the uPD7210C register and the status of the Board.
Format
(VB.NET)
Dim Reg, Preg, Ret As Integer
Ret = GpBoardsts(Reg, Preg)
(C)
DWORD Reg, Preg, Ret;
Ret = GpBoardsts(Reg, &Preg);
(C#)
uint Reg, Preg, Ret;
Ret = gpib.Boardsts(Reg, out Preg);
(Python)
Reg, Preg, Ret = ctypes.c_ulong(), ctypes.c_ulong(), ctypes.c_ulong()
Ret.value = GpibPy.GpBoardsts(Reg, ctypes.byref(Preg))
Mode Master mode/Slave mode
Parameters Reg : Register specification
00H : Data in Register
01H : Interrupt status 1 Register
02H : Interrupt status 2 Register
03H : Serial poll status Register
04H : Address status Register
05H : Command pass through Register
06H : Address 0 Register
07H : Address 1 Register
08H : My Address
09H : IRQ
0AH : Master / Slave(0:Master /1:Slave)
0BH : I/O Address
0CH : DMA(FIFO) Mode
0DH : DMA Channel Number
0EH : Board Type
10H : SDC / DCL
11H : GET
12H : SRQ
13H : TA
14H : LA
15H : Delimiter
16H : EOI
Preg : Register value or Board status (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 1) The GpBoardsts function supersedes the GpReadreg function. New applications should use the GpBoardsts function rather than the GpReadreg function.
2) See "Contents of the uPD7210C register" for details about each register.