LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the "build string" example as a sub vi

I am trying to build data aquisition application that can run in different configurations. Basically, lights will flash in various patterns. Subjects reaction times for button pushes in reaction to the flashing patterns will be collected. A string that defines the particular configuration of flash patterns will be recorded in a table along with the reaction times.

My plan was to use the event handler to step through the various tasks in the process. The first subvi called
was to be based on the "string builder" example. I was able to change this example to build a suitable configuration string. The "string builder" works in continuous run mode. It's nice because, as you change components of the string, you can see the changes in the output field. I also have some dependent fields that only show up when certain components are called.

I'm stuck there. I can make the event handler call the modified "string builder" vi. However, it won't run continuously and I can't figure out how to make it do this.

So my question is, how do you make a subvi run in continous mode when called...

Or, is there a better way to do what I want to do.

I am using labview version 6.1.
0 Kudos
Message 1 of 2
(2,607 Views)
Why not just put a while loop around the code and it will run continuosly until you hit the stop button.

Message Edited by jhoskins on 05-12-2005 05:36 PM




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 2
(2,603 Views)