Date and Time channels in Diadem files
I'm developing a tool to convert data files from or own format to Diadem data files format, producing a header (.dat) and a binary file (.r64).
From my source data files, I have to convert a date channel and a time channel. Is there a way to store such channels in binary format (in the .r64 file) ?
I got the GFS's pdf "Description of the Data formats and File set properties", but I didn't find any info about binary date or time channels.
Thanks for help.
Michel,
The starting point is 01.01.0000 at 00:00:00. This time/date is the value '0'. The DIAdem time channels will be accurate until at least 12/31/2078, starting at 10/15/1582. This is due to changes made to the Gregorian calendar made back in 1582 concerning leap years.
Today (04/18/2202) at 1:00:00 PM (13:00:00 military time) would be the value 6.31862676E+10. This number represents the number of seconds that have passed since 01.01.0000 at 00:00:00.
DIAdem provides two functions to convert numbers into time data and time data into numerical data. They are TTR (time to real) and RTT (real to time). The DIAdem help system contains additional information on how to use these functions.
Let me know if there is any additional information I ca
n help you with.
Otmar
Otmar D. Foehner
Business Development Manager
DIAdem and Test Data Management
National Instruments
Austin, TX - USA
"For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."
Similar Messages
-
I tried to change the metadata date. It changed the date on my photo, but when I checked the box that said "also change my original file", it gave me this error message.
Unable to change original file. Aperture was not able to adjust the date and time of the original file “01769_p_h13ajyrm4bm0944.jpg” because it is locked or you do not have permission to modify it.
Wassup?What is your Aperture version? The older versions of Aperture 3 had a problem to apply Metadata changes to the original file.
If you are using the current version Aperture 3.4.5, try to repair the permissions on your Aperture library, if you have not already done so:
Launch Aperture with the key combination ⌥⌘ held down and select "Repair Permissions" from the First Aid PAnel, that will appear.
If that does not help, post back with more information on your original files - are the referenced or managed? Where is your Aperture library located? Since when do you have this problem? And what did you do directly before noticed the problem for the first time?
Regards
Léonie -
I can't seem to find a way to update the date/time of a master file. There is a format issue but I can't seem to figure out how to correct it.
Aperture was not able to adjust the date and time of the master file “2008-06-22 at 14-41-14.jpg” because it has a format that does not permit date modification.Can you post an ipconfig /all from the server and the DC?
Robert Pearman SBS MVP
itauthority.co.uk |
Title(Required)
Facebook |
Twitter |
Linked in |
Google+ -
How to read the date and time information of a file by labview
how to read the date and time information of a file by labview? for example, created time and modified time.
Solved!
Go to Solution.if you need to know the last modification date of file:-
"Functions->File I/O->Advanced File Functions->File/Directory Info.vi"
This vi returns the value of file's last modification date. This is returned as U32 number. To see it in MM/DD/YY format you must create the indicator, right-click on it and select "Format & Precision" item from drop-down menu. Then select "Time and Date" format there.
Thanks as kudos only -
How can i change date and time after importing a file
hello
i'm importing AVI files first in iMovie because Final doesn't support (other question i put in) but when i see the scenes form 1993 they have the date 2004.
i believe 2004 is the date i put them on the computer.
Now i looked in the help files Final Cut Pro but cant find anything to adjust the date and time.
it works well in iMovie using the help files:
Right-click the clip you wish to edit and click Adjust Clip Date and Time from the menu that appears. Or click on Archive and than adjust date and time
But as i said i cant import the files in FCP have to import them to iMovie files adjust the date and than import to Final Cut Pro but than de changes i made to the date and time are gone and in FCP 2004 is again the date of the file!!!
Question how can i Change in Final Cut Pro the date and time in a same way as iMovie does?
JemajoroOK, I think I understand what you are saying but it still does not look like it is doing it as you describe.
Here is another screen shot.
Note that all clips in "2007 August" event have the date of Aug x, 2007.
Yet, the event "2007 August" still shows up under the 2012 "folder" (is that the right terminology?).
The newest clip in this event is Aug 31, 2007 so shouldn't it be categorized as 2007 and not 2012?
I think you know this but I am using the following feature:
Go to the sprocket icon under the events.
Select "Group events by date" and then by "group events by year and month"
Thanks again for all the help -
Get-Content and add Date and Time in a new file
Hello,
in a existing file I have data like:
1;Idle
5;chrome
1;spoolsv
Now I need to grab the content and add date and time in front of each line and save it to another file like:
07.04.2015;10:18;1;Idle
07.04.2015;10:18;5;chrome
07.04.2015;10:18;1;spoolsv
But I don't have any idea how I could solve this challange. Does anyone have a helping hand for me?
GreetingsHello,
If you need a new file with the desired output try this
get-content .\current.txt | Foreach-Object{ $dntv = (get-date) ; "$dntv" + $_} | Out-File newfile.txt
regards,
V
Venu -
Date and Time in the flat file
Hi All,
I am trying to design a flow which will get data from a flat file. The file has a field which contains both the time and date. How can I handle this in BW? Do I need to creat 2 infoobjects and split the flat file field in start routine or transfer rule? Or is there any stadard infoobject which can hold both the data and time?
Also, the client asked me if I want a .CSV file or .XLS file. Which one is better for uploading into BW? Any PROS and CONS?
Best Regards,Hi,
There is no single Data Type which accepts the Date and Time. Other way is to look the data as CHAR. Else the Update Routine/Formula is the Best
In the Update Rule or Transfer Rule use the Formula
Let the Info Objects be
0date
0Time
The Transfer Rule/ Update Rule Formulas Be
0Date --> LEFT( 8, 'DateTime' )
0Time --> RIGHT(6, 'DateTime')
Then CSV is the best Option to accept the Data as it is ready for Upload
Regards
Happy Tony -
"Date and Time" freezes System Preferences - file to delete?
Well, I've had her up and running for about eight hours now and only one problem... just checking all the settings in System Preferences and when I select "Date & Time" System Preferences stops responding.
I migrated my 12" PB so there may have been a hinky file there - repairing permissions does nothing. Any .plist I might delete? The date and time are correct, by the way although, during set-up, the time & date pane just whizzed by, not giving me a chance to select.
Any thoughts, system wizards?I have experienced the same problem. You can try deleting the /Home/Library/Preferences/com.apple.systempreferences.plist, but that may not help. Be sure you have no menubar items running such as MenuMeters, iClock, etc. You might also try booting from the Installer Disc and running Disk Utility to repair the hard drive and permissions. Then do a shutdown for about five minutes before restarting. Upon restart clear PRAM by pressing and holding down the OPTION-COMMAND-P-R keys immediately after the chime and continue to hold them until you hear the restart chime another four times, then release and allow normal startup.
Migrating from a PowerPC Mac can be problematic because of the possibility of getting third-party plug-ins, preference panes, menubar modifiers, etc. that can potentially cause problems. -
How to know date and time information from Trace File defaultTrace.X.trc?
Hi, all.
i'm using EP 6.0 SP9 patch 1.
As you know, default trace is written in the <SID>\JC00\j2ee\cluster\server0\log\defaultTrace.X.trc.
By using the default trace formatter, it shows like the following sample messages.
#1.5#0011110E7B2000590000000100000A100003EC71562E6EBC#1104396451585#com.sap.jms.server.ServerClientAdapter##com.sap.jms.server.ServerClientAdapter#Guest#18####716257115a3f11d9b73b0011110e7b20#SAPEngine_Application_Thread[impl:3]_23##0#0#Error#1#/Applications/JMS#Plain###JMS internal error at ServerClientAdapter! JMS Service is not started!#
My questions are
1. how do we retrieve the date and time information from the above message? It seems that this message has date and time info because LogViewer shows the date and time based on the above message.
2. how do we change the above date format to easier one
like "YYYY:MM:DD:hh:mm:ss"? i know that it can be configured from the Visual Admin --> Services --> Log Configurator but i don't know the exact place for the trace file.
Thanks.Hi Sejoon,
I use the standalone Logviewer to read the log files. Works great.
"If you have an SAP Web Application Server Java 6.20 or below you may also get a standalone_logviewer.zip file at the SAP Service Marketplace at service.sap.com/download → SAP NetWeaver → Release 04. In this case JDK version 1.3 or higher must be installed on the system. The java version must be same on the server and the client.
In the SAP Web AS Java 6.30 installation a folder named logviewer_standalone can be found under: <path Of J2EE installation>/<SysID>/JC<nr>/j2ee/admin/logviewer_standalone. Verify that the batch file logviewer.bat is installed in the directory logviewer-standalone.
(source -> http://help.sap.com/saphelp_nw04/helpdata/en/e4/540c404a435509e10000000a1550b0/frameset.htm)
Best wishes,
Noel -
Script or operation to split a date and time channel into two channels
Hi There,
I have a channel that contains a range of dates and times.
I would like to split that channel into two channels - one with date and one with time.
Any suggestions?Sorry: Here is the attachment......
and Sample of the data
Comment:
Date
Time
AIR TEMP
AIR TEMP SP
TAC PTC
Load Temp
Channel 4
UUT Front TC
1/20/2015
12:30:05
80.3
79.3
59.4
0
0
62.9
1/20/2015
12:30:11
80.1
79.3
59.5
0
0
63
1/20/2015
12:30:17
80
79.3
59.6
0
0
63
1/20/2015
12:30:23
79.9
79.3
59.7
0
0
63.1
1/20/2015
12:30:29
79.7
79.3
59.7
0
0
63.2
1/20/2015
12:30:35
79.7
79.3
59.8
0
0
63.4
1/20/2015
12:30:41
79.6
79.3
59.9
0
0
63.4
1/20/2015
12:30:47
79.6
79.3
60
0
0
63.5
1/20/2015
12:30:53
79.5
79.3
60
0
0
63.5
1/20/2015
12:30:59
79.5
79.3
60.2
0
0
63.6
1/20/2015
12:31:05
79.6
79.3
60.3
0
0
63.7
1/20/2015
12:31:11
79.6
79.3
60.3
0
0
63.7
1/20/2015
12:31:17
79.6
79.3
60.5
0
0
63.8
1/20/2015
12:31:23
79.7
79.3
60.6
0
0
63.9
1/20/2015
12:31:29
79.7
79.3
60.7
0
0
64
1/20/2015
12:31:35
79.8
79.3
60.8
0
0
64.1
1/20/2015
12:31:41
79.8
79.3
60.9
0
0
64.3
1/20/2015
12:31:47
79.8
79.3
61
0
0
64.4
1/20/2015
12:31:53
79.7
79.3
61.1
0
0
64.4
1/20/2015
12:31:59
79.7
79.3
61.2
0
0
64.5
1/20/2015
12:32:05
79.7
79.3
61.3
0
0
64.6
1/20/2015
12:32:11
79.6
79.3
61.4
0
0
64.7
1/20/2015
12:32:17
79.6
79.3
61.5
0
0
64.8
1/20/2015
12:32:23
79.6
79.3
61.6
0
0
64.8
1/20/2015
12:32:29
79.5
79.3
61.6
0
0
64.8
1/20/2015
12:32:35
79.5
79.3
61.7
0
0
64.8
1/20/2015
12:32:41
79.5
79.3
61.8
0
0
64.9 -
When I try to change my date and time settings I get a Windows Security popup that reads: "These files can't be opened. Your Internet security settings prevented one or more files from being opened. C:\Windows\system32\rundll32.exe"
I have Windows 7 64 bit. I also have McAfee SecurityCenter installed. I have tried turning off my firewall temporarily, but the problem persists. I am not sure if it is some type of virus. If anyone could give me some information
as to what could be causing this I would appreciate it. Thanks in advance.Hi,
Perhaps, this issue is caused by a sign of corruption.
Please try to use sfc/scannow to check the System Files.
Also, You may refer to the following link.
http://www.sevenforums.com/general-discussion/71526-cant-change-date-time-2.html
Important Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ” -
How to concatenate date and time after a logical file in application server
Hi Experts ,
I have a requirement that goes like this : I have a job that runs parallelly with 10 different variants at the same time. Each job will write the data into a file in the application server, since the jobs run parallelly there is a chance of the file being over-written and hence we have decided to concatenate time and date at the end of the file so that the file does not get over-written. Can someone please let me know how to incorporate this change.
Thanks & Regards,
Balaji.KHi Balaji.
Use CONCATENATE functionality.
A sample code snippet for your reference :-
CONCATENATE p_path text-202 c_9 p_name c_9 lv_fcount c_9 lv_date
c_9 lv_time INTO gv_file.
Regards
Abhii -
Putting date and time in a spool file name for output
I have bee trying to find this answer but don't know where to look: I want to take all or part of the date and/or time to create a unique filename on the fly for a spool file. Can someone point me in the right direction? I am using SQL*Plus.
undefine curDateCol
column curDateCol noprint new_value curDateCol
select to_char(sysdate,'YYYYMMDDHH24MISS') curDateCol from dual;
undefine fileName
define fileName=/myFileName_&&curDateCol..csv
prompt creating &&fileName ...
set echo off
set termout off
set showmode off
spool &&fileNamehth -
Date and time stamp for the file
Hi Experts,
My Requirement is to create a csv file with the name testfile_date×tamp.
If i select add time stamp in the receiver file communication channel the file be as testfile_yyyymmdd_hhmmss_XXX.
The XXX is message id which comes by default by selecting add timestamp option.
but, i don't want the message id displayed in the file name.As i know from the blogs we can reach this requirement as per Michels blog
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
I am not clear in the mapping. after writing the udf, to which filed i need to map with that udf.
can you please tell me stel by step how how to do mapping and how to achieve the requirement. request you to send the code forthe udf.
Thanks
RahulHi,
you can wirte udf and map it to root element of the target message type. u just need to execute the udf.
UDF:
// UDF havs one input parameter - timestamp
Code:
DynamicConfiguration conf = (DynamicConfiguration) container .getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String OldFileName = conf.get(key);
String newFileName = "";
if (OldFileName != null) {
newFileName = "testfile_" +timestamp ;
conf.put(key, newFileName);
return newFileName;
Mapping:
Date (standard function) [Formmat yyyyMMdd_hhmmss] -> UDF -> MesageType.
Thanks.
Ritu -
How to get local file date and time ( 10g version )
Hi,
Would like to ask if there is any way to get the date and time of a local file. It seems that webutil does not have this function.
And I want to use client_host ( dir c:\file.txt > c:\temp.txt ) and the read this file to get the file date.
But the problem is the file date and time ( in the dir ) varies in different PCs.
Best Regards,
IvanBut the problem is the file date and time ( in the dir ) varies in different PCs.
You mean the format of the date and time don't you?
If so you maybe could create a java bean which does that for you using the lastModified Method of the File class.
regards
Maybe you are looking for
-
Can not sync more than one photo folder to my phone. lost all photos???
Can not sync more than one photo folder at a time from my computer to mu iPhone. How do I get the drop down box to choose my photos, so I can manually pick photo folders???? Lost all my photo folders on phone.
-
Have a very strange problem – I now have Windows 8 and downloaded the newest version of Overdrive Media Console with the newest version of ITunes. First Overdrive Media Console 8.0 (the one that tries to get you to sign in with Adobe) and it didn't w
-
HP Laserjet P1505 not printing under Windows 8 CP
I Installed Windows 8 Consumer Preview on my system and also installed my HP Laserjet P1505 using the latest driver software from HP support. The printer installs correctly and also shows correctly in the Device Manager. However, when i try to print
-
Can somebody tell me the contact details of the BT...
I have been waiting over 3 weeks for a date for a new installation for a brad new house after being told the phone line and broadband was working on day 1.....amazing as i dont even have a telephone wire from the telephone pole to the house! I have s
-
Enhanced dictation shuts down other audio sources.
enhanced dictation shuts down other audio sources. So I cannot transcribe voice memos or listen to music as I type. this is a 6 y.o. IMac. 4 GB RAM. any idea why?