02-11-2010 09:09 AM
Hi,
I am collecting data using NI 6251 USB DAQ in the main vi but as i have too many controls and indicators on the main vi front panel. so i want to display the indicators(graphs) in another vi. i also want the vi with the graphs to open automatically. Does any one know how i can do this? I would really appreciate any help.
Thanks,
ygupta
Solved! Go to Solution.
02-11-2010 09:19 AM
Hi,
_____________________________________________
i also want the vi with the graphs to open automatically.
_____________________________________________
can you explain it little more(do you need a subvi?)
Regards,
Shrek
02-11-2010 09:27 AM
02-11-2010 10:00 AM - edited 02-11-2010 10:01 AM
Hi Shrek,
The graphs right now are in a while loop and display the data that is acquired continuously. So I want them to be visible when the acquisition start therefore i want the vi with the graphs to open automatically at that point. i think i have touse a sub vi to do this but i dont know how to connect the graphs in the subvi with daqmx read blocks in the main vi. as i have not used sub vis before.
02-11-2010 10:10 AM
Hi,
Search forum for the sub vi concept.
For your reference i have attached a example.
you can see procedure for the same on the net.
regards,
Shrek
02-11-2010 10:12 AM
ygupta wrote:
as i have not used sub vis before.
Have you gone through the LabVIEW tutorials? SubVI are a core concept. To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.
02-11-2010 10:21 AM
I would also suggest using a tab control to seperate your graphs and controls. Then you don't have to worry about popup windows.
Good Luck
02-12-2010 01:22 PM
Hi shrek,
Thanks for the example vi. the really helped.
02-12-2010 01:26 PM - edited 02-12-2010 01:29 PM
Hi Smercurio_fc,
Thanks for pointing out the tutorials and free online courses.
Good links for beginners like me.
Cheers,