cancel
Showing results for 
Search instead for 
Did you mean: 

Merging two or more unique strings

MrSafe
Active Participant

Re: Merging two or more unique strings

After I finish excuting testonly.vi I go into mergstrings and check the values; If I open mergstrings.vi then excute you testonly.vi I see the values in string 1 and the output string.

 

Thank you for the attachment I am looking at it as we speak.

Message Edited by MrSafe on 08-13-2008 02:24 PM
GerdW
Knight of NI

Re: Merging two or more unique strings

Hi MrSafe,

 

LabView doesn't store values in indicators when the front panel is closed (to express it in a simplified version).

That's why you don't see new values in mergstring.vi when you open it after executing testonly... In LabView the wire is the variable, not the control/indicator!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
MrSafe
Active Participant

Re: Merging two or more unique strings

correct me if im wrong but from what you said Labview has the values it simply doesn't show it in the current method I am using?
GerdW
Knight of NI

Re: Merging two or more unique strings

Hi MrSafe,

 

yes, when opening a vi after execution you will not see the last values! Instead you will find default values...

 

Either set the subvi to open the panel when executing (in the vi properties) or (better option) use a wire as I said before and have shown in the attachment!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
MrSafe
Active Participant

Re: Merging two or more unique strings

Thank You. I apologize for asking this obvious questions I will continue to read toturials but I am more of lets try and put it to the test type of person where I can fallow the guide as I am doing it on labview. Hands on.