Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I use a modified version of Cow's Internal Filtration Controller. That code is using a diode to show the % remaining of the filters. Then, I use a Logic Reader and Writer, to see if the diode is on, to then turn on a Flashing Light, to indicate when a filter is empty.
Did you alias the devices correctly and set the correct pins?
Yes and no. I defined the Filter using its reference ID. I know that alias is fine because it works for other parts of the script. Turning it off and on and changing its mode for example. It always gets stuck at that line for whatever reason. I was wondering if it's a weird limitation of setting the device that way, not using a pin. But I don't see why that would be the case unless it was an oversight by the devs.
This is a valid code and is the method I use in my working code. If this line is giving you an error then your alias calls ahead of this have some sort of error or have not been properly defined.
ill take a look tomorrow. I added this line after everything else had been working without an issue so I'm not sure how or why it would have caused a conflict. but ill take a closer look. thank you.
If there are more detailed error messages I'm not aware of where to see them. I just look at the IC10 and see error on line 31. Line 31 is just what I put above.
ls r3 airfilter 0 Quantity
https://steamcommunity.com/profiles/76561198034102068/screenshot/2428089923946259053/
https://steamcommunity.com/profiles/76561198034102068/screenshot/2428089923946259749/
oh, and for testing. I did try setting the initial state of the filter's On variable to 1. In case it was being caused by it being off. my default for the start of that code is to have everything turned off so it doesnt stay on when not in use. anyway, it didnt help changing it to on.
yeah but that would return the value from all filter slots on the network right? it's only crucial I get a warning from these ones.
oh cool i didnt know that. thanks!
nameHash change w/ labeler