I'm probably going to smack myself when I find out why but I'm having trouble in a simple function whose job it is to store a string value into a string pinpoint.
Code is below, it does not error but the current value in PI says "BAD"
PIPoint piPoint = PIPoint.FindPIPoint(gbPiServ, "BatchID");
// "test" is the string data trying to get stored in PI
AFValue newValue = new AFValue("test", dcStartTime.SelectedDate.Value, null, AFValueStatus.Bad);
catch (Exception ex)