11-12-2015 08:44 AM
The random number generator will fill the array ! if it generate a number for exemple 99.2354 it can take some time to find another random number great than 99.2354 that's why i want to add a timer routine to print a message to the user if for exemple 5s elapsed without generating any number in the array (I mean without finding any number great than 99.2354 for exemple)
I'm sorry my english isn't that good ! 😕
11-12-2015 08:53 AM
So your requirements are actually that you only add another value when you generate a number greater than the last element in the array. That is different than what I gave you. As far as the timer, I would just use the Elapsed Time VI and only reset it when you add a new value.
11-12-2015 09:14 AM
But i need to know how to configure the Elapsed Time VI ! because i'm a new to LabView !
thanks
11-12-2015 09:31 AM
Hit Ctrl+H to open up context help and hover your mouse over the elapsed timer.
That will tell you how to configure the Express VI.
11-12-2015 09:46 AM
@MedAmine_07 wrote:
But i need to know how to configure the Elapsed Time VI ! because i'm a new to LabView !
It doesn't need configured at all. There are inputs and outputs that will do everything you need it to.
And if you are that new, I recommend some of the free tutorials.
3 Hour Introduction
6 Hour Introduction
LabVEW Basics
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
Learning NI
Getting Started with NI Products