LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

datasocket question...

Hi,

I need to send data to a Datasocket server and read it at a later time
from a different application. I can get it to work just fine if the
"writer" is active at the same time as the "reader". However, if i shut
down the "writer" and just launches the "reader" I get som funny
results. I have tried to use the Datasocket Update-feature to check if
the data has been updated but is does not work.

How do I check the Datasocket server if it has some new information?
How can I detect if the datasocket is empty?

Thanks,

M Soderberg


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
0 Kudos
Message 1 of 2
(2,847 Views)
Try readautoupdate option when setting up the connection. Other day I tried
using datasocket but I ended up with numerous LabVIEW lockups. Both sides,
reader and writer would freeze. Only way to prevent that was by killing the
datasocket server. I reverted to VI server and it worked out nicely. You
can eassily setup a nice reader using Vi-server. Advantage there is that
you will always know what is going on, since you wrote it, after a day of
datasockets I had had enough.

Hope it helps
0 Kudos
Message 2 of 2
(2,847 Views)