Skip to content

Conversation

@renereimann
Copy link
Contributor

Implementation of Pfeiffer telegram protocol following documentation from Pfeiffer manuals.
The frame of the protocol is defined by:
pfeiffer_telegram
Each parameter has a number (which may differ from device to device). For values Pfeiffer has a table of predefined datatypes and how they have to be formated:
pfeiffer_datatypes

Implementation works very nice with our pressure gauge of type HPT 200 from Pfeiffer.
The configuration file significantly improved in readability (see example folder).

…We assemble and the command at each get / set and disensemble / format the response corresponding to the datatype defined by pfeiffer.
@wcpettus
Copy link

Apparently Paul has a device that needs this at UW, so we have another place to test this code

Copy link

@pkolbeck pkolbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it true that the response datatype is always the same as the command datatype?

@renereimann
Copy link
Contributor Author

Is it true that the response datatype is always the same as the command datatype?

From the manual you get the following tables:
image
These indicate that one parameter has just one datatype.
What may differ is if its "R", "W" or "RW", e.g. if you just can query it or if you can also set it. In any case the type is the same since its the same parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants