01-08-2009 02:58 PM
I'm trying to create a file every time a certain criteria is reached, for this example, every time that my ratio gives a whole number a true is sent to my case and I would like to create a file... but I always get an error, that my path doesn't exist. I need a new file created everytime that I go into my case, so I'm using a shift register to do that... eventually what I'm tryign to do is write a buffer into a tdms file and save it on my hard drive every time I go into my True case... but I'm stuck on just creating a file.... could someone tell me wha tI'm doing wrong?
Thanks!
01-08-2009 03:19 PM
01-08-2009 03:30 PM
I tried that but then ran into errors when I passed the path to the TDMS... now I'm trying to use TDMS open, with the open or create input selected, but still errors... is this not how you open or create a tdms file to write to it?
Thanks!
01-08-2009 09:11 PM
01-09-2009 09:00 AM
Hello Fibo,
There is an excellent example that is included in LabVIEW. You can access it by selecting Help»Find Examples. Then search for TDMS. There are several examples for you to look at. The one I think would be most helpful is TDMS - Write Data (Events).vi. Let me know if this solves your problem.