LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI MAX corruption

Solved!
Go to solution

Whomsoever seeing this post, personally after seeing certain community post and with personal experience I have always seen that due to abrupt shutdown NI-MAX gets corrupted now one has to mainly reset the configuration, and one should either should rebuild the tasks that were created and for that case one should always keep the .nce files as a backup, but my concern is that this is still not a very robust solution so can we anyone tell me whether is there any other way where I can prevent NI-MAX corruption due to abrupt shutdown of system?

0 Kudos
Message 1 of 5
(243 Views)

Hi sesinfo,

 


@sesinfo wrote:

is there any other way where I can prevent NI-MAX corruption due to abrupt shutdown of system?


Yes: don't allow such "abrupt shutdowns"!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(237 Views)
Solution
Accepted by topic author sesinfo

I know this isn't exactly a solution but I generally avoid relying on tasks/scales that are defined in NI MAX and try to define all of those tasks in LabVIEW for this reason (among others). If you do that and NI-MAX gets corrupted then the only information that's lost is generally hardware aliases.

Message 3 of 5
(198 Views)
Solution
Accepted by topic author sesinfo

@Jacobson wrote:

I know this isn't exactly a solution but I generally avoid relying on tasks/scales that are defined in NI MAX and try to define all of those tasks in LabVIEW for this reason (among others). If you do that and NI-MAX gets corrupted then the only information that's lost is generally hardware aliases.


I go a step further and define the channels and tasks in a JSON file.  This makes it really easy for my application to adapt to a new MAX configuration.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 5
(194 Views)

I always configure DAQmx Tasks and associated configurations in the application when setting things up. This ensures no additional work in replicating the application across test systems.

 

Of course, the alias must be properly configured in NI MAX.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 5 of 5
(172 Views)