load_duty_cycle#

MotorCAD.load_duty_cycle(file_name)#

Load a duty cycle from a DAT file.

Parameters:
file_namestr

Name of the DAT file with the duty cycle to load. The default directory is the one with the MOT file. To use a different directory, specify the absolute filepath to the DAT file. Use the r'filepath' syntax to force Python to ignore special characters.