From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

USB6501 for 2 marching TTL signal?

Hello, i'm a newbie in labview. 

It is a program requested by my teacher..

but i am getting fraustrated. 

The task should be simple. two marching TTL signals output, the sample rate is only "1Hz"

 

I was trying to use the digital waveform and to boolean output the digital waveform into the DAQmx..

but there is some channel.data in-coherence..

 

i don't know how to fix it..

i thought there would be a couple ways to do..

but i was having trouble figuring out how to output TTL signal 

I wonder if anyone could lend me a hand.

 

Much appreciation in advance.

 

 Paul Tsai

0 Kudos
Message 1 of 3
(4,227 Views)

You don't have anything wired to the data input of the DAQmx Write and if you tried to wire the digital waveform you would probably get an error since the 6501 does not support hardware timed I/O. If you do get an error, it is essential that you provide the error code.

 

edit - where do you get the idea that your sample rate is 1Hz?

0 Kudos
Message 2 of 3
(4,217 Views)

sample rate of 1Hz was a request that for each digital pin the signal switch on and off after 1sec.

 

 

I'll try some more

thx

 

0 Kudos
Message 3 of 3
(4,205 Views)