LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convert seconds value to hours & min

Solved!
Go to solution

Hi all,

 

I am getting the seconds value at input & I want to convert it to HH:MM:SS format..How can I proceed?

 

Please guide me.

 

Thank you.

Vaibhav Gandhi
,
B.E. Instrumentation & Control,
INDIA
0 Kudos
Message 1 of 11
(5,441 Views)
Solution
Accepted by topic author Vaibhav G

You don't say what this 'input' is but if you want to display it on the front panel, all you have to do is this: Smiley Wink

 

0 Kudos
Message 2 of 11
(5,437 Views)

I am getting input "seconds" from subtracting one time stamp from another...

 

My question is not regarding to indication of just numeric...Please suggest me further

Vaibhav Gandhi
,
B.E. Instrumentation & Control,
INDIA
0 Kudos
Message 3 of 11
(5,429 Views)

The indication is exactly how you specified it - HH:MM:SS. Did you place the snippet on a block diagram and then look at the front panel?

0 Kudos
Message 4 of 11
(5,423 Views)

Thanx Dennis: It is the exactly I wanted, even I have understood changes in properties. Thanx for guiding.

Vaibhav Gandhi
,
B.E. Instrumentation & Control,
INDIA
0 Kudos
Message 5 of 11
(5,411 Views)

Okay...I'm confused. I can't tell what blocks these are. Can you tell me explicitly what they are?

 

Thanks,

 

Michael

0 Kudos
Message 6 of 11
(5,262 Views)

There is a numeric control and indicator.

 

What is posted is a snippet. This is a feature introduced with LabVIEW 2009. You can select to create a png file of selected code and that png can be dragged to a block diagram and the actual code will be pasted - not just an image.

0 Kudos
Message 7 of 11
(5,256 Views)

Is this a function of the Windows version of LV'09 only? I can't seem to get it to work on my Mac.

0 Kudos
Message 8 of 11
(5,244 Views)

Sorry, don't know about the Mac. There are some bugs with some browsers where you cannot drag from them so you may have to save the file locally first.

0 Kudos
Message 9 of 11
(5,236 Views)

Dr. Reynolds,

 

It works on My Mac.  OS X 10.5.8.  LV 2009.  Safari 5.0.

 

Control-click on the link. Save linked file to "Downloads".  Drag file from Downloads to VI block diagram. Execute code.

 

Lynn

0 Kudos
Message 10 of 11
(5,228 Views)