LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

query PXI modules for serial number

I am running LabVIEW 7.1.1 on Win XP Pro. We have a PXI-8196 with 4 NiDAQmx devices (PXI-6513, PXI-6542, PXI-2569, PXI-6511) and one legacy module: PXI-4060.
When the LabVIEW program starts, as part of the initialization we want to query the chassis and match the module's serial numbers against a list on file. This info is available in MAX and I figure that there is probably some way to get it exsposed programmatically.
Thanx
lmd2
Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 1 of 18
(3,398 Views)
Hi,
 
The attached VI will do the Serial Number query of the modules using LabVIEW.
 
Regards
Dev
 
Message 2 of 18
(3,388 Views)
Hi,
 
The attached VI will do the Serial Number query of the modules using LabVIEW.
 
Regards
Dev
 
Message 3 of 18
(3,389 Views)
thanx for the VI, it works great for what it sees,
the PXI_ 6513, 2569, & 6511 are all showing up.
However for some reason the PXI-6542 hsDIO isn't showing up, and neither is the legacy PXI-4060.
I was afraid that the 4060 would not, but am surprised about the 6542.
Is there a more generalized Property that may see the other mods?
Either way, this is a good start, thanks for your help.
- lmd2
Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 4 of 18
(3,384 Views)

Hello,

PXI-4060 (DMM), PXI-6542 can be detected using NI ModInst driver.

Attached VI should help you to find the Modular Instruments products (HSDIO,DMM).

There is also an excellent knowledge base on this:

http://digital.ni.com/public.nsf/websearch/8532AFF2C7E14F5E86256FEA003E202F?OpenDocument

Let me know if this helps.

Kalyan

Kalyanramu Vemishetty
Automated Test Systems Engineer
National Instruments
0 Kudos
Message 5 of 18
(3,372 Views)

Hi Kalyanramu, and IMD2

Previously when i had used Modinst, i it would only query NISCOPE and not detect HSDIO.

LabVIEW 7.1, NIDAQ 7.3( i guess)

I have not tried it with recent NIDAQ versions.

Kindly tell if it works for HSDIO with current NIDAQ

regards

Dev

 

0 Kudos
Message 6 of 18
(3,361 Views)
thanx Kalyan
just ran it -
the DMM was queried successfully, however it is not seeing the hsDIO 6542
I read in the article that originally only the scope was supported, could it be that the 6542 isn't yet, but may be down the road?
Otherwise I am missing something but ...
I am getting there, I am now reading 5 out of 6
thanx for your help
lmd2
Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 7 of 18
(3,307 Views)

Hey lmd2.  NI-HSDIO 1.4 contains support for NI-ModInst.  NI-Scope was the first Modular Instruments driver to ship with NI-ModInst.  Each product group had some work to do to make it work with their driver, so they generally rolled it into their next release.  For HSDIO, that was v1.4.

NI-HSDIO 1.4 can be downloaded for free from the following link:

 
Hope this helps!
Chris
0 Kudos
Message 8 of 18
(3,296 Views)

Hello,

What Chris said was correct. I tested with HSDIO 1.4 and I was able to detect HSDIo devices.

Here is a example program which can help you to detect HSDIO,SCOPE etc., devices.

Let me know how it goes.

Kalyan

Kalyanramu Vemishetty
Automated Test Systems Engineer
National Instruments
0 Kudos
Message 9 of 18
(3,286 Views)
Just checked MAX
I am running 1.3.1.1
am downloading 1.4 now, hopfully this will take care of it.
Thank you both for all the help

lmd2
Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 10 of 18
(3,277 Views)