LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error "Device identifier is invalid" USB-6501???

Solved!
Go to solution

HI Smiley Happy


When i run the script "USB-6501 Interactive Control.llb", i have this error  "Device identifier is invalid"?
If you know another script that drives the "USB-6501" to check its lines,  please help me?

Best regards       Smiley Happy

0 Kudos
Message 1 of 11
(4,195 Views)

@USRP wrote:

When i run the script "USB-6501 Interactive Control.llb", i have this error  "Device identifier is invalid"?

If you know another script that drives the "USB-6501" to check its lines,  please help me?


This makes no sense..!! Share your code or screenshot..!!


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 2 of 11
(4,192 Views)

Its a NI code (attached file)

0 Kudos
Message 3 of 11
(4,185 Views)

@USRP wrote:

When i run the script "USB-6501 Interactive Control.llb", i have this error  "Device identifier is invalid"?


What do you mean by When i run the script "USB-6501 Interactive Control.llb"...???

 

--> Do you've USB 6501 listed in MAX, as shown in the picture below...???

 

USB 6501 available

 

--> Are you using correct string identifier as device name...???

 

Is device identifier correct


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 4 of 11
(4,179 Views)

image.PNGimage2.PNG

Download All
0 Kudos
Message 5 of 11
(4,171 Views)

Ohh I see..!! Its debug time now...!!

 

Enable Automatic Error Handling:

 

Enable Automatic Error Handling

 

Run the code, let the code come back with the exact location, where error is occurring..!!


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 6 of 11
(4,166 Views)

I did Enable Automatic Error Handling

I have the same error!!!

0 Kudos
Message 7 of 11
(4,160 Views)

Then probably you may need to manually dig down and probe, where exactly this error is occurring...!!

Mean while you can also run a Self Test on that device (from MAX).

 

Edited: Also try to write a small code (or use shipped example) to see if, you're able to use available channels (AI, AO, DI, DO) on this card.

You can probably use DAQ Assistant OR even test panels from MAX.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 8 of 11
(4,144 Views)

I use also this NI code "

I have no error, But it activates  all lines (8 lines/ port) simultaneously;  I want just to activate one line in the port.?

 

The script:

0 Kudos
Message 9 of 11
(4,141 Views)
Solution
Accepted by topic author USRP

Right now I don't have time to look into the example code, that you provided...!!

But why don't you use DAQmx functions OR DAQ Assistant to write a code with whatever functionality you need...??


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 10 of 11
(4,129 Views)