VB.NET
Dim Ret, Cmd(31) As Integer
Cmd(0) = 3; ' Number of commands
Cmd(1) = &H3F
Cmd(2) = &H23
Cmd(3) = &H08
Ret = GpComand(Cmd)
C
DWORD Ret, Cmd[31];
Cmd[0] = 3; /* Number of commands */
Cmd[1] = 0x3f;
Cmd[2] = 0x23;
Cmd[3] = 0x08;
Ret = GpComand(Cmd);
C#
uint Ret;
uint[] Cmd = new uint[31];
Cmd[0] = 3; /* Number of commands */
Cmd[1] = 0x3f;
Cmd[2] = 0x23;
Cmd[3] = 0x08;
Ret = gpib.Comand(Cmd);
Python
Ret, Cmd = ctypes.c_ulong(), (ctypes.c_ulong * 31)()
Cmd[0] = 3 # Number of commands
Cmd[1] = 0x3f
Cmd[2] = 0x23
Cmd[3] = 0x08
Ret.value = GpibPy.GpComand(Cmd)