Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USB HID on Mac

Having already written a couple of Nuggets on USB communication, I feel a bit silly asking this but anyway.....

 

Under OS X, when I attach a HID (Mouse, Keyboard or whatever) it's automatically assigned as a regular HID input.

 

If I want to communicate directly with this device, how do I go about getting access to the device?  Under Windows I'd use the driver wizard and change the driver for the device, but I've no idea how to do something similar under OS X.

 

If I use a program to view HIDs on my Mac, it shows up OK and the device responds but it's "captured" by the system.

 

How do I regain control of my device?

 

Shane. 

0 Kudos
Message 1 of 3
(4,364 Views)

I found others with similar problems and apparently it's a non-trivial task...

 

Can someone with more experience with VISA give me an idea how to regain control of my device?

 

Shane. 

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

Hi Shane,

unfortunately - as you stated correctly - this is not a trivial task under Mac OS. As is mentioned in this knowledge base entry and this forum post, you will not be able to directly access your HID in Mac OS. If you find a shared variable the provides access to the device, you should be able to call it from LabVIEW. I am not aware of any easier solution, I'm afraid.

 

Best regards,

Peter

--
Peter A.
Field Sales Engineer, NI Germany
0 Kudos
Message 3 of 3
(4,323 Views)