LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HiQ script execution speed

Hello,

When I execute an HiQ script in LabVIEW, the execution time is very high comparing to the execution time for the same operation written with Labview VIs. When it is impossible to be written in Labview, is there a way to make it faster? Is the problem du to the communication between Labview and HiQ, which means that if executed directly in HiQ it would be much faster?

Thanks a lot,

Dze
0 Kudos
Message 1 of 2
(2,736 Views)
> When I execute an HiQ script in LabVIEW, the execution time is very
> high comparing to the execution time for the same operation written
> with Labview VIs. When it is impossible to be written in Labview, is
> there a way to make it faster? Is the problem du to the communication
> between Labview and HiQ, which means that if executed directly in HiQ
> it would be much faster?

There are several things at work here. The data is being translated and
shipped from one application to the other. If you have lots of data,
this could be significant. The other thing is that HiQ is doesn't
compile to machine code, but to a p-code which is interpretted, much
like what JAVA does. Third, the algorithms may be implemented much
differently than in LV.

To speed things up, I'
d first try to limit the transitions between
the two. Don't place a script node in a loop and call it over and
over from LV. Try placing the loop in the HiQ script.

Greg McKaskle
0 Kudos
Message 2 of 2
(2,736 Views)