Hi,
I just updated my DIAdem 9.1 to SP2c and found some inconveniences in the change of the syntax of ChnAlloc. Since SP2b you have to give just the name without the "Group/" part.
But ChnDel still needs this! This is pretty ugly on working in loops. I have a script which runs over a dozen groups and creates/modifies some channels (about half a dozen source channels and a dozen result channels). To be on the save side I delete the channels before allocation (if I rerun a script I don't want to get old results). Using "On Error Resume Next" this is no problem if the channel doesn't exist, but not inlcuding "Group/" in ChnDel will result in deletion of the channel with this name in a inactive group!
So with the new syntax for ChnAlloc I have to use two different channel name strings for deletion and allocation. This isn't nice! I'd rather prefer usage of "Group/Channel" anyway as this is clearer. And else ChnDel("Channelname") should just act on the current group and
not delete a channel with this name in another group!
It took me quite a while to figure out why my script didn't work as expected (and I updated while writing this script, so it worked first).
So long,
Carsten