LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2013 VI's getting slow in LabVIEW 2018

Hi,

 

I have LabVIEW VI's written by someone else a long time ago in LabVIEW 2013. I'm using this to control an AOTF that helps to choose among 4 laser lines and to control their intensities. I updated the computer to Windows 10 and to LabVIEW 2018. The VI I'm using is working but it takes a while to execute, unlike when it was before the updates. For example, when I click on a button to switch on a laser on the VI, the button takes 15 seconds to indicate that it had been clicked and another 10 seconds to let me click on another button/change values. The window remains frozen. The very moment the button shows that it gets clicked, the AOTF sends light out. 

 

I am new to LabVIEW. With the very basic knowledge I have, I opened up the block diagram and looked for errors. There was none indicated. The clock delays were only 35 ms. This AOTF is not connected to the DAQ card and needs to be initialized using its own software before LabVIEW can control it. The same main VI that controls the AOTF controls a shutter and a mirror. They work pretty fast. Can I please get some error to identify what is causing this delay?

 

Thanks 

0 Kudos
Message 1 of 3
(1,920 Views)

Hi Fernando,

 


@SIFernando wrote:

Can I please get some error to identify what is causing this delay?


Well, without some code you will only get some generic hints!

 

Generic hints:

Use probes to debug your VI: basic LabVIEW stuff…

Don't use abbreviations (like "AOTF") without explaining them…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(1,909 Views)

Offhand, I'd say that some driver or something isn't installed correctly or is incompatible with Win10 causing communications timeouts.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 3 of 3
(1,906 Views)