01-25-2012 07:11 AM
Okay, I sorta have my VI working, minus one issue. The program crashes when I write my first 300 samples to file. That's such a small amount of data, so I don't think my writing to file is pushing me over the edge on resources. I would prefer not to use the "Write to Measurement File" vi, but couldn't find success with open/create/close nodes.
Can anyone assist? I've used the analyzer tool and cleaned what I could, but still suspect my problem remains.
I am still "green" to alot of functionality, but excited to learn.
Thanx for your time, and here's my code:
01-25-2012 09:27 AM - edited 01-25-2012 09:36 AM
So, it crashes on the first occurrence of "Write to Measurement File"? You might want to copy just that section of code into a seperate VI and test it with various data lengths, types ,etc. This could help you find the problem.
Does LabVIEW completely crash or just your program? Do you get any error messages?
I ran your program with simulated DAQ channels and had no problems.
01-25-2012 03:12 PM
Thanks for responding.
To answer, the whole program crashes.
I could run just the write segment as a separate vi and check it, but I don't think that equates with the memory being used by the whole top level, although it would probably not hurt to make as a vi anyway.
I just ran it again, and it crashed before the write, so I know somethin's hosed.
Also, I've seen that vacuum you refer to in your avatar: It was sucking the atmosphere off the planet Druidia in Spaceballs.