Jump to content

LVSpeak 2.0 - Release Discussion


Recommended Posts

LabVIEW Speak(LVSpeak) 2.0 has been officially released!

There is an article in the NI Instrumentation Newsletter about it and a follow up post on the NI Communities with getting started videos and the current packages.

http://decibel.ni.com/content/groups/labview-apis/blog/2009/11/19/labview-speak--programming-lv-through-voice-commands

But I've decided to support the independent LV community and keep the discussion on LAVA.

So hopefully we can get some dark-siders to come over to the light. >8^}>

I welcome any feedback and keep an eye out for another LAVA topic to be posted regarding building QuickEdit Plugins and another for building LVSpeak Clients

~,~

The Captain Was Here

Link to comment

An issue has been identified on some peoples systems that have had previous versions of LVS installed.

This issue is identified by everything looking like everything should work, you see your commands reflected in the LVS widget but nothing happens.

The updated package is 2.0.5-1 attached to this post

lavag_cr_LVSpeak-2.0.5-1.ogp

The issue is due to errors in the plug-ins

To ensure this is not a problem

Use the VI Package Manager to simply uninstall both packages,

Check the directory C:\Program Files\National Instruments\LabVIEW 2009\resource\QuickEdit\Plugins

Clear the contents of that directory

re-install both packages

After which only qualified and tested plugins should be present and your system should be operational

Link to comment

Hello,

I was trying to use LVS and I got the following error message:

Error 1172 occurred at Error calling method System.Speech.Recognition.SpeechRecognitionEngine.LoadGrammar of ObjectId handle: 0x9E41668 for obj 0x30E9943[system.Speech.Recognition.SpeechRecognitionEngine] in domain [LabVIEW Domain for Run] and thread 4460, (System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel.

Inner Exception: System.InvalidOperationException: The language for the grammar does not match the language of the speech recognizer.

) in MS_Speech - Load Grammar.vi->ENGINE - LVSpeak.vi

This is problably because my Windows installation is in french but LabView is in english and I want to use LVS in english.

Do you have an idea of how could I fix it?

Thanks,

Luiz.

[quote name=Norm Kirchner' date='08 December 2009 - 07:20 PM' ti

mestamp='1260296439' post='69856]

An issue has been identified on some peoples systems that have had previous versions of LVS installed.

This issue is identified by everything looking like everything should work, you see your commands reflected in the LVS widget but nothing happens.

The updated package is 2.0.5-1 attached to this post

lavag_cr_LVSpeak-2.0.5-1.ogp

The issue is due to errors in the plug-ins

To ensure this is not a problem

Use the VI Package Manager to simply uninstall both packages,

Check the directory C:\Program Files\National Instruments\LabVIEW 2009\resource\QuickEdit\Plugins

Clear the contents of that directory

re-install both packages

After which only qualified and tested plugins should be present and your system should be operational

Link to comment
  • 2 weeks later...

Hello,

I was trying to use LVS and I got the following error message:

Error 1172 occurred at Error calling method System.Speech.Recognition.SpeechRecognitionEngine.LoadGrammar of ObjectId handle: 0x9E41668 for obj 0x30E9943[system.Speech.Recognition.SpeechRecognitionEngine] in domain [LabVIEW Domain for Run] and thread 4460, (System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel.

Inner Exception: System.InvalidOperationException: The language for the grammar does not match the language of the speech recognizer.

) in MS_Speech - Load Grammar.vi->ENGINE - LVSpeak.vi

This is problably because my Windows installation is in french but LabView is in english and I want to use LVS in english.

Do you have an idea of how could I fix it?

Thanks,

Luiz.

Luiz,

I don't really have a trial system to test this out on, but have you looked into your speech settings in control panel?

<a href="http://content.screencast.com/users/NJKirchner/folders/Jing/media/6e2f9260-dd2b-4d1f-9a7b-9875d70ca4a7/2009-12-29_0929.png"><img'>http://content.screencast.com/users/NJKirchner/folders/Jing/media/6e2f9260-dd2b-4d1f-9a7b-9875d70ca4a7/2009-12-29_0929.png"><img class="embeddedObject" src="http://content.screencast.com/users/NJKirchner/folders/Jing/media/6e2f9260-dd2b-4d1f-9a7b-9875d70ca4a7/2009-12-29_0929.png" width="475" height="331" border="0" /></a>

Mine says English and I would imagine that in order for the engine to work, yours would need to be the same.

Which version of windows are you on?

Good luck

Norm

PS Thanks for your effort getting this going and sorry about the long response time

I've been using LVSpeak version 1 for some while now. I like it and have added a function or two. I have not (yet) upgraded to LV 2009. So I wonder if you could prepare a retro version that works in LV8.6 for us taildraggers. Thanks.

Conway,

I don't know what the next few days hold, but I'll see what I get when I just do the run-o-the-mill save for previous. I think the only function that I use that is unique to 2009 is 'Preserve Runtime Class' for LVOOP. The work around for that shouldn't be to bad.

Link to comment

Norm,

I just downloaded LVSpeak and I'm hooked. But I wanted to know how to say certain things to call VIs like GPIB Read, GPIB Wait. I saw they were listed in the FreakingFastDrop but I'm unsure how to say them.

Thanks for a wonderful tool.

Link to comment

Norm,

I just downloaded LVSpeak and I'm hooked. But I wanted to know how to say certain things to call VIs like GPIB Read, GPIB Wait. I saw they were listed in the FreakingFastDrop but I'm unsure how to say them.

Thanks for a wonderful tool.

ooth, I'm totally stoked to have another convert!

The speech engine tries to figure out what GPIB sounds like as a word.....so needless to say that might be tough.

The alternative that you want to do though is through the Quick Drop Shortcuts.

Currently freaking fast drop also loads the shortcuts so you could make the shortcut for GPIB Read to be "g p i b read" (note the caps to be safe)

I'll test it out here but it should work (based upon my command for VI properties being v i properties)

Good luck,

let me know how it goes

-Norm

PS Be sure to post when you buy your first pizza through it :lol:

Hi Norm

I got the same problem as Luiz and my windows 7 is English and LV2009.sad.gif

Regards Bjarne

Bjarne,

What does the speech properties say under language (like I have in my picture)?

Link to comment
  • 2 weeks later...

Hi Norm,

I am having a problem with the install on LVSpeak. I am running XP and LV2009. I worked through your video, got the three downloads and rebooted. I took the LV links from this Lava site, but for some reason none of the speech tools are coming up in either Control Panel or LV. I did do the Run option when I downloaded all the software.

I took a look at Microsoft to see about the speech recognition engine in case it was a problem and took a stab at that as well but got nowhere.

One thing that I did notice that differed from your video was that when I did the two LVSpeak downloads, niether started an install so I just downloaded them to a directory and unzipped them. I did do the Run option when I downloaded them.

I am certain that I missed something very basic but can't seem to figure it out. Have you got any suggestions?

Sorry to bother you.

Thanks,

Dave

LabVIEW Speak(LVSpeak) 2.0 has been officially released!

There is an article in the NI Instrumentation Newsletter about it and a follow up post on the NI Communities with getting started videos and the current packages.

http://decibel.ni.co...-voice-commands

But I've decided to support the independent LV community and keep the discussion on LAVA.

So hopefully we can get some dark-siders to come over to the light. >8^}>

I welcome any feedback and keep an eye out for another LAVA topic to be posted regarding building QuickEdit Plugins and another for building LVSpeak Clients

~,~

The Captain Was Here

Link to comment

Hi Norm,

I am having a problem with the install on LVSpeak. I am running XP and LV2009. I worked through your video, got the three downloads and rebooted. I took the LV links from this Lava site, but for some reason none of the speech tools are coming up in either Control Panel or LV. I did do the Run option when I downloaded all the software.

I took a look at Microsoft to see about the speech recognition engine in case it was a problem and took a stab at that as well but got nowhere.

One thing that I did notice that differed from your video was that when I did the two LVSpeak downloads, niether started an install so I just downloaded them to a directory and unzipped them. I did do the Run option when I downloaded them.

I am certain that I missed something very basic but can't seem to figure it out. Have you got any suggestions?

A quick note on downloading from the NI site.

It takes the VI packages and wraps them in .zip files.

So make sure to find those .zip files downloaded or the .ogp files that were extracted from them.

Make sure that VI package manager is successfully installed (full instructions on jkisoft.com)

And if you do not have any speech item in your control panel, I have a feeling that something is awry.

Are you viewing your control panel in classic or 'ehanced mode'

PM me with a screen shot of the panel

Link to comment

Hi Norm,

It turns out that in Office 2007 all the speech recognition functions will not work with XP.

Here is the blurb from Microsoft:

Note You can use speech recognition in Microsoft Office 2003 and 2002 programs in Windows XP. Versions of Microsoft Office programs that are earlier than Office 2002 do not support speech recognition. Windows XP does not support speech recognition in 2007 Microsoft Office programs.

So apparently the good folks at MS don't give the option to install the speech engine at all in my configuration. I am trying to figure out how to get another engine or see if I can install an older version of Office.

Thanks for your help,

Dave

A quick note on downloading from the NI site.

It takes the VI packages and wraps them in .zip files.

So make sure to find those .zip files downloaded or the .ogp files that were extracted from them.

Make sure that VI package manager is successfully installed (full instructions on jkisoft.com)

And if you do not have any speech item in your control panel, I have a feeling that something is awry.

Are you viewing your control panel in classic or 'ehanced mode'

PM me with a screen shot of the panel

Link to comment

Norm,

I don't want you to spend a lot of time on this; I just wanted to to know if this problem ever came up. I'm having trouble getting the "remove and rewire" to work. As far as I know this is the only command that calls the quick drop shortcut. I'm trying to reproduce the same example that you showed in the video (replacing the property node) but it doesn't work. LV Speak recognises the command buy the property node doesn't get removed. Also I noticed that the Execute QEC.vi for the Replace command was the only VI in the plugins package that was flagged as needing recompiled (you know, has the * in the title indicating a change needed saved). I'm not sure if that points to the problem or not. Anyway if you had any ideas I could try that would be helpful.

Thanks,

John

Link to comment

Hi Norm,

It turns out that in Office 2007 all the speech recognition functions will not work with XP.

Here is the blurb from Microsoft:

Note You can use speech recognition in Microsoft Office 2003 and 2002 programs in Windows XP. Versions of Microsoft Office programs that are earlier than Office 2002 do not support speech recognition. Windows XP does not support speech recognition in 2007 Microsoft Office programs.

So apparently the good folks at MS don't give the option to install the speech engine at all in my configuration. I am trying to figure out how to get another engine or see if I can install an older version of Office.

Dave, If you have XP, you must download the SAPI from Microsoft and it won't matter what you're using in office.

If you downloaded the presentation about getting the LVSpeak process up an running you'll find the link for that download

post-208-126391285365_thumb.png

Once you have that installed you should have all necessary Microsoft parts ready to go in Windows.

PS For all of you who had asked for earlier versions to be released, I still remember it and am trying to find time to get to it.

Thanks for the patience

Link to comment

Hi Norm,

I ran that tinyurl for the SAPI but still have nothing flying for some reason. I may just wipe everything and give it a fresh shot.

Thanks for your time!

Dave

Dave, If you have XP, you must download the SAPI from Microsoft and it won't matter what you're using in office.

If you downloaded the presentation about getting the LVSpeak process up an running you'll find the link for that download

post-208-126391285365_thumb.png

Once you have that installed you should have all necessary Microsoft parts ready to go in Windows.

PS For all of you who had asked for earlier versions to be released, I still remember it and am trying to find time to get to it.

Thanks for the patience

Link to comment

Norm,

Just wanted to say thanks! The LVSpeak is awesome. Freaking Fast Drop has a few glitches on my machine but about 95% is working and that is huge.

I only have two complaints: I have gained ten pounds with the order pizza command and there is no mental RAM download for old guys like me that can't remember all the commands.

It is funny to see this working. I can remember seeing a show almost thirty five years ago and they predicted that they would have something like this working in the next few years. I saw the same thing every couple of years thereafter. I guess the definition of "few" has changed a bit over the decades.

My carpal tunnel and I thank you again.

Take care and happy coding!

Dave

Link to comment

My carpal tunnel and I thank you again.

Take care and happy coding!

Dave

Dave,

Does this mean that you now have it working?!

Phenomenal!

And just for your continued perseverence.... I've made a new plugin just for you

<a href="http://content.screencast.com/users/NJKirchner/folders/Jing/media/25f5d353-449d-4b12-b365-230a93f445f0/2010-01-22_1133.png"><img'>http://content.screencast.com/users/NJKirchner/folders/Jing/media/25f5d353-449d-4b12-b365-230a93f445f0/2010-01-22_1133.png"><img class="embeddedObject" src="http://content.screencast.com/users/NJKirchner/folders/Jing/media/25f5d353-449d-4b12-b365-230a93f445f0/2010-01-22_1133.png" width="292" height="388" border="0" /></a>

lavag_cr_LVS_QEC_2001-1.0.0-1.ogp

Enjoy and make sure your speakers are turned up...

Link to comment

Hi Norm,

I hate to say this, but for some reason I can't get the last Space Oddyssey plug in to load. I get the zip and unzip it ok. But the unzipped file doesn't come up as .ogp and doesn't open the VIPM when I click it. I tried adding the directory straight from VIPM but that doesn't work either.

But the rest of the tool is great and I appreciate the 2001 effort!

Thanks again,

Dave

Link to comment

Hi Norm,

I hate to say this, but for some reason I can't get the last Space Oddyssey plug in to load. I get the zip and unzip it ok. But the unzipped file doesn't come up as .ogp and doesn't open the VIPM when I click it. I tried adding the directory straight from VIPM but that doesn't work either.

But the rest of the tool is great and I appreciate the 2001 effort!

Thanks again,

Dave

Dave,

Something seems to happen with some browsers automatically casting the .ogp to a zip. then people unzip and then their lost on what to do.

So try downloading the .ogp and if it d/l as a zip just re-extensionize it to .ogp and see what you get. (it's worth it)

Link to comment
  • 4 weeks later...

Hi Norm,

I got the 2001 package working and it just cracks me up!

I had a question for you about the Show Commands list. I would like to create just a subset of the Freaking Fast Drop selections, and print them to a hard copy cheat sheet but I will be darned if I can figure out a way to get the list so I can edit it. If I try a screen copy, it just doesn't show for some strange reason, and if I open any other program like word so I hand type the list, it just disappears, even on a two monitor setup.

Is it possible to export just a text version of the list?

Thanks,

Dave

PS Hal is very happy. He loves telling me NO.

Link to comment

Hi Norm,

I got the 2001 package working and it just cracks me up!

Is it possible to export just a text version of the list?

I'm sorry Dave.... I can't do that.

Had to do that :P But that aside, you absolutely can get that list in 'text' form.

If you look into the Freaking Fast Drop plugin within <lv>\resource\QuickEdit\Plugins\FreakingFastDrop

The each plugin overrides the parent QuickEditCommand(QEC) "Supported Commands.vi" and outputs the list of strings that are registered.

For the case of FFD, it outputs all Contro/Function palette items and the QD shortcuts.

Link to comment

Norm,

Thanks for the tip. Now my insipient Alzhiemers doesn't seem quite so bad.

By the way, just a tip you may want to pass along for some newcomers. On my computer the create commands seemed to be very hit or miss some reason. I finally figured out that the command only executes if I approach a terminal from inside the icon. Even though the wiring tool pops up from either direction, nothing happens when I approach it from the outside. Odd, at least to me. Of course all of this is black magic anyway.

Take care,

Dave

Link to comment

Norm,

Thanks for the tip. Now my insipient Alzhiemers doesn't seem quite so bad.

By the way, just a tip you may want to pass along for some newcomers. On my computer the create ( control / indicator / constant ) commands seemed to be very hit or miss some reason. I finally figured out that the command only executes if I approach a terminal from inside the icon. Even though the wiring tool pops up from either direction, nothing happens when I approach it from the outside. Odd, at least to me.

It should have no difference where you approach it from, but it does matter if you are actually over the physical bounds of the terminal. What this means is that although the Sub-VI show's it's whiskers to the terminals, and traditionally you would be able to right click a whisker (which isn't over the terminal) and do all the terminal operations, the 'Create' command will not operate. The 'Black Magic' simply harvests ALL terminals on diagram of interest, and then does a bounds check to see if the cursor point is within the bounds of one. So although you think that you're there because of the whiskers, you may not be.

If you can, take a Jing screencast of what you're experiencing and post it.

***SIDE NOTE**** and known bug ftm

If you have a stacked structure (Case, Event, Sequence) and there is a terminal on another layer (not top) directly under the terminal you are trying to create upon....it might create that (whatever) on that other layer.

The bug is known, and fix relatively figured out, just not implemented yet.

-Norm

Link to comment
  • 1 month later...

Norm,

I don't want you to spend a lot of time on this; I just wanted to to know if this problem ever came up. I'm having trouble getting the "remove and rewire" to work. As far as I know this is the only command that calls the quick drop shortcut. I'm trying to reproduce the same example that you showed in the video (replacing the property node) but it doesn't work. LV Speak recognises the command buy the property node doesn't get removed. Also I noticed that the Execute QEC.vi for the Replace command was the only VI in the plugins package that was flagged as needing recompiled (you know, has the * in the title indicating a change needed saved). I'm not sure if that points to the problem or not. Anyway if you had any ideas I could try that would be helpful.

Thanks,

John

Hi Norm,

You have another *fan*. I was taking notes when things didn't work in the videos, so for reference, here they are:

unbundle wire (doesn't work)

change to control (from constant, doesn't work)

change to indicator (from constant, doesn't work)

align with terminal (aligning constant doesn't work)

I'm having the same experience that John had above. "remove and rewire" doesn't work, but everything else does. I'm not sure that Execute QEC VI is running. I opened it and turned on Retain Wire Values. When I speak "remove and rewire", I see the command appear in the LVSpeak applet, but nothing happens. The wires in the Execute QEC VI are all empty. (Granted I'm a beginner with LVOOP, so I'm not sure that dynamic dispatch isn't running another memory instance of the VI.)

Can we tap into other QD scripting shortcuts (e.g. Darin.K's add-on for "change to array")?

Can we tap into JKI RCF actions (e.g. "wire nodes by corners")?

I look forward to thanking you in person for your effort and persistence at some upcoming NI week or CLA Summit! Will pass the word that "LVSpeak is stable" to the others in the office. Very nice work.

-Jason

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.