Boards that Support the Function
Operation Enables or disables TA/LA bits internally.
Format
(VB.NET)
Dim TaLaSts, Ret As Integer
Ret = GpTaLaBit(TaLaSts)
(C)
DWORD TaLaSts, Ret;
Ret = GpTaLaBit(TaLaSts);
(C#)
uint TaLaSts, Ret;
Ret = gpib.TaLaBit(TaLaSts);
(Python)
TaLaSts, Ret = ctypes.c_ulong(), ctypes.c_ulong()
Ret.value = GpibPy.GpTaLaBit(TaLaSts)
Mode Master mode/Slave mode
Parameters TaLaSts : Sets status of TA/LA.
Bit1 : TA(0:OFF, 1:ON)
Bit2 : LA(0:OFF, 1:ON)
The other bits are ignored.
TaLaSts = 4; /* LA = 1, TA = 0 */
TaLaSts = 2; /* LA = 0, TA = 1 */
TaLaSts = 0; /* LA = 0, TA = 0 */
Ret : Return value
0 : Normal completion
80 : GpIni() hasn't execute
140 : Asynchronous function is executing now
Notes This function changes the TA/LA status within the driver rather than the actual board status. Executing the function may result in broken data or timeout. Therefore, you should have proper understanding of the GP-IB protocols when using the function. See "Contents of the uPD7210C Register" for details about TA/LA.