Author Topic: bassicDatalogger2  (Read 857 times)

mourazo

  • Newbie
  • *
  • Posts: 31
    • View Profile
bassicDatalogger2
« on: December 03, 2019, 12:09:17 PM »
¿How can i use the bassicDatalogger2 component? I try it, I select the folder to save and  bassiclabel component, but i don´t obtain a file result.

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: bassicDatalogger2
« Reply #1 on: December 03, 2019, 01:56:16 PM »
BasicDatalogger2 component works independently so I am not sure what you are trying to do with the BasicLabel component.

Here is how you would normally use the BasicDatalogger2:

1) Add a driver to the form and set its properties to target your PLC
2) Add a BasicDatalogger2 component to the form
3) Add to the PLCAddressValueItems collection those PLC addresses you want to log the values for
3) DON'T CHANGE ANY OTHER PROPERTIES FOR NOW
4) Run the application for couple of minutes and then close it
5) Look inside the AdvancedHMI/bin/Debug folder for the PLCDataLog.log file and open it to see what values were recorded.

If all worked as expected then you can consider changing other properties of the BasicDatalogger2 component.
You need to make sure that the folder location where you want to save the log file is not restricted by the Windows operating system.

mourazo

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: bassicDatalogger2
« Reply #2 on: December 04, 2019, 10:53:46 AM »
Thank you very much.