From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
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
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.
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