03-24-2017 03:17 AM - edited 03-24-2017 03:24 AM
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
03-27-2017 08:29 AM
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
03-27-2017 08:34 AM
I want to simulate a PXI 4070.
Currently the configuration setup field is empty.
I only installed NIDMM and selected it in the driversession.
03-28-2017 02:27 AM
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
03-28-2017 02:41 AM
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
03-28-2017 03:04 AM - edited 03-28-2017 03:08 AM
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:
Creating or Modifying IVI Class Simulation Drivers