Hi Ben
For the next version SCADA, a little wish ... access to the sound card of the computer and the component from FC8 speech(realspeak) should work.
SCADA soundcard access and speech(realspeak)
Moderator: Benj
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: SCADA soundcard access and speech(realspeak)
Hello,
You can already stream out frequencies or wave files using the runtime though it's not the simplest. The Tetris demo here has music.
viewtopic.php?f=54&t=16848&p=69976&hilit=tetris#p69976
The RealSpeak component is working really well for me, I've tried on numerous computers. Is it not working for you? If not can you post a program so we can see how you're using the component.
You can already stream out frequencies or wave files using the runtime though it's not the simplest. The Tetris demo here has music.
viewtopic.php?f=54&t=16848&p=69976&hilit=tetris#p69976
The RealSpeak component is working really well for me, I've tried on numerous computers. Is it not working for you? If not can you post a program so we can see how you're using the component.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
Re: SCADA soundcard access and speech(realspeak)
Hi Ben
Ok I saw the realspeak in SCADA...
In the simulation it's working, but run as a SCADA program not.
Maybe I mess up with simulation and runtime...
Ok I saw the realspeak in SCADA...
In the simulation it's working, but run as a SCADA program not.
Maybe I mess up with simulation and runtime...
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: SCADA soundcard access and speech(realspeak)
Many thanks.
I have replicated the problem here and we will investigate for you.
I have replicated the problem here and we will investigate for you.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 62
- Joined: Mon Oct 23, 2017 9:54 am
- Has thanked: 11 times
- Been thanked: 22 times
- Contact:
Re: SCADA soundcard access and speech(realspeak)
Just an update with the progress of this one. I have been able to replicate this myself on one machine but not consistently. I am continuing to investigate.
Daniel
Daniel
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
Re: SCADA soundcard access and speech(realspeak)
Hi Daniel
Thank you for the support. There is a small wish more.....
Many microcontrollers have real time clock and calendar and there are many small chips with the function RTCC.
If SCADA could read the time and date from the computer,with a RTCC component
it would be simply, to set the time in a hardware
with a SCADA program and a connection (uart, wifi, BT,....).
But even with the realsspeak component, the time would be nice in the SCADA....
Stefan
Thank you for the support. There is a small wish more.....
Many microcontrollers have real time clock and calendar and there are many small chips with the function RTCC.
If SCADA could read the time and date from the computer,with a RTCC component
it would be simply, to set the time in a hardware
with a SCADA program and a connection (uart, wifi, BT,....).
But even with the realsspeak component, the time would be nice in the SCADA....
Stefan
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: SCADA soundcard access and speech(realspeak)
Hi Stefan,
If you need the hours, mins, seconds as numeric variables then we can certainly add another component to provide this. Scratch this I've just had a look and the TimeStamp component will also do this for you via the GetValue simulation macro.
Have you seen the timestamp component, it's for simulation only and allows you to collect the current time or date as a string. Might do what you need?Many microcontrollers have real time clock and calendar and there are many small chips with the function RTCC.
If SCADA could read the time and date from the computer,with a RTCC component
it would be simply, to set the time in a hardware
with a SCADA program and a connection (uart, wifi, BT,....).
If you need the hours, mins, seconds as numeric variables then we can certainly add another component to provide this. Scratch this I've just had a look and the TimeStamp component will also do this for you via the GetValue simulation macro.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
Re: SCADA soundcard access and speech(realspeak)
Hi Ben
At first .... The SCADA programm has sound if start Matrix SCADA.exe and load Flowcode_scada_realspeak_1.mscada
but if I use the batch file, there is no sound. Is there an info about the parameters?
No I did not see the timestamp and realise that this is working (maybe still I dont understand how the simulation is working....)
I need only the string. This string I have to send to the serial port. The format with the year month day hours minutes seconds is very convenient for filenames because the files then have correct order in the folder.Maybe you can also take the format in addition.
here my code from c# but now I prefer SCADA.
At first .... The SCADA programm has sound if start Matrix SCADA.exe and load Flowcode_scada_realspeak_1.mscada
but if I use the batch file, there is no sound. Is there an info about the parameters?
@SET PF=".\Flowcode_scada_realspeak_1.mscada"
@start "" ".\Matrix SCADA\Matrix SCADA.exe" %PF%
No I did not see the timestamp and realise that this is working (maybe still I dont understand how the simulation is working....)
I need only the string. This string I have to send to the serial port. The format with the year month day hours minutes seconds is very convenient for filenames because the files then have correct order in the folder.Maybe you can also take the format in addition.
here my code from c# but now I prefer SCADA.
string format_time = "yyyyMMddHHmmss";
DateTime time_s;
string time_start;
time_s = DateTime.Now;
time_start = time_s.ToString(format_time);
serialPort1.Write(time_start);