What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Bitfield graphical toggle not showing right bits

Votes:

0

Hi

I have mad a custom lookup table with BitField based on an unsigned integer read with the modbus sensor. Most of it work, or in fact, nearly everything works as planned and expected. But the visual indication, the toggles, are showing a wierd result.

<?xml version="1.0" encoding="UTF-8"?>
<ValueLookup id="prtg.tv2b.generator.RunningMode" desiredValue="8" undefinedState="Warning">
	<Lookups>
		<BitField state="Error" value="1">Block Mode</BitField>
		<BitField state="Error" value="2">Manual Mode</BitField>
		<BitField state="Warning" value="4">Semi Automatic Mode</BitField>
		<BitField state="Ok" value="8">Auto Mode</BitField>
		<BitField state="Warning" value="16">Test</BitField>
	</Lookups>
</ValueLookup>

Then I get a result where the 4th bit is high, the lookup returns Auto Mode and the sensor is green. When when I get a result where the 3th bit i high, the lookup returns Semi Automatic mode and the sensor i yellow. But the channel is opposite. The channel have 5 toggles, where the 2 first is red, the 3th is yellow, the 4th is green and the 5th yellow. Just as expected. But when receiveing 4th bit high, "AUTO MODE" it is the 5th toggle, that is yellow, that is highlighted. When receiving 3th bit hig "Semi automatic", it is the 4th toggle, the green one, that is highlighted.

Are there any way of controlling this? is it a bug in the graphical representation? am I misunderstanding something? Please advice :-)

bitfield modbus toggle

Created on Feb 5, 2021 2:22:34 PM

Last change on Feb 5, 2021 4:03:47 PM by  Felix Wiesneth [Paessler Support]



1 Reply

Votes:

0

Hello,

Thank you for your KB post. We will continue in the ticket, as we will need also the screenshots of this sensor.

Created on Feb 9, 2021 6:34:49 PM by  Isidora Jeremic [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.