Simulating NI Digital Multimeters
You can simulate your DMM. This is particularly useful if you are developing your applications and the hardware you are using is unavailable.
To simulate a device, complete the following steps:
- LabVIEW
- Use niDMM Initialize With Options.
- Add "Simulate=1,DriverSetup=Model:[4050, 4060, 4065, 4070, 4071, 4072]; BoardType:[PCMCIA, PCI, PCIe, PXI, USB]" to the Option String of the VI.
- CVI/C++/Visual Basic
- Use niDMM_InitWithOptions.
- Add "Simulate=1,DriverSetup=Model:[4050, 4060, 4065, 4070, 4071, 4072]; BoardType:[PCMCIA, PCI, PCIe, PXI, USB]" to the Option String of the function.
For example, to simulate the NI PCI-4065, the option string would be:
"Simulate=1, DriverSetup=Model:4065; BoardType:PCI"
Supported Combinations
Model | Board Type |
---|---|
4050 | PCMCIA |
4060 | PXI, PCI |
4065 | PXI, PCI, PCIe, USB |
4070 | PXI, PCI |
4071 | PXI |
4072 | PXI |
If the Instrument Descriptor parameter and the Driver Setup property are not specified, an NI PXI-4070 is simulated by default. If the Driver Setup string is not provided, and the Instrument Descriptor parameter specifies a valid device, the device of the Instrument Descriptor property is simulated. If the Driver Setup string is specified, the Instrument Descriptor property is ignored.