LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Updating Labview created application

I hired a company to build me a data collection program. When attempting to insall the .nipkg updates I receive the error (picture) 

 

One or more erros occurred while parsing command line arguments:

 

Unkown commad:

C:Users\mattL\Downloads\st-data-collection-app-1.0.0.23-windows-all.npikg

 

Like I said I hired a company to work on this and they are unsure why this is occuring, especially since this is only happening on 1 pc.

 

Help?

0 Kudos
Message 1 of 13
(1,257 Views)

I've never seen it before, but i'd try 3 things:

Move the nipkg to a 'neutral' folder, like c:\temp and try from there.

Start NIPM in elevated admin mode

Repair NIPM.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 13
(1,225 Views)

Matt, when you double click or use Open menu on a .nipkg file, the OS should be using a file extension association that NIPM created that passes the "install" command followed by the package path. So when I do this on my system and look at Task Mgr, I see the following:

Scott_Richardson_0-1679501749807.png

From the error you attached to your message, I think the "install" command is not being passed.

 

You could try to just manually install the package in a command prompt by passing the path to your package as shown below:

"C:\Program Files\National Instruments\NI Package Manager\NIPackageManager.exe" install "C:Users\mattL\Downloads\st-data-collection-app-1.0.0.23-windows-all.npikg"

 

I do not know if the nipkg file is in a locked state after download and I being locked should not impact NIPM, but that might be something to look at and to use Properties from Explorer to unlock the file.

Scott Richardson
https://testeract.com
0 Kudos
Message 3 of 13
(1,204 Views)

It might be that you don't have a license (registered with NI) that says you are entitled to NIPM updates.  I could imagine, for example, if the software was written in LabVIEW 2021, and LabVIEW Updates were enabled in the build you are running, then this could very well happen.  NI's (and its users') experience with the new "Subscription Model" for NI Software is a "work in progress" ...

 

Bob Schor

0 Kudos
Message 4 of 13
(1,181 Views)

Scott,

 

I attemepted the command and would see NIPM appear on the deatails list of Task Mgr, but that would immediatly disappear and nothing would happen. I dug a little deeper to see if this is locked but it I'm not finding any indication that it's locked.

0 Kudos
Message 5 of 13
(1,177 Views)

I've attempted the first 2 with no success. For the 3rd I'm trying to find a way to repair the program but am not finding anywhere to do this.

0 Kudos
Message 6 of 13
(1,176 Views)

Bob,

 

Is there a way to verify this that you know of?

0 Kudos
Message 7 of 13
(1,175 Views)

I attempted the command and would see NIPM appear on the details list of Task Mgr, but that would immediately disappear and nothing would happen. I dug a little deeper to see if this is locked but it I'm not finding any indication that it's locked.


  1. Without using the install command above, can you launch NIPM manually and does the OS display an elevation prompt?
  2. When you performed the above install command, was the command-prompt already elevated, or if not, did you get an OS elevation prompt?
  3. When you performed the above install command, did you get any splash screen, or as you said, it just went away?
  4. Can you restart your system and try the above to see if you get different results?
  5. If (3) is not displaying anything, can you see if the Windows Event Viewer lists any NIPM related critical or error events under the Applications area?

 

Scott Richardson
https://testeract.com
0 Kudos
Message 8 of 13
(1,156 Views)

1. No after the initial elevation prompt, I have not had another prompt

2. It was already elivated

3. There was no splash screen, it only showed in Task Mgr that the application began running then almost immediatly disappeared

4. I've tried this a few times and am still getting the same results

5. this is the alarm code I'm recieving in Event Viewer (below)

 

 

0 Kudos
Message 9 of 13
(1,147 Views)

Here is an additional error code, I tried unistalling and reinstalling the application to see if there was any difference with these, still with no success.

 

0 Kudos
Message 10 of 13
(1,143 Views)