Can we retrieve the digital state name (as a string) from PIOPC?
I tried with the PI OPC client - that works. You simply have to set the data type to VT_BSTR and you get the digital state as string.
Do you mean "programatically"? If so, using what? (OPC DA or HDA via OPC DA/HDA COM Automation, OPC DA/HDA via OPC .NET API, OPC DA via OPC DA .NET Automation Wrapper?)
Steve, I was looking in to a minor issue with a third party system (Honeywell PHDSQL RawData) that retrieves data from PI via OPC. I wanted to change this part to use PI-OLEDB for some reports but the remit is to stick to OPC. "They" are complaining that for a digital tag they are getting the integer for the state rather than state name hence my initial query. Now I want to know for my own curiosity & have a play so I am building my own .Net DA client in between baby feeds
Alrighty - let us know if we can be of any help in your .NET DA client endeavour!
Retrieving data ...