two questions: What kind of array (datatype)? What kind of mark?
General algorithm: 1) do a comparison "<0" and the full array, resulting in a boolean array 2) for loop with your 1d array and the boolean array as indexing inputs: in the loop you do a replacement depending on the boolean value, autoindexing enabled for output
Best regards, GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
so you have to convert your DBL array to a string array and do the replacements in the string array. For conversion you can use "number to fractional string"...
The example shows how to do it - but you will get memory problems with very big DBL arrays
Message Edited by GerdW on 02-15-200809:09 PM
Best regards, GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019