Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I create data 1 when the pulse is in high state and data 0 when pulse is low state.

Hello all,

 

I can generate pulses with PXI-6624 Counter board as you can see attachment. But I have some problem. Generally my task work princible is that pulses high time is constant which is 204us and low time data is received from another program. After pulse was generating, I need to send 1 data continuously when pulse is high state and send 0 data continuously when pulse is low  state to external program. I use UDP protocol for communicate labview and external program.There is no problem about pulse generation and communication parts. 

 

My problem is that how do I create data 1 when the pulse is in high state and data 0 when pulse is low state. Any ideas on how I can do this?

 

Thank you all,

 

Kemal USANMAZ

 

 

0 Kudos
Message 1 of 2
(1,071 Views)

I'm having a hard time figuring out the sense of this.

 

What's going to receive your UDP transmissions and what's it going to do with it?   Do you really intend to try to send multiple datagrams for each high time and low time?   If not, what do you mean by "continuous"?

 

Also, the time-of-receipt of these datagrams is *not* going to match with the actual time the pulse is truly *in* the state declared by the data.  So what's the purpose of repeatedly sending pulse state information that can never be known to be correct at the time of its receipt anyway?

 

It seems to me that you should reserve your UDP communication for informing the receiver what the new low and high times are whenever there's a change.

 

 

-Kevin P

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 2
(1,046 Views)