Good afternoon,
I have been working in a polarimeter, for which I am using two KDC101 motors and a power meter PM 100, all from Thorlabs. I based my program using templates in Labview: Continuous Adquisicion and Logging, and Queue Message Handler.
The problem I encounter is that whenever I press Exit or simply close the window, the program sends the error: Error 91 occurred at Variant To Data.This occurs even when I simply start the program and then press Quit.
I already verify the tunnels in the case and all are properly connected. Even I explictly put the input for the stop of the loop for each case to be able to disable the Default if Unwired, nothing changed.
Then, I compared it with the templates and I did not see any big difference. As in the templates, I only use variants for the settings and for the Quit and Confirm Quit cases in the Message Handler Loop.
I would appreciate if you can check if there is something I am missing.
Thank you.