
jzhao
USA
Asked
— Edited
Hi , I am programming roli in c#. I want roli speak specified words through the EZB4 soundboard. How can I do that? I used EZ_B.Speakjet.SpeakString(EZ_B.Digital.DigitalPortEnum, System.String), but no sound.
Speakjet is a third party microchip that can connect to an ez-b for synthesized sound. What you want is to do one of these two things...
@DJ Sures
Hello dear eng , I use this part of code to make my jd robot speak but it gave me that exception
would you help me plz?
all i need is to make my jd speak a string I gave to it in vs
you would have to provide your code to see where the null reference exception is happening. Can you run in debug mode to see where the break happens?
@CochranRobotics
thanks for the fast replaying here is the complete snapshot of my error
I've made a plugin with one button say , when I click on that button , the jd robot will say what i right in the string but it gave me that exception
Can you show your references? The message would appear to indicate that the ezb or one of its classes isn't present. You might want to download the latest version of ARC if you haven't to make sure that the classes are present. I am in meetings pretty much all day but will try to duplicate the error when I have time.
Make sure that ARC and EZ_B are both referenced. It looks like you are trying to build a plugin using the SDK but I might be wrong. I promise that I will try this out and let you know the results if nobody else gets back to you.
@CochranRobotics
my references was given below & I'm sure they are right
also my ARC version is 30.5 which is the latest version & to check that I'm right if u have the sdk tutorial open c# then choose tutorial 61 & run it it will run but if u put this line of code the program will not work .
Sounds good. I will look at it and see if I can offer any help. Thanks for the info. I will get back to you.
I think that you have to have a connection to the EZ-B V4 before this will work. Does your other code establish a connection to an EZ-B first?