Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Device identifier is invalid error 200220

596 views
Skip to first unread message

GeorgeB

unread,
Dec 30, 2005, 7:40:10 PM12/30/05
to
I developed a program on one computer using LabView 8, DAQmx 8 and a USB-6008 device. It worked fine at my desk. Then I save the program as a project sent it acroos the street to our shop, took the device over there plugged it in and tried to run the program. I got a 200220 Device identifier is invalid error. When I pull up MAX I can see the device and if I build a tsk on that computer for that device it runs fine but it will not run the program that I brought over from my desk computer. Any Idea what I'm doing wrong?
 
TIA
George

Tom W [DE]

unread,
Jan 2, 2006, 9:41:31 PM1/2/06
to
Hi George-
 
Does the device name in MAX on the deployment system match that of the development system exactly?  They must both be "Dev1" or whatever is appropriate.  If so, are you creating that tasks/channels programmatically or within the MAX interface?  A portion of your code would be helpful to look at.  If you can get screenshots of the NI-DAQmx Devices and Data Neighborhood trees from MAX that would also help.

GeorgeB

unread,
Jan 3, 2006, 11:11:02 AM1/3/06
to
Bingo!
My development computer has another (virtual) device on it that I put there to train with while I was waiting for my USB device to be delivered. So the USB-6008 was Dev2 on my development computer and Dev1 on my deployment computer.
Makes perfect sense now that you pointed it out to me.:smileysurprised: Thanks Tom!!
 
George

Tom W [DE]

unread,
Jan 3, 2006, 11:41:06 AM1/3/06
to
Hi George-
I'm glad I could help out- it's always the little things that create snags in your projects.  Let us know if you run into anything else:smileyhappy:

mbhatti2000

unread,
Jan 17, 2006, 5:40:52 AM1/17/06
to
Dear Tom and Geroge ,
I am having the same problem but the only differnce is that I am new to
Labview, I am using some examples from "Hardware I/P and O/P> DAQmx"
they give me the same error. I am using PXI-6259(M-series). How can I
remove this problem and communicate with the device.
I read Tom's answer but was unable to understand.
Tom's Reply:

1)What is the Development system. How can I know if both are Device1 or whatever is appropriate.
2)I am using examples for LABVIEW.

Thank you ,
Sincerely
Munir Afzal Bhatti

GeorgeB

unread,
Jan 17, 2006, 12:11:09 PM1/17/06
to
Munir,
I'm sure some of the other can better answer your question as I too am a LabView newbie, but I'll tell you what I know.
1)What is the Development system. How can I know if both are Device1 or whatever is appropriate. My development system was my desk computer, I used another PC out in the shop as a deployment computer to attach my DAQ device and run my program.

2)I am using examples for LABVIEW.
The examples are code that someone wrote on another machine so the device that they specify might not be the same as the one on your machine.
In my case my USB device that I was using as my DAQ was named Dev2 on the computer at my desk that I wrote the program on. However when I took the DAQ device down to the computer in my shop to run the program it was named Dev1 because there were no other devices on that computer. There was no Dev2 on the shop computer so when I tried to run the code it crashed as it could not find a Dev2 to get the data signals from.
Tom's request of "If you can get screenshots of the NI-DAQmx Devices and Data Neighborhood trees from MAX that would also help." would be a good place for you to start.
 
I hope this helps
 
George

Perfluorine

unread,
Jan 17, 2006, 8:41:12 PM1/17/06
to
My lab computer had a failed hard drive so I had to get a new hard drive.  When Labview was installed, I copied a backup on an old file onto the new hard drive and tried run it through Labview (the computer is the very same one the program ws written on, only difference being a new hard drive). There are two DAQ devices on this computer one for voltage one for current.  When I opened the devices in block diagram and tested them, I got the 200220 error on both as well as 200477 error.  I was wondering if I had to define the devices in a specific way ie device 1=voltage device 2=current or something like that.  If possible, would someone direct me to a easily understood solution/source of solution (I'm a new user).
 
Thanks.
 
Sincerely yours,
 
Hang Yu

mbhatti2000

unread,
Jan 18, 2006, 8:41:16 AM1/18/06
to
Hi George,

1)Thanx a lot for ur answer, I want to know how can I change the order of the devices, From Dev1 to Dev2 and vice versa?
2)I am sending u a pic. of the screen shot,  the max. shows the
card the chassis , but how can I assign a channel, in the examples I
use, as whe i try to make a channel i get the message , no supported
devices found.

Can u give any suggestion on what I should do?
Thank u
Munir

GeorgeB

unread,
Jan 18, 2006, 11:11:22 AM1/18/06
to
Munir
 
1)Thanx a lot for ur answer, I want to know how can I change the order of the devices, From Dev1 to Dev2 and vice versa?You can change the name in MAX by right clicking the device and choosing "Rename"
 

2)I am sending u a pic. of the screen shot,  the max. shows the card the chassis , but how can I assign a channel, in the examples I use, as whe i try to make a channel i get the message , no supported devices found.
The pic didn't show up
 
George

mbhatti2000

unread,
Jan 18, 2006, 12:41:24 PM1/18/06
to
Thank u George  once again,  sorry  that i  did not
attach the pic, i am attaching it now , so I cannot a create a physical
channel altough the device is showing on my max tree.
Thanks once again.


New Picture.JPG:
http://forums.ni.com/attachments/ni/250/18579/1/New Picture.JPG

Thaison V

unread,
Jan 18, 2006, 5:12:08 PM1/18/06
to
Hi Hang,

You will want to check in Measurement & Automation Explorer (MAX)
to see what your two DAQ devices are named.  You should be able to
find your two cards listed under Devices And Interfaces, then NI-DAQmx
devices.  They are most likely named something like "Dev1" and
"Dev2".  Make sure that in your LabVIEW VI, that the device names
you are using match up to how they are listed in MAX (ie for the part
of your VI that addresses your voltage card, make sure it matches the
name given in MAX to the voltage card).

Thaison V

Perfluorine

unread,
Jan 18, 2006, 7:41:27 PM1/18/06
to
Thaison,
 
  Thank you for sharing your knowledge.  I am currently trying to assign the device names, but I'm lost again (sucks to be a newbie).  When I went into measurement & automation>> devices and interfaces, there were two options I had: Traditional  Daq devices and PXI.  In the traditional section, there were two cards shown.  In the PXI section, there are Bus 0 and Bus 1 wich two cards shown in Bus 1.  I identified teh pxi as external controller since it's connected to a pc,  and renamed the two cards Dev1 and Dev2.  I am not sure how to assign chassis etc, and it's still not working....  Anyways, if anyone has anymore suggestions to help out a newbie it would be greatly appreciated.
 
Thanks.
 
Hang

Thaison V

unread,
Jan 18, 2006, 7:41:28 PM1/18/06
to
Hang,

It sounds like you are using the Traditional Drivers.  It would be
helpful if you could share what version of the NI-DAQmx or Traditional
NI-DAQ drivers you are using, as well as the model numbers for the two
boards.  From here, we may be able to direct you on how to name
your boards appropriately.

Thaison V

Perfluorine

unread,
Jan 18, 2006, 7:41:28 PM1/18/06
to
Thaison,
  Thanks again.  I am using NI's DI-DAQ software for Windows version 6.9.3
   My boards are PCI-6013 cards with party number 188626D-02.  I believe two boards are identical, both are for multi-purpose usage. 
  In addition, I was wondering what does it mean when no GPIB interface is present.
  Please let me know if anything information is missing.
 
hang

Thaison V

unread,
Jan 19, 2006, 6:11:26 PM1/19/06
to
Hang,

You shouldn't have to worry about the GPIB or PXI entries under Devices
and Interfaces.  GPIB is an interface that you can use to
communicate with set-top instruments such as a scope or digital
multimeter, but it won't have anything to do with your 6013
cards.  Since your cards are PCI versions, you don't need to be
concerned about the PXI entry either.

To check your current device number assignments in MAX, you will want
to look under Devices and Interfaces, then Traditional NI-DAQ
Devices.  You will probably see something like PCI-6013E (Device
1) and then PCI-6013E (Device 2).  You will want to make sure that
these device numbers you have in MAX match up with the device numbers
you have in your LabVIEW VI.  If you need help with figuring out
your LabVIEW VI, take a look at the manual for the Traditional NI-DAQ
drivers here:
http://digital.ni.com/manuals.nsf/websearch/74E3CF846234B47E86256CB7005DF156
One tip I would also have is to turn on your Context Help in LabVIEW
(Help>>Show Context Help), as it will give you overviews of the
functions you have your mouse over.

Thaison V

0 new messages