Change the value of a handle. [message #1863403] |
Wed, 31 January 2024 12:52  |
Eclipse User |
|
|
|
Hello, i want to make a block with multiples outputs to use with my RT1060. But my customer want to make the definition of the pins dinamically. To do that, i think in a way, write in the OUTPUT the string "QX[1,1]". QX is the output block, the numbers in the brackets is the GPIO_BASE and the GPIO_PIN.
In the software, i can find the handle of the block and this string. What i need to do is change the name of the handle to "QX". That's a way to do that?. Separate the value of the GPIO_BASE and GPIO_PIN i geti it.
In the first image i have the block.
In the second image i find the place where the string is save, but i don't know how can i change the string.
|
|
|
|
Re: Change the value of a handle. [message #1863407 is a reply to message #1863406] |
Wed, 31 January 2024 13:14  |
Eclipse User |
|
|
|
Yes Alois, that way worked. I use the block in the image and the definition of this block is dinamically. But the problem is my customer want a block with multiple outputs and each output must be dinamically selected. But i don't know how to define the GPIO_BASE and GPIO_PIN dinamically. I think this way.
|
|
|
Powered by
FUDForum. Page generated in 0.29340 seconds