Train Vision Object By Script icon Train Vision Object By Script Train camera vision objects via controlcommand(), attach camera, start learning, monitor progress, and return object name for scripts. Try it →
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

With Synthiam ARC Pro, you're not just programming a robot; you're shaping the future of automation, one innovative idea at a time.

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#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