Results 1 to 4 of 4

Thread: How to Graph a sensor

  1. #1
    Regular Vistor
    Join Date
    Feb 2014
    Location
    Minneapolis Mn
    Posts
    39

    How to Graph a sensor

    I want to understand my ATO better now that I have move to the ATK; I want to advance my code. A want to better understand how long it runs on average and how long between runs. This way I can put a limit on my pump (peristaltic Avaast) which isn't as important as creating a virtual alarm for sensor being closed too long (faulty/ dirty sensor). I tried to look at my ATO pump output but it is "noisy" (see attached).

    My current program for my ATO

    Fallback OFFSet OFF
    If Swx3_1 OPEN Then ON
    If Swx3_2 CLOSED Then OFF
    Defer 000:20 Then ON
    Defer 000:04 Then OFF


    "Screen Shot 2019-01-04 at 8.59.02 AM.png

    Thanks in advanced!

  2. #2
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463
    When you are looking at an outlet’s activity on a graph over such a long period, there’s data summarization happening - that’s why you see data points that are neither ON nor OFF. Zoom in until you see only points that are aligned with the ON and OFF scale marks. You can then see a good representation of the on/off activity and use that to judge the typical run time and frequency.

    You’ll probably want to use the When and If Error statements to stop the pump if it runs abnormally long and to be alerted it that happens. See this sticky for details:

    https://forum.neptunesystems.com/sho...-Firmware-4-52
    Please do not send me PMs with technical questions or requesting assistance - use the forums for Apex help. PM me ONLY if the matter is of a private or personal nature. Thanks.

  3. #3
    Frequent Visitor
    Join Date
    Mar 2015
    Location
    San Jose,CA
    Posts
    528
    The other way is to look at the output logs. That will show you the on and off times.


    Sent from my iPhone using Tapatalk Pro

  4. #4
    Frequent Visitor 2mk's Avatar
    Join Date
    Dec 2017
    Location
    US, EASTERN TIME
    Posts
    125
    Quote Originally Posted by Jstn View Post
    I want to understand my ATO better now that I have move to the ATK; I want to advance my code. A want to better understand how long it runs on average and how long between runs. This way I can put a limit on my pump (peristaltic Avaast) which isn't as important as creating a virtual alarm for sensor being closed too long (faulty/ dirty sensor). I tried to look at my ATO pump output but it is "noisy" (see attached).

    My current program for my ATO

    Fallback OFFSet OFF
    If Swx3_1 OPEN Then ON
    If Swx3_2 CLOSED Then OFF
    Defer 000:20 Then ON
    Defer 000:04 Then OFF


    "Screen Shot 2019-01-04 at 8.59.02 AM.png

    Thanks in advanced!

    Why is your graph so erratic? Mine is very uniform. Is it due to programming?

    ATK-Graph.jpg
    When You're a NOOB, You need lots of help all the time

Similar Threads

  1. Flow Sensor Graph not showing
    By ainokea in forum Fluid Monitoring Module (FMM), FMK, ATK, LDK, and FMM Accessories
    Replies: 2
    Last Post: 10-20-2020, 15:43
  2. How to setup an Optical Sensor as a backup sensor for ATK
    By mikemanna in forum Fluid Monitoring Module (FMM), FMK, ATK, LDK, and FMM Accessories
    Replies: 4
    Last Post: 07-23-2019, 20:16
  3. Optical sensor being confused as flow sensor?!
    By juanmanuelsanchez in forum A2 Apex/ApexEL and A3 Apex Pro/Apex/Apex Jr
    Replies: 8
    Last Post: 04-22-2018, 10:28
  4. Question: ALD sensor size pros and cons. When is the larger sensor ever better?
    By Carbon in forum AquaBus Modules, Probes, and Breakout Boxes
    Replies: 2
    Last Post: 04-09-2014, 11:49

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •