nexdome / Firmware

NexDome Dome and Shutter Motor Kit Firmware
https://www.nexdome.com
Other
3 stars 6 forks source link

Shutter status after manual activation #32

Closed w4sm closed 3 years ago

w4sm commented 3 years ago

When the software closes the shutter it appropiately shows "Closed" at the end of the cycle. However, if you use the manual control to tweak the shutter just a bit further closed, the software reports "Open" even though the magnetic switch is still in the closed position. Disconnect and reconnect and the software once again shows "Closed." I'm running the latest 3.3 version firmware on both shtter and rotator.

NameOfTheDragon commented 3 years ago

With open vs. closed, the fail-safe condition must be to report that the dome is open, since a false closed indication could be disastrous. Therefore, the software uses the following definitions:

  1. The shutter is considered Closed if and only if the closed sensor is asserted (making electrical connection).
  2. Open is defined as not Closed.

This can sometimes lead to a situation where the shutter visually appears closed by electrically it cannot be verified, so the default fail-safe condition is to report Open.

It is possible that manually using the toggle switch to close the shutter beyond where the closed condition has been detected, could lead to it being reported as open.

The way to check this would be to examine the log file to see what the firmware is reporting. Please attach a log file that demonstrates the issue.

If you are using the ASCOM driver, then you can find log files in C:\users\your-username\logs. Ideally, delete all existing logs, reproduce the problem, record the time that the problem occurred as accurately as possible (so we can correlate it to the log file).

If you are not using the ASCOM driver, then if you can use a terminal emulator to capture output from the firmware, we can probably use that. We can't really troubleshoot issues based on logs from third party software.

Please attach your log file to this issue as a file attachment (do not copy and paste text from the log file).

w4sm commented 3 years ago

I connected to the dome, started a shutter opening and let it run for a few seconds, stopped the shutter with the software when it was partially open, closed the shutter with the software. At that point the display properly indicated "closed." I then manually closed it about half an inch more. The display showed "open." I then disconnected. The magnetic switch should have stayed closed during and after my brief manual change. TA.Nexdome.Server-2020-08-24-HEP-PC_Stacey Mills-HEP-PC.log This is obviously NOT a major issue, but doessn't seem correct either. Log attached. Thanks!

w4sm commented 3 years ago

Is there anything else I need to do?

NameOfTheDragon commented 3 years ago

Closed due to inactivity (issue is over a year old)