LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-VISA newb could use some pointers (wink)

Hey everyone.  I've been around this forum for quite a while, and I'm pretty versed in LabWindows.  To date, I've done all of my projects mostly "the hard way," that is, with very little use of function panels and instrument files.  I tend to be old school and prefer as much code as possible.

 

I've worked with external libraries on occasion.  One such library I've been tasked to work with is made by Amptek.  They have a product, the X123, which has a ton of reference software examples, but all of which are out of my realm of experience (C++, VB, LabVIEW, etc.).  The problem I see with their C library is that it's all C++.  The headers have namespaces throughout, and I'm unsure how to use them in LabWindows.  Their interface options are manifold: libusb, UDP, and RS232.

 

From one of their tech support people:

 

If you want to communicate to an X-123 with USB, the easiest method would be to create a generic USB VISA interface.

 

I've never dipped into the VISA waters.  In past projects, I've just created drivers basically from scratch, using the CVI RS-232 Library (ComWrt, ComRd, etc).

 

Any suggestions for total newbs on where to start with VISA?  Is there benefit with going that route, or should I stick to what I know?

 

0 Kudos
Message 1 of 2
(3,863 Views)

I only can encourage you moving to VISA.

Me, too, started with the RS232 library, but VISA is much more powerful (and not really more complicated).

Message 2 of 2
(3,843 Views)