Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use USB-6501 to generate a stable pulse wave?

My teacher only gave me a USB-6501, but he asked me to measure a positive square wave and nine negative square waves. I think as long as a stable pulse wave with a duty cycle equal to 10% is generated.What can I do? Measure or make wave? And how?

0 Kudos
Message 1 of 5
(4,019 Views)
0 Kudos
Message 2 of 5
(3,963 Views)

Hi

The attachment is my labview program. But the program has a 200077 error. Can you help me? 

0 Kudos
Message 3 of 5
(3,944 Views)

Hi,

 

This error might be because the USB 6501 is not capable of Counter Output and can only be used for measuring (Counter Input).

 

The USB 6501 is software-timed, so the pulse generated will not be as accurate as a hardware-timed device.

This post might help you: 

https://forums.ni.com/t5/Digital-I-O/USB-6501-pulse-train/td-p/253690?profile.language=en

https://forums.ni.com/t5/Digital-I-O/NI-USB-6501/m-p/3239247#M20624

0 Kudos
Message 4 of 5
(3,937 Views)

Hi Carmen, 

 

For this topic:

6501 only support  24 channels DIO and a counter.

If we want to use it to generate the pulse, then we need to set the bit to 1 and 0 toggling with dedicated delay, to meet the requirement of the duty cycle.

Since this is software timing, and not so accurate, then could be used in the simply scenario, or  low frequency.

Please correct me, thanks.

Learning from other people
0 Kudos
Message 5 of 5
(1,958 Views)