Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB driver testing methodology

We have a PCI-GPIB (TNT5004, but we use talker/listener alone) connected to a unit running psos operating system.

 

We have NI SDK and have to port it for psos. But before that we wanted to do a basic test with the code got from the following link

 

 http://joule.ni.com/nidu/cds/view/p/id/223/lang/en 

 

We have modified this for psos. Now we have the following doubts.

 

1) When we connect the device to a Windows PC using GPIB-USB-HS, the Measurement and automation explorer shows GPIB0(GPIB-USB-HS), but the instrument is not detected. What is the reason for this ? Sould we have a proper driver running for this to happen ?

2) What is the basic procedure to test our psos driver, connecting the device to a windows PC?

 

Thanks

0 Kudos
Message 1 of 2
(2,933 Views)

Hello,

 

Yes, you have the basic idea.  When I perform similar tests, the instrument shows up in MAX on my Windows PC.  The instrument side is running code ported from the same software that you referenced.  For the instrument to respond correctly, the code must be actively running on the instrument.

 

For a sanity check, you should use the code without DMA or Interrupts...that way only the hardware register accesses can be the problem.

 

What error do you get when scanning for instruments?  Can you take a spy capture of it and attach it?

 

Thanks,

Steven T.

0 Kudos
Message 2 of 2
(2,880 Views)