You can set/get attribute directly in LabVIEW. Connect Property Node to your instrument handle. Property Node you can find in Application Control palette. See attached example.
Do not modify any class function. You can create a new specific function, which will set this attribute. For example prefix_ConfigureDutyCycle and create VI for this new function. But this is not necessary.
Regards,
Zdenek