Using PISystems() and getting wrong pi server name

Discussion created by andrewnorth on Jul 13, 2011
Latest reply on Jul 20, 2011 by MichaelvdV@Atos

I am having difficulties connecting to af through some afsdk code Ive written.
All works well on my laptop (with a local pi server and af server on the laptop) but when Ive put it onto live interface node I get the error as above.
What I have noticed is that when I create an instance of pisystems() the piserver it has is wrong - my piserver is dc1piapp01 but it has dcpiapp01. (see attached file) This is obviously a typo I or someone else has put in some where but i cant find where the code is getting that server string  from. Could you help please?