SMU Output Is Not Disabled When Using Autorange

Updated Mar 31, 2024

Reported In

Hardware

  • PXI Source Measure Unit

Driver

  • NI-DCPower

Issue Details

When Autorange is enabled, calling niDCPower Configure Output Enabled VI does not disable the output properly if niDCPower Abort VI is used sequentially after. 

Solution

When using Autorange, the number of instructions to the hardware is greatly increased. This can cause a delay to additional instructions getting executed, like instructions from the Configure Output Enabled function call. When Abort is called, instruction processing will be halted, which can cause pending instructions (like from Configure Output Enabled) to not be processed.
  • To prevent this from happening, call niDCPower Wait For Event With Channels VI configured as Source Complete Event after a generation to ensure the instructions from the generation have been processed before calling an output to be disabled or aborted.
Note: To avoid similar issues, it is still recommended to call this VI after the generation even if the Abort or other operations are not used in the code. 

This is how the code will look like after adding the niDCPower Wait For Event With Channels VI:


KBSMU2.png