Programmatically launching NI-DMM or NI-DC Power Soft Front Panels

Updated Feb 5, 2018

Reported In

Driver

  • DC Power Soft Front Panel
  • NI-DMM
  • NI-DCPower

Issue Details

I want to launch the soft front panel provided with the NI-DMM or NI-DCPower driver from within a LabVIEW application, how can I do this?

Solution

The NI-DMM and NI-DCPower Soft Front Panels can be launched with a typical executable call, and there is startup parameter you can add to the call to determine which specific device the Soft Front Panel connects to.

 

NI-DMM Soft Front Panel:

The executable is present at <Program Files>\IVI Foundation\IVI\Drivers\niDMM\NI-DMM Soft Front Panel.exe. For example, to call the soft front panel and connect to your DMM device in PXI slot 3, use this string in the command prompt: "C:\Program FIles\IVI Foundation\IVI\Drivers\niDMM\NI-DMM Soft Front Panel.exe" -- /device:PXI1Slot3

NI-DCPower Soft Front Panel

The executable is present at <Program Files>\IVI Foundation\IVI\Drivers\niDCPower\NI-DCPower_Soft_Front_Panel.exe. For example, to call the soft front panel and connect to your DC Power device in PXI slot 4, use this string in the command prompt: "C:\Program FIles\IVI Foundation\IVI\Drivers\niDCPower\NI-DCPower_Soft_Front_Panel.exe" -- /device:PXI1Slot4

To accomplish this functionality in LabVIEW, you would use the System Exec VI and a string constant or control as shown here.

 

WAS THIS ARTICLE HELPFUL?

Not Helpful