From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.


Showing results for 
Search instead for 
Did you mean: 

How do I pass a string structure into a VI?

Sorry I've been away from this for a while...


I like this solution and I think it would be simple enough. Can you provide a few more details about just how to do this? What are you comparing the "now time" to, exactly?


Also I have added a "START" switch to the front panel, which is handled by an event case (sub-case?) in the "process_events" case. I would like for the "change speed" (or whatever we call it) case to only run if Start is toggled ON. In simplistic (probably non-labview) terms, can I add some sort of "IF" statement to the the "change speed" case so that it first checks the Start and does nothing if the switch is not toggled on, else it actually does check / change the speed?



0 Kudos
Message 61 of 64



To start with your new question, in your change speed case you can connect Start (or a local of it) to a case structure. Maybe Start and Change speed events can be put in the same event so you can use the controls directly?


As for the timing issue, something like this should work:



The shift register holds the time of last execution, so the other case only transfers that wire.

I now see i also need to add a True constant to the "stop loop"



G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
0 Kudos
Message 62 of 64


I have a similar problem. I would like to control my DMX-J-SA stepper motor with LabView and recieve information about the motor's position back through an NI 6008 DAQ. Any suggestions?





0 Kudos
Message 63 of 64

That's pretty much exactly what I did.

I don't have access to my VI right now since it was a summer gig for me but I got it about 90% of the way there.

0 Kudos
Message 64 of 64