Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

python DAQmx Trigger an output response with an input signal

Solved!
Go to solution

Hi everybody,

 

I'm using a NI-6251 board with a GUI python.

I want to send data on output channel on each falling edge of an input signal when I click on a start button.

The level of the output signal can be 0/1 (0v/5v).

The input signal square frequency is 2MHz during 50 tops (see the attached file for further informations).

I don't know if it is better to use Analog input or counter input for the input signal. I think I must define a timing signal at 10MHz frequency.

I have tried more solutions with bad results.

Does somebody have answers to my problem?

Thanks in advance.

 

 

 

 

 

0 Kudos
Message 1 of 4
(4,554 Views)

Hi 22buzz22,

 

I think you should try this example.

 

It uses a counter for output generation, trigged by your input signal physically wired on a PFI (name this PFI in the "Source" field).

 

Open it, try it and tell me if it matches your request.

 

Regards,

 

 

 

 

 

0 Kudos
Message 2 of 4
(4,534 Views)
Solution
Accepted by topic author 22buzz22

Thanks for your answer.

It works.....

0 Kudos
Message 3 of 4
(4,473 Views)

Dear Mathieu,

 

I cannot open the link you posted. It gives a message "You do not have access to view this page or to perform this action." although I'm signed in.

 

Thanks!

0 Kudos
Message 4 of 4
(2,690 Views)