Closed VincentRuault closed 5 years ago
Hi @rtzoeller , In order to support customer, I looked at the code, below.
Only last error is passed and we execute all iterations of the For Loop. We could do 2 things:
Regards
Vincent
Addressed in Pull Request #38
Describe the bug On a recent Linux-64x bit chassis (NI-9040), when user has a NI-9214 module in his configuration, it takes 2 calls to "Auto-Detect" to have it listed in System-Explorer.
It has been seen by customer and I reproduced it wit following configuration: NI-9049 NI-9239 (Slot #1) NI-9214 (Slot #2) NI-9263 (slot #3) Empty (Slot #4)
To Reproduce Steps to reproduce the behavior:
NOTE: that steps 4-6 should be executed rapidly to reproduce the issue. Otherwise, we don't see it
Expected behavior It shouldn't take 2 calls to be listed.
Screenshots After first Call:
After second Call:
Desktop (please complete the following information):
Additional context In debug XML file: VeriStand_ECAT_Logfile.xml, module NI-9214 is listed. Then, I added a Debug information to VI called "Host - Get Local and ECAT Masters.vi" and I noticed the error 65700 is returned at first call. So, it would explain why it's not listed in SE at first call. I remember, we had to had a delay while deployment because some "slow" modules wouldn't be ready otherwise, symptoms look similar. If I don't execute steps 4-6 rapidly, the issue doesn't happen, as if module wasn't really yet when calling "Host - Get Local and ECAT Masters.vi". Following Link might be interesting: https://natinst.lightning.force.com/lightning/r/Knowledge__kav/ka00Z000001DsDEQA0/view