Simulation External Input Frequency

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
Docara
Posts: 315
Joined: Sun Jun 23, 2013 1:29 pm
Has thanked: 28 times
Been thanked: 61 times
Contact:

Simulation External Input Frequency

Post by Docara »

HI

Is it possible to expose the Simulation Input frequency so that I can dynamically change the value via a variable during runtime. If so how?

Thanks
MAtt

Docara
Posts: 315
Joined: Sun Jun 23, 2013 1:29 pm
Has thanked: 28 times
Been thanked: 61 times
Contact:

Re: Simulation External Input Frequency

Post by Docara »

Anyone?

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: Simulation External Input Frequency

Post by Benj »

Hello,

I had a quick go with the component as is and couldn't get it to work nicely so it looks like the component will need an update to allow it to do it. Should be easy to do so I'll try and have a go for you this afternoon.

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: Simulation External Input Frequency

Post by Benj »

I've added a new SetFrequency macro that allows you to set the frequency on the fly. Seems to work ok here for me.

I've pushed the new component to the Flowcode 8 update system now so it should be available.

Docara
Posts: 315
Joined: Sun Jun 23, 2013 1:29 pm
Has thanked: 28 times
Been thanked: 61 times
Contact:

Re: Simulation External Input Frequency

Post by Docara »

Hi Ben,

Thank you so much that will help me know end - trouble is I'm running v7 could you publish the component here also?

Matt

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: Simulation External Input Frequency

Post by Benj »

Hi Matt,

Here is the updated component for v7.
sim_ext_input.fcpx
(2.74 KiB) Downloaded 232 times
Let us know how you get on.

Docara
Posts: 315
Joined: Sun Jun 23, 2013 1:29 pm
Has thanked: 28 times
Been thanked: 61 times
Contact:

Re: Simulation External Input Frequency

Post by Docara »

Hi Ben,

Am I right in thinking this gets loaded into "C:\Program Files (x86)\Flowcode 7.2\components" ?

If so then I am afraid I cannot see where I can load a variable into the frequency box.

I have taken a screen grab of the Sim macro dialogue box so you can see

Matt
Attachments
Capture.JPG
Capture.JPG (62.72 KiB) Viewed 5381 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: Simulation External Input Frequency

Post by Benj »

Hi Matt,

Whoops looks like I may have forgotten to expose the new Set_Frequency macro. I'll do that for you ASAP tomorrow.

Docara
Posts: 315
Joined: Sun Jun 23, 2013 1:29 pm
Has thanked: 28 times
Been thanked: 61 times
Contact:

Re: Simulation External Input Frequency

Post by Docara »

Thanks Big Boy :D

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: Simulation External Input Frequency

Post by Benj »

Here we go, this should be right now.
sim_ext_input.fcpx
(2.82 KiB) Downloaded 213 times

Post Reply