LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

User Interface Delay Problem

Hello,

 

I use LabVIEW 2010 and develop a DAQ system. For real time monitoring I use graphics in fact mixed signal graph. As you see in the code I need to refresh the graphics in a time period. However, the cursors on the screen naturally delays also. anyone has a smart solution for this problem ?

"You live in a graphical world. Why not program in one?"
Download All
0 Kudos
Message 1 of 3
(2,320 Views)

Hi veli,

 

use parallel loops, one for DAQ and one for all cursor stuff. The second loop may run faster or even use an event structure (to minimize CPU usage)...

 

- Use UnbundleByName for getting the cursor properties, it's much more readable...

- You can enlarge the IndexArray function to show more than one output...

- The FOR loop on the upper right does the same as a simple ArraySubset function...

- Comparing floats for equality may become a problem...

- Is there a reason to use a MixedSignalGraph instead of an XYGraph?

Best regards,
GerdW


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

Thanks for suggestions. I will follow them.  I was going to use Mixed Signal Graph for plotting some group of plots. But I will use single group in another tabs now. 

"You live in a graphical world. Why not program in one?"
0 Kudos
Message 3 of 3
(2,255 Views)