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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI6070E set occurrence on counter output

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.
0 Kudos
Message 1 of 3
(2,350 Views)
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.
0 Kudos
Message 2 of 3
(2,350 Views)
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.
0 Kudos
Message 3 of 3
(2,350 Views)