LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I recover my daqmx examples if I accidentally modify them

Solved!
Go to solution

Hi! everyone,

How can I recover my daqmx example if I accidentally modify them?

Is there any website or resource I can download for daqmx examples?

 

Thank you all!

0 Kudos
Message 1 of 4
(1,622 Views)
Solution
Accepted by topic author AaBb01010209

If you don't have access to a PC with the same version of LabVIEW installed (and, ideally, under the same License as your PC), the surest way is simply to reinstall LabVIEW "on top of" the current installation (this is known as a "repair").  On the other hand, if the same version of LabVIEW, with the same license, is installed on multiple PCs to which you have access, you can simply copy the examples from the "unmodified" LabVIEW installation and overwrite the "modified" examples on your PC.

 

The "safe" way to modify your system is as follows:

  1. Open Control Panel.  If running Windows 10, you might have to go to the Start button and type Control Panel.
  2. Find "National Instruments Software", right-click, and choose the option to make changes (I don't remember exactly what it is called, but it should be obvious).  Note that you will need Admin privileges to do this.
  3. If you are running LabVIEW 2017 or later, this will open NIPM.  Don't panic -- this is expected.
  4. Notice that there is a "Repair" button near the top.  This is designed to go to Installation media (the Web, DVD, USB Key, or whatever Installation Medium you have with the original LabVIEW Distribution).  Since you don't really know "where the damage lies" (and it might not be obvious from the Packages that NIPM presents to you), I'd suggest selecting everything, then let the Repair take place.
  5. Note that this will take a long time.  NIPM has to first remove a Package, then replace it from the Distribution.
  6. When it finishes, reboot, and test your system.  
  7. In the future, when you open an Example VI, before doing anything else, save it to your Desktop under a different name and work only with the copy.

Bob Schor

Message 2 of 4
(1,611 Views)

Actually the DAQmx examples are NOT installed by a LabVIEW installation itself. They are part of a DAQmx installation. So reinstalling LabVIEW alone won't help. Also not that after reinstalling LabVIEW you also always should reinstall all drivers that you want to use in LabVIEW. Those installers add functionality to the detected LabVIEW installations but won't add support for LabVIEW installations that are occuring after the driver was installed.

 

If you happen to use the full development suite installer of LabVIEW with all its drivers (many GB of files) then DAQmx, and other drivers are included but that is not the standard installer that you download when accessing the LabVIEW download page.

 

Either you need to do a repair install of the DAQmx installation or a complete reinstallation of it.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 3 of 4
(1,551 Views)

Greatly appreciated for Bob_Schor and rolfk's help.

Thank you very much!

0 Kudos
Message 4 of 4
(1,477 Views)