03-16-2011 09:35 AM
Hi,
I have a testing system runtime status VI which is running asynchronously from the TestStand sequence and is updated during the testing process - by using references to controls in LabVIEW and FileGlobal variables in TestStand (as it's explained here - http://decibel.ni.com/content/docs/DOC-8666)
The updates include setting test started time, running test number, progress bar, selection listbox row (e.g. "IP/Test Name listbox"), adding executed test info to the "Done Test Status" listbox, etc.
All updates work fine, excepting of adding row to the "Done Test Status" listbox: sometimes the listbox stops to receive/display added rows. For example, running test number is 20, but the "Done Test Status" listbox has only 9 rows, while 19 are expected. Or running test number is 200, but the "Done Test Status" listbox has only 124 rows.
This problem occurs only on Lab stations with LV runtime engine and TS operator interface, so I can't debug this issue. On my computer everything works correctly.
Please help to understand what causes this problem and how to solve it.
Below are screenshots of the Status and the AddRowToListbox VI.
AddRow.vi which is called from the AddRowToListbox.vi adds an array single row to a multicolumn listbox.
03-17-2011 10:49 AM
Are you perhaps unintentionally using more than one verison of the labview runtime and trying to pass control references between the two versions of LabVIEW?
I believe newer versions of TestStand (i.e. 2010) are by default set to use whichever version of the runtime the VI was compiled with.
You might try adding code to your VIs to help you debug the issue, such as displaying a message box just before adding something to the listbox.
Hope this helps,
-Doug