Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to establish communication with NI488 PMC GPIB on Bustec 3042 CPU board?

Currently, I am evaluating a replacement slot 0 CPU board (i.e.,Bustec 3042). A NI488 PMC GPIB board has been installed in this Bustec 3042 CPU board to handle GPIB interface. I have successfully created a vxWorks kernel for this board and also been able to build gpib.o from ni488DDK to check out the GPIB capability. After loading gpib.o from the target shell, all NI488 functions are available (i.e., ibfind, ibcmd ...etc) but I am still not able to communicate to a hook up Multimeter using NI488 PMC GPIB cable. Any suggestion would be appreciated.

I also used ibchat function to check out GPIB, but the following error occurred:

-> chatterMain

National Instruments
IEEE 488 Interface Bus
2-Board Test Program (IBCHAT)
Copyright (C) 2000 National Instruments Corp.
All rights reserved.
Version 1.1 compiled for NI-488 and Generic UNIX with 4096-byte pages


INITIALIZATION CALL FAILED for "gpib0"
following function call "ibfind(0x1c072d4);"
ibsta=0x8100 (ERR CMPL), iberr=0 (EDVR), ibcnt=1835009

Thanks,
Henry
(310) 813-0757
0 Kudos
Message 1 of 3
(3,230 Views)
What OS are you using? What modifications did you make to what example program?
One resource that may be of help is our register level programming website.

Russell G.
NI Applications Engineer
0 Kudos
Message 2 of 3
(3,230 Views)
The host computer's OS is Sun Solaris 2 and the target OS is vxWorks 5.3.1.

I have modified the /ni488DDK/driver/OS_Layer/VxWorks/ib.c for vxworks and built gpib.o which contains cib.o, ib.o, and ibchat.o using Tornado.

Thanks,
Henry
0 Kudos
Message 3 of 3
(3,230 Views)