AdvancedHMI Software
General Category => Open Discussion => Topic started by: tamnguyen408 on May 06, 2016, 08:58:22 AM
-
Hi,
I have a messagelistbybit work properly; I am able to toggle bit and display to the list. However, I cleared all messages and toggle the same bit. It won't show in the message list anymore unless I toggle another bit then previous bit working again. Please! help
Thanks,
-
I gave this try and it worked as expected. This is how I tested it:
- Add up 3 messages for bits 0,1,and 2
- Set PLCAddressValue to my 40001 (using Modbus)
- Added a button with the click event code set to MessageListByBit1.Items.Clear()
- Run the application
- Set 40001 to 1 and the first message appeared in the list
- Set 40001 back to 0
- Click the button to clear the list box
- Set 40001 to 1 and the first message added back to the box
-
Thank you very much