04-14-2025 07:40 AM
While developing a driver for the NI-9853 CAN module I noticed that an indicator was written with an unexpected value. The TRUE case was executed but output "CAN Err Byte" was set to 0:
Code was executed on a cRIO-9035 using LabVIEW 2020SP1. Code is attached in zip file:
04-15-2025 11:55 AM
Hello LucianM,
Have you tried adding a small delay before "updating" the indicator? I recall indicators being unreliable sometimes.
I'll try to replicate this soon.
04-16-2025 12:46 AM
@Messenger2 wrote:I recall indicators being unreliable sometimes.
I never heard about this and never had this issue but I tried with 1000us and 100ms delay and saw no changes. Indicator is still written with 0 instead of 1.
Thank you for looking into this!
04-16-2025 01:02 AM
I don't have FPGA, so I can't test, but it seems like a bug to me too.
Just an idea for a workaround: What happens if you insert a "Always Copy Function" after the constant?
04-16-2025 01:47 AM
There is no "Always Copy" in FPGA module:)