Hi Dougs,
Thanks for the help. I understand what you are saying but I think my intention is perhaps not getting across properly.
I have a number of hall sensors as input status elements in a small MCU. At rest, the output is (1). When the magnet lifts, the output becomes (0), then after about 2 seconds, the magnet returns to rest and the output becomes (1). In the scada, I reverse the output. Thus far I implemented a counter in the MCU and that is read as an incremental integer (analog status) into VTScada.
When the magnet detaches from the hall sensor, I need a single timestamp and a single incremental integer displayed visually (as well as logged). When I view the grid display with raw data selected, the timestamp and value is logged, but when the magnet returns, another timestamp is logged, but no data. So I end up having gaps in the data. Also, I wish it was possible to also show only a single point and timestamp on the plot, i.e. no averaging, just single datapoints connected by line versus time. This is easily done in many Scada packages.
I think the main challenge is that the hall sensor output is not really a pulse but rather a toggle.
I wonder, could I define a totalizer which I can plot and log as per the above? Or a counter perhaps?
I think I am really stuck....
Regards, Jan
Hi Dougs,
Thanks for the help. I understand what you are saying but I think my intention is perhaps not getting across properly.
I have a number of hall sensors as input status elements in a small MCU. At rest, the output is (1). When the magnet lifts, the output becomes (0), then after about 2 seconds, the magnet returns to rest and the output becomes (1). In the scada, I reverse the output. Thus far I implemented a counter in the MCU and that is read as an incremental integer (analog status) into VTScada.
When the magnet detaches from the hall sensor, I need a single timestamp and a single incremental integer displayed visually (as well as logged). When I view the grid display with raw data selected, the timestamp and value is logged, but when the magnet returns, another timestamp is logged, but no data. So I end up having gaps in the data. Also, I wish it was possible to also show only a single point and timestamp on the plot, i.e. no averaging, just single datapoints connected by line versus time. This is easily done in many Scada packages.
I think the main challenge is that the hall sensor output is not really a pulse but rather a toggle.
I wonder, could I define a totalizer which I can plot and log as per the above? Or a counter perhaps?
I think I am really stuck....
Regards, Jan