08-05-2014 08:25 AM
Don't know why I am struggling so much with this. At least the event time stamps are correct so I have decided to just remove the continous stream of event numbers and only write the marker/description which has an event number in it at least. still open to suggestions but, moving the queue, consolidating the queue, using no procuder/consumer architecture, using a million tdms writes, none of it has given me equal event numbers as data.
08-06-2014 08:04 PM
Hello LabVIEW 12110,
Could you please post the most recent revision of your code and a description of the current architecture you want to implement? Did you scrap the producer/consumer loop?
Regards,
Tom
08-06-2014 08:08 PM
The one in this vi is pretty close to it. I made the changes indicated by the pictures attached a few comments in. Also I moved the record event button event, and timing to the consumer loop. So the only thing in the consumer loop now are my graphs, the daq blocks and a single enqueue element block as indicated by the screenshots I posted.
Im away from my labview computer now, sorry I cant post the actual vi.
08-06-2014 08:13 PM
Sorry the pics are here
http://forums.ni.com/ni/attachments/ni/170/850053/1/Capture.PNG
http://forums.ni.com/ni/attachments/ni/170/850053/2/Capture%202.PNG
from my other thread.
08-07-2014 06:43 PM
Hi labview12110,
Could you post the latest version of your code? You said on Monday that you had changed it to use only one queue, but the last VI you have uploaded still uses two.
Have you considered a different architecture than the consumer-producer loop? A state machine might be appropriate here. You could have an initialization, measurement, calculation, and logging state that feed into one another.
Regards,
Siana