LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use MSAgent in LV8.2?

Hello,
i´m trying to run an example with MSAgent and Merlin which "speaks" an entered text over the pcspeaker. But the VIs are not running.
Does someone have a working VI for LV8.2 (under XP)?
The VIs are on the LTR9.1-CD

Thanks for your help



I installed:
Genie.exe
Merlin.exe
MSagent.exe
Peedy.exe
Robby.exe
tv_enua.exe

I run then "Mission Editor 1.0 for LV6.llb -> Mission-Editor.vi"
But after "Load Job" and then "Run Job" i get an error-box which says:

Error 97 occured at Unknown Syetm error in
Load Character.vi -> Start job 1.vi -> Mission
Editor.vi

Possible reason(s):
LabView: Null Refnum was passed in as input

0 Kudos
Message 1 of 6
(3,218 Views)
I found another Example at http://www.vi-lib.com/user.lib/UsingMicrosoftAgentasActi.html which is 1/2 working.
I can run the vi without errors and display all the characters.
I hear sound when they appear or disappear but i cant make them "speak" something.
It only displays a text-ring with the text.
Is there a trick to hear the speaking?

Thx for reading.
0 Kudos
Message 2 of 6
(3,213 Views)
What do you mean by "LTR9.1-CD"?
0 Kudos
Message 3 of 6
(3,166 Views)
I solved all my problems.

LTR means:

LabVIEW Technical Resource Volume 9 Number 1 CD

LTR Publishing, Inc.
860 Avenue F, Suite 100
Plano, TX 75074
(214) 706-0587
FAX (214) 706-0506

http://www.ltrpub.com
email ltr@ltrpub.com

0 Kudos
Message 4 of 6
(3,163 Views)

Onlyone,

Thanks for the info.

I came across this thread while looking for some help on the MSAgent.  I've been reading a Labview book that touches on it as an example of ActiveX programming.  The examples that came on the CD with the book were written in LV 5.1.  And I saw the ActiveX controls for MSAgent have been updated since then.  I did finally get the examples to work.  The only problem was that they hardcoded the path in as C:\program files\MS Agent\ .   On my XP machine at home, it is actually c:\windows\msagent\chars\.  On my Win2000 machine at work windows gets swapped out with WinNT.

I did get the examples to work for show, move, and speak.  But in my case, speaking was only on screen display of the words.  But while typing this now, I realize I may not have had the volume turned up when I did it.

Were you able to get the agent to actually speak the words?

 

0 Kudos
Message 5 of 6
(3,153 Views)
Its working fine here. At the beginning i had the same problems that i saw the character moving his mout but no sound.
Then i installed several programms and one of themwas needed to make it work.
Text-to-speech engines (lhttsged.exe, tv_enua.exe)
Spech control panel (SpchCpl.exe)
0 Kudos
Message 6 of 6
(3,144 Views)