ni / niveristand-scan-engine-ethercat-custom-device

Provides NI Scan Engine, EtherCAT and Remote IO support for NI VeriStand
MIT License
16 stars 22 forks source link

Auto Detect Module 2024 Q1 #267

Open Alessandro99 opened 3 months ago

Alessandro99 commented 3 months ago

When using the 24.5.0 release of this Custom Device with VeriStand 2024 Q1, the Auto-Detect button launches a VI that shows as broken. When clicking the broken run arrow, the indication is that nNIBlueBus_nCrioFixed_nRefnum.dll cannot be loaded.

221994944-10eace2b-ae28-4a61-a172-de7ad04b46fd

To Reproduce

  1. Create an instance of the Custom Device using VS 2024 Q1
  2. Click Auto-Detect Modules from the main page

Workaround

Navigate to: "C:\Program Files\NI\LVAddons\crio64\1\resource", copy the nNIBlueBus_nCrioFixed_nRefnum.dll (dimension 332kB). Paste it in substitution of nNIBlueBus_nCrioFixed_nRefnum.dll (dimension 257kB) in C:\Program Files (x86)\National Instruments\Shared\LabVIEW Run-Time\2022.

Restart Veristand, try to Auto Detect module another time and check in the folder C:\Users\Public\Documents\National Instruments\NI VeriStand 2024\Custom Devices\Scan Engine\Applications\data there is nNIBlueBus_nCrioFixed_nRefnum.dll (dimension 332kB).

Screenshots Cattura

This VI generates path of LV2022 that contains an older version of nNIBlueBus_nCrioFixed_nRefnum.dll

Cattura1

Cattura2