10-06-2010 03:12 AM
Hey!
I have made kind of simple logger software where you can select channels, sample rate, file location, comment to file, and file sized by feature.
I have bit problems with this file sized by feature where you can select file sized by number of samples, size of the file, elapsed time and time of the day.
This my code works fine for example with time of the day feature on but only with first time on the run. I mean when you are running the program it works fine with first logging time, but when you are pausing it and start with new filename, it doesnt work anymore. It definately logs after new start but it wont make new files based on file sized by feature.
I think that it somehow relates to the timestamp but I'm not sure. You can see from the log files there are two headers. In the first header there is time which doesnt change after you have done first logging time with program. In the second header the time changes after every new file. The first header doesnt even change after you stop the logging and making new file.
And how about that DAQmx read block. Should it be that 1D wfm nchan 1samp mode ? I would like to take samples usually once per 10 seconds but this same program could be used bit faster sample rate for example 2 samples/s. Sorry I dont understand what is the difference in practise between single sample from each channel mode or multiple sample from each task mode? Whether I should use?
10-06-2010 06:08 AM
Hi,
Th vi's you have attached doesnt show DAQmx vi's, single channel/multiple samples components. You are logging a single sample of temp high set point to measuremnt file?? The vi's functionality does not correlate to what you have mentioned in the post.
Post back with the right vi's.
10-12-2010 06:15 AM
Sorry I don't know why it didn't show those some blocks even those are just common blocks from labview. But here is my whole project so there should be all the files.
Purpose for this program is to log resistance values from different channels.
10-14-2010 04:03 AM
Doesn't anyone know why it's not working properly ?