07-24-2009 08:20 AM - edited 07-24-2009 08:20 AM
Hi,
I'm currently working on a project with two seperate systems (PXI embedded controler and a standard PC) which are talking over a network using a datasocket. The PXI controller is reading data from a DIO card and posting this to the datasocket.
I would really like to be able to check the datasocket (on the PC) for a value change, and only react when a change happens?
Does anyone have a idea of how this could be done?
Please ask questions if i didn't explain this very well 🙂
Thank you
James
Solved! Go to Solution.
07-24-2009 09:44 AM
Hello Jam.Hall,
I have found this forum thread, I hope it might help.
It references this knowledge base article if you need more detail.
Hope this helps!
07-24-2009 10:06 AM
Simple Example showing how to use a user event and notification to accomplish this. I did not put the Data Socket part in, but you should be able to modify this or add the required code to your VI.
NOTE: This is only one way of skinning this cat.
LV8.5
07-27-2009 04:13 AM
Thank you both for your replies, both worked a treat. I'm going to go with the value (signalling) property node method with a little modified code. The only problem with the value (signalling) property node is that even if the value hasn't change it will register a event with the event structure (even if using value change events!) so it basically just sits there polling the datasocket. But I use a simple peice of code to compair the data and only if it has changed will it write to the property node and hence cause the event to be triggered.
again thank you both for your imputs very helpful.