LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

volume control

Can anyone help me addind volume control with this VI.
The vi select a audio file and play, pause and stop it, but i need add volume control
0 Kudos
Message 1 of 5
(3,019 Views)
Looks like there is  a properity for the media player called "Settings" and a property for settings is volume.

Couple comments though, you have the media player disabled, if you leave it enabled, you can use the default controls on it.

Secondly, they way you have this program set up is going to eat MUCH more cpu than it needs to. You have a while loop running with no wait. This means LabVIEW will use most of the CPU to poll the one control and constantly resize the activeX container. Much better to use an Event structure to look for the control to change.
0 Kudos
Message 2 of 5
(3,005 Views)
Something like this.

This version uses 3% of my CPU, the one with the while loop and no delay was using 55%.


0 Kudos
Message 3 of 5
(3,002 Views)
Could you post it for 8.0 version , i do not have the 8.5 version
0 Kudos
Message 4 of 5
(2,997 Views)
0 Kudos
Message 5 of 5
(2,977 Views)