11-02-2022 06:39 PM
Hi,
My application looks for connected devices to the PC at the start of the application and it works fine on the development and the non development PCs. However, there is one case where it stopped working which is when I deployed the same application on a user's non development PC that is running Windows 11 and the application gave an error: -2147220616. nisyscfg.lvlib:Find Systems.vi 1750001
Error -2147220364, when trying to connect to RT target with (similar) example code on NI's website (Programmatically Change Network Settings for Linux RT CompactRIO Targets)
And RAD tool would not find connected devices even though I can see connected device's IP with CMD---> arp -a. Trying to "Add Target" by entering IP causes RAD tool to enter a frozen state.
I have drivers and runtime engine installed, installer package takes care of all that. However, going to "Services" app in windows, NI RIO Server is set to manual start and is not running,
trying start the service windows give me Error 1068: Dependency Service Failed to Start. My guess is that the issues that I am experiencing are Windows 11 related but it is affecting an application developed on LabVIEW 2019.
Any suggestions on how to troubleshoot this? Please note that same issues could not be reproduced on a Windows 10 PC but is reproducible on a Windows 11 PC. For code please refer to hyperlink for NI example code.
I would be in a bad place if I have to recommend customer to install Windows 10 on their PC.
Any help is appreciated.
11-05-2022 05:55 PM
Made it work but not in a desired way. Below is what I tried:
1) Uninstalled my application and everything NI/LabVIEW related
2) Deleted Registry linked with anything NI
3) Made sure no traces are left from previous install
4) Re-installed my application with my application installer (as usual)
5) Still did not work
One factor I know for sure is that it was the NI RIO Server service that appeared to have been corrupted somehow and it was not working/starting up.
Re-installed Windows 11, installed my application, problem solved.
Just in case someone needs this information.