Netherlands
Asked — Edited

Voice Recognition Error

Hi DJ SURES,

I have a problem with the voice control, i tried the function on windows xp but didn't work, Later I read that xp doesn't work. but I've tried windows 7 on my desktop and get the same error. Just a few minutes ago i installed windows 7 on my laptop and I get the same error.

do i miss something or is there something else.

systems I used are :

toshiba laptop with windows 7 x64 hp dc5800 with windows 7 x64


ARC Pro

Upgrade to ARC Pro

Become a Synthiam ARC Pro subscriber to unleash the power of easy and powerful robot programming

PRO
Synthiam
#1  

Can you provide me with the error msg?

Netherlands
#2  

it's a long one can i post it here?

Netherlands
#3  

I hope you can understand it, there is some dutch in it.

System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld. bij EZ_B.SpeechSynth.StartListening() bij EZ_Builder.UC.FormVoiceRecognition.FormVoiceRecognition_Load(Object sender, EventArgs e) bij System.Windows.Forms.Form.OnLoad(EventArgs e) bij System.Windows.Forms.Form.OnCreateControl() bij System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) bij System.Windows.Forms.Control.CreateControl() bij System.Windows.Forms.Control.WmShowWindow(Message& m) bij System.Windows.Forms.Control.WndProc(Message& m) bij System.Windows.Forms.ScrollableControl.WndProc(Message& m) bij System.Windows.Forms.ContainerControl.WndProc(Message& m) bij System.Windows.Forms.Form.WmShowWindow(Message& m) bij System.Windows.Forms.Form.WndProc(Message& m) bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Geladen assembly's ************** mscorlib Assembly-versie: 2.0.0.0 Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

EZ-Builder Assembly-versie: 2011.8.10.0 Win32-versie: 2011.08.10.00 CodeBase: file:///C:/Program%20Files%20(x86)/EZ-Robot/ARC.20Installer/ARC.exe

System.Windows.Forms Assembly-versie: 2.0.0.0 Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Assembly-versie: 2.0.0.0 Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Drawing Assembly-versie: 2.0.0.0 Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

EZ_B Assembly-versie: 2011.7.30.0 Win32-versie: 2011.07.30.0 CodeBase: file:///C:/Program%20Files%20(x86)/EZ-Robot/ARC.20Installer/EZ_B.DLL

Microsoft.DirectX.DirectInput Assembly-versie: 1.0.2902.0 Win32-versie: 5.04.00.2904 CodeBase: file:///C:/Program%20Files%20(x86)/EZ-Robot/ARC.20Installer/Microsoft.DirectX.DirectInput.DLL

System.Xml.Linq Assembly-versie: 3.5.0.0 Win32-versie: 3.5.30729.4926 built by: NetFXw7 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll

System.Core Assembly-versie: 3.5.0.0 Win32-versie: 3.5.30729.4926 built by: NetFXw7 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll

System.Xml Assembly-versie: 2.0.0.0 Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

System.Speech Assembly-versie: 3.0.0.0 Win32-versie: 3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Speech/3.0.0.0__31bf3856ad364e35/System.Speech.dll

mscorlib.resources Assembly-versie: 2.0.0.0 Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

Microsoft.DirectX Assembly-versie: 1.0.2902.0 Win32-versie: 5.04.00.2904 CodeBase: file:///C:/Program%20Files%20(x86)/EZ-Robot/ARC.20Installer/Microsoft.DirectX.DLL

System.Windows.Forms.resources Assembly-versie: 2.0.0.0 Win32-versie: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_nl_b77a5c561934e089/System.Windows.Forms.resources.dll

************** JIT-foutopsporing ************** Als u JIT-foutopsporing wilt inschakelen, moet in het configuratiebestand voor deze toepassing of computer (machine.config) de waarde jitDebugging in het gedeelte system.windows.forms zijn ingesteld. De toepassing moet ook zijn gecompileerd terwijl foutopsporing was ingeschakeld.

Bijvoorbeeld:

Wanneer JIT-foutopsporing is ingeschakeld, worden onverwerkte uitzonderingen naar het JIT-foutopsporingsprogramma gestuurd dat op de computer is geregistreerd en worden niet door dit dialoogvenster verwerkt.

Netherlands
#4  

translation of ************** JIT-foutopsporing ************** Als u JIT-foutopsporing wilt inschakelen, moet in het configuratiebestand voor deze toepassing of computer (machine.config) de waarde jitDebugging in het gedeelte system.windows.forms zijn ingesteld. De toepassing moet ook zijn gecompileerd terwijl foutopsporing was ingeschakeld.

Bijvoorbeeld:

Wanneer JIT-foutopsporing is ingeschakeld, worden onverwerkte uitzonderingen naar het JIT-foutopsporingsprogramma gestuurd dat op de computer is geregistreerd en worden niet door dit dialoogvenster verwerkt.

=

Jit-error detection If you want to enable JIT-error detection, you have to change the jitDebugging value in machine.config to system.windows.forms. The program also has to be compiled while you enable error detection.

For example:

When JIT error finder is enabled, unprocessed exceptions are sent to the jit-error finder program that is registred on the computer and they do not be processed by this error screen.

Happy to help you:)

Netherlands
#5  

Hi there,

I'm now at work and picked up a brand new laptop.

Hp Pavilion DM1 Windows 7 x32

Installed the ARC and tried the voice control there I get a message :

"Voice recognition was not able to start, there is either no listing device the your operating system is not supported"

But skype works.

PRO
Synthiam
#6  

Hmmm! Visit your sound settings and check to see if you have a default input/recording device selected. That error will occure if there is no default audio device. Windows 7 is supported so it normally works out of the box.

Netherlands
#7  

Okee, I found the problem, it had to do with the language setting in windows. The luck i had that my laptop have windows ultimate so i downloaded the language pack for English.

now the errors are gone. and in windows i can now control my laptop with voice. kind a funny:)

so i hooked up my gws servo's and in the program i added the servo movement control and added the voice control.

I setup the microphone volume i bit higher, and started commanding. robot forward and so on. changed the command to wallee forward. but there is nothing happening. tried the speech recognition on and off. i followed the tutorial of the windows speech recognition and so on. Opened the volume control on record devices and when i talk u see the volumebar change so it can hear me.

so i changed the commands in the ARC voice controle to one two three. and tried again but still no movement.

What do i mis. Or is my voice so bad:)

PRO
Synthiam
#8  

Have you configured the servo Movement Panel to use the ports for the GWS Servos?

Also, make sure the Windows Voice Recognition is not active. You know that little window that pops up when you're using the windows vr? That will take over the audio device, so you can only have one or the other.

Netherlands
#9  

Ahh Thanks !!!

My robot did his first voice command movement:)

I'm as happy as a 5 year old kid:) on a birthday !!!

Just a different question :

is it possible to make a voice command that can activate a script?

I've made a few scripts of movement and action.

#10  

Yes, in the voice recognition configuration just put your phrase and in then under command put:

controlcommand( the name of the script window, scriptstart)

Note: Name your script something specific. You will need this window name to control the script.

For example, on my skull I have a script for it to say hello. The name of the script is "say hello"

So in the voice recognition config I have:

Phrase: Say Hi.

Command: controlcommand(say hello, scriptstart)

Alternatively, you can do a voice command to stop a script to by:

controlcommand( name of script window, scriptstop)

Hope this helps!

P.S. Next time make a new thread for a new topic so others can find questions and answers easily. Good Luck!

#11  

the voice recognition sometimes works for me. when it does, it hears "left" but it will never understand when i say "right" i have played with the microphone settings a lot. i even tried the word "dog" and it did not understand that:( i will keep practicing with my mic and speaker settings.

PRO
Synthiam
#12  

You can try changing the confidence level. It is the microsoft library.