LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

timed loop with external source error

Hello,

 

I want to create a timed loop that uses an external timing source. I wire all the necessary inputs and I select "falling" edge, but when I try to run the program, an error appears saying that there requested "edge" value is "rising" and that I need to specify falling instead of rising. I have attached my code below.

 

Also, this is a general error. Everytime I use the DAQ counter, I can't specify rising edges. In other words, it accepts only falling edges. I am using NI-DAQ USB 6009 and LabView v.11

 

Thanks

0 Kudos
Message 1 of 4
(2,610 Views)

Hi,

 

Can you please paste the error code and description?

 

Thank you

Tarek B
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,587 Views)

Here it is.

 

Thanks for the help.

0 Kudos
Message 3 of 4
(2,583 Views)

Hi Evangelos,

 

the error message says it all: only "falling edge" is supported (by your hardware)!

If you don't believe the driver software written by NI for their own hardware you may just read the manual for your USB6009, especially the chapter on PFI0...

 

If you want to count rising edges you can use a different DAQ hardware - or you build some small piece of electronics to invert your pulse signal...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,572 Views)