From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NIDMM and VTEXDMM in simulation creating different results / errors - why?

Hello,

i installed NIDMM-driver and VTEXDMM-driver and configured them to simulate with specific driver.

I am then calling only the iviDmm generic functions in C++.

In the list below i copied all results of the functions.

Column one is NIDMM and colum two VTEXDMM.

 

Now i wonder why:

1) "Read" is working at NIDMM and not at VTEXDMM (but Init/Fetch is working on both sides)

2) Some Configure-Functions are not working at NIDMM but on VTEXDMM

3a) Read/Fetch Multipoint are not working on both sides...

3b) ...but NIDMM still returns 10 actualPts

How can this be explained?

Is the execution order not correct?

Thanks for help

0 Kudos
Message 1 of 6
(3,368 Views)

Hello OnlyOne,

 

I asume that the simulate in both drivers so it should be in the hand of the driver creator how a simulated device reacts and what it will return.

As long as both drivers return the correct measurements from a real device everything should be fine.

 

To Answer your questions:

1) You should ask VTI Instruments why their driver is not responding to the "Read" command.

 

2) This depends on the devices that are simulated. Not every configuration function is available, depending on the device you simulate

 

3)What is your setup for the simulation? Do you have some more details about that?

 

Best wishes

--------------------------------------------------------------------------------------------------------
Work with NI Hard- and Software for about 15 years now.

Certified LabVIEW Developer & TestStand Developer/Architect

--------------------------------------------------------------------------------------------------------

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Message 2 of 6
(3,330 Views)

I want to simulate a PXI 4070.

Currently the configuration setup field is empty.

I only installed NIDMM and selected it in the driversession.

0 Kudos
Message 3 of 6
(3,326 Views)

Hi,

 

now I am confused.

You say that you only installed NIDMM, but before you mentioned the VTEXDMM Driver wich you use.

So how do you use the VTEXDMM Driver without having it installed?

 

You should use the Driver of the Device that you want to use later.

For Simulating the PXI-4070 use NIDMM Driver and call the API commands for that driver in simulation and real use case.

The response of the VTEXDMM Driver are irrelevant if you are not using such a device.

 

Best wishes

--------------------------------------------------------------------------------------------------------
Work with NI Hard- and Software for about 15 years now.

Certified LabVIEW Developer & TestStand Developer/Architect

--------------------------------------------------------------------------------------------------------

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
0 Kudos
Message 4 of 6
(3,314 Views)

I am using only the IVI generic class driver commands for IviDmm.
The commands should works on both instruments.

In real i have only the PXI4070. For simulation i have two logical names for the two drivers.

 

For the NIDMM: Do i have to insert something in the Driver-Setup field in MAX? Or how does the NIDMM know that it should simulate a 4070?

Thanks and best regards

 

0 Kudos
Message 5 of 6
(3,311 Views)

For simulating an NI DMM you should select nisDMM for the driver Software Module and klick "Go To" and go through the steps.

 

Maybe this will help you:

Using IVI Drivers to Simulate

Creating or Modifying IVI Class Simulation Drivers

 

--------------------------------------------------------------------------------------------------------
Work with NI Hard- and Software for about 15 years now.

Certified LabVIEW Developer & TestStand Developer/Architect

--------------------------------------------------------------------------------------------------------

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
0 Kudos
Message 6 of 6
(3,308 Views)