Display pots value.

Moderator: Benj

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

Display pots value.

Post by medelec35 »

If I'm testing a decision branch based on a voltage or integer value, then I would like to be able to set pot to that value prior to starting simulation from paused.
I believe it would be a good idea for a display window next to pot showing its integer value while simulation is running or paused. There could even be a drop down options box for displaying either voltage, Byte on int.
Martin

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: Display pots value.

Post by Steve »

To "preset" an input value, add a breakpoint to the first icon in your main flowchart. When you run the program, execution will pause and you can alter the inputs accordingly. Pressing run again will allow the program to continue.

The ADC component does have a "Show value" property which displays the actual ADC input value underneath it. This may not have been in the original v4.0 release, but is there in v4.1.

Post Reply