08-05-2013 04:57 PM
Hi I have to convert digital data to boolean array to do some analysis. I know there is function called Digital to Boolean Array.vi that can exactly do this task but I have noticed when I use this block I see a considerable delay between my high data acquisition loop and the processing loop ( used queue). When I remove this vi both loops work at the same rate but when I add this block to my consumer loop, there is like a 2ms delay in every loop iteration between them. I would like to know if there is anyway to to this conversion without using too much memory and in the fastest way.
I would greatly appreciate your help.
Thanks
08-05-2013 05:29 PM
You can open the block diagram of that VI to see what was done and whether you could modify a copy for improved performance. At a quick glance it is not obvious that anything slow is in there.
How big is your waveform? Can you post your VI with some typical data saved as default?
Lynn
08-06-2013 03:17 AM
@johnsold wrote:
You can open the block diagram of that VI to see what was done and whether you could modify a copy for improved performance.
Hi johnsold,
Does your piece of advice have something to do with SubVI Overhead as shown in:
LabVIEW\examples\general\Eliminating SubVI Overhead.llb
?
Regards,
Alex