01-21-2010 02:43 AM
Hellow friends
I am Using CRIO 9073
As I am aquiring Loadcell Signal and that i want to display on real time chart On windows and also i want to save into file for history view.
As When i see that current trend on rt looks nice and smooth. Looks like my project is over.
But when i gets those data over windows using UDP there problem starts.
If i make RT(Sender) clock rate greater the window(Reciever). I gets data after some time. that delay increases as time goes. looks like data gets fills in queue. Displays after some time.
that make my Windows Trends uneven.
So what Should i do.
01-28-2010 01:38 AM
Hello Mr. Brijesh,
Are you using FIFOs in your application?
Akshat Jain
01-29-2010 01:18 PM
Ya i have tried to use fifo.
But what happens when my priority 1 loops executes say 1ms clock rate then i am transfering data on to the fifo.
and another loops say lower priority gets that data from fifo and send them to Windows. that what i have done.
Now what happen as Prio 1 loops runs faster then prio2 loop so my fifo feels up very quickly and gives error.
So i dont have any choice other then to keep them at same clock rate. in this case working fine. but then whats the meaning of fifo. ok fine........
Now when i send data on to windows say at rate of 1ms. then my windows loop is not capable of running at that clock rate.
now what should i do. If i run my windos loop less then that i am goig to lose data.
please guide Friends.
or if you have better way to do this.
01-29-2010 02:43 PM