Hi all,
I am trying to write a simple (time,data) column to a CSV file.
I seem to hit a brick wall with every single step when trying to code LabVIEW. I do my best to learn, but have difficulty learning and making progress and seem to stumble around hitting dead end after dead end on what should be easy-to-solve problems.
I tried desperately to use the example here to incorporate it into my code: http://www.ni.com/newsletter/51339/en/ but the "Write To Spreadsheet File" is X'd out whenever I load the png.
I searched the forums and found that from the previous link, you can invoke a property node to export to excel. It works in the easy sine wave example, but when I do the same thing with my code I get nothing. I also need to hard code the path and writing to file, so I don't know if the invoke property node is the right solution for me. I have tried writing to delimited spreadsheet to no avail.
Right now I have the following code that is reading from an NI 9209 on channel 23 and is supposed to write to file. It does, but it only writes one data point (time,data). In every other simple example I see, including in the first link above, the write-to-file shows a continuous dataset from t0 to tFinal.
Once again I seem to be stumbling around trying to solve an easy problem. The examples I find are all different, extremely simple, and don't seem to help when I try to incorporate into what I am doing.
Can anyone please help me understand what I am doing wrong? I find LabVIEW one of the most difficult programming languages to learn and it is usually because I am not able to find the information that helps, or when I do, it doesn't seem to fit with what I am doing. I've uploaded the code I have right now into a snippet.