03-04-2011
05:29 AM
- last edited on
02-05-2025
08:03 PM
by
Content Cleaner
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
03-11-2011 08:52 AM - edited 03-11-2011 08:54 AM
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.