03-11-2019 02:53 AM
Hello guys,
1. I am trying to save my data together with the timestamp in a CSV file, but it s not working as I want. While I start my VI, error 43 comes out, instantly after I click cancel (see apendix: Error). When I click replace the same "replace window" comes again.
2. Also the data is not saved continuously, but it is overwritten. Because of that, only one data and timestamp are saved in the file.
What am I doing wrong? Do I miss something?
I would appreciate any help!
Best regards
Jason
03-11-2019 03:14 AM
Hi J,
While I start my VI, error 43 comes out, instantly after I click cancel (see apendix: Error).
Error 43 has an error description. Did you read it? (It means: "user cancel", so LabVIEW works as expected…)
When I click replace the same "replace window" comes again.
Because the same file operation takes place in the next iteration again…
What am I doing wrong?
You only provide images of your code, but not the code itself! We cannot debug images with LabVIEW…
Do I miss something?
Well yes!
Did you read the help for WriteWaveform? Did you read the help for all its inputs? And why did you set it to "not append" data to the file???
03-11-2019 07:56 AM
Hello Gerd,
you are right..the mistake was so simple..I just had to change from "not append" to "append". Now I get no errors and the data is written continuously in the csv file.
In the apendix the working vi!
I have a last question. What is changing with the value of dt from the function "BuildWaveform"? In Labview help it is written that dt specifies the time interval in seconds between data points in the waveform. But actually changing dt makes no difference in my results.
Best regards
Jason
03-11-2019 08:19 AM