From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-27-2009 04:56 AM
Hi,
I have a main window for data acquisition and in front panel there are four Sub Vi's . when the main DAQ window is running, and at the same time if i run the subvi- the main window stops the data acquisition and sub-window starts to run. But i want to run both the main DAQ window and subwindow simultaneously. please give me some solution for this....
Thanking in advance,
Nikhil
Solved! Go to Solution.
01-27-2009 06:07 AM
01-28-2009 02:27 AM - edited 01-28-2009 02:35 AM
Hi Adnan,
Here am attaching two sample vi's. main vi is Temp.vi(DAQ) and TempSubVi.vi . In Temp.vi is for data acquisition and you can acquire voltage using 'Acquire' button in the front panel. when i click on the 'ok' button it generate TempSubVi.vi and displying random numbers in a chart. But that time 1st window become inactive.
My aim is i want to run both windows simultaneously. i think some multithreading can solve this problem. can u suggest some idea for this..
Nikhil
01-28-2009 02:37 AM - edited 01-28-2009 02:38 AM
Hi Adnan,
I am sending one more sample for you. because using this you can run the program and analyze problem
01-29-2009 12:55 AM
Hi Nikhil,
My explanation answered your question. Have a look at the attached image. Let us know if you have any other questions.
01-29-2009 01:19 AM
Hi Adnan,
yes.. I got it, thanks for your valuable information.
Nikhil