Re: 1 sec pulse

This is a discussion on Re: 1 sec pulse within the labview forums in Programming Languages category; Hello Yin, What DAQ board are you using?  You could use a counter to generate the 1 sec pulse. (Help >> Find Examples >> Hardware Input and Output >> DAQmx >> Generating Digital Pulses >> Gen Dig Pulse.vi)  If the pulse starts out high, then you will not have a rising edge for analog acquisition.  If you put an initial delay on the pulse, then you would have a rising edge for data acquisition. The analog input task is going to be triggered off the rising edge of the counter.  This can be done by changing the source of the ...

Go Back   Application Development Forum > Programming Languages > labview

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-24-2007, 07:10 PM
Robert F
Guest
 
Default Re: 1 sec pulse

Hello Yin,




What DAQ board are you using?  You could use a counter to generate the 1 sec
pulse. (Help >> Find Examples >> Hardware Input and Output >>
DAQmx >> Generating Digital Pulses >> Gen Dig Pulse.vi)  If the pulse starts out high, then you will
not have a rising edge for analog acquisition. 
If you put an initial delay on the pulse, then you would have a rising
edge for data acquisition.




The analog input task is going to be triggered off the
rising edge of the counter.  This can be
done by changing the source of the trigger to the output of the counter.  Right-click on the I/O control and select I/O Name Filtering.   This should bring up a new window with a
check box for advanced terminals.  Once
this box is selected, you should be able to select Ctr0InternalOutput as
your source.  This will automatically
internally route the signals.  Now your
analog acquisition will start on the rising edge of your counter pulse.




There is a great example that demonstrates how to
synchronize two different tasks.  (Help
>> Find Examples >> Hardware Input and Output >> DAQmx
>> Synchronization >> Multi-Function >> Multi-Function-Synch
AI-AO.vi)  You want to make one task a
slave and the other task a master.  You
want to start the slave task then start the master task. 
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:50 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.