NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable Keyboard and mouse input

  My application background is I don't want operator to input serial number by keyboard, because we are using barcode scanner during the PreUUT of Teststand. It's a function like error proofing, avoiding the inproper operation of operator.
  In order to disable keyboard and mouse input, I can use LabVIEW Event structure function to filter mouse/click event, but that's not suitable, also I try to find a windows API function, but seems to complicated (Hook function). So I raise this question and hope somebody could help me on this. CVI or Teststand ActiveX methods are prefered.
  Attached picture could better make clear my questions
 
Thanks
Jacky
0 Kudos
Message 1 of 11
(9,873 Views)

Hi Jacky,

I dont believe there is anything in TestStand API that will disable the keyboard but you could substitue the IdentifyUUT function for one of your own to obtain the serial number from the barcode reader. How do you intend for the operator to exit out of the UUT loop?

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 11
(9,864 Views)

    Attached is what I would like to see, in PreUUT: 1, disable keyboard and mouse input; 2, Identify UUT step; 3, enable keyboard and mouse input. 

 

0 Kudos
Message 3 of 11
(9,861 Views)

Ray Farmer

I'd like to use same function ,could you description more details in teststand how to specify for a barcode reader only ?

 

0 Kudos
Message 4 of 11
(9,838 Views)
Hi,
 
what sort of barcode reader is it, serial or one that plugs in with the keyboard?
 
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 5 of 11
(9,834 Views)
I'm using a 1-D barcode reader,sometime also use 2-D QR code type,and using a serial port.

帖子被alexzheng在06-14-2006 01:16 AM时编辑过了

0 Kudos
Message 6 of 11
(9,834 Views)

Hi, Ray

How i can to tell to 'IdentifyUUT' to get the number automatically (not pop-up/dialogue), because i do not want to get 'pop-up' dialogue..?

Thank you & Best Regards

*I use LabVIEW 2018 & TestStand 2021 versions
0 Kudos
Message 7 of 11
(9,609 Views)

Here, I'm glad to post a solution, please see attached seq file. To be noted, I have inserted some steps in the PreUUT sequence call. When running tes UUT,  keyboard and mouse action will be disabled, except the key:Ctrl+Alt+Del

 

Thanks!

Jacky

0 Kudos
Message 8 of 11
(9,588 Views)

Hi,jacky,

can you save the sequence to teststand 3.1 ? because my version only 3.1.

Alex,

0 Kudos
Message 9 of 11
(9,583 Views)

Hi, Jacky and Ray!

How i can to tell to 'IdentifyUUT' to get the number automatically (not pop-up/dialogue), because i do not want to get 'pop-up' dialogue..?

Does exist in general oportunity to set IdentifyUUT to get data automatically without user interaction?

Thank you & Best Regards

*I use LabVIEW 2018 & TestStand 2021 versions
0 Kudos
Message 10 of 11
(9,570 Views)