‎03-24-2019 11:02 PM
OK, this is a "hail mary" pass so to speak.
I have a VI that is displaying 20-30 values that it is reading from shared-variable tags. The reads seem to be going well as the time required to read all the data and stuff it into FP indicators is very consistent. The problem is that while I am reading the all the values every 100msec, the front-panel appears to only update about once per second.
Even stranger, this is only happening on one PC (the customer's, of course) that has multiple monitors attached. Any ideas (wild or otherwise) would be appreciated.
Oh yes, the code is written in LV2016.
Thanks for an insight you might be able to provide,
Mike...
‎03-24-2019 11:20 PM
A few questions which come to mind:
‎03-25-2019 07:44 AM
Since it only happening on the customer's PC, it sure sounds like something unique to that PC.
Anti-virus?
Display drivers and acceleration?
What else is using CPU?
Are indictors bound to the SVs?
Poking at the LV code should not be the fix but it could help point out the problem. Defer.FP.Updat (as mentioned previously) may or may not help.
If the GUI is resizing smaller on the customer's machine, do you have overlapping indicators?
Ben
‎03-25-2019 12:46 PM
Can you control what thread the SVs are being read in? I am using the tag reader API.
Mike...
‎03-25-2019 01:09 PM
@mikeporter wrote:
Can you control what thread the SVs are being read in? I am using the tag reader API.
Mike...
Not sure what that is since I seldom use SVs and if I do, I often use Datasocket reads since I can access them programaticaly using the same URL that is used if you sent the binding of the control on the FP.
Using datasockets would let you control what thread is being used by setting the VI doing the datasocket reads to the thread you want.
Ben