get_command_da_gain.m¶
Basic Information¶
USAGE: get_command_da_gain(ind_struct,commands,single,tokamak)
PURPOSE: returns the digital-to-analog convertor (DAC) gains for given commands
INPUTS:
ind_struct structure data from simulation_includes.m
commands cell array commands used as input into simulink simulation
single if 1, return only a single value for gain
tokamak name of tokamak
OUTPUTS:
gain: multiplier that converts DAC output volts to input counts (DA_GAIN in io_PCS.c)