01-05-2007 09:38 AM - edited 01-05-2007 09:38 AM
Message Edited by daveyK on 01-05-2007 09:40 AM
01-05-2007 10:20 AM
01-05-2007 10:44 AM
01-05-2007 11:03 AM
01-05-2007 11:27 AM - edited 01-05-2007 11:27 AM
Message Edited by daveyK on 01-05-2007 11:29 AM
01-05-2007 11:36 AM - edited 01-05-2007 11:36 AM
Message Edited by daveyK on 01-05-2007 11:40 AM
01-05-2007 11:43 AM
You have set the format on the x axis to SI notation. You can set it to absolute time if you want the actual time to be displayed.
Look at the VI you are using to write the file. Do you see the input called 'append to file? (new file:F)'? That means that the default for this is False and that you will get a new file each time. Wire a True to it to append.
Do you see the input called 'file path (dialog if empty)'? Since you have nothing wired to it, the path is empty and you get a dialog each time. You can place a file path constant on your block diagram so that you can specify a file before you run the program or you can have the dialog and use a shift register wired from the new path output back to the path input.
01-05-2007 01:12 PM
01-05-2007 01:21 PM
If you want the timestamp, the easiest thing for you to do is use the Write LabVIEW Measurement File function and don't convert the dynamic data to a 2D array. Just wire the dynamic data to the 'Signals' input.
The number of samples refers to number of samples per channel and the only minimum you have is 1 sample per channel. I'm running your VI in simulated mode and I have no problem plotting data with a 6 Hz rate and 2 samples.
01-05-2007 03:38 PM
Alright something is up here. I've tried it with the "Write Labview Measurement file" and "Write to spreadsheet file" and it only seems to log data if I set the rate to 21Hz or higher independent of the number of samples.
You said earlier that if I set the samples to lets say 100@21Hz then it would log 1 sample about every four seconds?
I have it set to 100Samples@21Hz and it's logging data at 21Hz or every .0476 seconds at 100Sample blocks.
So this is how it works...I can have it set to 19samples or 500samples and it only logs data if the rate is set to 21Hz or higher. If I set it to less than 21Hz I can see the bubble moving down the wire but it's empty for some reason.
Any ideas?
Thanks,