Additional Information
The following is a basic example of using an nidaqmx.task script which is used to change the voltage limits of an SC Express device to a maximum and minimum voltage limit of +/- 16V:
import nidaqmx
from nidaqmx.constants import AcquisitionType, Edge
with nidaqmx.Task() as task:
task.ao_channels.add_ao_voltage_chan("<Your Device Name>/<Channel Name>")
task.ao_channels.all.ao_max = 16
task.ao_channels.all.ao_min = -16