10-29-2015 05:54 PM
Hi all,
Using windows 7, LV2011, and my .NET framework Configuration says 2.0, but when using the labview dialog box it says the system.speech assembly is version 3.0.
Anyways i am able to open an instance of the speech recognition from labview and do most things with it, but what i want to do is control the user interface of the application so i can tell it to start listening and to stop listening. Currently when i try to select speechUI constructor it tells me there is no public concstuctors.
There will be a kudo for this one most certainly
any advice?
thank you,
Matt
Solved! Go to Solution.
10-29-2015 06:53 PM
SpeechUI contains only one method (SendTextFeedback) specific to that class, and that is a static method, meaning you can call it without first creating an instance of the class. So, drop a .NET Invoke Node on your diagram, then right-click it, Select Class -> .NET -> Browse and select System.Speech.Recognition.
However, are you sure that's the class you want? I've never used it, but it doesn't look like it does what your post says you want to do.
10-29-2015 07:53 PM
Hi Nathand,
Youre absolutely correct about both comments. Do you know how to actually start listening and stop listening from labview?
Heres a link on it here
thank you
10-30-2015 04:35 AM
@matt198717 wrote:
Do you know how to actually start listening and stop listening from labview?
I never worked with the speech API, so I don't know, but do a search for "LabVIEW speak", which should include code showing how to use it.
10-30-2015 10:40 AM
Hi tst,
i was actually lookign into that and didnt think it was what i was looking for, but youre right i can probably pull some of that code out of it.
Thank you,
Matt