Utilising received packets

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
o.fithcheallaigh
Posts: 14
Joined: Fri Feb 04, 2011 7:51 pm
Has thanked: 3 times

Utilising received packets

Post by o.fithcheallaigh »

Hi,

I'm currently working on a remote control project using 877A and EB023. I've established communications using UDP across a VLAN and can print out strings sent to EB023 on the LCD.
My problem is determining the best way to use the recieved data to implement i/o changes.
I'd really appreciate any pointers or help, I'm very new to flowcode and the more detail you could give me the better. Please find my code attached.


Sean
Attachments
PING__04.fcf
(25.35 KiB) Downloaded 265 times
Fuair siad bás ar son saoirse na hÉireann.

Go raibh tú leathuair ar Neamh sula mbeadh a fhios ag an diabhal go bhfuil tú marbh.

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

Re: Utilising received packets

Post by Benj »

Hello,

I have suggested ways to do this here:
http://www.matrixmultimedia.com/mmforum ... 130#p12964

o.fithcheallaigh
Posts: 14
Joined: Fri Feb 04, 2011 7:51 pm
Has thanked: 3 times

Re: Utilising received packets

Post by o.fithcheallaigh »

Hi,

I was hoping to keep it relatively simple tp start with, how would I go about moving the data received within the packet into an array

and simply compare the array with four other values. Which would determine the state of the i/o?

Sean
Fuair siad bás ar son saoirse na hÉireann.

Go raibh tú leathuair ar Neamh sula mbeadh a fhios ag an diabhal go bhfuil tú marbh.

Post Reply