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.
Regards
Dan Larsson
Solved! Go to Solution.
09-09-2010 04:58 AM
Hi Dan,
can you show your data file? Did you try to read the raw file?
Mike
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.
/Dan
09-09-2010 06:17 AM
Hi Dan,
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.
Mike
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.
/Dan
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.