09-16-2013 09:38 AM
Hi, I am currently develloping a reactor that needs to log temprature ans other parameters.
I am at the early stages of the devellopmen. For the temperature we are using analog inputs that are convertedto a digital signal by a Cole-Parmer A/D convertor. I need to log this signal and therefore I am trying to use the Write to measurement file VI. But when i run the program the VI refuses to save my data in a lvm. file
09-16-2013 09:41 AM
Are you saving the file in a directory you don't have access rights to?
How does it "refuse to save"? Are you getting an error message?
Right now you are only trying to save a single value to the file since you are passing a scalar value out of the loop when the loop ends.
09-16-2013 01:42 PM
i'm not getting any error messages, but i've put an indicator that indicates if the VI's saves and it's off. I tried it whit the signal simulator and it worked just fine so i think it has something to do with the scalor value or me putting the VI outside the while loop
09-16-2013 01:55 PM
In your code, saving happens once the loop stops. That's dataflow. If you want to continuoulsly save during execution of the loop, the "save" code belongs inside the loop.
09-17-2013 02:10 AM
Thanks, that was the solution!
Sorry for bothering you guys with this simpel problem.