LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use a Change Event with a NI 9403 module?

Hi, I would want to know if the NI 9403 supports a Change Detection Timing configuration to generate events for programming something like this thread and not polling the Digital Inputs: http://forums.ni.com/t5/LabVIEW/Can-I-use-an-Event-Structure-to-process-an-input-signal-from-a/td-p/...

 

I have read this page: http://www.ni.com/white-paper/4102/en/, but I saw that date is of 2012 so I was thinking if is there any updated list or if someone has used the NI 9403 of this way?

 

Thank you for your time.

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

Hi AYanez,

 

You might want to look at this link

http://zone.ni.com/reference/en-XX/help/370471W-01/cdaqmxsupp/ni9403/

 

In DAQmx Physical Channel Properties section, there is change detection supported list there.

change detection.PNG

 

Hope this help


Best regards,

TuiTui

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

Hello AYanez,

 

Thanks for using the NI forums! The white paper you read is still updated and is actually a good way to start, that's the effective way to detect a a change detection using DAQmx code, in the other hand if you only need start a task just after a trigger is detected in one of the I/O ports you can use the DAQmx Start Trigger function from the DAQmx palette. I highly recommend you to follow the software architecture explained in the white paper you just mentioned and perform all the acquisition logic within the loop and not outside of it.

 

Hope this information works for you!

 

Luis CT
0 Kudos
Message 3 of 4
(2,659 Views)

Hi, today I have tried the code, but apparently the NI 9403 does not support this feature because I did not get readings with this method.

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