As described in the OsiSoft Tech Support, the AFUpdateOption Enumeration Indicates how to treat duplicate values in the archive.
One of the options is :
But this description does not explain how the 'remove' option deals with value that does not exists.
Is that value ignored? or is inserted to the Pi Data Archive?
It will remote vhe value from the archive IF A VALUE EXISTS at the passed time. Given that your AFUpdateOption is Remove, there will be no attempt to add or insert a new value.
Retrieving data ...