Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a Java Wrapper for GPIB running on Unix?

Help! I am developing an application for the Advantest Tester which uses GPIB. I am just wondering if there's a Java wrapper for GPIB running on Unix?
0 Kudos
Message 1 of 6
(4,276 Views)
Hi,

Unfortunatly there is no prebuild wrapper for Java on any OS. That being said, Java is able to make C style calls to the shared object/library. If you wanted to keep the program heavily OO, you could rather easily create a class that would wrap the functionality of the library/shared object.

Hope this helps out!

Best Regards,
Aaron K.
Application Engineer
National Instruments
0 Kudos
Message 2 of 6
(4,276 Views)
Hi Aaron,

Thanks for the reply! I guess you do have C libraries which can interface with the GPIB, right? If so, could you give me the exact product I need for the project(sorry but I really don't have much time to look into this).
To give you more idea of what I want, actually, I am developing a GUI application which is capable of communicating with the Advantest T5365 and EG Prober running on Unix. The Tester and the Prober uses a GPIB controller for the communication.
I am not limiting myself to do the GUI on Java but rather be open to the easiest technical solution I could have(though I prefer to use Java). TCL/TK might be an alternative if proven that the TCL/TK has its own set of libraries to do the jobs. You could give me more idea on
the possible technical solutions on this.

Regards,
java_duke
0 Kudos
Message 3 of 6
(4,276 Views)
Hi Java_Duke,

I think by "exact product" you are looking for the driver name? If so you can get it at ftp.ni.com/support/gpib/linux.

Of course for a GUI implementation I would have to recommend using LabVIEW. I cannot say that I know about the merits of Java Vs. Tcl. I have done a bit of programming with Java Swing, and that was relatively successful.

Instead of suggesting you use C (which personally I do like more than Java); I was trying to suggest you figure out how to make C style calls from Java. I am sure there is a way to do this (every *useful* language would have to provide this interface), but I am not experienced enough with Java to say offhand.

Hope this helps out!

Best Regards,
Aaron K.
Application Engineer
N
ational Instruments
0 Kudos
Message 4 of 6
(4,276 Views)
.....Thanks Aaron. It surely helps me a lot!
0 Kudos
Message 5 of 6
(4,276 Views)
Hey Java guy,

No problem at all. Good luck with your app!

Aaron K.
0 Kudos
Message 6 of 6
(4,276 Views)