Asked — Edited

Sound Servo

Hi, When I try to use the sound servo control I get an exception message error, then ARC crashes. I'm at a loss? Steve

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text ************** NAudio.MmException: BadDeviceId calling waveInOpen at NAudio.Wave.WaveIn.OpenWaveInDevice() at NAudio.Wave.WaveIn.StartRecording() at .(Object , EventArgs ) at System.Windows.Forms.Form.OnLoad(EventArgs e) at .OnLoad(EventArgs ) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.SetVisibleCore(Boolean value) at System.Windows.Forms.Form.SetVisibleCore(Boolean value) at System.Windows.Forms.Control.Show() at . (Object , EventArgs ) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr


ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

United Kingdom
#1  

Looks like a problem with your soundcard (or more to the point, a bad device ID on the soundcard). It's a windows issue, check your device manager for anything that isn't working properly.

I can confirm that Sound servo works OK in ARC 2013.06.15.00

#2  

Thanks for the quick reply, Device manager reported no errors and the sound card. And it's working. I can play sounds on it?

Steve