ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MAX Reports-Initialization Error, Editing Components missing?

Using a NI PXI-1042Q and an 4472B Daq card to capture data.  Running LabVIEW 8.2 on a Windows XP system.  The program controls an MID7604 which controls a motor.  Using a program that was written and is now an executable.  To run the program minor file related inputs are required, the motor moves to calibrate its' position, then a test piece is requested to be adjusted.  After the adjustment, file request information is acknowledged (location for data to be placed is ok'd). 
 
After pressing OK, the following error message is generated: 
[ ERROR-200428 occurred at DAQmx Start Task.vi, Possible reasons: Value passed to the Task/Channels In control is invalid.  The value must refer to a valid task or valid virtual channels, Then it identifies the Task Name: __________.] 
 
This of course refers to the Task/Channels IN input of the DAQmx Start Task.vi, which points to the task that was setup, not being setup properly or not there.  In our case, it was there and has somehow been removed.
 
When going to MAX and trying to setup a new Task:  Data Neighborhood --> Right Click --> Create New NI DAQmx Task,
the following message is generated:
 
!INITIALIZATION ERROR
Some components required for editing are missing.  Please contact National Instruments for more information. 
 
We have already viewed the NI-DAQmx Error-200428 message, and also tried the "How Do I Recover From MAX Database Corruption?" procedure, no change. 
 
Please respond. Thanks.
0 Kudos
Message 1 of 2
(3,503 Views)

Typically with an executable you only have the run-time versions and I don't think you can create a task with just the run-time. Somehow the hardware configuration has been corrupted. If you can find the original .nce file that was used on the development system, you can just import that I believe. Otherwise, you may have to install full versions of DAQmx.

The reliance of existing tasks in MAX is one reason that I avoid them and create everything in the LabVIEW program. Just one thing to keep in mind.

0 Kudos
Message 2 of 2
(3,496 Views)