Reading .fcpx files in notepad

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
cobra1
Posts: 175
Joined: Thu Feb 04, 2010 7:44 am
Has thanked: 3 times
Been thanked: 3 times
Contact:

Reading .fcpx files in notepad

Post by cobra1 »

Hi,
I was hoping to look at what commands you are sending to the ESP8266 wifi module in the attached component file.
I tried to open it in notepad but its just jargon.

When i look in the customise c option in flowcode itself i can see only this

// Read Server IP
// Call Component Macro: data=WLAN_ESP8266::CheckTCPServerIP()
FCD_08181_WLAN_ESP8266__CheckTCPServerIP(FCV_DATA,20 );

Is it possible to see what commands you are sending over the serial port for each macro ?
Attachments
WLAN_ESP8266.fcpx
(22.48 KiB) Downloaded 305 times

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: Reading .fcpx files in notepad

Post by Benj »

Hello,

The .FCPX file is XML text so if you open the file in TextPad or NotePad++ then it should look ok.

If you go into the Flowcode project and then click Build -> View C Code, or you can directly view the C code .C file using TextPad or NotePad++. This should contain all the info your looking for.

cobra1
Posts: 175
Joined: Thu Feb 04, 2010 7:44 am
Has thanked: 3 times
Been thanked: 3 times
Contact:

Re: Reading .fcpx files in notepad

Post by cobra1 »

Hi Ben,
Thank you for your reply.

In notepad++ this is an example of what i get when opening the above file.

$‰L ‘Éi¼ 2áÇ—n%Y{Íҍ8~A?¾`èdùãøwõãKÏLðü]zWÞߣJN¹åúÃjýa1µËýmóiµù4w?*f²)³Šà|–UK0Î’gîwSSdÞù¤0KÁpÞÔ5SѸ±óùÿùAþm¦fœ`:_ÁQVÄí•{-ÒÕ°®J qYwªâ‹ùñ%É5Ûõ°]jg#…LScÒRü‡•è,EÃOÂüS˜“ð9›W™d>.qÙဿÌb2™Š¥“ÝX“o‘Îo|¶Óç³µÛÅVm&“ÅñtÔ泌!ݦR‚ÌÅ:h‰]P…œTòõê _^ˆùÔ˜›çÅBµÏu¦Ù~ž2¥y±?(.l’‘è,Ÿ
-b®
‹édsH›åJ9©¤RTº[ÉGR3[æt¤£ëb<Ömº!¡C`a]óÞÐ{ù/ÌzîuuºÔs273rRjX¡E(b,Sµ’TN°¡AyÐA•p̶øThRÓȦ]’ãáV»"M’í¾(5êÔ´‚–[‹†È•³Ô0*bÅèlX•ÍZBIdjEÒäBaR/ô³R3Ad¦^ê‰p•ÅÐå0ÛlVæ«LŽ)Vœ•V‘J²Ûõš}u%Îë+Ã:L+5Û£Å`kL{9kQk.âåy§/gÛ­ '‹\Sf:óJ)£’‘Ø`!Ô«…

b«(QaìZ*6‹„R¬*2Ýj·•ËÁˆQ葝‡ºT*·2§•ÆBRò‚Ô :¬˜nŒñÞ¤T”d’„ñŒg



Is there any reason you know why it would do this?

I cannot view the code directly from FLOWCODE 6 as my demo has expired and i use flowcode 4. Thats why i wanted to view what commands you send and look closer at how you send the commands to make the webserver work.

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: Reading .fcpx files in notepad

Post by kersing »

Components are encrypted, as a result you can not view the code in an editor.

If I'm not mistaken, even with an expired license you should be able to view the source of an earlier version of the component that has been posted. Look for attachments with the fcfx extension. Also fcfx is unencrypted XML code.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

cobra1
Posts: 175
Joined: Thu Feb 04, 2010 7:44 am
Has thanked: 3 times
Been thanked: 3 times
Contact:

Re: Reading .fcpx files in notepad

Post by cobra1 »

How would i look at the source for a specific component?? When i goto build, view c. Notepad pops up and in place of c code i get instead sinething like you do not have permission. I cant remember the full text as im not home right now.

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: Reading .fcpx files in notepad

Post by Benj »

Is there a specific component your wanting the source code for Cobra? If so then I might be able to upload the source .FCFX file for you.

cobra1
Posts: 175
Joined: Thu Feb 04, 2010 7:44 am
Has thanked: 3 times
Been thanked: 3 times
Contact:

Re: Reading .fcpx files in notepad

Post by cobra1 »

Hi Ben,

Yes, Its the ESP28266 WLAN i wanted to take a look at.

Thanks

Chris

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: Reading .fcpx files in notepad

Post by kersing »

The source you are looking for is attached here: http://www.matrixtsl.com/mmforums/viewt ... 362#p63105 It is the last attachment in the message.

I tried to point to forum attachments in my previous message (as I recalled Ben posted this source some time ago), but should probably have worded it more clearly...
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

cobra1
Posts: 175
Joined: Thu Feb 04, 2010 7:44 am
Has thanked: 3 times
Been thanked: 3 times
Contact:

Re: Reading .fcpx files in notepad

Post by cobra1 »

Thank You Kersing, Thats exactly what im looking for.

Time to do some reading :)

Post Reply