05-31-2023 09:32 AM
I'm facing a problem running the installation of ni-daqmx-runtime-core using the following batch script which is run as administrator:
start /wait NIPackageManager23.0.0.exe --prevent-reboot
"c:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-daqmx-runtime-core --accept-eulas -y
It works fine on my virtual machine, but is does NOT work on my local machine, stating the following error message "Unable to locate package 'ni-daqmx-runtime-core' with a compatible version and architecture". Both machines are 64 bit system and use Windows 10, version 22H2. I already tried to specify the package version to ni-daqmx-runtime-core_23.0.0.49366-0+f214_windows_x64 (using the following line "install ni-daqmx-runtime-core:windows_x64_23.0.0.49366-0+f214"), but it did not solve the problem. Additionaly I tried using PackageManager version 23.3.0, but this also did not work out.
I would be pleased to receive any help.
Solved! Go to Solution.
06-01-2023 06:10 AM
Problem occurs only when using an online installation, using a local package feed works. When going to the online feed's url https://download.ni.com/support/nipkg/products/ni-package-manager/released there are no packages found. Anyone an idea whether the package url has changed or some other advice.
06-01-2023 02:57 PM
Rafael, when you are trying to use "online feed", I assume you are trying to connect to a ni.com feed, and if so, did you register an ni.com feed that has that package?
Example:
nipkg.exe feed-add --name=mydaquri https://download.ni.com/support/nipkg/products/ni-d/ni-daqmx/23.0/released
nipkg.exe update
06-02-2023 05:50 AM
Hi Scott,
I very much appreciate your advice, it helped me to resolve the issue.
Best regards
Rafael