Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

square wave with USB 6001 or 6002

Can I generate a hardware timed, 100 Hz square wave with a USB 6001 or 6002?

0 Kudos
Message 1 of 10
(12,825 Views)

Hello salty,

 

The specification document for both devices (found at the links below) indicates that hardware timed analog output is possible on both devices.

 

SPECIFICATIONS NI USB-6001:

http://www.ni.com/pdf/manuals/374369a.pdf

 

SPECIFICATIONS NI USB-6002:

http://www.ni.com/pdf/manuals/374371a.pdf

 

Each device supports a maximum update rate of 5 kS/s simultaneous per channel, hardware timed. Therefore, you should be able to generate a hardware timed 100 Hz square wave using either device using an analog output task.

 

Regards,

 

J_Bou

0 Kudos
Message 2 of 10
(12,805 Views)

Thanks J_Bou,

 

Thanks for the information and the confirmation. I was able to use one of the examples to produce the square wave.

0 Kudos
Message 3 of 10
(12,792 Views)

Hi,

 with this devices can you get frecuency about 5000 Hz?
0 Kudos
Message 4 of 10
(12,501 Views)

I tried to generate a 5 kHz signal but was only able to generate up to 2.5 kHz.

0 Kudos
Message 5 of 10
(12,488 Views)

Hi, you used a Square Waveform VI or something else?

0 Kudos
Message 6 of 10
(12,481 Views)

I used the analog output of the 6001 to generate the square wave.  I used the Voltage - Continuous Output.vi from the provided examples.

0 Kudos
Message 7 of 10
(12,460 Views)

Thanks!

0 Kudos
Message 8 of 10
(12,454 Views)

Did the voltage-continuous. vi examples work for you using NI-DAQ USB 6001 ? 

Because for me it is not working, and then when I checked the requirements to run that circuit, nowhere it was mentioned about USB-6001

 

Could you please send me your vi file or help me with it?

I am fairly new to LabView and NI-DAQ.

 

Regards,

Devansh

0 Kudos
Message 9 of 10
(6,887 Views)

It works fine if you set it to work within the constraints of the USB-6001.  The sample rate for the USB-6001 is limited to 5kHz and the frequency output for the selected analog output must always be equal to or less than half the sample rate.

0 Kudos
Message 10 of 10
(4,441 Views)