03-04-2012 12:56 PM
My program works when it is run as a vi and when it is run as an exe on my computer but when I transfer the exe to a new computer it does not save all the data. It puts 0's in spots where the value should not be 0. It runs on that new computer and does what it needs to but just does not store all the data.
Here is the PID.vi
03-04-2012 02:37 PM
Have you put extra indicators in your VI expecially on error outputs for your DAQ assistants and looked at them?
03-05-2012 03:51 PM
Yes I tried that and I got a numeric error but I can't find anything about what it means. I output -201304.
03-05-2012 04:12 PM
I figured it out. It turns out that when I copied it over I did not copy the log file that it was supposed to log to over. It was running perfectly fine and doing what it had to do but when I went to access the data to save it, it did not have it becuase the logs weren't there.
03-05-2012 04:13 PM
Did you use Explain Error in the LabVIEW help menu?
I get
"Error -201304 occurred at an unidentified location
Possible reason(s):
File path specified is invalid, or the file is not a valid TDMS file. Specify the location of a valid TDMS file."
Something appears to be wrong with the file path.
03-05-2012 04:18 PM - edited 03-05-2012 04:19 PM
And where are you getting this error in your program ?
After a little Google search, it turn out to be an error for invalid tdms file path.
"File path specified is invalid, or the file is not a valid TDMS file. Specify the
location of a valid TDMS file."
See this PDF file: http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/01d50d3f86ee67d8862576cf00745e78/$...
Looking at your DAQ assistant, you have configured it to log to a tdms file. Is the path, F:\Physics\AnalogInResults.tdms, correct ?
Is it available all the time ?