NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate a global synchronise object?

Means a synchronise object(For example a lock) is visible by different sequence file? Is this possible? More less global variable. 

0 Kudos
Message 1 of 3
(2,542 Views)

If you put an * at the beginning of the name for the synchronized object it will work.

 

For example:  "*MyLock"

 

From this link: https://zone.ni.com/reference/en-XX/help/370052W-01/tsref/infotopics/sync_objects_name/ 

 

"By default, you can access a Synchronization object only from the operating system process in which you create the object. However, you can make a Synchronization object accessible from other processes, such as multiple instances of a user interface, by using an asterisk (*) as the first character in the name."

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 3
(2,516 Views)

Hello,

Thanks for the information.

From your comment , I realized the the default  Synchronization object maybe good enough for my case.

Means:

 "MyLock" (Without '*'),can be visible between process module sequence file and the client sequence file.

  I think they are in one process.

  Is this correct?

 

Best Regards

Mark

0 Kudos
Message 3 of 3
(2,510 Views)