LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

usb gpib hs adapter

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 !
0 Kudos
Message 1 of 8
(3,620 Views)
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.
Message 2 of 8
(3,600 Views)
is there anyone who can help me with my problem? thanks a lot for that
0 Kudos
Message 3 of 8
(3,599 Views)

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).

BR
Thomas

0 Kudos
Message 4 of 8
(3,589 Views)
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?
Message 5 of 8
(3,585 Views)

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.

0 Kudos
Message 6 of 8
(3,575 Views)
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.
Message 7 of 8
(3,564 Views)
get it, thanks
0 Kudos
Message 8 of 8
(3,543 Views)