From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get USB-soundcard's ID?

Solved!
Go to solution

I want to use the USB-soundcard to collect signal. but i do not know the USB-soundcard ID.

how to get USB-soundcard's ID?

The control as below.

 

0 Kudos
Message 1 of 4
(4,111 Views)
Solution
Accepted by orlando111

You can cheat a bit and use the Express VI Acquire Sound which lists all of the sound devices, use Windows device manager to see what devices are there, or use Get Num Devices in _SoundAcquireConfig.llb and Sound Device Info in lvsound2.llb. Both of these llbs are in vi.lib\sound2 and are what are used in the Express VI.

 

p.s. This board is for digital I/O devices. You might want to post additional questions to the LabView Board.

Message 2 of 4
(4,100 Views)

thank you,Dennis.

I use the Express VI Acquire Sound ,the usb-soundcard ID has auto changed to 0.  The PC soundcard ID is 1. 

But i want to know why?

0 Kudos
Message 3 of 4
(4,077 Views)
That's one of those windows mysteries. I really have no idea except I have seen the exact same thing with USB NICs and internal ones.
0 Kudos
Message 4 of 4
(4,074 Views)