07-12-2017 05:36 PM - edited 07-12-2017 05:37 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 can get readings from the load cell, and can get the motor to run. However I use two different VIs that belong to their own LabVIEW projects to run each. The motor and load cell have their own VIs. I can only run one at a time, when I run one VI the other front panel is "frozen" and I can't interact with it. I wrote a program to attempt to run both VIs at the same time.
I tried to follow this format
http://digital.ni.com/public.nsf/allkb/498AFF045628DFA9862571D10079672F
However the program doesn't work and throws an error. I'm pretty new to LabView and any help would be great. Thank you!
Solved! Go to Solution.
07-12-2017 06:15 PM
What are the window appearance settings. For example is one set to "modal"?
07-12-2017 06:32 PM
Yes I think one of the window setting is set to modal. Heres a screenshot of the settings.
07-12-2017 09:51 PM
Why?
07-12-2017 11:44 PM
More questions:
What type of projects are these two vi in?
Are one of them a Real-time vi, that is part of a RT project and located under the RT target in the project?
Show us your projects, and files.
Are your question releated?
07-13-2017 11:42 AM
For some reason one of the VIs was set to modal. I changed it to default and it works now. Thank you!
07-13-2017 12:03 PM
@KevinPn wrote:
For some reason one of the VIs was set to modal. I changed it to default and it works now. Thank you!
Makes sense. A modal window will plant itself frontmost and will not allow interactions with other windows until it's closed.