Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Stopping counter puls generation with digital trigger

Hi,

is there an easy way to Stop the pulse generation from
the DAQmxCreateCOPulseCharFreq function by an external
digital trigger signal?
I am aware of the possibility to use an Pause trigger to interrupt the generation on a digital trigger but this does not stop the task.
The application is to run a stepper motor until the motor generates an TTL level signaling that it's maximum range has been reached. Is there a better approach to this task?

Thanks for any advice!

Peter
0 Kudos
Message 1 of 2
(2,533 Views)
Hello,

you can use the Stop Task function.

It isn't described in the tutorials below but it is mentioned in the second tutorial.

Tutorials:

1. http://forums.ni.com/ni/board/message?board.id=250&message.id=10676

2. http://zone.ni.com/devzone/conceptd.nsf/webmain/BFD62CCFA58444D086256D27005A20EA?opendocument

Regards

Markus Weigl
NI
0 Kudos
Message 2 of 2
(2,504 Views)