From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-18-2019 02:36 AM
How to dynamically register large amount of FP control simple way. See example. This example doesn't work and I don't know why...
Solved! Go to Solution.
10-18-2019 02:58 AM
10-18-2019 03:21 AM - edited 10-18-2019 03:22 AM
Don't use a type cast to cast classes. It will work, but isn't very nice.
Use "To More Specific Class" (or "To More General Class"). It (TMSC, not TMGC) has error handling (during editing when possible) and it's actually made for doing this...
10-18-2019 04:07 AM
I don't know why this doesn't work. Clicking on 3 clusters or their parts doesn't show label string. Any hint, help ???
10-18-2019 04:13 AM
sorry, example missing....
10-18-2019 04:53 AM - edited 10-18-2019 05:01 AM
Put a probe on the array of controls you're registering. HINT: it's empty...
Replacing elements in an empty array doesn't work well. Use concatenate array, or even better, use auto indexing (in the for loop)...
10-18-2019 06:08 AM
Thanks wiebe@CARYA !!!
"Replacing elements in an empty array doesn't work well." I always learn something new.... 😞