I'm trying to write a script to custom define signals on the Patterns tool by following the code in the reference manual. However, these are not working:
Patterns1.Channels.DIO1.name = "Testing" <- Doesn't change the name of the signal, but once I click on the edit button the pop window shows it as "Testing". Once I run the program a second time it get an error for "Patterns1.Channels.DIO1.name = "Testing"" and it's not resolved until I change it to "Patterns1.Channels.Testing.name = "
The Script tool is intended to automate things, to extend the GUI features.
What can be done in the GUI, is easier to do there, like: setup channels, naming, static configuration...
Then, use the Script to adjust parameters that need to be changed, write log... like: changing PWM duty based on some scope measurements.
You can save the Script together with the other instruments in workspace, so there is no need to make all the setup in Script.
Regarding your script que