The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Time convert to

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
5*10 Posted - 08/07/2007 : 06:45:39 AM
Origin Version (Select Help-->About Origin): Origin 7.5G SR6
Operating System:WinXP

Hi,
I have a little problem.
I try to import a single ascii containing time data as text. The format in the ASCII file is as followed:

hh:mm:ss

If I import this file to a text or text/numeric wks, Origin store the values as nummeric and not as text. I also try to format the column as text, but this does not work either. It is not possible to set the format of the column as time, because there is data of other format stored in the same column.
Other Origin systems I use, donīt convert the time in this way.

Can anybody give me a hint to solve the problem?

Greets

5*10

4   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 08/08/2007 : 10:58:39 AM
The only thing I can think of is that the offending machine has a different time format from the others. It's straightforward to compare the column formats as well as the custom time formats (if they are used).

Mike Buess
Origin WebRing Member
5*10 Posted - 08/08/2007 : 02:40:58 AM
Oh I just forgot to mention that the custom time format is set in this way:

hh':'mm':'ss'.'####

Greets

5*10

5*10 Posted - 08/08/2007 : 02:38:39 AM
Hi Mike,

I will try to give you more information about the other data and the problem in general.
The measured data file contains mainly numeric data. The last five rows contain some information about the measurement, e.g the date, time of the last cycle of measurement, the name of the measurement and so on.
This file will be read out with the open command implemented in LabTalk. This command is a part of an extensive Labtalk-Routine running well on several Origin- and Windows-Systems. But on the system specified above it doesnīt work. I hope there may be an option set in the wrong way and someone is able to tell me, but I'm afraid, that isn't the case.
Normally I can avoid the problem by reading the time as numeric and convert it, but then the routine will fail on the other systems.
So, why do origin read a time formated in this way:

13:27:35 (hh:mm:ss)

as an numeric value althoug the column is set as text or as text and numeric. For me there is no reason why espacially this origin Version is doing like that, excepting somewhere in the general options a property is set in this way.
I hope you are able to relate to my problem and have an idea to solve the same.

In advance thanks a lot.

5*10

Mike Buess Posted - 08/07/2007 : 1:34:18 PM
quote:
It is not possible to set the format of the column as time, because there is data of other format stored in the same column.
If the 'other' data is a date string you can add a custom date/time string on the Miscellaneous tab of Tools> Options. If that's not the case you'll have to be more specific about the 'other' data.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 08/07/2007 1:35:37 PM

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000