Owning Palette: Semaphore VIs
Requires: Base Development System
Returns current status information of a semaphore.
Use this VI in conjunction with the other Semaphore VIs to implement a semaphore in LabVIEW.
Add to the block diagram | Find on the palette |
semaphore is a reference to a semaphore. | |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |
name contains the name of the semaphore. | |
semaphore out has the same value as semaphore. | |
# available contains the number of tasks that can acquire the semaphore at the current time. This number is always less than or equal to size. | |
# waiting is the number of Acquire Semaphore functions currently waiting to acquire the semaphore. | |
error out contains error information. This output provides standard error out functionality. | |
size contains the maximum number of tasks that can acquire the semaphore at a time. |