From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-13-2017 10:00 AM
I am looking to streamline the way we are saving our data, and I have been having some trouble with the write to measurement file block. What we have been doing is right clicking on the waveform plot and exporting to Excel and then saving that file as shown below. This method has been working for us, however it can be time consuming to export and save.
I have tried using the write to measurement file block, and it does save the excel file to the designated folder. The problem is that the time seems to be limited to three decimal places. The waveform plot is set to 7 sig figs so when I export I can pick up the smaller time step shown above.
When I open up the write to measurement block I am only able to set the seconds time stamp to the third decimal place. If I add any additional zeros to the code, the saved excel file is corrupted and has to be restored. If anyone has any advice it would be greatly appreciated.
03-13-2017 01:02 PM
Have you tried using the "Write to Delimited Spreadsheet" VI?
03-13-2017 01:11 PM
@RTSLVU wrote:
Have you tried using the "Write to Delimited Spreadsheet" VI?
Or since we are already dealing with Waveforms, use the Export Waveforms To Spreadsheet File.
Probably the better option is to log to a TDMS file and then use the Excel Add-On to read the TDMS file.
03-14-2017 08:07 AM
Yea I switched the data type to TDMS, and it looks like I am getting the correct time data. The end goal is to be able to run this data through a Matlab script and it looks like they have add-ons to read these files.