Can I control the values of AO Ports using Calculated Channels and User Channels in VeriStand?

Updated Mar 25, 2025

Reported In

Hardware

  • PXIe-6738

Software

  • VeriStand
  • LabVIEW

Driver

  • NI-XNET

Operating System

  • Windows

Issue Details

I have created a LabVIEW Model with two signals, Rect_Duty and V_HVP. The model logic is that, when value of Rect_Duty changes from 5 to 4.95, value of 3.2 is assigned to V_HVP. Signal Rect_Duty is being mapped to a CAN signal, and signal V_HVP is being mapped to AO port of PXIe-6738 in VeriStand. When I want to control the value of AO port manually in VeriStand, I realized that I am unable to control it. How can I change the value of AO port manually, when there is value change in my CAN signal?

Solution

You can use the Calculated Channel to check whether the conditions meets the requirements, and then assign a constant or user-input value for 'if True' condition, and another constant or user-input value for 'Else' condition. For the 'Channel Value', you can create a User Channel in 'User Channels' tab, and assign it to 'Channel Value'.
System Definition

Figure 1. Calculated Channels Settings.

 

After Calculated Channel is configured, map the Calculated Channel to the specific AO ports:

Figure 2. System Configuration Mappings.