LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

string does not update in state machine

Solved!
Go to solution

Help

I'm pulling my hair out over this one.

 

I have a string control I want to get the value this from the front panel at a certain point in a state machine type architecture, but the value held in the string by LabVIEW does not get updated during program run time for the purposes of the block diagram.

I have verified the VI is not corrupt by creating this simple VI to demonstrate what I am trying to do. (other case empty)

Neither the string length nor the indicator linked to the local variable, nor a probe on a wire connected to the string get updated if during the 2 secs after starting the VI something is typed in the string control.

 

LabVIEW version 2009

OS Windows 7

 

Could this be and OS related issue? - I normally use XP not Windows 7 with 2009 and I've never noticed this before.

 

Any fast feedback over the weekend would be greatly appreciated

 

Thanks

James

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 1 of 3
(2,594 Views)

Hi,

 

What if you do it like in the attached snippet?

 

-Matti

0 Kudos
Message 2 of 3
(2,586 Views)
Solution
Accepted by James_W

Try to set the string control to "update value while typing". (right-click...).

Message 3 of 3
(2,577 Views)