Obtains a reference to an existing semaphore or creates a new semaphore and returns a reference to that semaphore.
The name of the semaphore you want to look up or create. If you wire name, the node searches for an existing semaphore with the same name and returns a unique reference to the existing semaphore. If a semaphore with the same name does not already exist and create if not found is True, the node creates a new, named semaphore and returns a unique reference to that semaphore.
Default: Empty string
The number of tasks that can acquire the semaphore at the same time. If a named semaphore already exists, wiring a value to this input does not resize the semaphore. size must be greater than or equal to 1.
Default: 1
A Boolean that specifies whether you want to create a new semaphore if one with that name does not exist. If create if not found is False and the node cannot find a semaphore with the name you specify, the node returns error code 1534.
Default: True
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
A reference to an existing or newly created semaphore. If you use this node to obtain multiple references to the same named semaphore, each reference number is unique.
A Boolean that returns True if the node created a new semaphore.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application