Hi,
Have just tried using the simulation 'things' for the first time and found things didn't work as expected.
With reference the enclose FC file I am trying to use the mouse to move a slider and have its value appear on vertical scale but no luck. Incidently it does show(move) if I use a potentiometer component.
Any thoughts?
Thanks
Slider Simulation
Moderator: Benj
- 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: Slider Simulation
Hello,
I've seen this before it looks like the grey slider only ever replies with a value between 0 and 1. If you take the value and scale it yourself then it works as expected.
I've seen this before it looks like the grey slider only ever replies with a value between 0 and 1. If you take the value and scale it yourself then it works as expected.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 315
- Joined: Sun Jun 23, 2013 1:29 pm
- Has thanked: 28 times
- Been thanked: 61 times
- Contact:
Re: Slider Simulation
Hi Ben
Thanks for the reply.
I originally wanted to simulate a range of 600 to 6000 but because I couldn't get it to work I dropped it to a byte and 255 - scaling between these two values using a range 0 to 1 might be interesting!!
As this is a bug then can it be fixed to work as expected? The Max and Min values are available and accept values after all.
Thanks
Matt
Thanks for the reply.
I originally wanted to simulate a range of 600 to 6000 but because I couldn't get it to work I dropped it to a byte and 255 - scaling between these two values using a range 0 to 1 might be interesting!!
As this is a bug then can it be fixed to work as expected? The Max and Min values are available and accept values after all.
Thanks
Matt
- 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: Slider Simulation
Hi Matt,
I'll add it to the list to investigate and try and fix. It's not my component and having a quick look it looks quite involved but if I can get my head around the layers then there should be an easy way to solve the issue.
I'll add it to the list to investigate and try and fix. It's not my component and having a quick look it looks quite involved but if I can get my head around the layers then there should be an easy way to solve the issue.
This should be quite easy, just multiply the output by 5400.0 and then add 600.0.I originally wanted to simulate a range of 600 to 6000
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 315
- Joined: Sun Jun 23, 2013 1:29 pm
- Has thanked: 28 times
- Been thanked: 61 times
- Contact:
Re: Slider Simulation
Oh! that was easyThis should be quite easy, just multiply the output by 5400.0 and then add 600.0.
Thank you - (trouble is it really hits my OCD trait when thing don't work as expected sorry!)
Matt