NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Sometimes cannot edit Value of LabVIEW module parameters

Hi there,

 

I'm seeing a weird problem where I cannot edit parameters sent to a LabVIEW module. This only happens on certain steps, on other steps, with the exact same LV module, I have no problem. When I hover over the exclamation mark, it says " Unknown variable or property name ''. " (Screenshot attached). Does anyone know what might be the problem?

 

Thank you

0 Kudos
Message 1 of 11
(4,877 Views)

I want to add that I'm seeing a trend. The problem seems to happen when one of the values is a concatenation of strings (for DAQ channel names). For example, one of the values is Parameters.Chan1 + "," + Parameters.Chan2

 

This worked in an older version of TestStand (3.5) and I just recently loaded it up in 2010. Is there a setting somewhere to allow me to at least edit the value?

 

Thank you,

0 Kudos
Message 2 of 11
(4,864 Views)

I am able to recreate the error now. The screenshot will show exactly what I see at each step, but here is how I recreate it.

 

1. Insert fresh module call

2. Add element to "RetrieveDataCtrls". In LabVIEW this is an array of cluster.

3. Reload the VI prototype, or click off then click back on the step, and all parameters are locked out.

0 Kudos
Message 3 of 11
(4,843 Views)

Hi, 

 

Can you post the VI which shows the problem? You can delete all the content in the VI but keep the controls and indicators. 

 

Regards

Anand Jain

National Instruments

0 Kudos
Message 4 of 11
(4,820 Views)

Hi there, I'm finding it is related to having an array of waveforms inside the cluster. Attached is a sequence and VI showing the problem.

Download All
0 Kudos
Message 5 of 11
(4,785 Views)

It looks like it is trying to input an initialized array; can you click the pencil icon next to the type in the step settings? This removes the error. 


0 Kudos
Message 6 of 11
(4,758 Views)

Hi t@nim@t0R,

 

No, after reloading the VI prototype, the pencil eraser is also grayed out.

0 Kudos
Message 7 of 11
(4,746 Views)

Have you tried creating the custom data type as well to input the necessary parameters to the VI? 

0 Kudos
Message 8 of 11
(4,724 Views)

t@nim@t0R wrote:

Have you tried creating the custom data type as well to input the necessary parameters to the VI? 


Yes, the cluster is a custom datatype (the array of clusters is not). I found a workaround where I create a local variable which is my array of cluster, then set all the values of it in an statement step. Then when I call my VI I can just use my new local variable as the input and TestStand does not complain anymore!

0 Kudos
Message 9 of 11
(4,722 Views)

Yes, the cluster is a custom datatype (the array of clusters is not). 

 

Hi,  opened the sequence file but couldn't see the custom datatype for the cluster in the sequence file? 

Something to look at, if it is indeed a testStand custom datatype being used..  have seen issues in the past with labview and teststand where label names in the testStand custom datatype don't match those from the labview cluster another issue seen is when the cluster controls are ordered differently to the custom datatypes. Both of these cases would cause issues.

Have also noticed that the step settings default check button is not available  so there is no default state available so you would need to initialise this input (as you have done with the local variable).. again this could be related to your custom datatype (property flags)..

I copied your labview control and added to the same VI and it all worked correctly, so hunch is its the custom data type that is causing the issue..

Download All
0 Kudos
Message 10 of 11
(4,711 Views)