キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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 件の賞賛
メッセージ1/5
4,201件の閲覧回数
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 件の賞賛
メッセージ2/5
4,181件の閲覧回数
since the action will be taken when some values on server side are changed, why not use event instead of using share variable
0 件の賞賛
メッセージ3/5
4,176件の閲覧回数
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 件の賞賛
メッセージ4/5
4,170件の閲覧回数
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 件の賞賛
メッセージ5/5
4,163件の閲覧回数