LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you get multiple plots on a graph? LV 6.1

I believe his moniker is GerdW, not Gurd. Smiley Wink

Which index inputs are you referring to? From the LabVIEW Help on Index Array:

If you index a 1D array and do not wire an input index terminal, this function extracts the first element of the array. If you grow the node and have more than one element or subarray output, this function extracts the first number of elements equal to the number of element or subarray outputs.


0 Kudos
Message 21 of 24
(543 Views)
Hi Vr6,

have you read the context help for the ArraySubset? Or, even better, clicked on "Click for more help"? Then you would have seen:
"length must be numeric. If index plus length is larger than the size of the array, the function returns only as much data as is available. The default is the length from index to the end of array."
The default value for index terminal is 0 as shown in the context help...


Message Edited by GerdW on 04-25-2008 04:23 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 22 of 24
(537 Views)
Ok so when LV writes the array the first eleement is the most recent one? I figured it would be the oldest?
0 Kudos
Message 23 of 24
(536 Views)
Hi Vr6,

what are you referring to?

At the moment you build the arrays (for the shift registers) by adding most recent values at the end. My ArraySubset code is stripping values at the start of the array, so it's removing the oldest values...
Best regards,
GerdW


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