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 - sdove05

Pages: [1]
1
Support Questions / Re: Enable / Disable Data logging
« on: July 30, 2015, 09:14:08 AM »
Temporarily I've just added code to the PLC to take care of my issue but I would like to get this working. SF doesn't seem to have the older versions available anymore would you mind emailing me the v3.98r?

I'll pm you the info.

Thanks,

RD

2
Support Questions / Re: Enable / Disable Data logging
« on: July 29, 2015, 03:55:27 PM »
When I click The ... box in collection it brings the window up correctly for me atm but I have seen it do exactly as your is doing.

RD

3
Support Questions / Re: Enable / Disable Data logging
« on: July 29, 2015, 03:33:51 PM »
I get the same issue with DataSubscriber2 but I can't get either one to not log I even tried setting the BasicDataLogger21.LogTimer.Enabled= False, same effect.

RD

4
Support Questions / Re: Enable / Disable Data logging
« on: July 29, 2015, 01:05:38 PM »
When I hover over the e.values part it says   "e.Values| Count = 1"

RD

5
Support Questions / Re: Enable / Disable Data logging
« on: July 29, 2015, 11:15:29 AM »
it's contiuing to log no mater the stat of the bit I added to the Datasubscriber. Just to be sure I'll add what I changed below.

Code: [Select]
   
    Public Enum TriggerType
        TimeInterval
        DataChange
        WriteOnBitTrue
        EverySample
    End Enum
    Private m_LogTriggerType As TriggerType
    Public Property LogTriggerType As TriggerType
        Get
            Return m_LogTriggerType
        End Get
        Set(value As TriggerType)
            m_LogTriggerType = value
        End Set
    End Property

    Public LogTimer As Timer
    Private m_LogInterval As Integer = 1000
    Public Property LogInterval As Integer
        Get
            Return m_LogInterval
        End Get
        Set(value As Integer)
            m_LogInterval = value
        End Set
    End Property


And this is what I added to the main form

Code: [Select]
Public Class MainForm
    '*******************************************************************************
    '* Stop polling when the form is not visible in order to reduce communications
    '* Copy this section of code to every new form created
    '*******************************************************************************
    Dim NotFirstShow As Boolean
    Private Sub Form_VisibleChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.VisibleChanged
        '* Do not start comms on first show in case it was set to disable in design mode
        If NotFirstShow Then
            AdvancedHMIDrivers.Utilities.StopComsOnHidden(components, Me)
        Else
            NotFirstShow = True
        End If
    End Sub

    Private Sub DataSubscriber1_DataChanged(sender As Object, e As Drivers.Common.PlcComEventArgs) Handles DataSubscriber1.DataChanged
        BasicDataLogger21.LogTimer.Enabled = e.Values(0)
    End Sub
End Class

Keep in mind I could be missing something simple here

Thanks,

RD

6
Support Questions / Re: Enable / Disable Data logging
« on: July 29, 2015, 09:19:57 AM »
I'm using Time interval

RSD

7
Support Questions / Enable / Disable Data logging
« on: July 29, 2015, 08:03:53 AM »
I'm currently logging data via several Basicdatalogger 2 controls, and have what is probably a very simple question. I need to start and stop the data logging via a bit from the PLC, basically the line is running or not.

Thanks in advance,

BTW very impressed with he software so far, I only found it a week ago, and I love it.

RD

Pages: [1]