LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MouseAcquire Error

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.MouseError.JPG

Blocks.JPG

 

 

 

 

 

 

0 Kudos
Message 1 of 4
(2,820 Views)

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. 😉

0 Kudos
Message 2 of 4
(2,779 Views)

Hi Martiko,

I tried to search device problem but I found nothing.

Device Manager.JPG

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.

 

0 Kudos
Message 3 of 4
(2,771 Views)

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.

 

Mouse Event.png

 

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.

CLA, CTA, CLED
0 Kudos
Message 4 of 4
(2,752 Views)