LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Leaving constant for control only?

I suspect the that using a control with default values is much faster than a constant. I have an interesting demo here http://forums.ni.com/ni/board/message?board.id=170&thread.id=427778&view=by_date_descending&page=2



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 11 of 14
(794 Views)

Coq Rouge wrote:

I suspect the that using a control with default values is much faster than a constant. I have an interesting demo here http://forums.ni.com/ni/board/message?board.id=170&thread.id=427778&view=by_date_descending&page=2


 

I am not convinced (yet). I updated that thread with a modified benchamark to illustrate.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 12 of 14
(785 Views)

Ben wrote:

I am not convinced (yet). I updated that thread with a modified benchamark to illustrate.

Ben


Running the same example as I pointed to in Labview 9 gives almost identical times. But at that time I did not have access to Labview 9. So my statement is not valid in Labview 9


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 13 of 14
(774 Views)

HI Coq,

 

The way your benchmark code was laid out gave some odd results becuase more than one thing was running at a time so they were fighting with each other so the numbers can't be trusted. If you go back to the thread you linked you will see an image of how I modified the ocde such that the benchmarks is actually measuring the speed of teh transpose isntead how quickly and often does it switch threads and competition with the GUI updates.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 14 of 14
(762 Views)