Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Are IVI drivers supported on RT?

 I have a PXI-4060 DMM on a remote system.  I have been trying to initialize the DMM but have had no success using the IVI drivers.  I have set up a Logical Name that is linked to the Driver Session for the 4060, but these are setup in MAX under the host system, not the remote system.  I have been unable find drivers for that DMM other than the IVI drivers and if they aren't supported on the RT system, how do I use the 4060 DMM on a remote system?
 
My cfg is:
IBM laptop running WinXP w/LV 7.1
PXI-1045 chassis w/LV RT and multiple components that all work fine except the DMM
I have the latest drivers/software for everything that I'm aware of (DAQ, IVI, Visa, etc)
 
Scott
0 Kudos
Message 1 of 8
(5,032 Views)
Hello ODRulz!
 
You should have no trouble using a 4060 on a Real Time Target.  Have you installed the latest version of NI-DMM?  Upon installation of NI-DMM you should be able to identify the device just as it shows up under your remote system.  Make sure that when you install NI-DMM you install it on both the host and the target.  A link to NI-DMM can be found below.  Have a great day!
 
 
Allan S.
National Instruments
0 Kudos
Message 2 of 8
(5,020 Views)

Hi Allan,

Yes, I have NI-DMM 2.4.5 installed on both the remote system and the host system.  I can find my NI-4060 in MAX and can communicate with it using the VISA test panel in MAX just fine.  When I try to use the NI-DMM Initialize.vi, I run into an error however.  I am giving the vi the incorrect instrument descriptor, but I don't know where to find the correct instrument descriptor apparently.  The following is the actuall error code that I'm receiving when I run the init vi:

niDMM Initialize.vi<ERR>The instrument descriptor is invalid.  Valid Syntax: "DAQ::device number[::INSTR]", where device number is the NI-DAQ device. If the resource descriptor is an IVI name, it must match the entry in the IVI Configuration Store in a case sensitive manner.

The instrument descriptor that I'm using is what I see in MAX: PXI3::15::INSTR

I don't see any "DAQ::#[::INSTR]" for any of the devices I have, including the DAQ cards (PXI-6052E, PXI-6040E, PXI-6713 - which all are working fine).  The error is saying I need the device number of the NI-DAQ device, but this isn't a NI-DAQ device - or at least it doesn't show up in DAQ Devices in MAX.

Thanks for your help,

Scott

0 Kudos
Message 3 of 8
(5,010 Views)

Hello ODRulz!

First, are you being careful to switch your target from LabVIEW for Windows to your RT target?  Next, when you say your device isn't showing up in MAX do you mean under Remote System>>RT Target>>Devices and Interfaces or under My System>>Devices and Interfaces.  Your device should show up under the first.  Let me know and we will go from there.  Have a great day!

 

Allan S.

National Instruments

0 Kudos
Message 4 of 8
(4,996 Views)
Hi Allan,
 
Yes, I'm making sure that I'm targeting the remote sytem when trying to initialize the DMM.  I am seeing the DMM under my remote system, where I should be, and not seeing it on "My System", where I shouldn't see it.  I'm not concerned with that.  I'm concerned with why the instrument descriptor that I'm given in MAX under my remote system isn't the correct instrument descriptor for the initialize vi.  Please refer to my previous post for the error description
 
Scott
0 Kudos
Message 5 of 8
(4,987 Views)
Hi Scott,
 
You can make a simple VI which has the Visa Find Resource vi on it. Just create an indicator for the Find List. Then run this targetted to the RT system, and it will list all devices on the system with the appropriate descriptors.
 
If this returns the same descriptor, we will try something else until we find the solution.
 
Richard
Richard

Field Sales Engineer, New Jersey
National Instruments
0 Kudos
Message 6 of 8
(4,981 Views)

Hi Richard,

Thank you. I ran that test and there are no Visa's running describing any of the PXI instruments.  I've attached a screenshot of the results sitting on top of what I'm seeing in Max.  For the Visa's, the 6 GPIB's are for HP6610xA power supplies and the serial's are for an 8-port serial card (plus the 2 on the 8187 controller), which is a PXI card (8421).  When I'm trying to initialize the DMM I am running on the targeted system as shown so I should only need the descriptor after the IP address (PXI3::15), correct?  As noted from the error description above, the vi is looking for a "DAQ::" descriptor and I don't see anything like that in Max.

Hope this helps with the diagnosis,

Scott

0 Kudos
Message 7 of 8
(4,973 Views)
Hi Scott,

 thanks for the screen shot. See the attachment for a block diagram I think might help.
It will get the VISA find list, which should list all devices on your system. When running the program on the RT system, you only need the local name, not the remote resource name.

Richard


Richard

Field Sales Engineer, New Jersey
National Instruments
0 Kudos
Message 8 of 8
(4,966 Views)