GpTaLaBit

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

 

 

image\head10.gif Operation            Enables or disables TA/LA bits internally.

 

image\head10.gif 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)

 

image\head10.gif Mode                   Master mode/Slave mode

 

image\head10.gif Parameters

TaLaSts       : Sets status of TA/LA.

Bit1 : TA(0:OFF, 1:ON)

Bit2 : LA(0:OFF, 1:ON)

The other bits are ignored.

image\C60_1_wmf.gif

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

(See "Return Values" for details.)

 

image\head10.gif 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 GPIB protocols when using the function.
See "
Contents of the uPD7210C Register" for details about TA/LA.