public Int64[] MoveIn64(short bar, long barOffset, int numToRead) { Int64[] buf64 = new Int64[numToRead]; int error = AgVisa32.viMoveIn64(mSession, bar, (int)barOffset, numToRead, buf64); if (error < 0) { AgVisa32Exception.Throw(error); } return(buf64); }