Hi all .
Would it be possible to add an extra parameter(length) or at least increment to 40 in "send string"?
Now it seems to be 20 chars in length as maximum length.
Best regards
Nick
USB serial component.
-
- Posts: 20
- http://meble-kuchenne.info.pl
- Joined: Tue Dec 08, 2020 3:10 pm
- Has thanked: 8 times
-
- Valued Contributor
- Posts: 1374
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 331 times
- Been thanked: 479 times
Re: USB serial component.
Hi
Twenty characters is the default string length but you can change this under the variable properties.
Regards
Twenty characters is the default string length but you can change this under the variable properties.
Regards
-
- Posts: 20
- Joined: Tue Dec 08, 2020 3:10 pm
- Has thanked: 8 times
Re: USB serial component.
Hi chipfryer27.
Yes but it doesn´t seem to matter. If I change the target string length to 40, still only 20 will be sent?
Or am I missing something?
Regards
Nick
Yes but it doesn´t seem to matter. If I change the target string length to 40, still only 20 will be sent?
Or am I missing something?
Regards
Nick
-
- Valued Contributor
- Posts: 1374
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 331 times
- Been thanked: 479 times
Re: USB serial component.
Hi
I cannot look at your chart just now, only on my phone but I think something must not be set correctly.
I send and receive many dozens if not hundreds of bytes over the UART. Indeed if you subscribe to ThingSpeak (for example) that string is about 80 odd characters to update the server.
Regards
I cannot look at your chart just now, only on my phone but I think something must not be set correctly.
I send and receive many dozens if not hundreds of bytes over the UART. Indeed if you subscribe to ThingSpeak (for example) that string is about 80 odd characters to update the server.
Regards
-
- Posts: 20
- Joined: Tue Dec 08, 2020 3:10 pm
- Has thanked: 8 times
Re: USB serial component.
Hi
Ok thanks for your answer.
I will just adapt the string, into an array or several string with <= 20 chars.
Regards
Nick
Ok thanks for your answer.
I will just adapt the string, into an array or several string with <= 20 chars.
Regards
Nick
-
- Valued Contributor
- Posts: 1374
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 331 times
- Been thanked: 479 times
Re: USB serial component.
Hi
Something isn't right as you should not need to do that. What is your target? Is it imposing any limitation?
Can you connect to a terminal and see what comes out?
Regards
Something isn't right as you should not need to do that. What is your target? Is it imposing any limitation?
Can you connect to a terminal and see what comes out?
Regards
-
- Posts: 20
- Joined: Tue Dec 08, 2020 3:10 pm
- Has thanked: 8 times
Re: USB serial component.
Hi.
The case is the same ragrdless the target MCU.
As I wrote above, no matter what I put into function "send string", only ever 20 chars get sent.
But really, its not that big of deal, I have just now redone it as I mentioned, and it works.
Thank you for your feedback though
Best Regards
Nick
The case is the same ragrdless the target MCU.
As I wrote above, no matter what I put into function "send string", only ever 20 chars get sent.
But really, its not that big of deal, I have just now redone it as I mentioned, and it works.
Thank you for your feedback though
Best Regards
Nick