LabVIEW Idea Exchange

About LabVIEW Idea Exchange

Have a LabVIEW Idea?

  1. Browse by label or search in the LabVIEW Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see in a future version of LabVIEW!
Showing results for 
Search instead for 
Did you mean: 
0 Kudos

Change uninstall script for OS X

Status: Declined
Moved to CAR database: CAR 467281



I have some suggestions for the script that comes with the OS X installer:


1) Copy it on installation into the main LabView application folder so that users don't need to find (or redownload, in my case) the original installer just to remove a seven-day evaluation copy (grrrr....).


2) Lines 85-88 need modification. They read:


[from the file]

echo "pid=\$( ps -axww | grep nisvcloc | grep -v grep | awk '{print \$2}')"
echo "if [ \$pid ]; then"
echo "sudo kill -6 $pid"
echo "fi"


When I ran the script, the $pid was omitted in the screen output:


[from the screen output of]

pid=$( ps -axww | grep nisvcloc | grep -v grep | awk '{print $2}')

if [ $pid ]; then

sudo kill -6 



It looks like the "$" should be changed to "\$' on line 87:


[Corrected line 87 for the file]

echo "sudo kill -6 \$pid"


3) For my OS, there is an error in both the documentation lines 85-88 and the associated code on lines 189-193: the process ID is associated with the first variable of the grep expression, not the second. The second variable returns the TTY for the process, which for nisvcloc is given as "??".


[from the file]

echo "Stopping the NI Service Locator..."
pid=$( ps -axww | grep nisvcloc | grep -v grep | awk '{print $2}')
if [ $pid ]; then
sudo kill -6 $pid


[from the screen output of]

Stopping the NI Service Locator...

kill: illegal process id: ??


[Corrected line 190 for the file]

pid=$( ps -axww | grep nisvcloc | grep -v grep | awk '{print $1}')


[Corrected line 85 for the file]

echo "pid=\$( ps -axww | grep nisvcloc | grep -v grep | awk '{print \$1}')"


Continuing the previous post (sigh...):


4)  Put directions for uninstalling NI-VISA and NI-488.2 where you say they should be:


[from the screen output of]

How to remove NI-VISA: 


Follow the directions located at:

/Applications/National Instruments/NI-VISA/Uninstall.txt


How to remove NI-488.2: 


Follow the directions located at:

/Applications/National Instruments/NI-488.2/Uninstall.txt


Perhaps the uninstaller did all of this for me and deleted those files, but it doesn't look like it. The NI-488.2 and NI-VISA directories still have applications in them.



And finally....


It would be helpful to have a complete, easily accessible list of the OSX system files that are installed with LabView. left loads of LabView-related files in my /Library directory, and while I could identify most of them as part of LabView, I am wary of deleting ones that I'm not sure about.


For example, does anyone know if the following directory is part of LabView? A google search doesn't turn up anything conclusive.




Proven Zealot

This idea has been moved to CAR 467281. Thank you for reporting this.

Proven Zealot
Status changed to: Declined
Moved to CAR database: CAR 467281
DNatt, NI



Thank you so much for trying out LabVIEW on Mac. In LabVIEW 2014 we are making several improvements to the Uninstall process. I've routed the issues you mentioned to our new Mac installer developer (who has been making terrific improvements).


Issue #1 has definitely been resolved in 2014 (see if you can get on the 2014 beta,


We'll evaluate the other issues and see if we can get improvements in 2014 for those.


I really appreaciate your feedback.

Active Participant

CAR 467281 discussed in this thread was fixed in  LabVIEW 2014.  For a more complete list of bugs fixed in LabVIEW 2014, check the LabVIEW 2014 Bug Fixes. You can download an evaluation copy of LabVIEW 2014 at or if you have an earlier version of LabVIEW installed and an active SSP subscription, you will be able to download the latest version of LabVIEW through NI Update Service.




Jeff Peacock 


Product Support Engineer | LabVIEW R&D | National Instruments | Certified LabVIEW Architect