From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Executable not creating or writing data from cDAQ to textfile

Hi all.

 

I'm working on a project to sample data from USB cDAQ. Every session is timestamped and the data is recorded to a textfile (whose name will be the timestamp). I have succesfully tested the executable on the PC with LabVIEW installed and everything works fine.

 

I've made an executable and then packaged an installer for it to install on PC without LabVIEW. When i was packaging the installer i selected the option to run the application immediately after it has been installed. Immediately after installation the application runs without any problem but after closing the application i get the message to restart the PC to complete the installation. Once the PC restarts the Application no longer creates or writes the data it samples from the compact DAQ ADCs to a text file. However the data is still correctly sampled from the cDAQ and displays correctly on a xy graph indicator.

 

Have i left something out of the installer build process?

 

Please help

Kind Regards

Peter

0 Kudos
Message 1 of 2
(2,032 Views)

Its all sorted out now. Windows7 didn't like a character i put in the textfile name. The development was done on WIndows XP and it allowed me to put the character in without any problems.

0 Kudos
Message 2 of 2
(2,018 Views)