LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MAX 4.5 corrupted by DAQmx 14.1 patial installation

Hi,

 

I am posting this on the LabVIEW board because I can't find one specifically related to MAX issues.

 

I have a machine with two oldish USB devices working with a LabVIEW 8.2 application, with DAQmx 8.7.  OS is Windows XP.  The software started throwing up errors, and MAX (v4.5) was struggling to connect to both devices.  I was seeing error -50405.  After some research it seems that there may be some issue with the USB connection.  There was also advice to install a newer version of DAQmx, as this may have better USB fault tolerance.

 

I downloaded & started to install the latest DAQmx, V14.1.  Part way through I relaised that this does not support LabVIEW 8.2, and I do not have the time or inclination just now to drag the code into V2014.  So I cancelled the DAXmx installation part way through.  Maybe this was a mistake.

 

I now cannot run MAX at all.  Part way through the initialisation it crashes, and Windows wants to investigate the error.  I assume that something from DAQmx 14.1 is incompatible with MAX 4.5.

 

I cannot uninstall DAQmx 14.1.  It does not appear in the list of PI software in the Control Panel - Add or Remove Software tool.  I have repaied DAQmx 8.7 several times, and MAX 4.5 as well.  I have trawled through the registry and the executable folder for MAX to manually remove anything I can find from 14.1. 

 

The LabVIEW tool still works, but I cannot start MAX.  I will need to fix this in the next few weeks as the sensor calibrations are handled through MAX. 

 

Any ideas?  What other information / log files would be useful to help diagnose this?  All information very gratefully received. 

 

Ian

0 Kudos
Message 1 of 5
(3,307 Views)

Try a forced reinstallation of the older DAQmx drivers: http://digital.ni.com/public.nsf/allkb/ADD22E807D5A12AD862579EC00760F79

 

Each version of DAQmx comes with a different version of MAX.  It's likely it started overwriting the version you had before you cancelled.

0 Kudos
Message 2 of 5
(3,279 Views)
0 Kudos
Message 3 of 5
(3,241 Views)

You can try repairing whatever DAQmx it thinks you have installed.  If it's the new one, then you uninstall it afterwards and then reinstall the old one.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 5
(3,214 Views)

Thanks all for your suggestions.  I had already tried Repairing various installations (DAXmx, MAX) with no change in behaviour. 

 

I tried the /reinstall option with DAQmx 8.7, but this did not fix the issue. 

 

I have tried to create a VI to save the configuration to an NCE file.  I get error -2147467263 Not Implemented with the Copy Config command, and when I tried the Make Report tool I get the same MAX error, so calls to the MAX API are also not working.

 

I am concerned about using the Repair Database tool as I don't wat to risk losing the calibrations just now.

 

Does anyone know where MAX stores the calibration data, and if this can be recovered manually?

 

I am now re-installing DAQmx 14.1, so I can then fully uninstall it, and hope that it will fully remove itself from the system.  If nothing else I might get a newer verison of MAX so that I can backup all the system settings before attempting anything more drastic.

 

Thanks again, and any more ideas will be gratefully received.

Ian

0 Kudos
Message 5 of 5
(3,127 Views)