LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I find a PXI serial number in code

I need to be able to write code to query the PXI boards on my system to find out the serial numbers. I am using LabVIEW 7.1. Is this possible?
0 Kudos
Message 1 of 4
(3,343 Views)
Try the attached VI.

It will give you the serial number, board type and device number.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 2 of 4
(3,343 Views)
Rob,

What type of devices are you using? The above steps work great if your device is classified as a DAQmx device. Please advise.

Logan S.
0 Kudos
Message 3 of 4
(3,343 Views)
Logan is correct. That VI will work only if your boards are supported by DAQmx.

So, attached is a Traditional DAQ version. It's not as elegant as the DAQmx version as you'll need to supply the device numbers or Task ID's, but this will give you same information.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 4 of 4
(3,343 Views)