Would like to have fan state accessible in Object Model
-
Hi,
I would like to have, if possible, fan state information made part of the object model.
Thanks.
Frederick
-
@fcwilt
Does fans[n].actualValue not provide what you need? -
@OwenD said in Would like to have fan state accessible in Object Model:
@fcwilt
Does fans[n].actualValue not provide what you need?Hi,
Thanks for the reply.
There must be a newer version of the documentation. The one I am using doesn't list that.
https://duet3d.dozuki.com/Wiki/Object_Model_of_RepRapFirmware
Do you have a link?
Frederick
-
you're probably best of looking at your actual object model with M409 as the docs are likely to be out of date on and off as things develop.
iirc dc42 said RRF3.2 + DWC3.2 would have an visual interface to the object model so that'll help a lot when released.
-
@bearer said in Would like to have fan state accessible in Object Model:
you're probably best of looking at your actual object model with M409 as the docs are likely to be out of date on and off as things develop.
What threw me off was the statement
"Values in the OM can be retrieved in the following ways"
in the section where they mentioned M409.
I didn't realize that it could return portions of object model and not just specific values.
Perhaps that ability should be made a bit more prominent in that section.
Thanks.
Frederick
-
@fcwilt In your web browser try (during a print)
http://your.printer.ip.address/rr_model?flags=d99fvReturning the entire object model has been limited in M409 as it's too much data.
You have to do a section at a time. -
@OwenD said in Would like to have fan state accessible in Object Model:
@fcwilt In your web browser try (during a print)
http://your.printer.ip.address/rr_model?flags=d99fvReturning the entire object model has been limited in M409 as it's too much data.
You have to do a section at a time.Thanks for the feedback.
Yes, I found that out. It accepts the request but appears to timeout and disconnect.
The important feature for me is that M409 can provide more than just values but names and structure as well.
Frederick
-
(i think rr_model suffer the same limitation as M409 when not used with DSF)
-
How do I mark this topic of mine as solved?
Thanks.
Frederick
-
@fcwilt said in Would like to have fan state accessible in Object Model:
solved
https://forum.duet3d.com/topic/7773/forum-feature-mark-as-question-solved
edit note first "ask question" then "solved" backwards, but..
-
@bearer
Thanks much.
Frederick
-
@fcwilt said in Would like to have fan state accessible in Object Model:
Perhaps that ability should be made a bit more prominent in that section.
Very Soon it will become much much easier to view and interact with the OM in DWC.
-
@Phaedrux said in Would like to have fan state accessible in Object Model:
Very Soon
Sounds good but M409 solved my immediate problem once I found out it could provide information about the structure of the OM in addition to specific values.
Frederick