Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-GPIB with VxWorks 6.7 on x86 hangs when reading or sending to device

I have compiled the DDK for VxWorks 6.7 (I hope I've done right with the pciInt function)

 

My problem is, that ibrd() and ibwrt() hang randomly, sometimes it works for 10 messages sometimes it hangs on the first. (In 90% of all cases it hangs on "larger" messages, large in this case means only 20-35 bytes) I expected a timing problem so I inserted a delay after each send and receive command without success, same problem.

 

I've tried different PCI-Slots and different instruments, all the same, even with another NI-GPIB board. So I think something either with the pci-Interrupts went wrong or maybe there is a problem with the Intel G33 Chipset.

 

Has anyone an idea what could be the reason for my problems,

Best regards, Dirk.

0 Kudos
Message 1 of 2
(3,405 Views)

Hello Madir,

 

I will need a little more information to really make  a good guess at what is happening.

 

1.  The DDK is a source code package.  It comes with an ibdump utility that gets a debug print of the entry and exit of each major function in the DDK as well as some other important information.  Have you used this utility to see where in the source code, this problem is happening?  You can attach the capture for me to view it.

 

2.  Did you modify the hardware layer?  This part should not have been modified, as all changes should have been made to the OS layer only.

 

3.  Where any major changes necessary for this to compile for VxWorks 6.7?  I just want to know how much of the OS layer was changed.

 

Thanks,

Steven T.

0 Kudos
Message 2 of 2
(3,367 Views)