Author Topic: Creating names for your IO  (Read 370 times)

Offline scott.sanville

  • PLUS+1 Novice
  • *
  • Posts: 2
  • Karma: +0/-0
Creating names for your IO
« on: March 25, 2025, 02:26:26 PM »
Hey everyone!

Is there a good way to save unique names to the inputs and outputs? I tried changing the names of some of the inputs inside the inputs page using the query function, but those changes don't carry over to the bus. I find programming to be so much easier when all of your IO have names that are a bit more descriptive than C1p33_DigOut. Just looking for a place I can get them all changed at the same time.

Thanks,

-Scott

Offline Lukey

  • PLUS+1 Expert
  • ****
  • Posts: 78
  • Karma: +8/-0
Re: Creating names for your IO
« Reply #1 on: March 25, 2025, 11:59:36 PM »
What you need to do is wire draw the C1p33_DigOut onto another/bus leg and call it whatever you want, I would recommend putting a RETYPE function in-between the C1p33_DigOut and whatever you new name is in case you intend to change the new name again this will make it easier.

You can then reference your new name anywhere in the program, and that will be connected to the C1p33_DigOut.