Additional Information
This error commonly appears when one of the previously listed Queue functions or operations tries to operate on a reference which has been closed. Always ensure to close the reference only after all other functions needing it have executed. Also note that this reference only needs to be closed once.
The Producer/Consumer Design Pattern (Data) available from LabVIEW relies on this error being thrown to stop the Consumer loop — when the stop button is clicked, the producer loop exits and the queue reference is released. The next iteration of the consumer loop attempts to de-queue from a queue reference that has been released, which throws error 1122, and stops the loop.