12-02-2024 10:26 AM
Hallo
Maybe someone can help me, I want to write two PWM signal with two Counter Frequency Single Chanel single sample. But I got the error with 50103.
I have tried a lot methods , but they still do not work. With Single chanel, it works.
Who can explain it? thanks!
Solved! Go to Solution.
12-02-2024 06:56 PM
What hardware model are you using?
12-03-2024 01:42 AM
USB 6229
12-03-2024 08:10 AM
Hi ZYOng
I am using hardware USB 6229 from National Instrument.
I found where my problem with the error 50103 is. But I do not know how to solve it.
Because I am using the same Counter Dev1/ctr0 as Input and also as Output. The Input is used for the speed measurement. The Output is used for PWM signal to generate. You can see the picture below. Do you know how to use one counter for both functions? One is for CO Pulse Freq, another is for CI Cnt Edges. Thank you!
12-04-2024 11:04 AM
You can't do that. At any given time, a counter can be configured as an input task OR as an output task but NEVER both at once.
-Kevin P