Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t_room not working #40

Open
segaura opened this issue Feb 17, 2021 · 3 comments
Open

t_room not working #40

segaura opened this issue Feb 17, 2021 · 3 comments

Comments

@segaura
Copy link

segaura commented Feb 17, 2021

Hallo.
I saw in issue#18 that a commant t_room has been added to pyHPSU

		"t_room" :{
			"name" : "t_room",
			"command" : "81 00 FA 00 11 00 00",
			"id" : "190",
			"divisor" : "10",
			"writable" : "false",
			"unit" : "deg",
			"type" : "float"
		}

I notice that this is giving me error all the times.
Reading issue#18 comments, my understanding is that the correct command is

31 00 FA 00 11 00 00

I don't have a Rocon U1 so I'm not sure reading this makes sense, anyway with this sequence I get this reading

2021-02-17 22:47:59,609 - DEBUG - CanPI, got:  32 10 FA 00 11 80 00
[{'name': 't_room', 'resp': '-3276.80', 'timestamp': 1613598479.611429}]

which is better than 45 retries and an error.

Is it correct to change 81 to 31?

@Spanni26
Copy link
Owner

Spanni26 commented Feb 18, 2021 via email

@segaura
Copy link
Author

segaura commented Feb 18, 2021

It seems you've been given some dump here

@segaura segaura mentioned this issue Mar 8, 2021
@arizzi
Copy link

arizzi commented Nov 25, 2022

it seems in the testing branch this has been changed to "31" instead of "81" but 31 is not correct, should rather be "61"
The following works:

 "t_room" :{
                    "name" : "t_room",
                    "command" : "61 00 FA 00 11 00 00",
                    "id" : "190",
                    "divisor" : "10",
                    "writable" : "false",
                    "unit" : "deg",
                    "type" : "float"
            },

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

No branches or pull requests

3 participants