Try this
- Open AdvancedHMIControls\Components\BasicDataLogger2.vb
- Go to line 215 and edit the StoreValue to this:
Private Sub StoreValue()
Try
If Not m_PauseLogging Then
Dim StringToWrite As String = m_Prefix
If m_TimeStampFormat IsNot Nothing AndAlso (String.Compare(m_TimeStampFormat, "") <> 0) Then StringToWrite &= Date.Now.ToString(m_TimeStampFormat)
For Each item In PLCAddressValueItems
If item.ScaleFactor = 1 Then
StringToWrite &= "," & item.LastValue
Else
Try
StringToWrite &= "," & item.LastValue * item.ScaleFactor
Catch ex As Exception
StringToWrite &= "," & "INVALID-Check scale factor"
End Try
End If
Next
sw.WriteLine(StringToWrite)
sw.Flush()
End If
Catch ex As Exception
End Try
End Sub