LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with convert cluster to array-labview 2017

Hello everyone,

I describe my problem:
I have several buttons, each representing a mass flow. I have grouped these buttons in a cluster. For the writing to the reading all is ok but when I want to convert this cluster in array, this one inverts the massflow 5 with the 9 so my set value of the massflow 5 comes to put itself in the index 9 and conversely.

Can you help me?
Here are some pictures of the program to better understand.

Thanks in advance,

Anto

 

0 Kudos
Message 1 of 4
(1,352 Views)

Hi Anto,

 

at first a general suggestion: when you want to discuss problems with your code then you should attach your CODE! We cannot debug/edit/run images with LabVIEW…

(Please attach the typedefinition of that cluster!)

 

On your images:

My magic glassball says "The cluster elements have a different order then they are arranged in the typedefinition!". You most probably can correct that by changing the order of the elements (right-click option of the cluster) or rearranging/moving them manually.

 

Suggestion 1: right-click the cluster and select AutoSizing -> arrange vertically.

Suggestion 2: Make sure you are using a typedefinition for your cluster! (You already seem to do that.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(1,345 Views)

Hi GerdW,

My problems is resolved. 

Thanks!

See u.

0 Kudos
Message 3 of 4
(1,248 Views)

Hi Anto,

 


@Anto_98 wrote:

My problems is resolved.


General advice: public forums like this LabVIEW board work best when the answer to a question is not just "problem is solved", but instead a clear description HOW the problem is solved…

 


@Anto_98 wrote:

Thanks!


General advice: public forums often use some kind of "Thank you" implementations. In the LabVIEW board you can give "kudos" and mark "solutions". Did you read the "how to" for this forum?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(1,240 Views)