LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to reprogram audio devices buttons

Hello,
 
I am using Labview with an audio USB device to measure vibrations. This device has 3 buttons, volume up, volume down and mute, and I would like to reprogram them in order to use this buttons as stop, play and record. Does anyone know if it is possible to do it in using Labview? If yes, how can I do?
 
Thanks for help,
Eliska.
0 Kudos
Message 1 of 6
(3,265 Views)

Hi,

It depends of your audio usb device but usually it is not possible to reprogram a device easily (or at all).

 
Dai
Dai

LV 7.1 - WIN XP - RT - FP
0 Kudos
Message 2 of 6
(3,262 Views)

Thank you but maybe do you know if Labview can find the device buttons and if yes I would be able to use them. Is it possible to find the device description with Labview?

Eliska.

0 Kudos
Message 3 of 6
(3,260 Views)

Hi,

Okay. Labview and your device communicate through USB. So it means that Labview (windows in fact)

has the drivers of this device. I don't know how is your actual program and how it access the drivers. By a dll I suppose?

Let's say it is a dll. You have functions in it, for example : init, send sound parameters, get data, and so on.

Unless there is a function "Get button states", it will be difficult to get those states.

What is device? MP3 player? Homemade?

Dai
Dai

LV 7.1 - WIN XP - RT - FP
0 Kudos
Message 4 of 6
(3,256 Views)

In fact I have tried to do this job in using API functions and raw input structure and functions but I can't find the API function and the dll which will give me the buttons state.

I know that Labview can give me a list of all the device registrated but maybe it can give me more information.

The device is a homemade audio device.

Thanks

Eliska.

0 Kudos
Message 5 of 6
(3,252 Views)

Hi,

Since it is homemade device, you should known what are the possibilities with this device  (if it is your home Smiley Wink).

Look at this article about accessing API. It does not solve the problem but it a good start.  

http://digital.ni.com/public.nsf/websearch/09057cc08746fd47862566e800619b12

Sorry I cannot help more

Dai

Dai

LV 7.1 - WIN XP - RT - FP
0 Kudos
Message 6 of 6
(3,247 Views)