LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

boolean reset after pulse count

Hi ppl.

 

I already have a train pulse coded and it's working fine, however I want to create a boolean write, so that after 16 pulses

the line goes to "1" and resets to "0" when we start to count another 16 pulses.

 

Also, a timeout between operations is needed.

 

The part of the pulse counting is already well adressed in various posts on the forum, but I 

am having some difficulty with the boolean write in regards to the pulse count....I am not sure how to "tell"

the boolean that 16 pulses have occured and how to reset....

 

Hope it's not too confusing.

 

If necessary I will upload a picture.

 

Cheers.

0 Kudos
Message 1 of 3
(3,205 Views)
How are you counting these pulses? And, how does your application know that 16 pulses have been counted? Posting a snapshot would be great!
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 3
(3,194 Views)

Hi Adnan Z.

 

Sorry for the delay but I've busy with other stuff and only got to LabVIEW again yesterday.

 

I am attaching a picture and the vi with the data, pulse train and counter.

 

What I need to do next, and I am having some difficulty, is to create a digital write (boolean values, either "0" or "1"), that are in sync with the pulse train

and the data. I have used the counter for 16 pulses or edges, so that I can "tell" the boolean write to go to "0" and the data starts being written for the duration of 16 pulses,

and go back to "1" after that (for some miliseconds)...

 

I will be writting about 120 to 130 bits, 16 bits at a time, and I am using a USB 6289 multifunction.

 

Hope it's not too confusing...

 

Regards,

 

Rui

Download All
0 Kudos
Message 3 of 3
(3,158 Views)