You are here: Symbol Reference > AbTrend Namespace > Classes > TAbTrend Class > private > AddDigit Method
ContentsIndexHome
PreviousUpNext
TAbTrend.AddDigit Method
Send Feedback

Procedure to add a set of digit to the RecordList. 

 

Pascal
function AddDigit(d1: integer; d2: integer; d3: integer; d4: integer; d5: integer; d6: integer; d7: integer; d8: integer): Boolean;
C++
__fastcall Boolean AddDigit(int d1, int d2, int d3, int d4, int d5, int d6, int d7, int d8);
Parameters
Parameters 
Description 
d1: integer 
digit value for channel 1 
d2: integer 
digit value for channel 2 
d3: integer 
digit value for channel 3 
d4: integer 
digit value for channel 4 
d5: integer 
digit value for channel 5 
d6: integer 
digit value for channel 6 
d7: integer 
digit value for channel 7 
d8: integer 
digit value for channel 8 
Returns

Returns true if ok.

Description

Add's a new record with the digital signal for channel1..8 (d1..d8) to the RecordList. 

For the channel digits integer variables are used but the valid range is limited to

min 
SignalSettings.DigitalFrom 
max 
SignalSettings.DigitalFrom + 65535 

 

This function will not force an update of the trend display (also no OnRecNoChanged event occurs). So you can add a set of records without updating the display. To update call PaintRecords.

Related Information
Hard-& Software A.Baecker
What do you think about this topic? Send feedback!