Hi,
The data type of you array is probably numerical. If you haven't already
done this, the first step would be to convert the data to a character
data type. This is easy done with 'Number to Decimal String'. Tie the
output to a 'For Loop' and the search and modify each element in the
array using a combination of 'Search 1D Array', 'Replace Array Subset',
and shift registers.
The first iteration of the 'For Loop' will give you the first index of
the first '-1' found. Use that index value to replace the the '-1' with
your '**'. Increment the index and pass it to the shift register to use
as a starting point for the next interation's search and replace process.
There may be a more "packaged" way of doing this but I just love For
Loops.
Hope this helps ...
- Kevin
In article <506500000008000000D05A0000-1027480788000@exchange.ni.com>,
"Gorelick" wrote:
> I have a 2d array and want to subsitute any negitive value with a marker
> e.g "**" or any indicator which would be identified easily. I am using
> Labview 5.1