12-04-2008 09:39 AM
This one shouldn't be that complicated just really can't find the answer easily. I am recording 4 channels of analog data and 7 digital channels at 6000 Hz. we jsut recently purchased a new M-series board for the fact that it seems like it will be much more precise than our older 6015 boards. Question I have is that I want to capture the start time of the task and dump it to the file I am writing to. This is ussually done for my automatically when I was using the Write LabVIEW measurement File VI. Since there is so much over head in a while loop when using that VI I am attempting todo this a little differently just by using the basic file write sequence. Question is I can make a header and what not before I go into the while loop but I don't se how I can capture te actual "Start Task" time. I need this so I can reference when exactly my first data point was collected.
Thanks,
Chris
12-04-2008 11:47 AM

12-04-2008 12:30 PM
12-04-2008 12:46 PM
Well how accurate is the file channel header information when you use the "Write to Labview measurement file VI" the T[0] time looks like it is alot more accurate than plus or minus one second. I mean there are 2 timestamps in there one is when the file is opened and the other, I thought was when the actual first sample occured. Also can you repost that VI I am only running 7.1 and 8.0, I haven't loaded in my 8.6 yet.
Thanks,
Chris
12-04-2008 01:12 PM

12-04-2008 01:21 PM
12-04-2008 01:27 PM
hm once more

12-04-2008 02:11 PM
So this is what I get...."Insane Object at FPHP+34 "Sample.vi":{tdo}{0x800}:FrontPanelDataController (DCO)"....maybe can send me a sceen capture of the block diagram if it is small enough?
12-04-2008 02:19 PM - edited 12-04-2008 02:20 PM
It works for me, but anyway her is a screen shot. Also some basic advice. Remember you do not have to close the file after every write. You can leave it open untill you have written the last data record
