- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
Dim dLoadCurrent As Double
Dim strReading As String = String.Empty
Dim strTempReading As String
strReading = Space(20)
strReading = считали напряжение из устройства
strTempReading = CStr(InStr(1, strReading, vbLf, CompareMethod.Binary))
dLoadCurrent = CDbl(Left(strReading, CShort(strTempReading)))