LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS Application Error

Hi All,

 

I'm trying to do a little data mining here on a Windows system level error I keep getting.

 

This error randomly occurs in all tests to date when I enable logging of my DAQ to a TDMS file.  I.e. it doesn't occur all the time, but when it does it is during the file logging to TDMS.

 

The error is a Windows system level error (not generated by LabVIEW):

 

MRS DAQv2: MRS DAQv2.exe - Application Error

The instruction at "0x3085dd2a" referenced memory at "0x27f81000".  The memory could not be "read".

 

This happens on two different machines, one running simulated hardware and one running real hardware.  Both running LV 2009 on Windows XP.

 

So, has anyone else run into this situation?  I tried repairing for corrupt .dlls and flushing the TDMS data every minute (this at least keeps most of the data from being lost) but it has not fixed the bug.

 

Thanks in advance for any info!

 

Cheers,

Greg Cole
“It is not the ship so much as the skillful sailing that ensures the prosperous voyage.”
0 Kudos
Message 1 of 4
(2,517 Views)

Hi GReaper,

 

Is that convenient for you to post your VI here or describe the details of your VI so that we can reproduce this problem and debugging into this problem?

 

Thanks.

0 Kudos
Message 2 of 4
(2,490 Views)

Sure thing, attached is the VI.

 

It is a greatly stripped down version of the actual VI.  There were too many subVI calls and user interface actions going on (via parallel loop with event structure) to include the whole mess.  The attached example shows the basis of my TDMS recording.  It's a state machine embedded in my DAQ loop that monitors a logging on/off control.  In my actual program the output file name is auto generated using test and date info.  In the attached example new file names must be set manually.

 

I do a periodic TDMS Flush as insurance for some of the data in case of a crash but it's not a cure.  I'm also trying some repeated runs to see if this stripped down example generates the same error.  Since it is intermittent it may take several tries.

 

 

Cheers,

Greg Cole
“It is not the ship so much as the skillful sailing that ensures the prosperous voyage.”
0 Kudos
Message 3 of 4
(2,465 Views)

Hi GReaper,

 

Thank you for supplying the VI. I'm not  very good at using DAQ, when I running the VI on my machine, I always got a -200077 error, it sayd "Requested value is not a supported value for this property", so would you please telll me your task/channel configuration?

 

And, I would highly appreciate you if you can strip down the  VI a little bit more, for example, can you reproduce this problem with a simpler VI which only contains TDMS, but without the DAQ VIs, you can simply use some array of doubles as data input. Is that convenient for you?


Thank you!

0 Kudos
Message 4 of 4
(2,447 Views)