Page 1 of 1

Sending/receiving data through the COM port

PostPosted: Sat Mar 05, 2022 3:08 am
by sporter
Hi,

New Flowstone user here. I am working on a project to use Arduino to control an actuator and read the position on Flowstone so it can be plotted real-time, and also the computer sends data to the Arduino to tell the actuator where it needs to go.

I have simplified and isolated this part of the program on the attached MWE.

What I need help with:
1) I have a string module connected to the Data input on the COM port module. When I type something and press enter I should be sending data, but nothing comes up in the log. What am I doing wrong?

2) On the output "In" bubble, Flowstone receives a string. I converted the string to a float since I'll need to make some calculations with it, but nothing shows up on the float box. What am I doing wrong?


Much thanks in advance!

Moderator comment:
The schematic is made in an alpha or beta version of FlowStone. If it’s made in an alpha from the Slack group, please post there, in the Help channel. If it’s made in the beta version from this site you should be aware that the 2 versions available are very broken. Please have a look at this topic:
viewtopic.php?f=2&t=11635

Re: Sending/receiving data through the COM port

PostPosted: Tue Mar 29, 2022 7:23 pm
by sporter
Hi,

I used version 3.0.9 to create the schematic. From the post you sent it seems I will need to start from scratch, is that it?

Re: Sending/receiving data through the COM port

PostPosted: Wed Mar 30, 2022 7:55 am
by Spogg
sporter wrote:Hi,

I used version 3.0.9 to create the schematic. From the post you sent it seems I will need to start from scratch, is that it?

Unfortunately yes :(