X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fsensors%2Fdilatometer.h;h=d2240513ef37d53425b8d276492d849e938d23a2;hb=afa4d0628fffc7fb964f0d99db24e744e79cd653;hp=0faa205ed089fec163441668488a97f4fe06ee72;hpb=b131bb6cde598e31ea10cc72b432dc56374536a1;p=matches%2FMCTX3420.git diff --git a/server/sensors/dilatometer.h b/server/sensors/dilatometer.h index 0faa205..d224051 100644 --- a/server/sensors/dilatometer.h +++ b/server/sensors/dilatometer.h @@ -20,6 +20,15 @@ //Scaling factor required to change from pixels to nm #define SCALE 1 // Note camera has not been calibrated yet so result will be in pixels +/** + * Enum of Dilatometer IDs + */ +typedef enum +{ + DIL_POS, + DIL_DIFF +} DilatometerID; + extern bool Dilatometer_Init(const char * name, int id); // Initialise the dilatometer extern bool Dilatometer_Cleanup(int id); // Cleanup extern bool Dilatometer_Read(int id, double * value); // Read the Dilatometer