ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Help using 7210 chip with GPIB-USB-HS

Hi
 
I have written a device driver for the 7210 chip as a slave and it is working fine with PCI-GPIB or PCI-GPIB+ as system controller,but when I use USB-GPIB HS as my system controller and scan for instruments,my device is getting detected for the address and receiving the *IDN? command and when my device is trying to send the reply(instrument id)it is getting the bus error and printing the first character. Is there any difference in the bus timing between a PCI-GPIB and USB-GPIB or anything I am misssing out.
 
I have made the USB-GPIB as system controller and add set 0. while the PCI-GPIB as non system controller and add changed to non zero.Any other setting to made.
 
Thank you
 
Venkat
0 Kudos
Message 1 of 3
(3,531 Views)
Venkat, I have some clarifying questions about your setup.

When you switch between the PCI-GPIB and GPIB-USB are you simply physically replacing one interface with the other? Can you confirm that only 1 interface is ever connected? If not, can you using each interface when the other is not connected?

What GPIB address is assigned to the 7210, PCI-GPIB, and GPIB-USB?

Just about all our GPIB interfaces use either the TNT4882 or TNT5004 GPIB controller, and only the host-side interface changes for the various bus types (PCI/USB/Ethernet/...). There should be no difference in the GPIB timing between a PCI-GPIB and GPIB-USB.
0 Kudos
Message 2 of 3
(3,528 Views)

Hi

I am physically connecting either PCI-GPIB or GPIB-USB at a time and setting the address to 0 for the system cotroller and my device is at address6. If I connect any other instrument in the same way it is working, only my device is not working it is getting bus error while sending. If I disable the error it is working. I further debugged, there is no bus error in the status reg before sending, but after sending one byte err is registered in the status reg, here the byte is sent and it is being received and printed.

On what occasion the device is registering the bus error while sending the data.

Thank you.

Venkat

 

0 Kudos
Message 3 of 3
(3,523 Views)