LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Obtaining 4060 DMM Serial Number programmatically through LabView

Hello fellow LabView users.
 
I was wondering if there was a way to get the model number, serial number and any calibration data (such as next cal due date etc) of the NI PXI-4060 DMM through LabView. I am using LabView 7.1 and have the 4060 configured as 'traditional' NI-Daq.
 
I am probably being thick but I can't see any way of achieving this at the moment.
 
Thanks inadvance for your help
 
Mark
Mark Shead
Sonatest Ltd

LabView (7.1) Novice!
0 Kudos
Message 1 of 8
(3,616 Views)

hi there

i know this won't help you, but i'd switch to DAQmx. Programming is much easier and performance much better. and you can get the information you need from some device properties (see attachment)...

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 8
(3,606 Views)
Hi Chris
 
Thanks for the reply.
 
I have a PXI-2564 Switchcard which is configured using DAQ-mx, and as you rightly point out this allows me to get the info I require.
 
However I have configured my 4060 using traditional NI-Daq. Is there an easy way to reconfigure this in MAX 4.0 to use the DAQmx functionality?
 
It seems that the 4060 is recognised as a NI-Daq device.
 
Regards
 
Mark
Mark Shead
Sonatest Ltd

LabView (7.1) Novice!
0 Kudos
Message 3 of 8
(3,600 Views)

 

"Is there an easy way to reconfigure this in MAX 4.0 to use the DAQmx functionality?"

i'm sorry, i don't know...

if you can access all devices with DAQmx i'd consider to remove NI-DAQ from the system and then build up the configuration in MAX from the scratch. maybe you have to write some new code for the DMM but that should be worth the effort. the reward is a clean system/application using a single driver layer.

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 4 of 8
(3,595 Views)

Hi again Chris

Having just checked NI's website, it appears that the 4060 is not supported by DAQmx, so it will have to stay configured as NI-Daq. All of the other PXI devices in my system are supported by DAQmx, thankfully.

Cheers for your help

Mark 

Mark Shead
Sonatest Ltd

LabView (7.1) Novice!
0 Kudos
Message 5 of 8
(3,593 Views)

hi there

have you looked over the NI-DMM VIs shipped with the 4060? maybe there are some useful VIs for you in that layer.

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 6 of 8
(3,589 Views)
Hi,
 
Thanks for posting your query on the National Instruments forum.
 
I believe the 4060 DMM should come with the NI-DMM driver. What you are attempting to do has been achieved and the code can be obtained at the following link:
 
Using NI-ModInst to Query Device Specific Information
 
I hope this helps!
 
Kind Regards,
 
Kurt
Applications Engineer
National Instruments UK & Ireland
 
0 Kudos
Message 7 of 8
(3,534 Views)

Kurt

I actually used the 'Get DAQ Device Information.vi' to retrieve the 4060 serial number in the end. I considered using ModInst to query the 4060 but dismissed it because I read that 'Currently, it only supports the NI-SCOPE driver and is released with NI-SCOPE 2.8'. This was probably true back when the article was written (April 2005) but now ModInst works just fine with my traditional NI-Daq device!

Thanks for your help

Mark

Mark Shead
Sonatest Ltd

LabView (7.1) Novice!
0 Kudos
Message 8 of 8
(3,527 Views)