LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

indicator for output array

Hi I am using an Insert to Array function and want to display the output array with an indicator, I selected the classic array, array (array) control indicator but when I wire it up to the array function output I get the error, expecting scalar.  Just wondering what indicator to use or can I modify the array indicator? Thanks

0 Kudos
Message 1 of 5
(3,110 Views)

The easiest way to get an indicator for a functions/VI output is to right-click on the terminal and select Create->Indicator from the popup. This will create an indicator that matches the datatype of the output terminal. It sounds like you did not actually put anything inside the array container to set the datatype of the array.

0 Kudos
Message 2 of 5
(3,101 Views)

ok thanks for the information, I tried that but the indicator selection is disabled, could be that I do not have anything wired up yet to the insert into array function so it does not yet know the data type.  The datatype is an integer that would represent a 8 bit word (0-255), unsigned.

0 Kudos
Message 3 of 5
(3,089 Views)

You don't provide enough information. Can you attach your VI instead?

0 Kudos
Message 4 of 5
(3,083 Views)

@svt4cobra6 wrote:

could be that I do not have anything wired up yet to the insert into array function so it does not yet know the data type.


Most definitely!

Omar
0 Kudos
Message 5 of 5
(3,075 Views)