10-12-2007 08:46 AM
10-13-2007 02:10 PM
Maybe these wil help?
http://forums.ni.com/ni/board/message?board.id=170&message.id=22518&requireLogin=False
http://forums.ni.com/ni/board/message?board.id=170&message.id=39731&requireLogin=False
10-13-2007 06:03 PM
@Shellpetal wrote:
To do this I must replace one dimension of the 2D array which is generated by my camera. The problem is that I can't use the index array function with this data. The input is a 2D array of singles.
I don't understand how you want to replace one "dimension" of a 2D array. Are you possibly trying to replace one row or column instead?
I am pretty sure that index array will work with 2D arrays, even in 5.1. It seems you want to replace existing values, so "replace array element" is probably the right function. I would just autoindex the 2D array using a for loop, then you only get a 1D array inside the loop where you can replace desired element. I think I still have an old computer with 5.1 (or even 4.0) at work, so I might be able to look into this next week.
10-15-2007 03:00 AM