10-26-2006 08:22 AM
10-30-2006 03:06 PM - edited 10-30-2006 03:06 PM
Message Edited by abhinav T on 10-30-2006 03:27 PM
Message Edited by Support on 10-30-2006 04:05 PM
10-30-2006 07:06 PM
01-12-2007 06:53 PM
Manliff,
I seem to be having a similar problem with reading data using the 9237, I have tried setting the rate on the sample clock, changing the number of samples and inserting timers to my loop, but I keep crashing with the error that I need to acquire samples faster (in continuous mode). However, if I do this, I cant write data to file without it being a huge file.
Any advice as to how I can use the finite sample mode on the sample clock? I try using this and getting an error that I try to read past the available sample point, even though I set the sample clock to 600 samples and 5 samples/sec, which should allow it to run for two minutes.
Thanks for any advice.
Alfonso
01-15-2007 12:47 PM
01-15-2007 12:54 PM
01-16-2007 12:43 PM
Jarrod and Kyle,
thanks for your comments.
Jarrod, your explanation was very good, I understand what is causing the problems regarding data acquisition and write to file. I will implement discreet data write as per Kyle's suggestion.
Thanks.
01-16-2007 06:44 PM
Jerrod and Kyle,
I have focused my program to deal only with the write portion . I have included it here. the current solution works to cut down the amount of data written to file.
What I did not realize clearly is that all previous runs of this program are stored in the same data file. One is appended to the next.
It would be usefull to write to the same file name each time, but delete the data from previous runs. Can you point me in the direction to clear the file before it is opened?
I tried using "TDSM flush" vi. but this only clears the current memory, not the hard file. I am sure there must be a vi to do this, I just don't know where it is.
Thanks again.
Alfonso