From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Timing edge control

What value do I wire into the Active edge to indicate a "rising edge" to trigger on?
i.e. a bolean 1?

or

i.e. a 1?

What value do I wire into the Active edge to indicate a "FALLING edge" to trigger on?
i.e. a bolean 1?

or

i.e. a 1?

This is what a switch or a value on the front panel?
Don

0 Kudos
Message 1 of 4
(3,857 Views)

Hello drsimm1776,

 

The input for DAQmx Timing Active Edge input is a 32-bit integer, however if you right click on the terminal and create a constant or control, it will give you an enum on your block diagram or front panel respectively.

 

This will allow you to choose rising or falling.

 

Rise_Fall.PNG

If for some reason you wanted to use the numeric values they are as follows,

Rising: 10280

Falling: 10171

 

Jonathan L.
Technical Support Senior Group Manager
National Instruments
0 Kudos
Message 2 of 4
(3,838 Views)

Thanks for the response.

I am a bit new at LV.

So an enum on the front panel would appear as ?

a Switch or a question block?
Don

0 Kudos
Message 3 of 4
(3,834 Views)
An enum appears on the block diagram/front panel exactly like it's shown in the image. You have a drop-down menu to select the different values in the enum.

An enum is one of the standard controls. It should have been covered in any of the various free tutorials.
0 Kudos
Message 4 of 4
(3,828 Views)