I made a simple simulation where I have 2, 200Khz switching frequency signals and a 20nS dead time. One output is high, while the other is low and there is 20ns of dead time in between. This is often how one would drive 2 MOSFETS; though that is not my exact application. See attached example. Maybe this is not the best method, so please feel free to recommend a better one.
Step two is to then use the RT box to do the same. AKA send the 2 signals to a physical scope through the digital outs on the RT box.
I have tried several methods and have failed to do so and was hoping to get some recommendations. In the attached example I added the “digital output” to the pulse generators. Not show in the example I have also tried using the “PWM Out” signal as that is what is recommended. In the Coder options for the RT box, if I set the “Discretization step size” to high I get an error on the RT Box. If I set the step size to low I get software error saying the step size is not a multiple of the base step size.
Please recommend a best practice for what I am trying to do.
Edit: grammar.
200Khz simulated gate driver.plecs (9.5 KB)