NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TS_ExprCtrl_GetRequiredNamedTypeArrays is not setting the required named types to the edit expression control

can any one please solve my issue?

I am creating a step type in Labwindows. 

I want to set required type of an expression control as array of type 'Protocol'

'Protocol' is a type which I have already specified in TestStand

 

I have initialised the variable 'ReqnamedTypes' as

char *ReqnamedTypes[1] = {"Protocol"}; 

 

I am using below two functions after loading and before poping up the panel in the same order

 

 TS_ExprCtrl_SetRequiredTypes (Lvi_pHandleEEP, PANEL_EEP2_BUFFER_ARRAY, TSUIConst_ValidExpressionType_NamedTypeArray));

 TS_ExprCtrl_GetRequiredNamedTypeArrays (Lvi_pHandleEEP, PANEL_EEP2_BUFFER_ARRAY, ReqnamedTypes, 1);

 

but in TestStand when I select a variable of type 'Protocol' it is giving an evaluation error as Expected <No type specified>, found Protocol

 

why it is not able to set the required named thpe for the expression control, am I doing any mistake?

I am using Labwindows 7.1, and TestStand 3.1

 

Thanks in advance.

 

 

 

0 Kudos
Message 1 of 1
(3,210 Views)