I'm trying to bring back the integrity of individual comms ports on serial cards into out data historian via OPC (OSIsoft PI), but I'm having trouble getting the reference right. I've gone to diagnostics, browsed to the card and the OINTEG parameter, and noted the reference (DV303/IO1/C03/P01/OINTEG.CV) but that doesn't work. We have about 6 serial cards attached to a couple of controllers, so I'm guessing I need to keep the controller reference (DV303 in this case) to distinguish between the various cards.
Should I be referencing .CV or .CST, and are these values or strings? BOL doesn't state what the OINTEG parameter is in terms of type (float, string, Boolean) so I might be trying to retrieve a string but the OPC interface is looking for a value.
Any help much appreciated!
Thanks
Col
Colin,
Your path is correct including .CV (Current Value). I tried a test on a system here with OPCWatchit and was able to get a number of zero for Good on the OINTEG parameter, I was also able to browse to it. Definitely need the full path including controller name.
I'm not sure what is up with your connection. Do you have other data going over to PI via OPC that are working? You may want to try a test with OPCWatchit to see if you can connect that way.
By the way, the .CST parameter is for Connection STatus. It will give a values as the following:
In reply to Scott Thompson:
In reply to Former Member: