LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx has no Advise VI, how can I get around that in my programming?

I am reading a switch through DAQmx, I need to make timing calculation on each change (on/off) but there is no Advise VI in the DAQmx functions. I need to use the on-change terminal on the Advise VI. I've implemented the same application using FieldPoint because it has the Advise VI, but cant figure out the programming when using DAQmx. I only get continous readings, but only want a reading on-change. Need to know how to get around this without using the Advise VI.
0 Kudos
Message 1 of 4
(2,775 Views)
Hello,

The Advise VI that you mention basically gives you the option to choose between an event-driven acquisition or a poll-driven acquisition. There isn't an explicit VI that allows you to do this, its more of a collection of VIs that do this. Depending on what type of acquisition or generation you want to make (AI,AO,DIO, counter) I can tell you if it is possible to do this. So please, give me as much information you can about your system (PCI board, LabVIEW version, type of acquisition) and I should be able to help you out better.

thanks,

LA
0 Kudos
Message 2 of 4
(2,775 Views)
Thank you for the response, although after a couple of days thinking, I have figured out a solution. I am using AI (voltage), LabVIEW 7.1 and a PCI MIO-6036 board. I simply used a series of logic statements to obtain information at a certain event.
0 Kudos
Message 3 of 4
(2,775 Views)
Hello,

I am glad you found a solution, using logic statements is a great way to use event-driven applacations. Please let me know if you have any additional questions.

Thanks,

LA
0 Kudos
Message 4 of 4
(2,775 Views)