Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - paaaaal

Pages: [1]
1
Open Discussion / Re: Add to column the value inBasicDataLogger2
« on: January 19, 2022, 08:48:05 AM »
yes it is CSV

2
Open Discussion / Add to column the value inBasicDataLogger2
« on: January 19, 2022, 07:45:00 AM »
Hello,

I want to seperate my datas in the excel file what the BasicDataLogger made. How can I add every data to different column?

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-" & item.LastValue
                        End Try
                    End If
I think, I need here to write to add the value the new colum.
                Next
                sw.WriteLine(StringToWrite)
                sw.Flush()
            End If
        Catch ex As Exception
        End Try
    End Sub

3
Open Discussion / Re: AB PLC timer
« on: July 30, 2021, 07:28:36 AM »
Thanks all, I found the corret tag name: Program:UN01.Timer[19].ACC

4
Open Discussion / AB PLC timer
« on: July 29, 2021, 06:24:35 AM »
Helo Guys!

How can I add to Advanced HMI controls Analog value an timer.acc value I tried to Program:Timer[19].ACC but I got the same error: Path Segment Error (Invalid Tag Name)

Thanks in Advance

Pages: [1]