Discussion:
usb gpib hs adapter
(too old to reply)
coolbear
2008-08-04 10:40:23 UTC
Permalink
my notebook connect to a Gpib device by USB-GPIB adapter, i want know whether i can sent scpi command by Visa, since it seems that i should send this basic code to a usb port, and i think device address will be different.
 
thanks !
Dennis Knutson
2008-08-04 13:40:07 UTC
Permalink
You do not treat a USB GPIB controller any differently than a PCI controller. Follow the Getting Started instructions that came with it, making sure you have NI-GPIB and NI-VISA installed, and start communicating with your instrument. Search for an existing driver before writing any code.
coolbear
2008-08-04 13:40:07 UTC
Permalink
is there anyone who can help me with my problem? thanks a lot for that
Dennis Knutson
2008-08-04 14:40:08 UTC
Permalink
You haven't described your problem. What is the make and model of instrument? Have you tried to find a driver for it? Have you tried any simple communication in MAX? What have you done?
tflink
2008-08-04 14:40:06 UTC
Permalink
Hello,
Yes, you can send SCPI command by using VISA.
You can simply use Open Visa with the instrument adress and the Visa write to send commands.
You can start by using MAX to find the instrument adress and test the communication (before you start writing code).
BRThomas
coolbear
2008-08-04 15:40:08 UTC
Permalink
Guys, thanks for your relies, since some equipments do not arrive yet, i am just planning the framework of my program now.
 i did a program which communicate with GPIB devices before, it is very simple,  just set GPIB device's address to 9,  sent the basic code by visa, but my current project's computer is laptop, so we buy a USB/GPIB-HS converter to communicate with GPIB device. i am not sure  the scpi code can be sent out by visa as before, i think the address is changed, since the connection port is USB.
Dennis Knutson
2008-08-04 16:10:06 UTC
Permalink
I've already answered that. NO, NO, NO. There is no difference in addressing. It would still be GPIB0 and your instrument address would be the same. The use of a USB controller is completely transparent.
coolbear
2008-08-06 12:40:06 UTC
Permalink
get it, thanks

Loading...