12-04-2015 12:12 PM
I need to put this out to the community. It seems that we are having issues using an array of clusters with the UTF for LabVIEW 2015. The UTF does not recognize these types of structures correctly. Attached is a file with screenshots showing the before and after.
12-09-2015 01:56 PM
It's a bit difficult to follow along in the Word document, so I'll try to summarize what I think you're experiencing here:
This looks like a parsing bug to me - the UTF saves the lvtest correctly, but then doesn't read it back in correctly.
Silly suggestion: can you try again, but get rid of all the parentases in your control label names? The parser may be choking on these (it's just a hunch).
12-09-2015 01:58 PM
It would also help if you can upload the lvtest file and the VI you're trying to test (no need for any dependancies, you can even strip the code out if you like), as well as any Setup/Teardown components.
12-09-2015 02:38 PM
It seems to be the 'reading in' parsing that is not working in the UTF but also the file is modified incorrectly when the unit test is closed. What you explained is correct with regards to the screenshots in the Word document. I have attached the VI and the lvtest file that I was using but the VI and the lvtest file represent the VI without the 'sbRIO Data in' control connected to the connector pane. Once this control is attached to the connector pane and the test is updated, that is when it breaks. I wanted to try several types of arrays but it is the cluster array that is causing the most grief. I also removed the parenthesis from the control names, just in case.
12-17-2015 03:27 PM
Christopher Relf wrote:
This looks like a parsing bug to me - the UTF saves the lvtest correctly, but then doesn't read it back in correctly.
Silly suggestion: can you try again, but get rid of all the parentases in your control label names? The parser may be choking on these (it's just a hunch).
Chris,
You were correct. It is a parsing issue and the problem was a control with "/" in its name. If you want to see how I got to that conlusion, see the video below.
I will contact NI to get a CAR filed as to why the dialog that informs us of the problem is not showing up in the original VI. Also, it would be interesting to know what changed from the previous version of UTF and the 2015 version that caused this to be an issue.
12-17-2015 03:48 PM
FabiolaDelaCueva wrote:
Christopher Relf wrote:
Silly suggestion: can you try again, but get rid of all the parentases in your control label names? The parser may be choking on these (it's just a hunch).
Chris,
You were correct. It is a parsing issue and the problem was a control with "/" in its name.
I'd figured it was parsing - that's what happens when you use plain text, without schema, as a configuration file format.
12-30-2015 01:37 PM
A CAR has been filed CAR # 564417.
The only thing we can do is to wait and see if it gets fixed in future versions.
08-04-2016 03:31 PM - last edited on 07-12-2024 03:49 PM by Content Cleaner
CAR 564417 has been fixed in LabVIEW 2016. Please see the LabVIEW 2016 Bug Fix List for more information.
08-08-2016 10:12 AM - last edited on 07-12-2024 03:50 PM by Content Cleaner
OlliesCamel wrote:
CAR 564417 has been fixed in LabVIEW 2016. Please see the LabVIEW 2016 Bug Fix List for more information.
564417 | Special characters in Control names can cause Unit Tests to not recognize cluster elements in some cases. | A control with a special character (/) in its label can cause an lvtest does not to show the controls in a cluster. |
Does this mean that all characters that UTF allows to be entered in its UI will be saved and read correctly? Of you just fixed it for the "\" case?
08-08-2016 10:17 AM
Honestly you may have to test it.
Internally the CAR mentions just fixing the / character in control names, but the related parsing functions have UTF in their VI names, so it may work for more charachters