08-23-2017 08:24 AM
Hi all,
I have problem with mouseAcquire.vi ( Acquire Input Data VI ). Error code –2000000012 Close failure. Make sure the device is currently open. Error appears in startup of application under Operator account. When I start application under Administrator account, it works without error. I made test application only with Initialize Mouse.vi, Acquire Input Data.vi, Close Input Device.vi under Operator account, it was without error.
08-24-2017 06:36 AM
Hi ratomas,
Can you send us the VI showing error with steps how to reproduce it?
As the simple VI is working under Operator account, it might be something else within your architecture what is conflicting the mouse acquisition.
Looking forward to seeing more. 😉
08-24-2017 07:18 AM
Hi Martiko,
I tried to search device problem but I found nothing.
I don´t know how to reproduce error. That is problem. I only know that appears during startup application under Operator account.
Here is VI which causes error - case - Init VI.
08-28-2017 03:53 AM
Hello,
I don't the idea behind the code...to acquire mouse click event I recommend you to use event structure. Here is the example that shows use of "Mouse Down" or "Mouse Down?" event generated by the main Pane of the VI.
Additionally, I strongly recommend you to avoid using Czech diactitics for case selectors in case structures and control labels (for localized names use control Captions instead).
Regards,
Ondřej K.