What make and model is the autocollimator? There maybe someone with a driver written for it already. As to using MAX, try changing the id query from IDN? to ID? (or see if there is an id query listed in its manual). I just had an HP instrument that responded to ID? vs IDN? Do you know what GPIB address it is set up for? They will range from generally from 1 - 30.
P.M.
PutnamCertified LabVIEW Developer
Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5

LabVIEW Champion