LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get A Control Value by Index

Get Control Value by Index only accepts an array for the Index Array although the Help says it should morph to single or multiple (array) input. Connect a single index number and the broken wire appears "connected a 1D array(U32) to a (1 value) U32 value. This action forces me to create a new array for the input although I'm only reading 1 value.This is Labview 2015. Is this the expected implementation for "Get Control by Index"? Rich J
0 Kudos
Message 1 of 3
(2,941 Views)

I appears that primitive doesn't support a scalar.  I think it shouild accept a scalar, and I've had to do the same build array, and index operations that I don't think should be necessary.  I wouldn't say it is a bug, but I'd request either a CAR, or a post on the Idea Exchange.

0 Kudos
Message 2 of 3
(2,930 Views)
I'd say its a bug, SET Control by Index work just fine for a scalar index. Get Control by Index does not work for scalar index as you mentioned. Rich J
0 Kudos
Message 3 of 3
(2,921 Views)