04-01-2023 06:39 AM
Hi,
My 6 sensors' output goes to individual "Set Dynamic Data Attributes" and then from there 6 different signals go to "Write to measurement file". When I start the run, I got 6 readings in Excel but now I am missing time (in seconds). May I know how can I include time (seconds) in my coding so that the time display in an Excel file?
Thank you!
04-01-2023 08:41 AM
@Yeun wrote:
Hi,
My 6 sensors' output goes to individual "Set Dynamic Data Attributes" and then from there 6 different signals go to "Write to measurement file". When I start the run, I got 6 readings in Excel but now I am missing time (in seconds). May I know how can I include time (seconds) in my coding so that the time display in an Excel file?
Thank you!
A picture of 7 express vis gives us nowhere near enough information to help you. We simply cannot see any of the evil express vi configurations.
Attach your vi or a snippet created by selecting the all of the express vis and "Create snippet from Selection" under the Edit Menu.
04-01-2023 08:49 AM - edited 04-01-2023 08:51 AM
"Write to measurement file" has options for a time column (default is empty). What are your settings there?
Any why are you bothering with excel? Would be so much easier to stream to a tab delimited text file after writing the headers once.
04-01-2023 09:06 AM - edited 04-01-2023 09:12 AM
@altenbach wrote:
"Write to measurement file" has options for a time column (default is empty). What are your settings there?
Any why are you bothering with excel? Would be so much easier to stream to a tab delimited text file after writing the headers once.
<Age Shaming Mode>
How to teach an old dog a new trick.
"CA, TDMS...TDMS...TDMS...HERE! like THIS! TDMS."
"That's it CA, GOOD CLA!" Gives CA Kudos...
"TDMS, CA , TDMS!" Gives Kudos
</Age Shaming mode>
04-01-2023 09:32 AM
Well, they could just keep everything "as is" and generate a time scalar, give it a name attribute ("time") and build it into dynamic data to be merged with the dynamic data from the other 6 data points. Cringeworthy!
04-01-2023 09:37 AM
@altenbach wrote:
Well, they could just keep everything "as is" and generate a time scalar, give it a name attribute ("time") and build it into dynamic data to be merged with the dynamic data from the other 6 data points. Cringeworthy!
No CA, TDMS! (no Kudos)
04-01-2023 09:44 AM
Obviously they want Excel, so why change the topic?
(Unless you are also talking about the excel plugin) 😄