Quantcast
Channel: All LabVIEW posts
Browsing all 203763 articles
Browse latest View live

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

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...

View Article


Re: Sample depth in a strip chart display

Thanks.

View Article


Image may be NSFW.
Clik here to view.

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

Hi PRADEEP27, Your question seems a bit confusing as you have only 32-bit number, but you want to split into 6-bit (or 8-bit) number and 25-bit number, in which the total number of bits are 31 bit (or...

View Article

Not enough memory message

How can I remove not enough memory message while running labview code?

View Article

measure the speed of the fan in vibration simulator box

i am trying to measure  the speed through analog in channel of sbRIO  i am getting few pulse waveform switching to 5v to 0v and vice versa  with variable duty cycle..  how can i calculate the speed of...

View Article


Re: Open encrypted file

What about a folder protector program that can be used to password protect the folder as well as set permissions to different users? For example, you can set a admin password for yourself, and then set...

View Article

Re: Not enough memory message

Simple solution, move to 64 bit OS, buy 64 bit LV, buy 1TB of RAM and run the code unmodified.Alternative:Remove memory hogs and leaks from the code. For the alternative, you should either learn the...

View Article

Re: Network buffers versus RT FIFO versus Implementation Details

Hi nathand, I don't think that the white paper is clear about buffering. An RT FIFO can be seen as a buffer as well (being an array of values) and as such can also be used to compensate for read/write...

View Article


Re: Convert to number

Hi makeway…, that error occurs when you read the VISA buffer too slow. You need to read faster (using deceased's single byte approach) or more bytes at once! I would read a fixed amount of bytes at...

View Article


Re: Vibration analysis

do i need to double integrate the signal even if i get an accelorometer signal from NI sound and vibration signal simulator box ?

View Article

Image may be NSFW.
Clik here to view.

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

All you need to do is some bitwise operations. For the first 6 bits, just do a right-shift by 26bits. To get the next 25 bits, do a bitwise AND with a binary number containing 26 1s and right-shift by...

View Article

Give wires a unique name

Hi, I thought that wires had a unique name, even if they enter inside some "box" (while loops, cases). Instead, as in the picture below, I was able to assing different name "Timeout" vs. "TimeoutW", to...

View Article

Re: Give wires a unique name

Hi Runawaycode, well, branching a wire creates (or better: may create) a data copy - THINK DATAFLOW!Different datacopies can have different labels… AFAIK there is no such option, so you may propose...

View Article


Re: Unsolve the sub vi

Hi ysma, it gives me many errors … How can I fix that? I would start by reading the error description in the error list window. That most often tells the reason for those errors! Then you may attach...

View Article

Re: measure the speed of the fan in vibration simulator box

Hi irfan, when your tacho provides 2 "pulses per rotation" you need to measure the "pulses per second" to calculate "rotations per second". Sounds like simple math to me…

View Article


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

As what altenbach suggested, going using boolean arrays uses more memory.I also did a mistake in the screenshot. Before splitting the array, it will look for the index array starting from the least to...

View Article

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

Hi Ee Lim, Altenbachs suggestions is still more efficient!Simple boolean commands and logical shifts are handled in a processor much faster than "complicated" math like division (as Q&R is a...

View Article


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

Hi GerdW, Thanks for the feedback. You're right about this statement, logical shifts and boolean functions are much faster to handle in processor, particularly with big set of binary data. Will take...

View Article

Re : how to customize the fifo in sbrio 9642

What do you want to do exacty with this FIFO ? What is the general architecture of your application ? Do you need to use a DMA FIFO to transfer data from FPGA to Host (RT code) ? Or is it just a FIFO...

View Article

Re : interfacing multisim with real world hardware

Hello, If you want people to help you, you will have to give some additionnal information... ^^ Can you explain the general architecture of your system ? (inputs, outputs...and do not forget that a...

View Article
Browsing all 203763 articles
Browse latest View live


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