LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

"Retrieve Serial Number with NiDaqMx base"

I have this configuration:

LabWindows 7.0
NiDaqMx base 1.4
NI USB-6009 (or NI USB-6008)

How can I retrieve the Serial Number of the USB device?

Thanks in advance for your replay

Luca
0 Kudos
Message 1 of 5
(3,432 Views)
Hi, take a look at this example, I believe it performs what you need.

Serial Number of USB Devices with NI-DAQmx Base


Let me know.
Ciao

NicolaC
National Instruments
0 Kudos
Message 2 of 5
(3,414 Views)
SORRY!!! I posted a LV example!!
I don't know if you have the opportunity of taking a look at it an develop the same on LW...

I'm working on it.. will post something for LW in a few time...

ciao.

Nicola.
0 Kudos
Message 3 of 5
(3,412 Views)
Hi,
I'm posting a simple example that detects s/n of a USB device.
It just uses VISA function to detect the first configurated USB resource and its serial number.

VISA functions describe USB device following this scheme:
USB[board]::vendor id:: product id::serial number[::interface number][::INSTR]
(for example USB0::0x3923::0x717B::00E07079::RAW)

Tell me if it suits your needs (or at least if it helps you! 😉

Regards

NicolaC.
National Instruments
0 Kudos
Message 4 of 5
(3,407 Views)
Thank you!!!
This is the solution to my problem.


"Nick_" <x@no.email> ha scritto nel messaggio news:201540@exchange.ni.com...
> Hi, <br>I'm posting a simple example that detects s/n of a USB
> device.<br>It just uses VISA function to detect the first configurated USB
> resource and its serial number.<br><br>VISA functions describe USB device
> following this scheme:<br>USB[board]::vendor id:: product id::<b>serial
> number</b>[::interface number][::INSTR]<br>(for example
> USB0::0x3923::0x717B::<b>00E07079</b>::RAW)<br><br>Tell me if it suits
> your needs (or at least if it helps you!
> ;-)<br><br>Regards<br><br>NicolaC.<br>National Instruments
>
>
> getSerial.zip:
> http://forums.ni.com/attachments/ni/180/15101/1/getSerial.zip


0 Kudos
Message 5 of 5
(3,397 Views)