LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Signal lasting specific chosen time

I'm trying to generate a digital signal with my USB-6008 to talk to another instrument. I'm not able to do any hardware timing using the DAQmx Timing VI, so how do I send a signal with specific timing?

0 Kudos
Message 1 of 3
(928 Views)

Hi violeta,

 


@violetaaraque wrote:

with my USB-6008 … I'm not able to do any hardware timing using the DAQmx Timing VI,


You cannot do hardware timing with your cheap (and old) USB6008 - read the specs carefully!

 


@violetaaraque wrote:

so how do I send a signal with specific timing?


When you want to specify timing in the low ms range (5-10 ms) you could use a loop with a wait function…

Otherwise look for better DAQ devices with hardware-timed DIO pins!

 


@violetaaraque wrote:

talk to another instrument.


Which instrument? Which protocol?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(919 Views)

@violetaaraque wrote:

I'm trying to generate a digital signal with my USB-6008 to talk to another instrument. I'm not able to do any hardware timing using the DAQmx Timing VI, so how do I send a signal with specific timing?


What is the other instrument?  What is the protocol of the signal you are trying to send to it?  Anything modern instrument using TTL level signals will be using RS-422, SPI, or I2C.  There are dedicated hardware to handle these protocols that will make your life A LOT easier.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(907 Views)