03-25-2010 06:31 AM
Hi, everyone.
I have built a program for reading continuous message from a GPS receiver as attached. But as it needs time for LabView program to work and display the message from the receiver, and thus the message shown is always delayed by the electronic execution of the program. Is it possible to measure the electronic delay of execution of the program in my program? Can anyone show me the way how to modify my program so as to include accumulated electronic execution time in my program. Thank you very much.
Best Regards,
yukfai88
03-25-2010 09:40 AM
03-25-2010 09:52 AM
As Dennis points out, the instrument will have a delay in updating. There will also be the delay inherent in communicating over a serial link, at both ends. In you program you could determine the loop time as shown below, but I'm not sure how useful that is. It just shows how long between messages, doesn't tell you how long from the time the instrument (GPS in this instance) updates its time calculation to when it shows up in your program. It only show how long between received messages. If you could calculate, using external means, some delay between the GPS updating/sending the message and when it is displayed it wouldn't tell you much unless you could make those measurements each time, as it probably will vary. The "0" case just passes the timer through.
03-25-2010 10:05 AM