Release Semaphore VI
- Updated2025-07-30
- 2 minute(s) read
Releases access to a semaphore. If the Acquire Semaphore VI is waiting for the semaphore this VI releases, it stops waiting and continues execution.
Use this VI in conjunction with the other Semaphore VIs to implement a semaphore in LabVIEW.

Inputs/Outputs
semaphore
—
semaphore is a reference to a semaphore.
error in (no error)
—
error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality. This node runs normally even if an error occurred before this node runs.
semaphore out
—
semaphore out has the same value as semaphore.
error out
—
error out contains error information. This output provides standard error out functionality. |
If the semaphore is currently unacquired, this VI returns error code 1111.
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Synchronization\Semaphore\Simple Semaphore.vi
semaphore
—
error in (no error)
—
semaphore out
—
error out
—