06-11-2009 04:02 PM
Hi,
We have been using the import *.ini file feature to import tasks and channels. We have been using this feature since version 8.3. Imports using versions 8.9 or 8.8 stop with the following error:
Task references a local channel that does not exist in this task.
This is followed by a channel name and task name that is different for every attempt.
The error only happens on systems that are attached to actual hardware. When I do the import on a system that has simulated hardware set up, the import works fine.
The latest version which I know works is DAQMx 8.6.1. However if I downgrade then I will also have to downgrade my LabVIEW installations to 8.5
Thanks for any advice.
Michael
06-12-2009 01:02 AM
Hi Michael,
Thanks for the post and I hope your well today.
I have seen this issue before, and I think it is a CAR (Corrective Action Request). I believe the solution is to remove a/few lines from the file. I am going to be in the UK Office in a bit, and I will look this up for you and post back later today. Sorry I couldn't be any more helpful right now! (It's only 7AM at the moment).
Speak soon,
06-12-2009 02:29 AM
Hi Michael,
This import worked for under DAQmx 8.8. (DAQmx 8.8.0f2)
What versions of MAX and DAQmx (including updates) are you using? You can find this information by going to Help>>About for MAX, and under the software tab, locate DAQmx and look at the version information on the right hand screen.
I am using version MAX 4.5.1f1.
Please let me know,
06-15-2009 10:48 AM
Hello James,
Thanks for the quick response. I was mistaken when I thought that the DAQMx 8.8 was also broken because I did not remove all of the components that the DAQmx 8.9 distribution installed. So my test used a mix of versions :(. I'll let you know what happens once I have a clean 8.8 install
Thanks
Michael
06-15-2009 10:49 AM
06-15-2009 11:07 AM
Hi Michael,
Thanks for the reply.
That sounds like a good plan.
Please let me know how you get on and if I can help at all.
06-15-2009 12:39 PM
Hello James
Installing the 8.8 distribution gave me the same version of Measurement Explorer 4.5 0f0. The program still does not import the tasks and channels file. In addition, the program gives me a <no exportable data > error when I attempt to export some tasks that I entered by hand. It looks like you have a new build. Do you know where I can get a copy?
Michael
06-15-2009 02:32 PM
Hi Michael,
Good Evening and I hope your well today.
Thanks for your prompt reply and update.
The latest driver I have installed (that I can remember) is the NI-RIO 3.1.1. I know this has at least MAX 4.5.1 so you can try that! You don't actually have to install the RIO part, in the Features view, just select to install the MAX option!
NI RIO 3.1.1 Link to Download:
http://joule.ni.com/nidu/cds/view/p/id/1289/lang/en
I think the as this is a patch/update of 3.1.0 it will contain the 4.5.1.f1 - but I can't confirm.
Try this and let me know! I really want to help.... remember the kudos 🙂
06-15-2009 03:58 PM
Hello James,
Version 4.5.1f1 has the same failure for imports. The export function has improved somewhat in that it displays the serial and parallel interface rather than the "nothing to export" message I got earlier. However the export is missing the DAQmx devices as well as the tasks that I defined.
I think that this bug is due to the hardware configuration I am using because the import works just fine for systems with simulated hardware and it works for you. Since I cannot export a configuration I have attached a snapshot of what my hardware and tasks.
Thanks
Michael
06-16-2009 03:55 AM
Hi Michael,
Good Morning and I hope your well today.
So could you not install the ini file and then attach your hardware?
Have you tried removing the problem device from the export and then does it work?
Are you exporting and import to files created in the same version of DAQmx?
I have found there is a known issue for DAQmx 8.9 - the test instructions actually say to delete the device from the INPUT FILE, so not from your import wizard in MAX. And indeed, if you delete the whole device section from the ini file, LV will let you import your ini cfg file.
It seems 8.8 solved a fair few issues - so I would make sure your using this version.
The error says,
Remove the reference to the missing local channel or create the local channel.
Task Name: SPEC SG COL TOP
Property: Channels
Channel Name: SPEC SG COL TOP/1-SG-C-F-24
So try to remove this and see if it works?