-
Posts
2 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Its Me Ashiq
-
-
On 9/9/2018 at 4:54 AM, ekaetz said:
Getting the audio devive list by using the function "SoundNumDevices" in lvsound2.dll only works once.
If the devices on the PC change, and this function is called again, it always returns the same device list. It is as if this DLL obtains the device list form the PC when it is loaded (maybe a class is instantiated then). The only way to get an updated list is to relaunch your EXE or if in the dev enviroment to close all VIs that use sound tools in the dev project then open them again.
Does any one know a way to refresh the audio device list without restarting the app (or closing and reloading the VI)?
NOTE: I am using Labview 2017 SP1
Yeah that is really annoying!!! 😤😤😤😤
Getting a list of sound devices in the system
in LabVIEW General
Posted
Fortunately Dataflow G have released this toolkit - dataflowg/g-audio: An audio library for LabVIEW. (github.com)
It satisfies all the requirements 🤩!!!