02-08-2017 08:05 AM
I have modified the basic teststand UI from the pre shipped examples(Shipped with teststand).
I am are trying to pass conntrols references from my user intraface VI(Used only to run a perticular sequence) to a Panel VI(Which gets user inputs for controlling pause,termination and similar operations) called as part of test sequence(called in a New tread) the application manager has already been started in the User Interface VI and care has been taken to make sure the sequence does not execute until all the buttons are linked on the Panel VI.
I tried to pass Application mgr reference using global variable to another VI and link TSUI button controls such as terminate and pause on the Panel VI,and got the error 97, unknown System Error in proxy caller.
Attaching screenshots and example of linking the buttons
Initializze.png:Obtaining control reference from user interface VI.
Reading the globals.png:another Vi reading rererences.
Set ApplicationMgr.vi :Linking the controls buttons to teststand operartion.
Thank you.
02-08-2017 08:53 AM
Are you running subVI after you have written reference into global? You read from the globals before the state machine in Panel.vi
Error 97 in LabVIEW is "null reference"
02-08-2017 10:26 AM
Thanks for the response.
Yes,I am running the sub vi after global variable initialisation.
Chethan
02-10-2017 01:20 AM
Found the issue.Had used initialise to defaults property node.It was causing the issue.