08-06-2007 05:11 PM
08-07-2007 11:51 PM
Hi Mark,
First off I'd like to make sure we're on the same page here. It is my
understanding that you are trying to set up a digital input to trigger off of a
digital bit that you are outputting. After looking at your code, it seems as
though you are trying to do this only one time. There are a few things that I
am still unclear about such as what you were referring to when you mentioned
the "DAQmx Start/Rising edge vi." In order to set up a task which is
triggering off of a second task, you should make sure to set up and start the
first task (using the DAQmx Start VI) before initiating the second task (which
does the actual triggering.) Once you have started the first task, the trigger
is in fact armed. I noticed that you were using a number of the advanced DAQmx
VIs. Is there a specific reason for that? I will try to find/create a small
piece of example code that demonstrates the proper structure for this
application.