Scott1234 (Customer) asked a question.

View Logged Data on the HMI

Hi ADC

What can i use to View the logged Data on the HMI for example ( Logging GPMs for the Day) i will attach a photo below to show what i mean.. Right now im using an Alarm List and i dont like it cause i need that alarm list for Alarms...Is their a way out.?. In the Message 1 2 3 4 on the image below , This is were you will see the total usage of the day


  • ADC_HmiClicK_PE01 (AutomationDirect)

    I don't see a screen shot, so I'll take a stab and just answer kind of generically.

    There are three tools that work for logging data:

    1. Alarms - These capture any event set up in the alarm list and the full message gets written to the SD card. But the drawback you have found is that is consumes space in your alarm list.
    2. Message Display - Can be customized and saves to SD/USB as well. This only runs when the message display object is on the Active screen. Easy enough to work around by placing the control off the visible edge of a background screen.
    3. Log Manager - New in V9, this often works as the data source for line graphs. It will only capture numbers, discrete values and time stamps (no strings for now). This saves to a CSV file and in the system folder a SQLite file which can be viewed using any common SQLite browser. We have very limited support for working with the SQLite file.

    When using USB/SD cards, there are a few System Bits to control the files.

    • Sys Copy Log to USB - Allows the logs to be written to SD1, but you can copy them to a USB stick to take them back to your PC without interrupting the panel's operations.
    • Sys XXX Eject - all storage has an eject bit. This will finish any ongoing write operation and unmount the drive for safe removal. When you plug it back in, it will automatically be recognized and remount the drive.
    • Sys Delete XXX Log - This will delete all log files on a device.

     

    Overall Log Manager will provide the most optimized way to write data based on flexible trigger states.

    Expand Post
  • Scott1234 (Customer)

    Sorry I added a Photo to show you what i meant

    • GPM
  • Scott1234 (Customer)

    I wanted to add here would it be possible to log data into an internal memory for like 30-60 days and than disappear . But when we log data have it so you see the time and date stamp

  • ADC_HmiClicK_PE01 (AutomationDirect)

    We don't log to internal memory because all solid state memory has a limited number of read/write cycles. That is usually pretty high - no problem writing and updating a project, but if you were to repeatedly log data to the same block of memory, it would likely shorten the life of the panel. The SD cards we sell are more expensive than Best Buy or Amazon because they are SLC (Single Level Cell). It has the highest life of solid state memory. But if you want something easy, we can write to most any SD card or cheap thumb drive.

     

    The new Log Manager in V9 will write a CSV file to a folder under SD1\Log\LogManager\{Log Name}\Log..with a timestamp of when the file was created in the filename. Make sure you sync the Panel Clock before you start writing.

     

    It adds an Index and Date column. The Index is just a counter and the Date is the Date and Time when the values were captured. If you link a Line graph to the Log file, it will use all this data - which allows the line trends to persist across save events and even download events (as long as you don't change the Log file).

     

    You can use the Webserver or the "Data Maintenance" tool on the Panel ribbon to download these files.

    Expand Post
  • Scott1234 (Customer)

    Would i be able to display these values on the HMI from the Web server or from a CSV file or anyway from the Sd card or USB ?

  • ADC_HmiClicK_PE01 (AutomationDirect)

    Yes, you can log data to USB/SD card and show that data on a line chart. You can use the Web Server or the Data Maintenance function in the software to download the CSV files. One Caveat - it's not usually a problem, but the panel buffers data for about 20 seconds before writing a chunk to the SD card. It limits the constant write cycles. If you are testing and want to see what just happened, take a minute before you grab the files.

  • Scott1234 (Customer)

    Would you show me images or an example of how you connect the line trend with the SD/USB card ? i did have a look and i coouldnt make the connection between the line Chart and the Data Maintenance...

    Thank you

    Steven

  • ADC_HmiClicK_PE01 (AutomationDirect)

    Here is a short guide I put together. Hopefully this clears it up. Let me know if you have any questions or suggestions about how to make this better.

    • Log data to a USB Drive
  • Scott1234 (Customer)

    So we can only use the line trend graph to show us these values...

  • ADC_HmiClicK_PE01 (AutomationDirect)

    That is correct. Your suggestion is good. We have a meeting with the development team and will propose having a table - style view for logged data.