Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Simultaneous Control Using GPIB / DAQ

I am working on a project that is a continuation of a previous project. It involves controlling the temperature and pressure in two vacuum chambers. The original project controlled only one chamber and the original code contained a number of global variables. In order to control the temperature and pressure, the LabVIEW code reads in values from a data logger thru the GPIB interface. To regulate the temperature/pressure, a DAQ card is used to control a heater and a series of pressure valves. The client wishes to keep the original code and is asking me to incorporate code to accomodate the second chamber. One computer will be running identical LabVIEW programs(with different global variables and sub-VIs), one to control each chamber.

I am fairly new to LabVIEW and looking for a starting place or sample code that I can look at. I have duplicated the current code, renaming sub-VIs and global variables. The solution I have come up with so far is to have a VI that does all of the reading and writing, but I am unsure as to how the chamber LabVIEW programs will access it whenever a reading is needed or the temperature/pressure needs to be adjusted.

If further explanation or the original code is needed let me know, and thanks in advance for any advice that can be offered.
0 Kudos
Message 1 of 3
(3,415 Views)
Hi,

I can point you to some examples that might be of some help. In LabVIEW if you go to Help>>Find Examples, this will launch the NI Example Finder. You can use this to search for LabVIEW VI's related to DAQ and GPIB. There are several here that should get you started. You can also go to this site and search for examples similar to your application. This is where I would start. If you have more specific questions feel free to repost.

Have a great day!

JenK
0 Kudos
Message 2 of 3
(3,404 Views)
Please see answer posted on this thread (duplicate)
http://forums.ni.com/ni/board/message?board.id=170&message.id=113590#M113590
Travis H.
LabVIEW R&D
National Instruments
0 Kudos
Message 3 of 3
(3,386 Views)