LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create some new loops to monitor parameters

Solved!
Go to solution

Hello Everyone,

 

Now, I should create some new loops to monitor parameters, every parameter have own Monitoring frequency.

I try to use  For  to use sub VI, but the sub VI contain the infinite loop for monitoring and the For just run one time, that is I just monitor one values.

 

My main question is this: How to create some new loops to real-time monitor  different frequencys parameters

 

 

0 Kudos
Message 1 of 5
(2,442 Views)
Solution
Accepted by topic author Yawl

Without seeing your application as a whole, it's hard to give an exact answer, but there are basically two steps (and a lot of details):

 

  1. The data you wish to monitor has to be accessible or published in some way like being in a global, FGV, user-defined event, etc.
  2. Create a VI that has a While loop that reads that global, FGV, or whatever repeatedly. The rate at which you read it is a function of how fast the value can change.

That's about it -- except for all the details I mentioned before.

 

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 5
(2,400 Views)

If very data has a globel, the worload is big, and I can create a vi that monitor all data in this way. 

 

Is there any solutions to create new loop or other way to monitor data that I want.

 

thanks.

0 Kudos
Message 3 of 5
(2,379 Views)

Please consider using the state machine architecture.

This will definitely help in your case.

HTML tutorial  HTML tutorial
162+ CLDs & 10 CLAs Trained
LabVIEW Training resources
0 Kudos
Message 4 of 5
(2,370 Views)

OK, thank you!

0 Kudos
Message 5 of 5
(2,361 Views)