The subscript error I get does obviously relate to the array, but I know in advance how much data will be transfered, 500 data points of a trace and I have DIM the array just prior to the transfer code, in the same subroutine. Also I have attemped to make the transfer a for next loop and it I get the same error at the start of the loop? The has to be another cause of this problem.