07-31-2014 06:57 AM
Hi,
I need to leverage an existing Java/Linux application which is controlling a Standford Research Systems SR620 counter.
Today textual commands are sent to the counter via the counter's serial port using the standard Java API.
My colleague would like to use another counter for the measurement part of the application. Namely an HP 53132A. This
counter cannot be controlled by a serial port but accepts commands on the GPIB port.
I did somme research and have the feeling that I could solve the problem this way :
- I buy an NI GPIB-USB-HS controller (I prefer it to a card because I can also make tests on my Windows desktop machine)
- This controller is shipped with a Linux driver. I should be able to install it on my target machine
- This controller is shipped with the VISA library, containing a C API to send commands on the GPIB bus
Using Java Native insterface I should be able to call the C functions from my Java application
I also saw http://jpib.sourceforge.net/ but I have the feeling it is not very active
As anybody already tested this kind of chain ? I would appreciate any other piece of advice as well
Thanks and regards
Vincent
08-01-2014 03:41 AM
Hi Vincent,
What kind of controller do you have ? Which version of Linux are you using ?
Here is some useful KBs to check the NI drivers / Linux version compatibility :
What Linux Distributions Do National Instruments Drivers and Software Support?
Error 1073807343 Using GPIB-USB-HS in Linux
Hope this will help !
Best Regards,
Isabelle G.
National Instruments France
Été de LabVIEW 2014
12 présentations en ligne, du 30 juin au 18 juillet