LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

calling Microsoft word speech in LabVIEW through ActiveX

hi

 

Yesterday i had posted 1 question , how to get the output of some other programme in LabVIEW. Well. i have found out the answer. This can be done by using ActiveX. For this the programme also must be ActiveX enabled.

I wanted to use the microsoft Word Speech in labVIEW through ActiveX.Since microsoft word is also ActiveX enabled, this can be called.

But the question is HOW????????

 

Help me out of this

Somil Gautam
Think Weird
0 Kudos
Message 1 of 12
(4,453 Views)

Hi there

 

using google i found this one:

 

http://msdn.microsoft.com/en-us/library/ms997568.aspx

 

"A standard COM interface IVoiceText and companion interfaces, and also an ActiveX® COM object, VtxtAuto.dll"

 

Read the documentation of these interfaces to learn how to use speech recognition.

 

Take a look at the "Using ActiveX with LabVIEW" section of the LabVIEW documentation to learn more about calling ActiveX objects.

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 12
(4,437 Views)
If you want to give voice commands to LabVIEW, you might want to read this blog
0 Kudos
Message 3 of 12
(4,415 Views)
0 Kudos
Message 4 of 12
(4,401 Views)
By the way you will still have to install the microsoft speech program.
Tim
GHSP
0 Kudos
Message 5 of 12
(4,396 Views)

Thanks for the reply!! Smiley Happy

 

Actually, there is a version problem. This VI supports version 9 only whereas i am working on 8.6.

So wasnt able to gain out of it.

 

Anyways, how i can get voice recognition in LabVIEW?

One method can be storing a few commands in the labVIEW in the form of there spectrum. And when i give some commmand as an input in the form of voice, then the software matches the nearest spectrum and process the code accordingly.

Any other method?

Somil Gautam
Think Weird
0 Kudos
Message 6 of 12
(4,375 Views)

There are Mircrosoft COm objects for voice recognition. Take a look at http://msdn.microsoft.com/en-us/library/ms720151(VS.85).aspx.

 

These objects do all the math required for voice recognition, so you don't have to do that math in LabVIEW.

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 7 of 12
(4,356 Views)

Hi.

 

This means that i can directly call these objects through ActiveX in my LabVIEW program and proceed?

Somil Gautam
Think Weird
0 Kudos
Message 8 of 12
(4,349 Views)

Yes.

 

Search MS for some examples written in text based languages and adapt them to LabVIEW. The techniques needed to call ActiveX/COM objects in LabVIEW are described in the LabVIEW documentation.

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 9 of 12
(4,347 Views)

Oh, great!!!

Smiley Happy

 

So what i need to create here is a new object from the file in ActiveX? This is because there wont be any predefined object in the Activex for a SAPI.

But one thing i am wondering is, which thing exactly i have to call in ActiveX of a SAPI? Please tell me with one simple example

 

Somil

Somil Gautam
Think Weird
0 Kudos
Message 10 of 12
(4,337 Views)