NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TS2023 Q4 : Sequence Editor, Step Settings Pane crashes when hoovering over Values that are uninitialized

In the example below, the sequence CrashMe takes a string as input parameter.

 

A call is made to it with EmptyArray as parameter (an actual empty array) to demonstrate the problem (see also attached video)

When moving the mouse over the parameter value EmptyArray[0] the Step Settings Pane crashes! (see second screenshot)

 

magnux_0-1699612562575.png

 

Step Settings Pane crashes as below:

magnux_1-1699613278682.png

 

Trying to change the value now becomes complicated, as the pane crashes when trying to change the value 😞

- Renaming the local variable to Locals.EmptyArray_ makes the value "invalid" and allow changing the parameter value again.

- Using #novalidation(Locals.EmptyArray[0]) prevents it from crashing.

 

 

Download All
Message 1 of 5
(15,710 Views)

Thank you Magnus for reporting the problem.  It is being tracked with this id 2577499.

 

The problem happens when the Step Settings panel tries to evaluate the expression specified for the parameter.  It is not gracefully handling accessing elements of an empty array. The workaround as you have found is to use the "#NoValidation()" function.

 

Regards,

Jose Hernandez

0 Kudos
Message 2 of 5
(15,674 Views)

Thanks Jose, 

 

we found an additional way to get around the value-preview-crash situation - however, it is a bit silly: Holding CTRL or SHIFT while navigating the mouse cursor over a Parameter Value in the Step Pane prevents the TestStand 2023 value preview feature from being triggered. While holding SHIFT/CTRL it is also possible to click and edit the value / expression.

 

A bugfix is planned for next release in Q2.

Message 3 of 5
(15,245 Views)

Hi Jose, any updates on 2577499? 

 

I hope it will be included in the next release of TestStand, which seems to be scheduled to 2024Q4 ?

 

BR

Magnus

0 Kudos
Message 4 of 5
(10,622 Views)

Hi, 

 

Yes, this issue has been fixed in the next release of TS scheduled to release later this year. 

 

Regards, 

Anand Jain

NI

0 Kudos
Message 5 of 5
(10,382 Views)