Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB ENET100 cmds (VxWorks, Unix, Solaris)

I need help with board level commands. I have included below ESP-488 cmd(attached) and Win32 commands
can anyone please help me with the commands below listed below.
on the right side I used an ESP-488 package
on the left side I used the NI-488 package, however
my project does not use Windows platform and the ESP-488 package does not work
my questions are also listed below as Comment:

Thanks

Windows IBIC ESP-488 IBC Sample code (compiled for VxWorks)
Win32 Interactive Control 2711> ibicMain
Copyright 1996 National Instruments ESP-488 in C for GPIB-ENET Interactive Test Program.
Corporation All rights reserved.
Type 'help' for help or 'q' to quit.

: ibfind gpib0 😆 find gpib0 board
IBSTA: 0
IBERR: 0
IBCNT: 0

gpib0: ibsic BOARD-> sic
[0130] ( cmpl cic atn ) IBSTA: 0
IBERR: 0
IBCNT: 0

gpib0: IBCMD "@?\x22" BOARD-> cmd "@?\x22"
[0138] ( cmpl cic atn tacs ) IBSTA: 0
count: 3 IBERR: 0
IBCNT: 0

Comment: this command puts the device of
address 2 into remote mode

gpib0: ibsre 1 Command not included in ESP-488 Package
[0138] ( cmpl cic atn tacs ) Comment: do we need this command?
previous value: 0

gpib0: ibln 2 0 Comment: How do I bring the device at address 2 online.
[0130] ( cmpl cic atn ) ibonl requires a descriptor (see ESP-488 software
Listen: TRUE Reference manual for the GPIB-ENET)


gpib0: ibdev 0 2 0 13 1 0 Command not included in ESP-488 Packag

ud0: ibwrt "*idn?" BOARD-> wrt "*IDN?"
IBSTA: 130
IBERR: 1
IBCNT: 0

BOARD-> cmd "? B"
IBSTA: 0
IBERR: 0
IBCNT: 0

ud0: ibrd 100 BOARD-> rd 100
[2100] ( end cmpl ) Buffer =
count: 49
48 65 77 6c 65 74 74 2d IBSTA: c164
50 61 63 6b 61 72 64 2c IBERR: 6
20 45 53 47 2d 44 33 30 IBCNT: 0
30 30 42 2c 20 47 42 34
30 30 35 31 34 34 30 2c
20 42 2e 30 33 2e 36 30
0a
H e w l e t t - P a c k a r d ,
E S G - D 3 0
0 0 B , G B 4 0 0 5 1 4 4 0 ,
B . 0 3 . 6 0 .

ud0: ibwrt "FREQ 500 kHz" wrt "FREQ 500 kHz"
[0100] ( cmpl ) IBSTA: 0
count: 12 IBERR: 0
IBCNT: 0
0 Kudos
Message 1 of 2
(3,145 Views)
Hello-

Is it possible to get an analyzer capture of the GPIB bus? It looks like there is a timeout on the read function. The analyzer captures could show any differences between the two sets of commands sent to the instrument.

Randy Solomonson
Application Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,144 Views)