09-09-2010 04:56 AM
We have data files including a header with channels names in DAQmx channel name format.
Now we want to send an Labview-application to our customer by which they can open these files and just see the channels names as text. Can we make such an application without requiring the customer to install DAQmx. We are using Labview 7.1.1 and after installing the application it asks for nivaiu.dll, nipalu.dll, nipalut.dll and so on. Changing the file header to simple string arrays gives compatibility problems on old data.
Solved! Go to Solution.
09-09-2010 04:58 AM
can you show your data file? Did you try to read the raw file?
09-09-2010 05:03 AM
It is just a header where we included the DAQmx channel name array as part of a cluster.
It works great to read the file in the development environment and on all computeras having DAQmx installed.
The problem is when we make an exe-application where any DAQ-card or MAX is not needed. The application askes for all the .dll-files from DAQmx but we just want to read the file header and convert DAQmx channel name array to string array.
09-09-2010 06:17 AM
i think you should read the file raw and interprete it yourself without the DAQmx functions. Did you try that?
I don't know your file, so it would be helpful if you can upload an example.
Try to help.
09-09-2010 06:53 AM
As the file is in binary format you can't do anything with it. I then have to add the read-vi as well.
To be able to read the file I have to include a DAQmx control for channel names as template for binary file read. Afterwards I take the DAQmx channel name array and let it autoconvert to standard string array.
09-09-2010 07:23 AM
If you require a DAQmx control to read the file, then the problem is how you did the file write. You chose that format instead of something more portable such as TDMS. Using DAQmx requires you to install DAQmx.
09-09-2010 09:30 AM
This was the answer I expected but did not want to have. I use one single DAQmx control as a template when opening the file and need to include the full DAQmx installation. I hoped to get answer like "just include nivaiu.dll, x.dll..." in the build file.
Thank you for helping anyway...
09-09-2010 01:36 PM
The DAQmx channel name control can be used as binary file read template without installing DAQmx separately. I did find a sub-VI calling "DAQmx unflatten string". After deleting that call everythings work.
Sorry for bothering you all!