I setup a new AAHMI399a, add a PLC driver, add a ChartBySampling, Set the MaximumActivePoints , Add a PLC address to PLCAddressItems, tested working .
Next I goto series and set its XValueType to Time. and open ChartBySampling.vb line 225 and change it to:
MyBase.Series(index).Points.Add(Now.ToLongTimeString, CDbl(m_PLCAddressItems(index).GetScaledValue(e.PLCComEventArgs.Values(0))))
Run it again. Error with InvalidCastException wsa unhanldled by user code. Conversion from string "11:09:26 AM" to type 'Double' is not valid.