LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unir dos arrays de distintos tipos

Hola, tengo dos arrays. Uno de tipo booleano y otro de tipo String. Quiero unirlos a un array solo para que sea un array constant. Estoy intentando hacerlo con Build Array y con Bundle pero me da errores. ¿Alguna idea?

0 Kudos
Message 1 of 7
(160 Views)

Los arreglos tienen que ser del mismo tamano o perderas elementos del arreglo mas grande

LFBaute_0-1712317201626.png

o puedes usar Index Array para obtener elemento por elemento y cablear la n para el tamano

CLA, CTA
0 Kudos
Message 2 of 7
(149 Views)

Another option:

When you don't need labelled cluster elements then you can use the Index&BundleClusterArray function!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 7
(130 Views)

El problema es que cada booleano tiene para un valor especifico y no puedo poner en los botones los distintos valores. 

 

Lo quiero como en la imagen. Prototipo.JPG 

0 Kudos
Message 4 of 7
(66 Views)

Hi smm,

 


@smm2000 wrote:

The problem is that each boolean has a specific value and I cannot put the different values in the buttons.

 

I want it like in the picture


What happens when you wire the array of clusters to your indicator (or local of control)?

 

What is the datatype of the shown frontpanel element?

It looks like an array ( cluster [cluster of booleans, cluster of numerics ] )"!?

 

(Keep in mind: we cannot debug/edit/run images with LabVIEW!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 7
(58 Views)

Solo tengo el iconoIconos.JPG

0 Kudos
Message 6 of 7
(51 Views)

Hi smm,

 


@smm2000 wrote:

I only have the icon


Why?

Can't you open the context help to check the datatype of the cluster wire/terminals???

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 7
(43 Views)