If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Com Port
2 posts
• Page 1 of 1
Com Port
I am new to Flowstone, just downloaded the demo version to test it out. I'am hoping this will be an easy way to interface my microcontroller projects to a PC for monitoring and control applications.
I'am having success at opening/closing a serial port, setting the baud rate, ect.
I can not figure out how to send actual data. I'am just trying to send a simple on/off command from Flowstone to the microcontroller, either 00, ff, 00, 01 ........... anything. The attached program sends fafa hex when the "switch" is toggled, then it sends cccc hex when it is toggled again, not exactly what i was expecting.
I would really like to learn how to use Flowstone but, i'am at loss atm on how to proceed on learning it.
I'am having success at opening/closing a serial port, setting the baud rate, ect.
I can not figure out how to send actual data. I'am just trying to send a simple on/off command from Flowstone to the microcontroller, either 00, ff, 00, 01 ........... anything. The attached program sends fafa hex when the "switch" is toggled, then it sends cccc hex when it is toggled again, not exactly what i was expecting.
I would really like to learn how to use Flowstone but, i'am at loss atm on how to proceed on learning it.
- Attachments
-
- ComPortTest.fsm
- (10.32 KiB) Downloaded 1461 times
- Saylus
- Posts: 1
- Joined: Tue May 03, 2011 2:52 am
Re: Com Port
Use a trigger for your opening and closing port inputs. Sometimes Flowstone will hang the port if you open and close it that way. I got your switches to work if you load the schematic with both off. If the port ever hangs, you have to close that schematic to release it. Also use a string for your data - you have a switch- that never worked. I had to switch it over to a string. I always use "After Load" for the open - as long as you don't want to change the port number. Flowstone com port control can be a bit flaky at times - not sure if its Flowstone or WIndows, but there it is.
- fixstuff555
- Posts: 151
- Joined: Thu Oct 21, 2010 3:24 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 88 guests