GetMaxDataLogNRow Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetMaxDataLogNRow() method retrieves the last sample collected for the Data_Log table.
Note: The Data_Log_16 and Data_Log_48 tables have been replaced by the Data_Log table. This method includes two row ID output parameters for backward compatibility. However, they will both return the same row ID from the Data_Log table.
'Declaration
Public Shared Sub GetMaxDataLogNRow( _
ByVal sessionId As Integer, _
ByRef dataLog16MaxRowId As Nullable(Of Integer), _
ByRef dataLog48MaxRowId As Nullable(Of Integer) _
)
'Usage
Dim sessionId As Integer
Dim dataLog16MaxRowId As Nullable(Of Integer)
Dim dataLog48MaxRowId As Nullable(Of Integer)
DataLogGrp.GetMaxDataLogNRow(sessionId, dataLog16MaxRowId, dataLog48MaxRowId)
public static void GetMaxDataLogNRow(
int sessionId,
out Nullable<int> dataLog16MaxRowId,
out Nullable<int> dataLog48MaxRowId
)
Parameters
- sessionId
- Optional. Holds the session ID and thus the user who is making this method call.
- dataLog16MaxRowId
- Output. Holds the returned maximum row ID from the Data_Log table.
- dataLog48MaxRowId
- Output. Holds the returned maximum row ID from the Data_Log table.