Simulating a ram array

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

Moderator: Benj

Post Reply
Kenrix2
Flowcode v5 User
Posts: 211
Joined: Tue Feb 19, 2013 9:51 pm
Has thanked: 72 times
Been thanked: 177 times
Contact:

Simulating a ram array

Post by Kenrix2 »

I am looking for a way to monitor all of the values in a ram array during simulation.

After reading this post, http://www.matrixtsl.com/mmforums/viewt ... 63&t=19480, it appears the Console is available for the Standard version by adding the "Test and Debugging" license.

Can the Console simulate a Ram array? Not sure if the attached would work which, I pieced together from the Wikiv7 . Am I on the right track? Any help is appreciated.

I just want to make sure the Console will do what I need before making the purchase.
Attachments
Simulating_a_Ram_Array.fcfx
(8.64 KiB) Downloaded 195 times

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Simulating a ram array

Post by medelec35 »

Hi Kenrix2,
This is what you can see if you have the Test and Debugging:
Console Ram1.png
(41.95 KiB) Downloaded 2153 times
Hope this helps

Martin
Martin

Kenrix2
Flowcode v5 User
Posts: 211
Joined: Tue Feb 19, 2013 9:51 pm
Has thanked: 72 times
Been thanked: 177 times
Contact:

Re: Simulating a ram array

Post by Kenrix2 »

Thanks for showing me that.

Nice to see that it has scroll bars.

The Console seems to be printing the command /n instead of actually creating a new line.

Flowcode7 simplifies the use of larger arrays. Not having to deal with bank and page limitations is a real treat. Not sure if simulating them is doable though.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Simulating a ram array

Post by medelec35 »

Hi.
Kenrix2 wrote:The Console seems to be printing the command /n instead of actually creating a new line.
I have just noticed that it should be \n instead of /n which is why it's not working:
Console Ram2.png
(81.41 KiB) Downloaded 2138 times
Martin
Martin

Kenrix2
Flowcode v5 User
Posts: 211
Joined: Tue Feb 19, 2013 9:51 pm
Has thanked: 72 times
Been thanked: 177 times
Contact:

Re: Simulating a ram array

Post by Kenrix2 »

Thanks for spotting my error.

Seems to work just great. I like it.

Kenrix2
Flowcode v5 User
Posts: 211
Joined: Tue Feb 19, 2013 9:51 pm
Has thanked: 72 times
Been thanked: 177 times
Contact:

Re: Simulating a ram array

Post by Kenrix2 »

Added the "Test and Debug" license. Made a change so the location and ram array values are side by side seperated by spaces. Much easier to read it this way.
It now looks like this:
Console ram array.png
(5.3 KiB) Downloaded 2126 times
Here is the new version.
Attachments
Simulating_a_Ram_Array_V2.fcfx
(8.8 KiB) Downloaded 185 times

Post Reply