LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronization distributed application used Shared variable

Tow application (server and client) used shared variables. For my application is important to do some action after the server write new value in shared variable. One idea is to check timestamp on client site. Is possible to used for distribution application standard solution like semaphores and occurences? How?
 
Regards!
0 Kudos
Message 1 of 5
(3,731 Views)
Toni-

I am a bit unclear as to what you are trying to do. It sounds like you are trying to look for a change in a shared variable. If you have LabVIEW DSC module, you can create an event structure fired off of change events on a shared variable, otherwise you need to simply poll the shared variable until it changes.
0 Kudos
Message 2 of 5
(3,711 Views)
since the action will be taken when some values on server side are changed, why not use event instead of using share variable
0 Kudos
Message 3 of 5
(3,706 Views)
I am using DSC module/Shared Variable change notification in my application.  My question is, what happens when multiple shared variables change their value.  Will the notifications be queued, or will the event structure handle each notification in the order received?
0 Kudos
Message 4 of 5
(3,700 Views)
Your question in your second post  is different to your question in your first post.
 
For second post,  the answer is YES unless your hardware(including you OS) is in really critical time situation.
 
 
0 Kudos
Message 5 of 5
(3,693 Views)