uaPLUS Reference
UpdateInsert Method
See Also  Send Feedback
I_HDAPlugin Namespace > IAppPlugin Interface : UpdateInsert Method

Glossary Item Box

Professional Edition only.
This method inserts values and qualities into the history database at the specified timestamps for one or more items. If a value exists at the specified timestamp, the new value shall not be inserted; instead errors shall indicate an error. This method is intended to insert new values at the specified timestamps; e.g., the insertion of lab data to reflect the time of data collection. The serverHnd, timeStamps, dataValues and qualities are arrays of equal size. To insert a value for a number of different items at a single time, then timeStamp array would have the same time for each item. To insert a stream of values, timestamps and qualities for a single item, set the size of the item array to the number of values to be inserted and put the same ItemID in each element.

Overload List

OverloadDescription
UpdateInsert(Int32,Int32[],DateTime[],Object[],Int32[],Int32,Int32[])Professional Edition only.
This method inserts values and qualities into the history database at the specified timestamps for one or more items. If a value exists at the specified timestamp, the new value shall not be inserted; instead errors shall indicate an error. This method is intended to insert new values at the specified timestamps; e.g., the insertion of lab data to reflect the time of data collection. The serverHnd, timeStamps, dataValues and qualities are arrays of equal size. To insert a value for a number of different items at a single time, then timeStamp array would have the same time for each item. To insert a stream of values, timestamps and qualities for a single item, set the size of the item array to the number of values to be inserted and put the same ItemID in each element.  
UpdateInsert(Int32[],DateTime[],Object[],Int32[],Int32[])Professional Edition only.
This method inserts values and qualities into the history database at the specified timestamps for one or more items. If a value exists at the specified timestamp, the new value shall not be inserted; instead errors shall indicate an error. This method is intended to insert new values at the specified timestamps; e.g., the insertion of lab data to reflect the time of data collection. The serverHnd, timeStamps, dataValues and qualities are arrays of equal size. To insert a value for a number of different items at a single time, then timeStamp array would have the same time for each item. To insert a stream of values, timestamps and qualities for a single item, set the size of the item array to the number of values to be inserted and put the same ItemID in each element.  

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family

See Also

© 2010-2018 Copyright Advosol Inc. All Rights Reserved.