LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Turning a pink or red line into an orange line

HI all,

 

I asked a while back how to wire up an elaspsed time "present text" and was able to get a red line but now I can't seem to get the red line to turn into an orange one.  I tried using "cluster to array" which in the context help box was red to orange (perfect for my needs) but when I put it into my program it became a pink to black converter (which wouldn't connect to my original pink line anyway)  is there some was to fix this problem?  

 

The more broad question, if it is simpler to do, is "how do I get the present time, with date, hours, and minutes, into an orange line?"

 

Thank you,

Nicole

0 Kudos
Message 1 of 20
(3,877 Views)

Like this below? You're talking about converting to a DBL?

 

1.png

Richard






Message 2 of 20
(3,874 Views)

Can you post waht you are doing now and we can help a little better. A screen shot should be enough in this case.

Tim
GHSP
Message 3 of 20
(3,870 Views)

You really need to brush up on your LabVIEW fundamentals. The 'red line' output of the Elapsed Time function is a string. It is a solid line. A cluster is a checkered red line and not at the same. An 'orange line' is a floating point number. The 'Elapsed Time (s)' output is a floating point number and you have no need to convert the string output.

Message 4 of 20
(3,866 Views)

What I'm working on now is in the upper right corner, I currently have it hooked up as present (s) but present text is much more useful for comparisons.

 

Thank you again!

0 Kudos
Message 5 of 20
(3,855 Views)

I made a litlle vi a while back that goes through many different string combinations to get the right number see below:

 

Short Date String to Seconds_BD.png

Tim
GHSP
Message 6 of 20
(3,851 Views)

Original Poster: That's a DOC file. Post a picture or the VI.

Richard






0 Kudos
Message 7 of 20
(3,849 Views)

 


@broken Arrow wrote:

Original Poster: That's a DOC file. Post a picture or the VI.


A screen capture is a nice thing but open it in Paint for saving as a jpg or better yet a .png.  We usually won't touch an MS Office document for virus reasons.   It is just as easy to post either the vi (if there aren't a lot of dependancies that are not on my PC) or a VI snippet. for many cases works well


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 20
(3,835 Views)

Where is the DBL converter located?

0 Kudos
Message 9 of 20
(3,830 Views)

screenshot.png

0 Kudos
Message 10 of 20
(3,828 Views)