sts123 Posted Wednesday at 12:54 PM Report Posted Wednesday at 12:54 PM I have this .vi that converts the .TDMS to ASCII. However at the moment the time format is "00:00.000001 5.2041 0.2388 -0.0004 0.9106" for each line. How can I make it in seconds in scientific format so the data will show as "1e-6 5.2041 0.2388 -0.0004 0.9106"? Also how can the headers be added into the ASCII file? to_Asci_2.vi Quote
Francois Normandin Posted Wednesday at 02:55 PM Report Posted Wednesday at 02:55 PM @sts123 You can explore the String palette where you will find an array of string formatting nodes. The simplest for you is to replace the date/time string with Format into string, and configure for scientific number. Quote
sts123 Posted Wednesday at 03:04 PM Author Report Posted Wednesday at 03:04 PM 7 minutes ago, Francois Normandin said: @sts123 You can explore the String palette where you will find an array of string formatting nodes. The simplest for you is to replace the date/time string with Format into string, and configure for scientific number. I tired using Format into string, but then the result text file includes time stamp 4 times for each line of data, instead of doing just once. Quote
cordm Posted Wednesday at 03:56 PM Report Posted Wednesday at 03:56 PM If the time appears for each channel, then you didn't set the loop tunnel mode to last value. Quote
sts123 Posted 3 hours ago Author Report Posted 3 hours ago Not sure what that is. Can you please guide me? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.