The Analog Outputs of My EXE Are Not Working

Updated Jun 15, 2018

Reported In

Hardware

  • USB-6009

Driver

  • NI-DAQmx

Issue Details

I have developed an application with analog outputs and digital outputs. When generating the executable, the digital outputs are working propperly but the analog outputs are not working. 

Solution

If a custom scale is being used for the analog outputs, check that the information about the custom scale is accesible by the executable in the remote computer.

Additional Information

There are two methods to include the custom scale in the application distribution.
  1. If the NI-DAQmx Scale is generated in the project, it will be automatically saved in an .ini file in the build destination folder when building the executable.
  2. If the NI-DAQmx Scale is created in Measurement & Automation Explorer (MAX), it should be included in the application installer among the executable and the drivers needed.

WAS THIS ARTICLE HELPFUL?

Not Helpful