Trying to get VR Working

Post Reply
Message
Author
Ferrari100
Posts: 3
Joined: Sat Oct 22, 2011 7:28 am

Trying to get VR Working

#1 Post by Ferrari100 » Sat Oct 29, 2011 7:14 am

Getting this error

10/29/2011 11:04:53.286 AM - Starting Grammer Load
10/29/2011 11:04:53.328 AM - Grammer Failed: 'text' cannot be an empty string.
Parameter name: text
10/29/2011 11:04:53.335 AM - Loaded Grammer
10/29/2011 11:04:53.491 AM - VR Failed: At least one grammar must be loaded before doing a recognition.
10/29/2011 11:04:53.497 AM - Recognizer Configured
10/29/2011 11:04:53.503 AM - Timer Started

Where do I need to set this?

Thanks

Vaughn
Site Admin
Posts: 1432
Joined: Thu May 13, 2010 2:17 pm

Re: Trying to get VR Working

#2 Post by Vaughn » Thu Nov 10, 2011 8:12 pm

I just started on the VR again here, both in the Speech.dll and in the VR.exe.

There are issues in both, long story about the MS's speech.net stuff not working from a dll, blah...


I love VR, it is my favorite part... So now that scripting is a little more stablibe, I will get right on the VR. Which is way better than old vCrib, once this bug is sorted out.


Hopefully in the release coming up, I will VR in shape.


Vaughn

AlexSG
Posts: 47
Joined: Sat Dec 03, 2011 7:18 pm

Re: Trying to get VR Working

#3 Post by AlexSG » Sat Dec 03, 2011 7:40 pm

Hello Vaughn and team.

It has been a few years and I decided to look into the progress of vCrib. I am happy to see you are still moving forward. This new project looks promising.

I am here with questions regarding the same issue as the OP.
VR Failed: At least one grammar must be loaded before doing a recognition.
Has there been any progress in with this error?

I having a little trouble figuring out the basic VR script commands. What would be the structure for a basic script. Lets say for example executing a program or script via voice command with the OSA patterns?

Example. "Computer, open notepad"

Regards

AlexSG
Posts: 47
Joined: Sat Dec 03, 2011 7:18 pm

Re: Trying to get VR Working

#4 Post by AlexSG » Sat Dec 03, 2011 11:00 pm

I found the service object and tried it with.

SERVICE-TALUS.run method.Execute Command."notepad.exe"

and

SERVICE-TALUS.run method.Execute Command."c:\windows\system32\notepad.exe"

No results. Would this be correct?

EDIT.

Tried something like this also. No results.

SERVICE-TALUS.run method.Execute Command.Program."cmd.exe","/T:1f"

User avatar
bwoodworth
Site Admin
Posts: 1563
Joined: Tue May 04, 2010 6:49 am
Location: California

Re: Trying to get VR Working

#5 Post by bwoodworth » Sun Dec 04, 2011 10:01 am

This is the correct form for the script:

SERVICE-TALUS.run method.Execute Command."notepad.exe"

First, that functionality of starting external apps is gone in v0.3.2. It must not have been implemented again after we switched over to using WCF architecture. I am adding it bak in and will be in 0.3.3. One other thing to note, is that in order to execute command line command you need to have the Manager running. The way it works is the service sends the manager the command and then the manager executes it. We do this because windows services are not allowed to start any process that contains a GUI. This is new security stuff since Vista
Brian

AlexSG
Posts: 47
Joined: Sat Dec 03, 2011 7:18 pm

Re: Trying to get VR Working

#6 Post by AlexSG » Mon Dec 05, 2011 4:25 pm

Thanks Brian. Tested in 3.1. Works exactly as needed.

Post Reply