Tested the 64 bit version of aodscanner program.

250x250x200, 3 rep volume acquisition works fine and is saved fine. 32 bit version program also works but after this volume is acquired, clicking the segment button does not work.
Clicking segment button after above volume acquisition works fine on 64 bit program

Motion correction information is written fine in both 64 and 32 bit versions. Previous problem of volume acquisition repetition count not being stored in the file was related to saving the motion correction data.

Sometimes, the 64 bit program will crash after it is stopped and the window is closed.

Previously during testing, 64 bit version was also crashing randomly but this may have been because one of the fields (file handle for writing motor movements) in the object was not updated before being used. After that problem was fixed, crashes during acquisition have not occured.
This code has the implementation for coarse (motor) and fine (AOD) motion correction.

A bug was noticed in the segmenter code:
If we clicked on the part of the window that is outside the AOD volume's image boundary, the selected cells will not be registered when we return to labview. This may be the elusive problem where clicked cells were getting lost. This problem is now fixed.

Also, it seems that with LV2014, the interface with 64 bit Matlab works from a 32 bit LV program.

Ready for a real test with animals or beads.