06-23-2011 07:36 AM
Hi,
I have a program through which I collect data from a scale and save the data in to textfile. Now I need to collect data from three identical scales and save the data. I'm wondering if it is possible to do that in one same program? I mean how to handle three ports and saving three different text files?
I attach the current program. The communication with the scale is serial and I use VISA's VI:s. Thanks in advance for the help 😃
Solved! Go to Solution.
06-23-2011 08:28 AM - edited 06-23-2011 08:29 AM
This is easily possible with a single program, and there are several ways to do it. I would recommend the following:
To do this, you will need to learn about state machines and producer/consumer architectures. Start with the LabVIEW help, then search these forums. There are a plethora of implementations of state machines and producer/consumer architectures. If you have the time, I would highly recommend you learn and use LabVIEW classes (requires LabVIEW 8.2 or higher). It will make your job easier in the long run.
Let us know if you run into issues...
06-23-2011 08:33 AM
06-28-2011 06:36 AM
Thank you both for your answers! I havent had the chance to complete the program yet, but it shouldn't be hard to do it now with the clue I got from you.