AdvancedHMI Software

General Category => Support Questions => Topic started by: needhmi on May 02, 2020, 11:19:51 AM

Title: BasicDataLogger21 write bits as one or zero instead of false or true?
Post by: needhmi on May 02, 2020, 11:19:51 AM
Did a short search for this, is it possible to change the way the datalogger21 writes the bit status in the data log?  I'm using the ModbusRTUCom1 driver, version 3.99w, Visual Studio 15.9.11

I would like it to write the bit status (address of 0000x) as a 1 or a 0 instead of false or true in the data log .csv file.  In the past I have copied bits to a UI8 data type in the PLC solution (address of 4000x) and this works but I'd rather not need to do that if possible.  Thanks!
Title: Re: BasicDataLogger21 write bits as one or zero instead of false or true?
Post by: Godra on May 02, 2020, 09:23:01 PM
If you continue using 3.99w then try the version of BasicDataLogger2 found here:

     https://www.advancedhmi.com/forum/index.php?topic=2519.msg15192#msg15192

If you switch to the latest 3.99y then try using the attached version of BasicDataLogger2G.

They only differ in that letter "G", otherwise they include a new property BooleanLogOption which can be set to either "TrueFalse" or "OneZero".