tanaka Posted October 18, 2021 Report Share Posted October 18, 2021 HI, trying to convert an ascii based string of numbers into an integer form using the STRING TO NUM block but im not getting any integer at the output tag. what really should i pay attention to when using this STRING to NUM block Link to comment Share on other sites More sharing options...
AlexUT Posted October 18, 2021 Report Share Posted October 18, 2021 Please post test project code. Then forum members will look what is wrong. Snapshot does not provide all required information. B.R. Link to comment Share on other sites More sharing options...
tanaka Posted October 21, 2021 Author Report Share Posted October 21, 2021 cool at AlexUT, attached below is the small test file , im using this small snippet to collect data from an arduino via a usb to ttl cable utilizing the USB port on the unistream us10b5ta30, communication wise i do not have any problem, the challenge now come when i want to convert my string tag with the received arduino data to an integer format which i will then want to display on a live trend graphical setup STRING to NUM test.ulpr Link to comment Share on other sites More sharing options...
JT3798 Posted April 19, 2022 Report Share Posted April 19, 2022 Hello, can you tell me what software and what version do you use to have that function block from string to number, I'm using visilogic 9.8.95, but I can't find that block Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted April 19, 2022 MVP 2023 Report Share Posted April 19, 2022 This is the UniLogic forum for UniStream controllers. In Visilogic, you want to use the "ASCII to Num" block under the Strings menu. Post your program if you need more detailed help. Joe T. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now