Ok, then that's why I cant write to it with setp then? But that shouldn't stop the python component from writing to that pin?
Is that connected to the error I'm seeing or is there something else?
I'm not sure. But it feels like the signals that are being created in the python script needs to be declared somewhere else as well. Since the signals from the original hal_manualtoolchange script works. I cant find anything supporting this in the "Creating Userspace Python Components" manual how ever.