What's in a name? Chose tag names wisely

Hi George,

Good to see you on the forums again, seems like it’s been a while! I’m with you on including the scaling, min/max automatically. I don’t think that’ll happen in PAC Control, but I will protest loudly if I see that being left out of what’s in the next generation of I/O and software.

Re: “pray you didn’t use the variable name anywhere in OptoScript.” I’ve been changing variable names like crazy and they get changed in OptoScript Opto-magically too. Sounds like you need to upgrade. I see that 8.2 doesn’t do that. What version of PAC Control are you using?

Also, after reading Ben’s post I started thinking harder about naming conventions and came up with this one for myself on a little sample project: I prefaced those variables I planned to use in PAC Display with an HMI_ (the rest of the variable was all lower-case, I’m not a fan of yelling, e.g.: HMI_answer_in_progress). That way when I went to hook up my PAC Display project to my strategy, it was easy to pick out those variables I intended for that purpose.

So, I respectfully disagree on the pipe bomb (hmpf!) reference and say: changing tag/variable names is not so hard–get 9.X. And here’s a little challenge: perhaps you can think of a clever way to include those units elsewhere in your strategy, something easier to change, like a table of strings just for that purpose?

Keep thinkin’ and writin’…
-OptoMary