LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ problem in this specific VI

The purpose of this program is to drive a piston to cause a pulsitile flow in a pressure loop. The waveform graph is there to collect flow and pressure data from 5 sources. The DAQ assist will not collect data in the program (Working Strain Gage) but will collect it individually if the while loop containing it is copy-pasted into a new VI. I have tried everything and have no clue what it could be. I attached the VI and the subVIs included in it. Thanks!

0 Kudos
Message 1 of 2
(2,176 Views)

Well, I am not really sure what the logic is doing. The code is very confused. Stop using sequence structures. Use data dependencies to establish order of execution. Also stop using the express VIs and the dynamic datatypes.

 

One problem is that in the event structure, when some button is pressed, a VI is called that in order for it to complete you have to click som buttons on its front panel. The problem is that this VI's front panel isn't open so you can click on anything. Beyong that I really can't tell what is going on.

 

In your top-level VI you already have an event structure -- so use it as the basic for your application. You need to spend some time learning about how LV and, specifically, dataflow works.

 

Here are some links (courtesy of Hoovah):

3 Hour Introduction http://www.ni.com/white-paper/5243/en/
6 Hour Introduction http://www.ni.com/white-paper/5241/en/
LabVEW Basics http://www.ni.com/gettingstarted/labviewbasics/
Self Paced training for students http://www.ni.com/academic/students/learn/
Self Paced training beginner to advanced, SSP Required http://sine.ni.com/myni/self-paced-training/app/main.xhtml
LabVIEW Wiki on Training http://labviewwiki.org/LabVIEW_tutorial#External_Links

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(2,160 Views)