LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

program acquisition rate doesn't match my triggering rate.

I think you are right about the GAGE Read re-initializing a bunch of things every time.  I do not have any of the CsTool VIs so I am guessing based on the VI names.

 

What you probably need to do is split the GAGE Read VI into two or more subVIs. One will have everything in frame 0 of the outer structure and all of frames 0 .. 3 of the inner structure.  The other will have frame 4 of the inner structure.  The first will go outside the loop with the Init VI. The second part will be inside the loop where all it does is transfer data.

 

If you go to the effort of modifying the VI this extensively, spend a few more minutes and get rid of the sequence structures in favor of a state machine architecture.

 

Lynn

0 Kudos
Message 11 of 12
(359 Views)

Hi Lynn,

 

I am trying to setup the state machine like you recommend, but then I have an issue with the bundle. Do you skype? Is there a more efficient way to discuss this? I am willing to send you all of the sub vi's that I have. This problem is frustrating.

 

Thanks in advance.

0 Kudos
Message 12 of 12
(353 Views)