LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build array with certain value using case structure

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 ! 😕 

0 Kudos
Message 11 of 15
(1,173 Views)

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.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 12 of 15
(1,163 Views)

But i need to know how to configure the Elapsed Time VI ! because i'm a new to LabView ! 

thanks

0 Kudos
Message 13 of 15
(1,154 Views)

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.

0 Kudos
Message 14 of 15
(1,148 Views)

@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



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 15 of 15
(1,141 Views)