LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.nce file

Hello,

 

I am unable to open up a .nce file in MAX. I am getting the following error. I am having MAX 4.5 and the .nce file was exported on another computer. Here is the error.

 

Importing...
========
NI-VISA 4.2:
General Settings
VISA Alias (COM3)
VISA Alias (LPT1)
Port Settings
Port Settings
VISA Server
Security

NI-DAQmx 8.6:
Dev2
SCB-68/Dev2/0
Dev1
actual speed
Speed actual
-200918
Measurements: Global channel name specified is already used for a task in the Data Neighborhood. NI-DAQmx does not support overlapping task and global channel names.

Select a different name.
Channel Name: HOOTER
*** Import FAILED ***
NI-DAQmx 8.6: error code 0x80004005

 

Any suggestions please?

 

Adios

0 Kudos
Message 1 of 4
(2,922 Views)

Hi Adios,


Thanks for the post and I hope your well.

 

I beleive this is a known issue, Local channel name and task name must be different in NI-DAQmx.Only workaround is to back to the original computer rename all of the channels so that they

do not match the task name.

 

Does this help?

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 2 of 4
(2,900 Views)

Hello Hillman,

 

What if the file was created in one system and that system has crashed / not available currently. Any other work around for that?

 

 

0 Kudos
Message 3 of 4
(2,887 Views)

Hi Pavan (& Adios),

 

Thanks for the post and I hope your well today.

 

I am afraid I have bad news - CAR - Corrective Action Request - #119034 has been throughly investigated and a fixed has been submitted (to be included in a future release). It appears the only workaround is the above previously mentioned. The restriction should only apply to global channels.

 

Here is all the information I have, 

 

In DAQmx 8.7.1, you cannot rename a local channel name to be the same as the task name.  Doing so gives error 200918: "Measurements: Global channel name specified is already used for a task in the Data Neighborhood.  NI-DAQmx does not support overlapping task and global channel names." The error is seen when you try to save the task after changing the channel name. Note that no global channel is or was previously created, but it is the local channel that has been renamed. There are other ways to get the same error, but in these other cases a different error message is seen that offers no suggestion to the cause.

This issue was seen by two different customers who were trying to import a .nce MAX configuration file from a previous of DAQmx.  In previous version of DAQmx you could name the channel the same as the task name.  If you then try and import a configuration file from a previous version of DAQmx that has channel names that match task names the error is seen.   This was a major headache for a customer that had 20+ tasks with channel names that match task names.

 

There are two ways to reproduce the error, though only one of them gives the error number and error description mentioned in the problem details.

FIRST METHOD:
1. Open MAX and create a new NI-DAQmx analog input voltage Task.
2. On the configuration tab, right-click on channel name (the default is Voltage) and select rename.  Rename the channel name to be the exact same as the Task name.  Make sure that the case (capitalized, etx..) match.
3. Click save.
4. Dialog appears, click no to see error
5. error 200918 is seen with description mentioned in problem details

SECOND METHOD:
1. Open MAX and create a new NI-DAQmx analog input voltage Task.
2. Right-click on Task name and select Rename
3. Rename it to be the same name as the channel
4. A vague error message is displayed which gives little detail about what the error actually is.

Only workaround was for the customer to go back to the original computer with the older version of DAQmx and rename all of the channels so that they did not match the task names.

 

As this is a name confliced in the I/O I honestly can't see a way around this. For more support please contact your local support office, 

 

Sorry I couldnt help anymore.

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
Message 4 of 4
(2,877 Views)