07-22-2009 03:54 AM
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
07-22-2009 06:42 AM
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.
07-22-2009 07:12 AM
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
07-22-2009 07:21 AM
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.
07-24-2009 04:51 AM - edited 07-24-2009 04:53 AM
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