This function reads the Elcomat autocollimator via /dev/ttyS0.
The x and y readings are treated in the following way: If x is fetched, the corresponding y value is stored. The next y reading receives this value without any I/O. The same applies, if y is read first.
If c is supplied, device is closed.
e.g.:
* = elcomat( x)
This function reads the Elcomat autocollimator via the ASCII interface. The x and y readings are treated in the following way: If x is fetched, the corresponding y value is stored. The next y reading receives this value without any I/O. The same applies, if y is read first.
If c is supplied, device is closed.
e.g.:
* = elcomat_ascii( ttyS0, x)