Functions Palette/Programming/Synchronization/Semaphore: Difference between revisions
Appearance
Started page |
(No difference)
|
Latest revision as of 19:59, 22 June 2020

| Object information | |
|---|---|
| Owning palette(s) | Synchronization palette |
| Type | Palette |
| Requires | Basic Development Environment |
Use the Semaphore VIs to limit the number of tasks that can simultaneously operate on a shared (protected) resource. A protected resource or critical section of code might include writing to global variables or communicating with external instruments.
You can use the Semaphore VIs to synchronize two or more separate, parallel tasks so that only one task at a time executes a critical section of code protected by a common semaphore. In particular, use these VIs when you want certain VIs or parts of a block diagram to wait until another VI or part of a block diagram is finished with the execution of a critical section.
Functions
| Icon | Name |
|---|---|
| Obtain Semaphore Reference | |
| Acquire Semaphore | |
| Release Semaphore | |
| Release Semaphore Reference | |
| Get Semaphore Status | |
| Not A Semaphore |
History
| |
History information is needed. What changes have occurred over previous versions? |
| Version | Change(s) |
|---|---|
| More info to come. |