LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Square wave analog output (USB6008)

Hi,

 

Would anyone be able to provide me with code to generate a continuous analogue square pulse wave (pulse duration 20ms, frequency (0-5Hz) for a USB 6008? 

 

Would be greatly appreciated. 

 

 

0 Kudos
Message 1 of 6
(2,014 Views)

Have you looked at the DAQmx samples that shipped with LabVIEW?  You should find one there called Voltage - Continuous Output.  Maybe this works with your device, I'm not sure. 

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 2 of 6
(1,978 Views)

Thank you this is helpful. I keep getting the following error related to my clock/timing though. Do you know how I can fix this? 

 

 

0 Kudos
Message 3 of 6
(1,967 Views)

I can't read it.  Picture is too small.  

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 4 of 6
(1,961 Views)

Apologies, here you go

0 Kudos
Message 5 of 6
(1,959 Views)

It means your device doesn't have an onboard clock.  It only supports software timed output.  

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 6 of 6
(1,945 Views)