LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending TTL signal to STG 4008 Stimulator

Solved!
Go to solution

Hi,

 

I'm trying to generate this TTL signal to trigger a STG 4008 to start stimulation.

 

B1DAA880-7C6E-4C3C-8E3F-359296532B05_4_5005_c.jpeg

 

I'm not sure how to go about it. I have access to a PXIE-6363 and SCB-68A. 

 

I initially planned on using the DAQmx digital outputs to send the signal, but I ran into a problem with the sample clock because I don't have access to a timing device. Is there any other way to do this? 

 

I appreciate any help.

 

Thanks,

Abby. 

0 Kudos
Message 1 of 3
(1,434 Views)
Solution
Accepted by topic author anotherabby

So you just need to create the lower red signal and STG 4008 will react by producing the upper black one?

 

If so, then this looks like a pretty straightforward counter task.  Just start with the shipping example for "Counter - Continuous Output" (or "...Finite..." if you want to generate a specific # of total pulses). 

 

Pulse parameters are defined in pairs, either Freq/Duty Cycle or Low Time/High Time.  Why not take this opportunity to try both and learn a little more about counters?  There's a lot of pretty neat timing-related stuff you can do once you get familiar with them.  But they *are* different enough from the other kinds of I/O that getting familiar takes some time (ha!  see what I did there?) and experience. 

 

So anyway your red pulse train can be specified either as:

  • Freq = 10000 Hz, Duty Cycle = 0.4 (assuming default of Idle State=Low), or
  • Low Time = 60e-6 sec, High Time=40e-6 sec

Try both ways and see.

 

 

-Kevin P

 

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
Message 2 of 3
(1,411 Views)

I won't know for sure if this works until the BNC cable comes in, but it seems like it would and I'm not getting any errors. 

 

Thank you!!

0 Kudos
Message 3 of 3
(1,374 Views)