PWM Simulation V6

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

Moderator: Benj

Post Reply
Manie Serrao
Flowcode V4 User
Posts: 26
Joined: Mon Nov 28, 2011 3:19 pm
Location: Cape Town South Afica
Has thanked: 10 times
Been thanked: 2 times
Contact:

PWM Simulation V6

Post by Manie Serrao »

Helleo all,
I have imported a pwm program which i built in V4. In V6 the simulation panel does not show the waveform when simulating. I only have a "blurred" image.
Have searched for answer no luck so far...
Regards
Manie

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: PWM Simulation V6

Post by medelec35 »

Hi Manie,
This is a known issue as I have reported this in the past.
Hopefully it should be fixed when a patch is posted <(Only guessing).
Staff a Matrix would be able to give us more details on this.
What you will need to do is add another PWM component from outputs menu, then double click on each PWM component on your flowchart, the select the correct functions on the New PWM component in properties (Should be labelled PWM1 and not v5_pwm1)
When finished you can delete the old PWM component from your control panel.


Martin
Martin

Manie Serrao
Flowcode V4 User
Posts: 26
Joined: Mon Nov 28, 2011 3:19 pm
Location: Cape Town South Afica
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: PWM Simulation V6

Post by Manie Serrao »

Big Thanks for such a quick response............The pwm image that I loaded, as you suggested, from "outputs" looks like a half completed line drawing....I think I must complete the project in V4, then come back to V6 and explore with less pressure.
Thanks again

Regards,
Manie

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: PWM Simulation V6

Post by medelec35 »

Hi Manie,
Your welcome.
Manie Serrao wrote:The pwm image that I loaded, as you suggested, from "outputs" looks like a half completed line drawing
This is what it looks like:
PWM1.png
(6 KiB) Downloaded 8082 times
Then when simulation is ran, it shows a graph of pwm waveform:
PWM1a.png
(5.79 KiB) Downloaded 8082 times
If your PWM that you dragged from output (not the imported pwm) looks any different then would you min posting a screen shot please.

Martin
Martin

Manie Serrao
Flowcode V4 User
Posts: 26
Joined: Mon Nov 28, 2011 3:19 pm
Location: Cape Town South Afica
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: PWM Simulation V6

Post by Manie Serrao »

Capture.PNG
(84.05 KiB) Downloaded 8081 times
Thanks,..... must say I am looking fwd to using V6

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: PWM Simulation V6

Post by medelec35 »

Wow!
That to me looks like a openGL graphics/resolution issue with your PC.
To show you the difference here is the ADC Slider component:
ADC Slider.png
(769 Bytes) Downloaded 8079 times
jonnyw is the person in the know as I'm just guessing.

I'm also guessing he may want to ask some questions to get to the bottom of this since matrix would want Flowcode to work on as many different systems as possible.

So I will leave it to the experts to help sot it out (if your OK with helping it get sorted?)
Martin

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: PWM Simulation V6

Post by JonnyW »

Hello. Doesn't look good!

Just to be sure, can you click on the far end icon on the top toolbar (the paintbrush) and ensure that 'show objects as wireframe' is unchecked? If it is, looks like something else is forcing the system to wireframe mode - not sure what that can be but I can investigate.
wireframe.PNG
(40.53 KiB) Downloaded 8073 times
Wireframe mode is useful when you are importing your own meshes and creating models. Let me know if this is on, if not then I will investigate further.

Jonny

Manie Serrao
Flowcode V4 User
Posts: 26
Joined: Mon Nov 28, 2011 3:19 pm
Location: Cape Town South Afica
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: PWM Simulation V6

Post by Manie Serrao »

Hi Martin, Johnny,

Maybe a false alarm, the "wireframe" was not activated but when I dragged the system panel by the cornr to enlarge it....presto perfect, image looks normal.

Just have an issue with visible PWM in simulation.

PS Have als hit a brick wall (run out of ideas) re controling a Kiln to ramp up heat versus time ie TEmp rate of climb during drying period of 2 hrs = 100deg / hr second period 150deg/hr over the next few hrs etc.....any ideas where I can get another lead to crack this one. My maths has also let me down....have to brush up there,,,

Lastly the search criteria / protocol ie + to include a word - to exclude and so on , search results seem lousy even when I know what I am looking for I have seen the previos day...
must run now...cheers for now

Regards
Manie

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: PWM Simulation V6

Post by medelec35 »

Hi Manie,
For the timing take a look at:
http://www.matrixmultimedia.com/mmforum ... 26&#p43826
Manie Serrao wrote:Lastly the search criteria / protocol ie + to include a word - to exclude and so on , search results seem lousy even when I know what I am looking for I have seen the previos day...
I believe to exclude a word you can precede a word with -
Just entering a word will include it.
if looking for a word which could have several spellings e.g second, secs, seconds etc then use a wildcard * after the common letters e.g. sec*
If looking for either word you can use the | function for OR but I believe words must be in brackets
Only want sec or second but NOT seconds
e.g (sec)|(second) -seconds

You can use the advance search if you know what section of the forums you would like to look in.
Martin

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: PWM Simulation V6

Post by jgu1 »

Hi Martin&Jonny!

Info!

Today I install the 30 days trial ver.6.01. I have still the same problem concerning PWM and EEprom view in the panel´s. :wink: When I do your description Martin, it says: "Failed to add the component. You do not have a valid licence to perform this"

Is it not possible to switch grid on in the workspace ( I mean there where you place the Icon´s) :)

Best regard

Jorgen.

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: PWM Simulation V6

Post by JonnyW »

Hi Jorgen. The failure to add a component sounds like a licensing issue - if you PM DavidA with your account details he might be able to help.

There is a grid for the Flowchart area, for what its wrth. Menu->Global Options... and there is a background style that can be set to a grid.

Cheers,

Jonny

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: PWM Simulation V6

Post by jgu1 »

Hi Jonny!

Thank´s I will send David a PM.

Pattern, If you mean: Background pattern, I can choose 4 and they are all equal :?:

Jorgen

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: PWM Simulation V6

Post by JonnyW »

Hi Jorgen.

Yeah, that should work Ok, what colour is the background set to?

Jonny

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: PWM Simulation V6

Post by jgu1 »

It´s white, but nothing happen when I try to change it. :(

Meanwhile I fix it Jonny. It work now. It´not good with white background. But how is it possible to se the value in EEprom during simulation. I have read in the help but can´t se anything.

Thank´s!

Jorgen

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: PWM Simulation V6

Post by Benj »

Hi Jorgen,

The contents of the EEPROM should be available to view or edit using the console window.

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: PWM Simulation V6

Post by jgu1 »

Hi Ben!

Ok, thank´s. But I only see some hex value. Is it not possible to change to a view like in ver.5 or some decimalview. :?:

Jorgen.
Attachments
EEpromtest.fcfx
(5.62 KiB) Downloaded 221 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: PWM Simulation V6

Post by Benj »

Hi Jorgen,

The console view is the type of view you would get in industry for looking at binary files etc. We could maybe also make a decimal list like there was in v5 or at least put in an option to switch to this. Windows calc allows you to easily switch between hex and decimal values should you need to do quick conversions at the moment.

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: PWM Simulation V6

Post by jgu1 »

Hi Ben!

Ok, but I prefer the ver. 5 view. It is easyer in ver 5. you can quicly get an overview to se if it is correct. in ver 6 after my opinion, it seems more confusing, unless you can do the Hex table in head. :?

I would be happy if you can make its an option to choose. it's one of the things that makes me consider upgrading to ver.6 :lol: :lol:

Best regard

Jorgen.

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: PWM Simulation V6

Post by Benj »

Hi Jorgen,

Ok no problem I have added a feature request to our system and I will see what we can do for you.

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: PWM Simulation V6

Post by JonnyW »

Hi Jorgen. Sorry, I am so used to seeing hex values! I hope this helps you out in the next build:
decview.png
(6.36 KiB) Downloaded 7947 times
Cheers,

Jonny

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: PWM Simulation V6

Post by Benj »

Hi Jonny,

Could this also go for the address down the left hand side?

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: PWM Simulation V6

Post by JonnyW »

Yeah, I suppose we can put the addresses in decimal, mortal sin that it is! Will sort it now.

Jonny

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: PWM Simulation V6

Post by jgu1 »

Hi both!

Thanks for replying to both of you. I know that I have had many questions and if I'm being annoying, tell me, please have patience with me. :lol:

But Jonny I can not find where to switch on.

Jorgen

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: PWM Simulation V6

Post by JonnyW »

Hi Jorgen - apologies, that will be available in the next build (in response to your post).

Not annoying at all, the more questions the merrier!

Jonny

Post Reply