LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

String Indicators not connected with wire and stile run and update value with out any error, how?

Date 10/20/2006

From Amit NI LabView User

To NI Discussion Forums User

Subject Please explain how this works

 

In this VI there are four String Indicators Data, From, To and Subject. If you look they are not connected with any wire and stile this VI will run with out any error not only that It will update the value according to what in the while loop in to CASE Structure.

This VI is the part of the POP Email application. I found it on NI web site.

 

Thank you for your great knowledge

 

Amit

 

0 Kudos
Message 1 of 5
(2,780 Views)
You need to read up in the LabVIEW manual on local variables. That's what's being used to update the indicators.

By the way, the default value of the "Message Content" indicator is such that you won't get anything out since the Match Pattern is looking for  "Date:",  "From:", etc. In other words, you need a colon after the "Date", "From", etc. fields.
Message 2 of 5
(2,764 Views)

 

I miss those colons. Well that is a good way to use local variables when you have lots of wires.

Thank you

 

0 Kudos
Message 3 of 5
(2,741 Views)
In this particular case, it seems silly to even use local variables. You might as well replace each local with its corresponding indicator terminal in the code. 😉
Message 4 of 5
(2,726 Views)

Yes that is right. I got this code from POPEmail Library. I did not understand that at first. Now I understand it.

Thank you

0 Kudos
Message 5 of 5
(2,701 Views)