Search found 13746 matches

by Benj
Mon Jan 20, 2020 5:09 pm
Forum: Flowcode V8
Topic: SCADA and PC networkcard
Replies: 3
Views: 47

Re: SCADA and PC networkcard

Great, glad it's working well for you. 5 network cards sounds interesting :wink:

Let us know how you're getting on with talking to the board.
by Benj
Mon Jan 20, 2020 5:07 pm
Forum: Formula AllCode
Topic: IR sensor exponential response
Replies: 12
Views: 32

Re: IR sensor exponential response

Hello, Does the "IR simulation mode" parameter also work with line following sensors or only with distance sensors? For now I have only edited the simulation IR distance sensors and not touched the IR line sensor values. What documents, video or tutorial help you understand how to modify a...
by Benj
Mon Jan 20, 2020 3:01 pm
Forum: Flowcode V8
Topic: Raspeberry webserver
Replies: 7
Views: 116

Re: Raspeberry webserver

Sorry URL fixed now :D
by Benj
Mon Jan 20, 2020 2:49 pm
Forum: Formula AllCode
Topic: IR sensor exponential response
Replies: 12
Views: 32

Re: IR sensor exponential response

Hmm,

I only edited the standard component, didn't have to touch the API version of the component?

Here's the API version atm.
FormulaAllCodeAPI.fcpx
(73.89 KiB) Downloaded 1 time
by Benj
Mon Jan 20, 2020 2:25 pm
Forum: Formula AllCode
Topic: IR sensor exponential response
Replies: 12
Views: 32

Re: IR sensor exponential response

Aha ok thanks.

I tried your program again and the FA component appears as a white square but it does have the new property.

Adding the component again from the menu allows it to work. Hmm odd.

Can you create a new program and does it appear then?

Error.jpg
Error.jpg (44.41 KiB) Viewed 18 times
by Benj
Mon Jan 20, 2020 2:19 pm
Forum: Formula AllCode
Topic: IR sensor exponential response
Replies: 12
Views: 32

Re: IR sensor exponential response

Hello,

Hmm. It seems to be working well for me here. I'll do some checking.

Can you say what you mean by:

I unlocked the file


Do you mean downloaded?
by Benj
Mon Jan 20, 2020 1:56 pm
Forum: Formula AllCode
Topic: IR sensor exponential response
Replies: 12
Views: 32

Re: IR sensor exponential response

Right I've made the changes you suggested and hopefully this will now do as you want. The default is the standard linear mode but if you change the property to exponential then it should allow you to enter A and B values. I've also added the initial calculations you mentioned but not made these conf...
by Benj
Mon Jan 20, 2020 1:31 pm
Forum: Flowcode V8
Topic: Real time Hourly Device Control
Replies: 12
Views: 173

Re: Real time Hourly Device Control

Hello, The baud rate for DS3231 here should be set to what 100KHz,400KHz or 1MHz for the Ds3231 to work perfectly? If you're not bothered about throughput then the slower you clock the I2C the more reliable and immune to noise it should be so for your application I would go for 100KHz. However readi...
by Benj
Mon Jan 20, 2020 12:34 pm
Forum: Formula AllCode
Topic: IR sensor exponential response
Replies: 12
Views: 32

Re: IR sensor exponential response

Hi Bruno,

That's brilliant thanks for letting us know and yes I will certainly add this feature for you. What version of Flowcode are you currently using, just so I add the feature into the correct version.

Not sure what has gone wrong with your attempt, I'll investigate what might be the cause.
by Benj
Mon Jan 20, 2020 11:36 am
Forum: Flowcode V8
Topic: SCADA and PC networkcard
Replies: 3
Views: 47

Re: SCADA and PC networkcard

Hello Stefan, Yes this should work fine, embedded mode simulation should also work :D Here's an example to get you started. https://www.matrixtsl.com/wiki/index.php?title=Component:_BBC_Weather_Forecast_(Comms:_IoT/Cloud) Before running, select the Network comms component and provide a property sett...
by Benj
Mon Jan 20, 2020 11:04 am
Forum: Flowcode V8
Topic: Real time Hourly Device Control
Replies: 12
Views: 173

Re: Real time Hourly Device Control

Looking at your program seconds will never be equal to 60 as the RTC will wrap the value from 59 to 0. I've made a small change for you to instead check for seconds being less then the previous value. RTC test.fcfx This way the program should work even if you don't read the RTC every second, an abso...
by Benj
Mon Jan 20, 2020 11:00 am
Forum: Flowcode V8
Topic: Real time Hourly Device Control
Replies: 12
Views: 173

Re: Real time Hourly Device Control

Hello, I see some circuits with an external crystal oscillator with its body grounded whats the point in that does it do any good in stability? Whats so important in doing that? Maybe only partially to do with electrical shielding and probably more to stop the high frequency from being radiated out ...
by Benj
Mon Jan 20, 2020 10:53 am
Forum: Flowcode V8
Topic: Raspeberry webserver
Replies: 7
Views: 116

Re: Raspeberry webserver

Hello,

Have a look at the webserver dynamic files example here. Hopefully it will do the job for you.
https://www.matrixtsl.com/wiki/index.php?title=Component:_Webserver_(GENERIC_ROM_FAT)_(Comms:_Networking)

Let us know how you get on.
by Benj
Mon Jan 20, 2020 10:50 am
Forum: Programming Tips & Tricks
Topic: WS2812 LED Flexible 32 x 8 grid
Replies: 13
Views: 1108

Re: WS2812 LED Flexible 32 x 8 grid

Many thanks and nice idea for it, it's certainly bright enough at full whack. I've now written up the project and shared it here.
https://www.instructables.com/id/Animat ... ght-Light/
by Benj
Fri Jan 17, 2020 4:04 pm
Forum: Forums d'aide en français
Topic: Problème interruption Rx avec Pic18F4550
Replies: 4
Views: 126

Re: Problème interruption Rx avec Pic18F4550

Veuillez essayer d'ajouter cette ligne de code à l'aide d'une icône C après l'icône d'activation d'interruption RXINT. Espérons que cela résoudra le problème. st_bit(pie1, RCIE); Please can you try adding this line of code using a C icon after the RXINT interrupt enable icon. Hopefully this will sol...
by Benj
Fri Jan 17, 2020 3:53 pm
Forum: Forums d'aide en français
Topic: Problème interruption Rx avec Pic18F4550
Replies: 4
Views: 126

Re: Problème interruption Rx avec Pic18F4550

Bonjour Olivier, Aha ok merci, cela ressemble alors à votre configuration correctement. Je vais installer v4.5 sur ma machine et je vais vous chercher rapidement. Hello Olivier, Aha ok thanks it sounds like your setup correctly then. I'll get v4.5 installed n my machine and have a quick look for you.
by Benj
Fri Jan 17, 2020 2:34 pm
Forum: Flowcode V8
Topic: Communicate with socket from ENC28J60 to PC
Replies: 4
Views: 79

Re: Communicate with socket from ENC28J60 to PC

Hello, Yes we have made progress with the ENC module but at the moment I beleive it is still not supported by the Network Comms component. There's a table here we are trying to keep up to date. https://www.matrixtsl.com/wiki/index.php?title=Component:_Network_Communications_(Comms:_Networking)
by Benj
Fri Jan 17, 2020 1:44 pm
Forum: Forums d'aide en français
Topic: Problème interruption Rx avec Pic18F4550
Replies: 4
Views: 126

Re: Problème interruption Rx avec Pic18F4550

Hello, It's probably a case of not configuring the chip correctly. I would start with a 1 second flasher test to get things right and go from there. https://www.matrixtsl.com/wiki/index.php?title=One_second_LED_flasher We have had lots of forum posts with config settings for the 18F4455 and 4550 dev...
by Benj
Fri Jan 17, 2020 11:32 am
Forum: Flowcode V8
Topic: Communicate with socket from ENC28J60 to PC
Replies: 4
Views: 79

Re: Communicate with socket from ENC28J60 to PC

Hello, The compilation errors seem to be coming from references to a DebugPrint component which doesn't seem to be in the project. Fc8_Leddriver_EFG144_1_test_socket1.c: In function 'FCM_Socket': Fc8_Leddriver_EFG144_1_test_socket1.c:5958:46: error: expected expression before '%' token Maybe it's ju...
by Benj
Wed Jan 15, 2020 3:01 pm
Forum: Bug Reports
Topic: Connection Points Bug
Replies: 5
Views: 110

Re. Connection Points Bug

Thanks for letting us know, that does sounds like a bug. I'll see if we can replicate the problem here and get it fixed. In the meantime if you want to share your program or send to me via PM I'll have a look and see if I can suggest an alternate way of doing the same thing without using so many con...
by Benj
Wed Jan 15, 2020 11:47 am
Forum: General Programming
Topic: Chinese YGC-FX and YGC-FS modbus Node ID question
Replies: 8
Views: 165

Re: Chinese YGC-FX and YGC-FS modbus Node ID question

Hello, Changing the device address is something only the manufacturer will be able to describe how to do. It may be set via jumpers or set via modbus commands or may not even be possible. For modbus MSB is first and the CRC is automatically calculated for you. Looks like you would perform a ReadInpu...
by Benj
Wed Jan 15, 2020 11:13 am
Forum: Flowcode V8
Topic: ACX7xx!
Replies: 8
Views: 233

Re: ACX7xx!

The easiest way to gain access is to paste the path directly into the file exporer address bar (without quotes). "C:\ProgramData\MatrixTSL\FlowcodeV8\Components" To be able to see the ProgramData folder it depends on your version of Windows, in Win10 file explorer you click the View tab an...
by Benj
Tue Jan 14, 2020 6:59 pm
Forum: Flowcode V8
Topic: Toggle led with button
Replies: 1
Views: 61

Re: Toggle led with button

Hello,

As it's a class exercise I won't do the code for you but here is some psuedocode you might use to create the program.

Light Off

Loop Start

Wait for Switch to go High
Light On
Wait for Switch to go Low

Wait for Switch to go High
Light Off
Wait for Switch to go Low

Loop End
by Benj
Tue Jan 14, 2020 5:37 pm
Forum: Flowcode V8
Topic: Raspeberry webserver
Replies: 7
Views: 116

Re: Raspeberry webserver

by Benj
Tue Jan 14, 2020 5:01 pm
Forum: General Programming
Topic: RX1602A4-BIW-TS lcd
Replies: 6
Views: 320

Re: RX1602A4-BIW-TS lcd

Hello Sakis,

Display received, many thanks for that.

I'll get to work on it ASAP and let you know when I have some progress.

Hopefully later this week.