LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with file: "\vi.lib\Waveform\WDTFileIO.llb\ Write Waveform to File.vi"

The NI library "\vi.lib\Waveform\WDTFileIO.llb" contains the " Write Waveform to File.vi" file;
I.e. the first character of the filename is a "space".

This space can generate a problem because in our case to export our program we perform a "source distribution"
in which there is the main VI and a subdirectory with all the VIs used.
When the distribution is generated together with all the other VIs there is the " Write Waveform to File.vi" file with the initial space.
But, when with Windows a copy of the distribution directory is executed the initial space is removed from the filename
and therefore the distribution does not work.

To overcome this problem in the options to generate the distribution we have enabled the "apply prefix to all contained items" option
for all the "Dependencies".
So the filename will be "XXX Write Waveform to File.vi"; I.e. the space is no longer at the beginning of the name and the problem does not happen.

Is there any other way to overcome this problem?
Any suggestions ?

Message 1 of 4
(2,898 Views)

No suggestions, but that's a pretty snazzy workaround.  🙂

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 4
(2,874 Views)

Another workaround would be to save your own copy of ' Write Waveform to File.vi', name your copy something sane, and use that instead of the vi.lib version.

0 Kudos
Message 3 of 4
(2,866 Views)

A small remark regarding the workaround to use the "apply prefix to all contained items" option.
With this option if in the project there are DLL files, they too will be renamed and this could give problems.

0 Kudos
Message 4 of 4
(2,622 Views)