From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I have an application where I would like to set an occurrence when the output of one of my general purpose counters changes state (I don't care which state) on my PXI-6070E. Is this possible?
I know you can set occurrences with the DAQ occurrence VI, and I've successfully done it with analog acquisitions, but I really need to do it with the counter.
Mark
Sent via Deja.com http://www.deja.com/ Before you buy.
mark.wysong@ae.ge.com wrote: >I have an application where I would like to set an occurrence when the>output of one of my general purpose counters changes state (I don't>care which state) on my PXI-6070E. Is this possible?>>I know you can set occurrences with the DAQ occurrence VI, and I've>successfully done it with analog acquisitions, but I really need to do>it with the counter.>>Mark>>>Sent via Deja.com http://www.deja.com/>Before you buy.
I was able to accomplish what your talking about using an e series board, I think. I set up the counter as in the generate continuos pulse train example, and then added a Get Attribute in the loop and monitored the output state. I used a shift register to tell if the current state equalled the previous state, when false I generated an occurence in a case structure. In a separate loop I waited on the occurence and turned a boolean on and off with each transition of the counter. I hope this what you were talking about.
mark.wysong@ae.ge.com wrote: >I have an application where I would like to set an occurrence when the>output of one of my general purpose counters changes state (I don't>care which state) on my PXI-6070E. Is this possible?>>I know you can set occurrences with
the DAQ occurrence VI, and I've>successfully done it with analog acquisitions, but I really need to do>it with the counter.>>Mark>>>Sent via Deja.com http://www.deja.com/>Before you buy.