Com Port Properties - on app developer dashboard

For general Flowcode discussion that does not belong in the other sections.
Post Reply
steve001
Valued Contributor
Posts: 185
http://meble-kuchenne.info.pl
Joined: Wed Jan 13, 2021 7:15 pm
Has thanked: 81 times
Been thanked: 30 times

Com Port Properties - on app developer dashboard

Post by steve001 »

Afternoon All,

When using the modbus master icon in app developer right clicking on the icon allows you to "bring to top level"
What does this do ?

I would like to bring the com port properties ie. select the com port to the dash board
so that it dosnt matter what usb port i plug my convertor into

is this possible ? - dose it simulate ?

i.e can you change the setting when running in debug mode from the dashboard ?

Steve

Steve-Matrix
Matrix Staff
Posts: 1465
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 347 times

Re: Com Port Properties - on app developer dashboard

Post by Steve-Matrix »

When used on a component's properties, the "expose to top level" makes those properties available at the top (i.e. panel) level. This means they are available in a deployed an app or you export your project as a component.

Similarly, when used on a component macro, that macro essentially becomes available at the top/panel level and is available in deployed and exported projects. (with macros, a new macro is created in the project which effectively calls the component macro in question and you could amend this to do additional processing).

Exposed properties will also be available during simulation debugging.

BenR
Matrix Staff
Posts: 1926
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 501 times
Been thanked: 686 times

Re: Com Port Properties - on app developer dashboard

Post by BenR »

Hello,

For a COM port you would currently have to stop sim and restart to allow the port to be closed and reopened with the new COM port number.

I'm thinking of trying to make this automatic and so if the port property changes then the port is automatically closed and reopened for you.

steve001
Valued Contributor
Posts: 185
Joined: Wed Jan 13, 2021 7:15 pm
Has thanked: 81 times
Been thanked: 30 times

Re: Com Port Properties - on app developer dashboard

Post by steve001 »

Hi Steve,

Thank you for the explanation, i will have a play see what happens - will probably be back asking more questions later.

Steve

Post Reply