LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Counter Frequency Write with error 50103

Solved!
Go to solution

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.

Zhangfy_0-1733156567898.png

Zhangfy_2-1733156711856.png

 

Zhangfy_3-1733156746527.png

 

Who can explain it? thanks!

Zhangfy_1-1733156665039.png

 

0 Kudos
Message 1 of 5
(109 Views)

What hardware model are you using?

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 5
(77 Views)

USB 6229

0 Kudos
Message 3 of 5
(67 Views)

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!

Zhangfy_0-1733234879004.png

 

0 Kudos
Message 4 of 5
(53 Views)
Solution
Accepted by topic author Zhangfy

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

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 5 of 5
(39 Views)