07-11-2017 07:16 PM
So I have one PC connected to a CompactRio 9030 and a cDAQ 9174. The Compactrio is running a NI 9503 to power a stepper motor and the cDAQ 9174 is running a NI 9237 to read a load cell. I got the stepper motor to run using the SoftMotion template examples.
I haven't fully configured the cDAQ yet but I plan to use this example program to read the load cell.
http://forums.ni.com/t5/Example-Program-Drafts/Force-Pressure-Bridge-w-AutoScaling/ta-p/3495979
The issue I have is that I need to run both of these programs at the same time using one PC. I was wondering if it would be possible to run the two programs at the same time (run the stepper motor while reading the load Cell output at the same time). I essentially have two project files with their own VIs, do I need to somehow combine these two programs(project files/VIs) or can I run them separately?
07-12-2017 05:03 PM
Hi Kevin,
You can run each application separately. Should not be a problem!
Have a great day,
07-12-2017 05:30 PM
So I started both VIs at the same time however when I had one VI compiled and running I could not interact with the other VI unfortunately. It seems I can only one run VI at a time.
07-13-2017 10:38 AM - edited 07-13-2017 10:39 AM
Hi Kevin,
Running two VI's at the same time on the same PC should not be a problem. If you are not able to interact with the second VI while the first is running, there must be something else going on. Do either of these VIs have dialog boxes that the user interacts with?
Are you seeing any errors?
Can you describe how you are attempting to interact with the second VI and what happens when you do?
What version of LabVIEW are you using?
Any additional screenshots and descriptions of the issue will be appreciated.
Thanks,
07-13-2017 11:43 AM
Thank you for your response. I checked my window appearance settings and one of the settings was put to modal, I changed it to default and now I am able to run both at the same time. Thank you for your help!