From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-05-2017 09:32 AM
Hye, I try to make 2 condition run simultaneously , 1st the first indicator (X,Y,Z) read the random number every 1 second. Another one is second indicator (X2,Y2,Z2) read the same data from 1st loop but will display it every 5 second. Actually I dont know how to solve this problem because not so familiar with loop or case function. I want to use this method to implement to my final project which display current data at every 1 second and record the data to excel every 1 minute. So I hope someone can help me.
Solved! Go to Solution.
04-05-2017 09:39 AM
The second loop will never run until the first loop completes, think dataflow. You need to read up on the LabVIEW tutorials.
Regards,
mcduff
04-05-2017 09:52 AM - edited 04-05-2017 09:55 AM
Put all in one loop and place the second set of indicators in a case structure that only turns true every 5 iterations.
Why excel? Just use a tab delimited text file.
@nafisnuzrin wrote:
Actually I dont know how to solve this problem because not so familiar with loop or case function.
This is all basic LabVIEW, so I would start with some simple tutorials. It does not make sense to start programming without learning the basics first.
04-05-2017 10:10 AM
@altenbach wrote:
Put all in one loop and place the second set of indicators in a case structure that only turns true every 5 iterations.
See if this can give you some ideas.....
04-05-2017 10:52 AM
thanks friend for helping, the condition u make just like what I want, I will try to implement this method to my real project. For ur question about excel, I dont know which better, Im just try and try with many method but managed to make tdms.file(excel) work.