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

Sleep option does not work #14

Closed
dnorgaard-usgs opened this issue Nov 16, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@dnorgaard-usgs
Copy link
Contributor

commented Nov 16, 2017

The software is supposed to send a signal to the instrument to make the scanner sleep during the period specified under Communication tab. This dose not appear to be working.

@dnorgaard-usgs dnorgaard-usgs self-assigned this Dec 20, 2017

@dnorgaard-usgs

This comment has been minimized.

Copy link
Contributor Author

commented Dec 20, 2017

It appears that CFtpFileFind.FindFile (https://msdn.microsoft.com/en-us/library/272ce2aa.aspx#cftpfilefind__findfile) in CFTPCom::FindFile does not return a 0 as expected when a file isn't found. I found one reference on the internet that indicates the return code is backwards from a Unix/Linux FTP server. For now I have reversed the return code.

Further testing is still needed to ensure the sleep command send to instrument does indeed send the instrument to sleep.

@dnorgaard-usgs dnorgaard-usgs added the bug label Jan 5, 2018

dnorgaard-usgs added a commit that referenced this issue Jan 5, 2018

dnorgaard-usgs added a commit that referenced this issue Mar 23, 2019

Merge pull request #14 from NOVACProject/master
merge mattias changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.