From: Ed Dickens on
Sorry about that.
 
Here's an 8.0 version.


test3Mod.vi:
http://forums.ni.com/attachments/ni/170/231269/1/test3Mod.vi
From: duf on
I changed the path name and created a new text.lvm in my folder.
When I open it, it loads a numerous amount of things, and at the end, the program can t be executed, because of a mistake in the 'write to measurement file' parameters.
Isn t there a simpliest way to add a time stamp as shown in the attached folder (instead of what  I ve put)?
 
 


testMod4.vi:
http://forums.ni.com/attachments/ni/170/231287/1/testMod4.vi
From: duf on
To precise what is happening when I want to open the VI: there is a window asking to 'Find the control named Ex_userDefProperty.ctl' and it continues loading only when I click 'Cancel'.
So then I assume that I probably forgot to create a folder or something... I don t have a clue about what it is.
Do you have an explanation?
Thanks a lot
From: duf on
Forget about the last message.
No problem any more to open the VI.
Now, concerning the data in the text file:
I would have liked to have: Day/Month/Year/Hour/Minutes/Secondes/1/10Sec/1/100Sec relative to the time of the computer on the same line in front of each sample of the waveform.
With the dt, I have only the time difference between 2 samples and it s not enought.
How can I modify it?
Thanks a lot, and sorry for the previous messages, don t take them into account.
 
From: Ed Dickens on
This should get you pretty close.
 
Save each of the attached VIs to a directory and open the Test3Mod.vi.
 
This uses Dennis's suggestion of modifing the Export Waveforms to Spreadsheet VI.
 
When you open the data file in Excel, the Time column will not display as expected, This is because Excel formats the data in an unexpected way. You'll need to select the timestamps and modify the cell format with a custom format of "m/d/yyyy h:mm:ss.00". This should display the timestamps correctly. Or you can just open it in notepad and see it correctly.
 
Ed


Waveform Time to Date Time String__MOD.vi:
http://forums.ni.com/attachments/ni/170/231470/1/Waveform Time to Date Time String__MOD.vi


test3Mod.vi:
http://forums.ni.com/attachments/ni/170/231470/2/test3Mod.vi


Export Waveforms To Spreadsheet File (1D)__MOD.vi:
http://forums.ni.com/attachments/ni/170/231470/3/Export Waveforms To Spreadsheet File (1D)__MOD.vi
First  |  Prev  | 
Pages: 1 2
Prev: refprop
Next: building an array from loop-aquired data