thx! Can I use that transistor as a relay? I mean: can I also switch off the lamp?If you have a b version meanwell driver you can use a transistor as switch between the dim+ and dim- wire. Use a PWM signal from an arduino or wahatever to drive the transistor.
Make sure to use a transistor with fast switching capabilitys like a 2n3904.