From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Speech Output in Diadem?

Hello,

 

I have tried this code:

Dim oMySpeech
Set oMySpeech = CreateObject("SAPI.SpVoice")
Call oMySpeech.Speak("Hello World!")

Script runs fine, but there is no voice at all. (yes, I DID check that loudspeaker is turned on Smiley Very Happy)

I need to write a script that talks to the engineer rather than displaying messages on the screen.

What would be the best way to do this?

H.

0 Kudos
Message 1 of 3
(4,554 Views)

Hi HoBaLa,

 

The script works fine on my PC. It works fine either if I run it in DIAdem or save it as a VBS file and run it in Windows. Please check whether it works just in the Windows environment.

 

Greetings

Walter

 

 

0 Kudos
Message 2 of 3
(4,551 Views)

Thanks for the quick response.

So this seems to be a Windows restriction in my company environment. I'll check this.

Thanks for your help!

0 Kudos
Message 3 of 3
(4,547 Views)