LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem importing max configuration

I would like to import my device configuration file programatically with MAXcopy configuration.vi but when I use it an error appears.

 

 Here are the settings I entered:

 

 source: H:\TEST DEPT LABVIEW FUNCTION TESTER\Labview program\configData.nce

 

destination: system://192.168.4.124

 

 product:

 

replace mode: replace

 

error: code -2147220480

 

MAX Copy Configuration.vi<APPEND>

<b>Complete call chain:</b>
     MAX Copy Configuration.vi
     Initialize Max configuration.vi

 

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

If you navigate to Help > Explin Error... and put your error code in, it tells you that this error code relates to the file. Specifically, "Error opening a file".

 

Check your file path for errors, or try moving it to a simpler location for testing such as "H:\configData.nce", just to see if you can get that to work.

 

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 2 of 5
(3,720 Views)

Thank you, but when I checked the file path and tried a simpler location a new error occured and I don't know how to solve it.

 

Error -2147220444 occurred at an unidentified location

Possible reason(s):

(Hex 0x80040424) The operation failed because of unresolved conflicts requiring user input

 

Jean

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

jean,

 

I looks like you are trying to get the .nce off a network volume.  As a test, you might try moving .nce to same machine as your app is running on.

0 Kudos
Message 4 of 5
(3,706 Views)

Hi Yanndouglas,

 

Here is another work around for your problem. I hope this helps.

The error code is 2147220444 and says error occurred at MAX Copy Configuration.vi. Reason: the operation failed because of unresolved conflicts requiring user input.

The conflicts seem to be the warnings that appear when using the MAX import wizard when the imported file is going to overwrite an existing task.  So the Replace option only works on export.  On import the configuration has to be cleared.

A work around is to open MAX and pop up a dialog that explains how to clear the configuration.  The user can then click the import button on the dialog and import the desired configuration without errors.

I hope this helps.

Kind regards,

Prashant M
Applications Engineer
NI UK & Ireland

Message Edited by Prashant M on 07-24-2009 04:52 AM
Message Edited by Prashant M on 07-24-2009 04:53 AM
0 Kudos
Message 5 of 5
(3,677 Views)