I have a Datataker DT85 that I read Doubles and a String from in Labview. I managed to extract a Relative Time from the incoming String, but the value is not consistent, meaning I should get a new Relative Time every couple of seconds or so depending on the configuration I give to the DT85, but sometimes it gets updated, other times it does not. In the attached picture you will see the highlighted section of the picture shows a Relative Time of 00:00:04.021 then 00:00:01.977 then 00:00:02.997. These Relative Time values are seen in an application from Datataker called DeTransfer, but in Labview I might only see one or two Relative Times. I have deleted most of my program to the bare essential but I am still missing Relative Times. I also attached my VI to help you understand what I mean.
To be clear, you are not running the DeTransfer at the same time you are running your vi?
Yes I am. Would this affect the receiving of data?
I'm not really sure how your monitoring software works, but they could be competing for the same output. Try not using the logger and see if the problem goes away.
I closed everything and rebooted the PC then only started my Labview application but it still misses some data. I'm thinking it has to do with my while loop and the fact that I set the DT85 to acquire every 3 seconds and they are not in synch with each other. Anybody knows how to synch the DT85 with Labview? Should I set a flag on the DT85 when Data is ready every 3 seconds for Labview to read, then clear the flag and make the While loop wait for the next flag to show. How would I implement this. Is there another option?
It will probably be tough, but see if you can morph this into a producer/consumer architecture. LabVIEW has examples to get you started.