Issue Details
I am running a TestStand 2019 f4 application. The application uses LabVIEW classes which stored as object references in TestStand, and contains two threads. The threads consist of monitoring thread and main execution thread.
Under certain conditions calling a LabVIEW class method, I get a TestStand error as follow:
-18005
"Parameter 'State in':
True
"Error"
""

The help manual only describes this as TS_Err_LVTypeConversionError.
I assume the error is from the LabVIEW adaptor, which is configured to use the runtime (2020 f2). It also might related to the lack of atomicity of reading / writing the object reference variable in TestStand due to having two threads.
How to resolve the error?