Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

database corruption

Hi,

 

I am working on a PXI based project. I am using PXIe-8133 and have the following components- 5663,5673 and 5630. 

 

The MAX database(version 5.1) recently got corrupted due to  power cut and I had to do a database corruption removal. Once I did that, I noted the following changes- 

  • The Data neighborhood does not have anything under it, if I click  the plus sign, it vanishes.
  • The Logical Names under IVI Drivers behave same as the data Neighborhood. Do I need to create the names again?
  • I clicked on the Serial & Parallel under devices and Interfaces and I got the error attached in the post which, however I could not reproduce again. Is the database still corrupted?

Could someone please help me?

 

Thanks so much,

Sharmi

 

0 Kudos
Message 1 of 6
(4,337 Views)

Been through this issue one too many times myself.

 

So, you basically need to run the "Reset Configuration Data" tool from within MAX.

 

Restart the computer when MAX tells you to.

 

Open MAX after the computer restarts.

 

Max should go through the initial process of setting up the MAX database and also find hardware.

 

Your data neighborhood will more than likely be empty; this does not have an effect on the IVI store.

CLD | CTD
LabVIEW 2011 SP1 | TestStand 4.5
0 Kudos
Message 2 of 6
(4,314 Views)

Hi,

 

Thanks so much for the reply.

 

I already did a 'Reset Configuration Data' in MAX and after restarting my computer I found the Data Dictionary error once again on opening MAX. Thats why I asked if the database has been completely recovered or  I need to do something else.

 

Thanks,

Sharmi

0 Kudos
Message 3 of 6
(4,307 Views)

If using MAX 5.0 and above, the Reset Configuration tool should do it; however, here is the old school way to do it.

 

http://digital.ni.com/public.nsf/allkb/2C7480E856987FFF862573AE005AB0D9

 

I have used both and have had success with both routes.

 

CLD | CTD
LabVIEW 2011 SP1 | TestStand 4.5
0 Kudos
Message 4 of 6
(4,303 Views)

Hi,

 

Yes I did not follow the old way since I am using MAX 5.1

 

For the logical names creation if I create a new logical name say for the LO 5652 (associated with 5663), I do not know which driver session to associate with it. 

There are driver sessions for niFGen, ni5450 in the list, but no session for  5663 or 5673.
 
Could you please help me out with creating logical names and associating them to the devices?

 

I am following the steps from the site below to create the names–
http://www.ni.com/white-paper/4594/en


 
Thanks so much,
Sharmi

0 Kudos
Message 5 of 6
(4,301 Views)

I had a similar problem on my PXI running XP.

 

When you run MAX you should get two processes in the windows task manager: NIMax.exe and nimxs.exe. The first is the GUI application, the second the database backend which runs as a service.

 

As you would expect, the service is running as the SYSTEM user and the NIMax.exe is running as the user account however, I think this might cause some problems on some installations.

 

In order to solve this, I went into XP's Services Manager (enter services.msc in the run box/command prompt) and located the NI Configuration Manager. I then set this (under the login tab) to run the service as the user account and restarted the service. It might be possible to change other settings instead of changing the Log on account but I have not experimented with this.

 

Now when I open MAX, it is able to communicate with the database without problem.

 

 

Cheers

 

John

 

0 Kudos
Message 6 of 6
(4,221 Views)