ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Stop a while loop with array outside

Solved!
Go to solution

Hi,

 

I have found a solution but it is very heavy, with multiple case structure. I guess that it will work but it is very difficult to check if there is no mistake.

0 Kudos
Message 41 of 57
(2,140 Views)

Hi,

Here is my solution

0 Kudos
Message 42 of 57
(2,126 Views)
Some VI functions are missing in your solution. Looks like all your timing VI are missing. I am interested to see what it really do. Perhaps also send us a short description of your goal with this program. This because I think you are making things way more complicated than necessary. I am not sure, but this looks like a job for a state machine.


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 43 of 57
(2,109 Views)

I attach here the remaining subvi.

 

What I would like to do is to select randoly between 5 different intervals of time (representing each by a distinct subvi). And I would like that once subvi or interval is chosen it could not be chosen unless all intervals were chosen. So you can have this sequence for example: 1,2,4,5,3 and after this other sequence, 2,1,3,5,4. You can read below the previous messages to have other details and complications of the procedure. I am aware that it is a very complicated way to do but it is what I was able to do.

 

Thank you for your help

Download All
0 Kudos
Message 44 of 57
(2,102 Views)

I attach here the remaining subvi.

 

What I would like to do is to select randoly between 5 different intervals of time (representing each by a distinct subvi). And I would like that once subvi or interval is chosen it could not be chosen unless all intervals were chosen. So you can have this sequence for example: 1,2,4,5,3 and after this other sequence, 2,1,3,5,4. You can read below the previous messages to have other details and complications of the procedure. I am aware that it is a very complicated way to do but it is what I was able to do.

 

Thank you for your help

Download All
0 Kudos
Message 45 of 57
(2,101 Views)

One more detail here:

 

Actually at the beginning you have a choice between 2 buttons. One click to it makes it disappear. One click at left activates the timer and if it is at right you have a chnage in the font 2 sec before the presentation of a picture. 1 sec after, a next trial begins. At left, it is the same thing except that therer is no change in the font.

Download All
0 Kudos
Message 46 of 57
(2,097 Views)
 
Download All
0 Kudos
Message 47 of 57
(2,094 Views)
 
Download All
0 Kudos
Message 48 of 57
(2,093 Views)
0 Kudos
Message 49 of 57
(2,090 Views)