Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69213

Splitting 32 bit data into 8 and 25 bits for computing coincidence logic

$
0
0

Hello Everybody.

 

I am working with Single photon counters in my lab. There are two separate TTL pulses that come from two detectors and fed to two channels in Counter that registers the arrival times of two Photons individually. The data is written in unsigned integer 32 bit block, where the first 6 bits will contain channel information (Channel 1 or channel 2), and the next 25 bits will have the arrival time corresponding to each channel. 

 

All I have to do is find the diffrence between the arrival time of the two channels. My Question is how will I make labview to "Read only the first 6 bits" and display channel information and next 25 bits and display the corresponding time information. I saw a VI under data manipulations that breaks int32 into two 16 bits but in my case it is breaking 32 bit into 6 and 25. 

 

Thanks for any help. 


Viewing all articles
Browse latest Browse all 69213

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>