I am working on a seq program.
For that program, I am interacting with magnet power supplies.
The interfaces to the power supplies are all the same (about 10 PV each).
For each interface PV, I would like do to something like this...
#define NB_OF_SUPPLIES 50
assign enable to "I:S001:PS:EnableBO";
assign enable to "I:SO10:PS:EnableBO";
I looked at the docs and they are somewhat confusing.
Q: Is there a place to put the pvAssign statement?
Q: Should the array's cell be initialized/assigned to "" during declaration?
Q: Can I monitor a not-yet configured PV array?
Q: How can I find out about the connection to each of the PVs?
If anyone has an example of using pvAssign on array variables (i.e. enable), I would appreciate it.