06-19-2018 08:07 AM - edited 06-19-2018 08:09 AM
Hello all,
I was wondering if anyone knows how to or has already created an edited version of the 'write to measurement file express vi' which does not create all the lines to the second "***End_of_Header*** in the output file I attached to this post. The issue is, I need to keep header which defines the columns; however, I either need to delete all of these above lines or be able to add # as an identifier so other programs will know it is not data. This seemingly cannot be done with the standard built in functions.
Additionally, I would like to just edit this express VI due to it already having the functionality of systematically creating new file names of the input file name exists.
Thank you for your time.
06-19-2018 08:13 AM
Hi etvg,
I would like to just edit this express VI due to…
Right-click the expressVI and select "open frontpanel" from the menu to create a regular VI from the expressVI. You can save and edit that regular VI as you like!
This seemingly cannot be done with the standard built in functions.
- You can do all you want with those "built in functions". Editing text files is a quite easy job…
- When you use ExpressVIs you need to keep in mind: they are made for a special purpose and they allow some kind of customization. Everything beyond this purpose has to be programmed by you: most often it is easier to NOT use expressVIs at all…
06-19-2018 08:18 AM
GerdW,
Thanks for the response! Sure, I know how to go about editing it, I am just unaware of where exactly the header lines are being generated from by looking at the block diagram. Figured someone on here might have done something similar before.
Cheers
06-19-2018 08:37 AM
Hi etvg,
the header is created in the "ex_HeaderToSprdsheetStr.vi" subVI…
Figured someone on here might have done something similar before.
Whenever the expressVI does NOT fit your requirements you are most often far better when starting with your own fresh VI instead of starting to edit an existing (former) expressVI. Especially this WriteMeasurementFile expressVI is quite large with lots of subVIs: no fun to edit…
(The DAQAssistent is the counterpart in functionality, here it quite ok to edit the converted VI.)