LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Update string indicator from a sub-VI

Solved!
Go to solution

Hi everybody,

This is my first post here, I always found the answers I needed here before.

 

My problem is that I need to update a string indicator (which is in my main VI) from a sub-VI but before the end of this sub-VI. This update depends of what the user wants to do in the sub-VI, perform or not the homing of a motor.

One solution would be to ask the question before calling the sub-VI but I prefer to have everything in the same Sub-VI.

 

Thank you guys 

0 Kudos
Message 1 of 9
(5,976 Views)
Solution
Accepted by remvu
Its simple,Find the attached VI
Message Edited by Baji on 07-21-2009 02:59 PM
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
Download All
0 Kudos
Message 2 of 9
(5,973 Views)

Hi Baji,

Thank for your answer, but how do you create the String refnum in the sub-VI ? 

 

EDIT : 

It is ok I have found that.

 

Thanks ! 

Message Edité par remvu le 07-21-2009 04:49 AM
0 Kudos
Message 3 of 9
(5,958 Views)

You can easily create this by right clicking on the output of your Reference of the string control in the Main VI and selecting Create Control,use the created control inside the SUB vi.

 

Create Reference control.JPG

 

Create Reference control 1.JPG

Message Edited by Baji on 07-21-2009 03:26 PM
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
Message 4 of 9
(5,952 Views)
Thanks again this is easier than created a refnum ctl and then "select VI Server Class" 🙂
0 Kudos
Message 5 of 9
(5,929 Views)

Or you could drag and drop a control over the reference.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 6 of 9
(5,920 Views)

Hello,

 

Or you could attend a Labview Basics 2 Course. It is quite helpfull, lasts 2 whole days and spares 2 months selftraining. If you have a look at the content of the course, property nodes used for updating your front panel values is handled for instance, and a lot more of course.

 

Best Regards,

Laurent

 

Message 7 of 9
(5,900 Views)

laurentp wrote:

Hello,

 

Or you could attend a Labview Basics 2 Course. It is quite helpfull, lasts 2 whole days and spares 2 months selftraining. If you have a look at the content of the course, property nodes used for updating your front panel values is handled for instance, and a lot more of course.

 

Best Regards,

Laurent

 


Hi Laurent,

 

what is the content of this post?

If NI starts adding such a post for every 'semi-advanced' level at the forums, the forums will be flooded. I assume that NI can get the contact details of every member and call/mail directly with such a user.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 8 of 9
(5,879 Views)

TonP wrote:

 I assume that NI can get the contact details of every member and call/mail directly with such a user.

 


no...noo..  NoooooOhhhh!!!!

 

You would not want more telemarketers calling more people for whatever reason.

There's been WAYYYYY too much abuse with phone calls.

 

I saw that post as being similar to us posting that they should do on-line training, etc..

 

Like:

 

"To learn more about LabVIEW, I suggest you try looking at some of these tutorials. "

0 Kudos
Message 9 of 9
(5,810 Views)