C# to program flowcode buggy?

For C and ASSEMBLY users to post questions and code snippets for programming in C and ASSEMBLY. And for any other C or ASM course related questions.

Moderators: Benj, Mods

cheefei
Posts: 3
Joined: Sun Jan 30, 2011 6:17 pm
Contact:

C# to program flowcode buggy?

Postby cheefei » Mon Jan 31, 2011 10:28 am

Hi there,

I am doing my final year project and would like to know that is that possible for me to use c# to program the flowcode buggy?

If possible, how should i do it?

I will be glad that if someone able to help me out as soon as possible.

User avatar
Benj
Matrix Staff
Posts: 14151
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4330 times
Been thanked: 4080 times
Contact:

Re: C# to program flowcode buggy?

Postby Benj » Mon Jan 31, 2011 12:26 pm

Hello,

Would you be running the C# on the PC and using this to send commands down a communications bus (USB / Bluetooth) to the buggy? Or are you wanting your C# code to run on the buggy itself?

cheefei
Posts: 3
Joined: Sun Jan 30, 2011 6:17 pm
Contact:

Re: C# to program flowcode buggy?

Postby cheefei » Tue Feb 01, 2011 6:33 pm

I planning to use that on PC to send commands via radio signal to the buggy.
is that possible? or it is compulsory to use flowcode?

User avatar
Benj
Matrix Staff
Posts: 14151
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4330 times
Been thanked: 4080 times
Contact:

Re: C# to program flowcode buggy?

Postby Benj » Wed Feb 02, 2011 9:17 am

Hello,

You will need firmware on the buggy to receive the radio signals. This will be written in Flowcode or another embedded language such as C.

The PC side of things can then be written in any language you desire as long as you know how to control the radio via it. We have examples of using VB or Pascal to control embedded devices over USB available as part of our examples download.

cheefei
Posts: 3
Joined: Sun Jan 30, 2011 6:17 pm
Contact:

Re: C# to program flowcode buggy?

Postby cheefei » Fri Feb 04, 2011 7:03 pm

hello,

so you mean that it is possible to use c# to program the flowcode buggy in PC to control the robot? Do i have to convert the c# file to .hex file?

and as you said in your reply that there are examples download. Do you mind post me the link of it?

User avatar
Benj
Matrix Staff
Posts: 14151
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4330 times
Been thanked: 4080 times
Contact:

Re: C# to program flowcode buggy?

Postby Benj » Thu Mar 17, 2011 11:06 am

Hello,

You essentially need two programs. One running on your PC to send out the RF commands. This could be written in C# or the programming language of your selection. As I say we have examples that show how you would use VB.

The second program is the one running on the formula flowcode that receives the RF signals and interprets them. This will need to be written using an embedded compiler such as Flowcode or BoostC etc.

The examples are available to download from here. The VB examples are located in Components/USB Slave.
http://www.matrixmultimedia.com/Downloa ... .php?id=63

All4U
Posts: 2
Joined: Tue Nov 29, 2011 4:56 pm
Contact:

Re: C# to program flowcode buggy?

Postby All4U » Sun Jul 14, 2013 11:33 am

Hi guys,

I wrote a C# window form program to send and received data from rs232, I used com0com driver to loop back 2 virtual comport and test my C# winform program with some thing like Terminal (hyper)---OK. The question is when I used Flowcode, can I connect my progam with flowcode rs232 components toolbox?, I have look the rs232 ext properties but cannot find where to select the comport?

Thanks!