Search found 200 matches
- Sat Oct 14, 2017 3:29 pm
- Forum: Flowcode V7
- Topic: Solved! Please help, limited string length in GSM component
- Replies: 4
- Views: 2881
Solved! Please help, limited string length in GSM component
I am using FC 7.2, dsPIC33 ECIO with SIM900 module. I would like to send status and warning messages from my pool control via email, since SMS is limited to 160 characters. After I have expanded the control, I see that mail texts (body) longer than 250 characters are not sent. With SIM900 and termin...
- Thu Aug 17, 2017 11:47 am
- Forum: Flowcode V7
- Topic: [Solved] Macro return string longer than 20 characters
- Replies: 10
- Views: 6331
Re: Macro return string longer than 20 characters
Thank you, now I understand it! I have created an additional input, declare it as not a local copy, and pass the result at the end of this input string. This keeps the original string unchanged and it also works with the simulation.
Christina
Christina
- Wed Aug 16, 2017 8:22 pm
- Forum: Flowcode V7
- Topic: [Solved] Macro return string longer than 20 characters
- Replies: 10
- Views: 6331
Re: Macro return string longer than 20 characters
Thanks for the quick reply!
Could you please show me how this works with parameter transfer? I have simple tools, which I always need again, packed into a component macro. Attached is a small example with the Replace function, but only works with short strings.
Thanks
Christina
Could you please show me how this works with parameter transfer? I have simple tools, which I always need again, packed into a component macro. Attached is a small example with the Replace function, but only works with short strings.
Thanks
Christina
- Wed Aug 16, 2017 2:37 pm
- Forum: Flowcode V7
- Topic: [Solved] Macro return string longer than 20 characters
- Replies: 10
- Views: 6331
[Solved] Macro return string longer than 20 characters
Is it possible to set a return string of a macro longer than 20 characters? I am using Flowcode 7, latest version. Example: Search and Replace a Character in a String. I would like to use this function with some other string manipulations in a component macro. If I now want to edit strings longer 20...
- Thu Jun 29, 2017 10:54 am
- Forum: Flowcode V7
- Topic: RS232 Limited string length when sending / receiving dat
- Replies: 5
- Views: 5351
Re: RS232 Limited string length when sending / receiving dat
Hi
Many thanks to LeighM and Benj for the quick solution! It works wonderfully!
Christina
Many thanks to LeighM and Benj for the quick solution! It works wonderfully!
Christina
- Wed Jun 28, 2017 6:21 pm
- Forum: Flowcode V7
- Topic: RS232 Limited string length when sending / receiving dat
- Replies: 5
- Views: 5351
Re: RS232 Limited string length when sending / receiving dat
Hi I am using FC 7.2, dsPIC33 ECIO. What I intend is that I send between 200 and 400 characters long strings over Wlan (ESP8266) from the PC to the MCU (and vice versa), which are then stored in the serial EEprom (parameters and texts). Attached is a transmission protocol and a short testroutine, wh...
- Tue Jun 27, 2017 8:58 pm
- Forum: Flowcode V7
- Topic: RS232 Limited string length when sending / receiving dat
- Replies: 5
- Views: 5351
RS232 Limited string length when sending / receiving dat
Is it possible to send or receive a string with 400 byte or more via the RS232 (Wlan) interface?
I need this function to parameterize my circuit without having to split these strings.
Perhaps there is a simple way to realize this?
Christina
I need this function to parameterize my circuit without having to split these strings.
Perhaps there is a simple way to realize this?
Christina
- Fri May 05, 2017 7:55 pm
- Forum: Flowcode V7
- Topic: Macro with a return string up to 250 characters
- Replies: 3
- Views: 2940
Re: Macro with a return string up to 250 characters
Thanks Ben for the quick reply.
I use the ECIO40P16, do not know whether it only occurs in the simulation. In my program I use for passing global variables since I had in the simulation of this problem.
Only 20 characters are possible in the Simulation.
Christina
I use the ECIO40P16, do not know whether it only occurs in the simulation. In my program I use for passing global variables since I had in the simulation of this problem.
Only 20 characters are possible in the Simulation.
Christina
- Fri May 05, 2017 4:24 pm
- Forum: Flowcode V7
- Topic: Macro with a return string up to 250 characters
- Replies: 3
- Views: 2940
Macro with a return string up to 250 characters
Is it possible to create a macro with a return string up to 250 characters?
This function would be very important!
Christina
This function would be very important!
Christina
- Fri Mar 17, 2017 6:15 pm
- Forum: Flowcode V7
- Topic: Prob. ECIO40P16 and timer larger timer 1 in macros [Solved]
- Replies: 11
- Views: 7717
Re: Problem with ECIO40P16 and timer larger timer 1 in macro
Thank you Ben for the many work, but the timer 5 works now! But my program still needs to be considered. In the function Chk_Switch, I activate the timer 5 and then I go to the keystroke. If the routine immediately enters the keystroke, the timer is not activated. If I disable the keystroke then it ...
- Thu Mar 09, 2017 3:15 pm
- Forum: Flowcode V7
- Topic: Prob. ECIO40P16 and timer larger timer 1 in macros [Solved]
- Replies: 11
- Views: 7717
Re: Problem with ECIO40P16 and timer larger timer 1 in macro
Thank you Benj for the work. With the timer interrupts in the main program I have no problem, which runs without problems. The example that I have sent shows that a button is interrogated in the Chk_Switch macro (via Interrupt IOC port) and whenever the button is pressed, the status of port 1 is cha...
- Tue Mar 07, 2017 5:49 pm
- Forum: Flowcode V7
- Topic: Prob. ECIO40P16 and timer larger timer 1 in macros [Solved]
- Replies: 11
- Views: 7717
Prob. ECIO40P16 and timer larger timer 1 in macros [Solved]
I use for my circuit an ECIO40P16, control and display of the periphery via a Nextion display and additionally print buttons for port on / off. Nextion and buttons are controlled by interrupt. Timer 1 accepts the cyclic tasks (polling the ports, switching date and time, etc.) If an override is to be...
- Sat Feb 04, 2017 2:35 pm
- Forum: General Programming
- Topic: Something strange with I2C and AT24C32
- Replies: 4
- Views: 5138
Re: Something strange with I2C and AT24C32
I use the same module, the address of the AT24C32 is at 0xAC and 0xAD (A0-A2 are connected via resistors to VCC). So it runs with me without problems.
Enclosed is a section of an I2C tracer.
Christina
Enclosed is a section of an I2C tracer.
Christina
- Thu Jan 12, 2017 11:20 am
- Forum: Flowcode V7
- Topic: Questions about ECIO dsPIC33
- Replies: 5
- Views: 4873
Re: Questions about ECIO dsPIC33
Thanks Ben!
- Wed Jan 11, 2017 7:29 pm
- Forum: Flowcode V7
- Topic: Questions about ECIO dsPIC33
- Replies: 5
- Views: 4873
Re: Questions about ECIO dsPIC33
One more question:
To which pins of the ECIO I2C is connected?
The Uart pins are remappable, but I2C have a fixed assignment (according to the data sheet of the controller).
Thanks!
Christina
To which pins of the ECIO I2C is connected?
The Uart pins are remappable, but I2C have a fixed assignment (according to the data sheet of the controller).
Thanks!
Christina
- Wed Jan 11, 2017 4:42 pm
- Forum: Flowcode V7
- Topic: Questions about ECIO dsPIC33
- Replies: 5
- Views: 4873
Re: Questions about ECIO dsPIC33
Hello Benj,
Thanks for the quick and comprehensive response. I can then connect everything (GSM, Wlan, RTC) to 3.3V, for the Nextion display I take a level shifter.
Should I need an external I2C connection, then also over level shifter.
Christina
Thanks for the quick and comprehensive response. I can then connect everything (GSM, Wlan, RTC) to 3.3V, for the Nextion display I take a level shifter.
Should I need an external I2C connection, then also over level shifter.
Christina
- Tue Jan 10, 2017 11:09 pm
- Forum: Flowcode V7
- Topic: Questions about ECIO dsPIC33
- Replies: 5
- Views: 4873
Questions about ECIO dsPIC33
I have questions about ECIO dsPIC33.
Is it possible to get a dimension drawing from the PCB?
Are the pins 5V tolerant or only 3.3 V?
Can the MCU be programmed via ICSP with Pickit 3 or only via USB?
Can all Eblocks be used (LCD, Wlan, GSM ...)?
Thanks in advance for the answers!
Christina
Is it possible to get a dimension drawing from the PCB?
Are the pins 5V tolerant or only 3.3 V?
Can the MCU be programmed via ICSP with Pickit 3 or only via USB?
Can all Eblocks be used (LCD, Wlan, GSM ...)?
Thanks in advance for the answers!
Christina
- Thu Dec 22, 2016 11:09 pm
- Forum: Flowcode V7
- Topic: Please help with RXINT0
- Replies: 7
- Views: 6964
Re: Please help with RXINT0
Thank you Benj for the answer! It would really help if this function can be realized. It is much easier to check the routines on the PC under real conditions and then program the MCU.
I will first create a workaround to complete my program.
Christina
I will first create a workaround to complete my program.
Christina
- Thu Dec 22, 2016 7:51 pm
- Forum: Flowcode V7
- Topic: Please help with RXINT0
- Replies: 7
- Views: 6964
Re: Please help with RXINT0
After I got no answer to my post, here again the question in short form:
Does RXINT work in simulation?
Does RXINT work in simulation?
- Wed Dec 21, 2016 11:58 am
- Forum: Flowcode V7
- Topic: Please help with RXINT0
- Replies: 7
- Views: 6964
Re: Please help with RXINT0
Perhaps someone can tell me whether in the simulation the Interrupt RXINT0 of the RS232 interface with Injector functions. This would be very helpful, I do not know whether I should continue to try to configure the interrupt according to data sheet.
- Tue Dec 20, 2016 10:49 pm
- Forum: Flowcode V7
- Topic: Please help with RXINT0
- Replies: 7
- Views: 6964
Re: Please help with RXINT0
The baud rate works with Nextion up to 115200. I have set 38400 Bd. With Bauds=38400 the transmission rate is permanently adjusted, runs fine. Sleep = 0 is needed because I have 3 minutes Auto Sleep. The 3x \xff \xff \xff are the end signal of a command via the serial interface. The functions of the...
- Tue Dec 20, 2016 6:40 pm
- Forum: Flowcode V7
- Topic: Please help with RXINT0
- Replies: 7
- Views: 6964
Please help with RXINT0
I connected a Nextion touch screen to Com Port 1, the display is programmed so that every 5 seconds a query is made for changed data. In order not to reprogram the MCU every time, I have connected the display on the Com Port (USB) of my PC. Now I want to jump over the serial interrupt into my routin...
- Mon Oct 31, 2016 11:42 am
- Forum: Flowcode V7
- Topic: How to create a component with multiple return values
- Replies: 4
- Views: 3720
Re: How to create a component with multiple return values
Thanks for the reply, Kersing!
Then I continue with macros.
Christina
Then I continue with macros.
Christina
- Sun Oct 30, 2016 10:31 pm
- Forum: Flowcode V7
- Topic: How to create a component with multiple return values
- Replies: 4
- Views: 3720
Re: How to create a component with multiple return values
Thanks for the answer! I've looked at everything I've found about component creation. I need a function, where I can pass parameters in the flowchart (as with a display or RS232 or similar), this example does not seem to work. The calculation is made when you enter it in the Properties window. The e...
- Sun Oct 30, 2016 3:37 pm
- Forum: Flowcode V7
- Topic: How to create a component with multiple return values
- Replies: 4
- Views: 3720
How to create a component with multiple return values
I need a specific function for a project that creates a string of decimal or hex values from a delimited string and outputs the number of separators. Is it possible to create a component that returns these two values? I always get only a "return value". Has anyone ever tried this and can give me som...