Setup Example

image\head10.gif VB.NET

Dim Timeout, Ret As Integer

Timeout = 100  ' 1(mSec) * 100 = 100mSec

Ret = GpTimeout(Timeout)

 

image\head10.gif C

DWORD Timeout, Ret;

Timeout = 100; /* 1(mSec) * 100 = 100mSec */

Ret = GpTimeout(Timeout);

 

image\head10.gif C#

uint Timeout, Ret;

Timeout = 100; /* 1(mSec) * 100 = 100mSec */

Ret = gpib.Timeout(Timeout);

 

image\head10.gif Python

Timeout, Ret = ctypes.c_ulong(), ctypes.c_ulong()

Timeout.value = 100 # 1(mSec) * 100 = 100mSec

Ret.value = GpibPy.GpTimeout(Timeout)