One option would be to use an NPN transistor. Simple and effective.The silicon transistor was invented in 1954 and has been considered one of the greatest inventions in the history of technology. In terms of using the PWM function of DR Daq you could connect the base to the PWM OUTPUT( signal voltage), choose a value of resistor suitable for connecting to the +Ve rail ( 1 K ), connect the emitter to negative (ground) the result collector output will be inverted.
Hope this helps,
Have a great weekend.