07-01-2020 02:55 PM
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
07-01-2020 03:15 PM - edited 07-01-2020 03:16 PM
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…
07-01-2020 03:17 PM
Offhand, I'd say that some driver or something isn't installed correctly or is incompatible with Win10 causing communications timeouts.