Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version 53 Likes Search this Thread
11-23-2018, 03:23 AM   #106
New Member




Join Date: Apr 2016
Location: Berlin
Posts: 12
Adam do you use firmware 1.4 ? (screenshot in the first post)

where is the "/tmp/" directory ? camera ?

I assume there's no clean end after the first Queue in usb-mode

tried it whith only one Queue

Code:
./run_mac_unix_usb.sh 
USB DetectDevice Detected 1 devices. DATA: {USB Connection0=Disconnected, Firmware Version0=1.50, Model0=PENTAX K-1, Manufacturer0=RICOH IMAGING COMPANY LTD., Serial Number0=2633271, Detected Devices=1}
USB ConnectCamera Connection SUCCEED
USB SetSock
USB GetAllSettings Retrieval succeeded. DATA: {availableCaptureMethod=Movie|StillImage, currentFNumber=4.0, currentShutterSpeed=1/20, currentExposureCompensation=-0.3, availableISO=Auto|100|125|160|200|250|320|400|500|640|800|1000|1250|1600|2000|2500|3200|4000|5000|6400|8000|10000|12800|16000|20000|25600|32000|40000|51200|64000|80000|102400|128000|160000|204800|, availableFNumber=2.8|3.2|3.5|4.0|4.5|5.0|5.6|6.3|7.1|8.0|9.0|10|11|13|14|16|18|20|22|, currentISO=500, availableExposureCompensation=5.0|4.7|4.3|4.0|3.7|3.3|3.0|2.7|2.3|2.0|1.7|1.3|1.0|0.7|0.3|0.0|-0.3|-0.7|-1.0|-1.3|-1.7|-2.0|-2.3|-2.7|-3.0|-3.3|-3.7|-4.0|-4.3|-4.7|-5.0|, currentCaptureMethod=StillImage}
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=4.0, currentExposureCompensation=-0.3, currentISO=500}
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=20181123093128605}
Capturing StillImage has started. Capture ID: 20181123093128605
Image Stored. Name: K1__9813.JPG
USB storeThumbnail Transfer SUCCEEDED. DATA: {filePath=/tmp/filefPyxtFthumb_K1__9813.JPG}
Downloaded: /tmp/thumb8812032389112243920K1__9813.JPG
/////////////// ..Queue don't finish, no download
in wifi mode
Code:
Capturing StillImage has started. Capture ID: 20181123105715492
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of buffered images is 34 (sd1).
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of buffered images is 0 (sd2).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send ImageStored (K1__9819.JPG) to registered listener (1434437489).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send ImageStored (K1__9819.JPG) to registered listener (1326510183).
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of captures with "Not Complete" is 1
Image Stored. Name: K1__9819.JPG
DBUG c*.r*.c*.s*.w*.i*.Upda* Send CaptureComplete (20181123105715492) to registered listener (1434437489).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send CaptureComplete (20181123105715492) to registered listener (1326510183).
Capture Complete. Caputure ID: 20181123105715492
Downloaded: /tmp/thumb7041219636629807526K1__9819.JPG

/////////////// ..here Process Queue Bottom switch to black/finished

Downloaded: /home/xxx/xxx/K1__9819.JPG
-------------------------------------------------------------------------------------------------------------------------


and here the other issue
hand made wifi shot
Code:
Downloaded: /home/xxx/xxx/K1__9816.JPG

/////////////// ..hand made picture, nothing happens
/////////////// ..now starting Capturing StillImage
Capturing StillImage has started. Capture ID: 20181123103645152
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of buffered images is 32 (sd1).
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of buffered images is 0 (sd2).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send ImageStored (K1__9817.JPG) to registered listener (280116608).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send ImageStored (K1__9817.JPG) to registered listener (1606284623).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send ImageStored (K1__9818.JPG) to registered listener (280116608).
Image Stored. Name: K1__9817.JPG
DBUG c*.r*.c*.s*.w*.i*.Upda* Send ImageStored (K1__9818.JPG) to registered listener (1606284623).
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of captures with "Not Complete" is 1
Image Stored. Name: K1__9818.JPG
DBUG c*.r*.c*.s*.w*.i*.Upda* Send CaptureComplete (20181123103645152) to registered listener (280116608).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send CaptureComplete (20181123103645152) to registered listener (1606284623).
Capture Complete. Caputure ID: 20181123103645152

/////////////// ..only now hand made picture downloaded
Downloaded: /tmp/thumb82400944628226724K1__9817.JPG
Downloaded: /home/xxx/xxx/K1__9817.JPG
Downloaded: /tmp/thumb2276709432491295316K1__9818.JPG
Downloaded: /home/xxx/xxx/K1__9818.JPG



Last edited by Ha Di Ko; 11-23-2018 at 03:36 AM.
11-23-2018, 03:55 AM   #107
Administrator
Site Webmaster
Adam's Avatar

Join Date: Sep 2006
Location: Arizona
Photos: Gallery | Albums
Posts: 51,594
Original Poster
First of all, thanks for the details.

QuoteOriginally posted by Ha Di Ko Quote
Adam do you use firmware 1.4 ? (screenshot in the first post)
Perhaps it's more stable than 1.5 based on what I'm seeing (jk)


QuoteOriginally posted by Ha Di Ko Quote
where is the "/tmp/" directory ? camera ?
That is your system-specific (i.e. Linux) temporary file directory.

QuoteOriginally posted by Ha Di Ko Quote
and here the other issuehand made wifi shot
Notice how the SDK is saying 'Number of captures with "Not Complete" is 1'. This means that the (expected) capture compete event will likely never fire. I will come up with a workaround to query the camera for the image status manually while the queue is blocked. However, I have to say it's a shame that the camera isn't more stable in this regard...

QuoteOriginally posted by Ha Di Ko Quote
/////////////// ..Queue don't finish, no download

Again, it looks like there is no capture complete event here either. The same workaround should fix this issue, though there may be other underlying issues here, i.e. in the USB driver. Will have to add more outputs to the program to troubleshoot this. Stay tuned for both!

Adam
PentaxForums.com Webmaster (Site Usage Guide | Site Help | My Photography)



PentaxForums.com server and development costs are user-supported. You can help cover these costs by donating or purchasing one of our Pentax eBooks. Or, buy your photo gear from our affiliates, Adorama, B&H Photo, KEH, or Topaz Labs, and get FREE Marketplace access - click here to see how! Trusted Pentax retailers:
11-23-2018, 11:13 AM   #108
New Member




Join Date: Apr 2016
Location: Berlin
Posts: 12
QuoteOriginally posted by Adam Quote
....

That is your system-specific (i.e. Linux) temporary file directory.

//.. witzig
..
..
..

Stay tuned for both!
That's what i wanted to hear, so we don't have to wait for a new SDK.

will stay tuned
11-23-2018, 09:55 PM   #109
Administrator
Site Webmaster
Adam's Avatar

Join Date: Sep 2006
Location: Arizona
Photos: Gallery | Albums
Posts: 51,594
Original Poster
I've posted a new version with better queue stability and debug messages which should allow us to better diagnose the USB mode issues.

The workaround is only going to work in some cases. Poor stability of the wi-fi SDK will still prevent the queue from being perfectly smooth in RAW+ mode.


Adam
PentaxForums.com Webmaster (Site Usage Guide | Site Help | My Photography)



PentaxForums.com server and development costs are user-supported. You can help cover these costs by donating or purchasing one of our Pentax eBooks. Or, buy your photo gear from our affiliates, Adorama, B&H Photo, KEH, or Topaz Labs, and get FREE Marketplace access - click here to see how! Trusted Pentax retailers:
11-23-2018, 10:49 PM   #110
Site Supporter
Site Supporter




Join Date: Mar 2008
Location: Prince George, BC
Photos: Gallery | Albums
Posts: 3,546
Here is a run with the latest beta 14. Asked for 5 frames at 10s intervals. Still getting inconsistent intervals but all files transferred successfully. Debug outout below. - Jack

Code version - v1.0.0 beta 14
OS - Ubuntu 18.10
java version - openjdk version "11.0.1" 2018-10-16
Connection mode - USB
Camera model - K-1 v1.50
Camera Auto Power Off setting = Off
Camera mode = M
Program file transfer Raw = On
Program Auto reconnect/Resume queue = On

==========
$ ./run_mac_unix_usb.sh
DEBUG: Processing 0
USB DetectDevice Detected 1 devices. DATA: {USB Connection0=Disconnected, Firmware Version0=1.50, Model0=PENTAX K-1, Manufacturer0=RICOH IMAGING COMPANY LTD., Serial Number0=6370527, Detected Devices=1}
DEBUG: Processing 1
USB ConnectCamera Connection SUCCEED
DEBUG: Processing 5000 39261
USB SetSock
Communicating with camera on port 39261
DEBUG: Processing 3000
USB GetAllSettings Retrieval succeeded. DATA: {availableCaptureMethod=Movie|StillImage, availableShutterSpeed=30|20|15|10|8|6|4|3|2|1.5|1|0.7|0.5|0.3|1/4|1/6|1/8|1/10|1/15|1/20|1/30|1/45|1/60|1/90|1/125|1/180|1/250|1/350|1/500|1/750|1/1000|1/1500|1/2000|1/3000|1/4000|1/6000|1/8000|, currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, availableISO=100|200|400|800|1600|3200|6400|12800|25600|51200|102400|204800|, availableFNumber=6.3|6.7|8.0|9.5|11|13|16|19|22|27|32|, currentISO=1600, availableExposureCompensation=5.0|4.5|4.0|3.5|3.0|2.5|2.0|1.5|1.0|0.5|0.0|-0.5|-1.0|-1.5|-2.0|-2.5|-3.0|-3.5|-4.0|-4.5|-5.0|, currentCaptureMethod=StillImage}
DEBUG: Processing 5
DEBUG: Processing 3001 6.3 1/250 1600 0.0
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
DEBUG: Processing 5
DEBUG: Processing 2
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=20181124053712663}
Capturing StillImage has started. Capture ID: 20181124053712663
DEBUG: Processing 5
Got camera event Event: imageStored
Image Stored. Name: K1A_9257.PEF
DEBUG: Processing 2000 203007017
USB storeThumbnail Transfer SUCCEEDED. DATA: {filePath=/tmp/filemtD7klthumb_K1A_9257.JPG}
Downloaded: /tmp/thumb5792818048986124623K1A_9257.PEF
DEBUG: Processing 5
Shooting interrupted on frame 1. Auto reconnecting and restarting.
DEBUG: Processing 0
USB DetectDevice Detected 1 devices. DATA: {USB Connection0=Connected, Firmware Version0=1.50, Model0=PENTAX K-1, Manufacturer0=RICOH IMAGING COMPANY LTD., Serial Number0=6370527, Detected Devices=1}
DEBUG: Processing 1
USB ConnectCamera Connection SUCCEED
DEBUG: Processing 5000 40813
USB SetSock
Communicating with camera on port 40813
DEBUG: Processing 3000
USB GetAllSettings Retrieval succeeded. DATA: {availableCaptureMethod=Movie|StillImage, availableShutterSpeed=30|20|15|10|8|6|4|3|2|1.5|1|0.7|0.5|0.3|1/4|1/6|1/8|1/10|1/15|1/20|1/30|1/45|1/60|1/90|1/125|1/180|1/250|1/350|1/500|1/750|1/1000|1/1500|1/2000|1/3000|1/4000|1/6000|1/8000|, currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, availableISO=100|200|400|800|1600|3200|6400|12800|25600|51200|102400|204800|, availableFNumber=6.3|6.7|8.0|9.5|11|13|16|19|22|27|32|, currentISO=1600, availableExposureCompensation=5.0|4.5|4.0|3.5|3.0|2.5|2.0|1.5|1.0|0.5|0.0|-0.5|-1.0|-1.5|-2.0|-2.5|-3.0|-3.5|-4.0|-4.5|-5.0|, currentCaptureMethod=StillImage}
DEBUG: Processing 5
DEBUG: Processing 3001 6.3 1/250 1600 0.0
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
DEBUG: Processing 5
DEBUG: Processing 2
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=20181124053747115}
Capturing StillImage has started. Capture ID: 20181124053747115
DEBUG: Processing 5
Got camera event Event: imageStored
Image Stored. Name: K1A_9258.PEF
DEBUG: Processing 2000 203007018
USB storeThumbnail Transfer SUCCEEDED. DATA: {filePath=/tmp/fileKFzbJwthumb_K1A_9258.JPG}
Downloaded: /tmp/thumb13602355467439652787K1A_9258.PEF
DEBUG: Processing 5
Shooting interrupted on frame 2. Auto reconnecting and restarting.
DEBUG: Processing 0
USB DetectDevice Detected 1 devices. DATA: {USB Connection0=Connected, Firmware Version0=1.50, Model0=PENTAX K-1, Manufacturer0=RICOH IMAGING COMPANY LTD., Serial Number0=6370527, Detected Devices=1}
DEBUG: Processing 1
USB ConnectCamera Connection SUCCEED
DEBUG: Processing 5000 35511
USB SetSock
Communicating with camera on port 35511
DEBUG: Processing 3000
USB GetAllSettings Retrieval succeeded. DATA: {availableCaptureMethod=Movie|StillImage, availableShutterSpeed=30|20|15|10|8|6|4|3|2|1.5|1|0.7|0.5|0.3|1/4|1/6|1/8|1/10|1/15|1/20|1/30|1/45|1/60|1/90|1/125|1/180|1/250|1/350|1/500|1/750|1/1000|1/1500|1/2000|1/3000|1/4000|1/6000|1/8000|, currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, availableISO=100|200|400|800|1600|3200|6400|12800|25600|51200|102400|204800|, availableFNumber=6.3|6.7|8.0|9.5|11|13|16|19|22|27|32|, currentISO=1600, availableExposureCompensation=5.0|4.5|4.0|3.5|3.0|2.5|2.0|1.5|1.0|0.5|0.0|-0.5|-1.0|-1.5|-2.0|-2.5|-3.0|-3.5|-4.0|-4.5|-5.0|, currentCaptureMethod=StillImage}
DEBUG: Processing 5
DEBUG: Processing 3001 6.3 1/250 1600 0.0
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
DEBUG: Processing 5
DEBUG: Processing 2
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=20181124053821368}
Capturing StillImage has started. Capture ID: 20181124053821368
DEBUG: Processing 5
Got camera event Event: imageStored
Image Stored. Name: K1A_9259.PEF
DEBUG: Processing 2000 203007019
USB storeThumbnail Transfer SUCCEEDED. DATA: {filePath=/tmp/fileKfoqoathumb_K1A_9259.JPG}
Downloaded: /tmp/thumb6150096226410339031K1A_9259.PEF
DEBUG: Processing 5
Shooting interrupted on frame 3. Auto reconnecting and restarting.
DEBUG: Processing 0
USB DetectDevice Detected 1 devices. DATA: {USB Connection0=Connected, Firmware Version0=1.50, Model0=PENTAX K-1, Manufacturer0=RICOH IMAGING COMPANY LTD., Serial Number0=6370527, Detected Devices=1}
DEBUG: Processing 1
USB ConnectCamera Connection SUCCEED
DEBUG: Processing 5000 45949
USB SetSock
Communicating with camera on port 45949
DEBUG: Processing 3000
USB GetAllSettings Retrieval succeeded. DATA: {availableCaptureMethod=Movie|StillImage, availableShutterSpeed=30|20|15|10|8|6|4|3|2|1.5|1|0.7|0.5|0.3|1/4|1/6|1/8|1/10|1/15|1/20|1/30|1/45|1/60|1/90|1/125|1/180|1/250|1/350|1/500|1/750|1/1000|1/1500|1/2000|1/3000|1/4000|1/6000|1/8000|, currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, availableISO=100|200|400|800|1600|3200|6400|12800|25600|51200|102400|204800|, availableFNumber=6.3|6.7|8.0|9.5|11|13|16|19|22|27|32|, currentISO=1600, availableExposureCompensation=5.0|4.5|4.0|3.5|3.0|2.5|2.0|1.5|1.0|0.5|0.0|-0.5|-1.0|-1.5|-2.0|-2.5|-3.0|-3.5|-4.0|-4.5|-5.0|, currentCaptureMethod=StillImage}
DEBUG: Processing 5
DEBUG: Processing 3001 6.3 1/250 1600 0.0
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
DEBUG: Processing 5
DEBUG: Processing 2
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=20181124053855895}
Capturing StillImage has started. Capture ID: 20181124053855895
DEBUG: Processing 5
Got camera event Event: imageStored
Image Stored. Name: K1A_9260.PEF
DEBUG: Processing 2000 203007020
USB storeThumbnail Transfer SUCCEEDED. DATA: {filePath=/tmp/fileiiAU4fthumb_K1A_9260.JPG}
Downloaded: /tmp/thumb10653851627321328268K1A_9260.PEF
DEBUG: Processing 5
Shooting interrupted on frame 4. Auto reconnecting and restarting.
DEBUG: Processing 0
USB DetectDevice Detected 1 devices. DATA: {USB Connection0=Connected, Firmware Version0=1.50, Model0=PENTAX K-1, Manufacturer0=RICOH IMAGING COMPANY LTD., Serial Number0=6370527, Detected Devices=1}
DEBUG: Processing 1
USB ConnectCamera Connection SUCCEED
DEBUG: Processing 5000 43547
USB SetSock
Communicating with camera on port 43547
DEBUG: Processing 3000
USB GetAllSettings Retrieval succeeded. DATA: {availableCaptureMethod=Movie|StillImage, availableShutterSpeed=30|20|15|10|8|6|4|3|2|1.5|1|0.7|0.5|0.3|1/4|1/6|1/8|1/10|1/15|1/20|1/30|1/45|1/60|1/90|1/125|1/180|1/250|1/350|1/500|1/750|1/1000|1/1500|1/2000|1/3000|1/4000|1/6000|1/8000|, currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, availableISO=100|200|400|800|1600|3200|6400|12800|25600|51200|102400|204800|, availableFNumber=6.3|6.7|8.0|9.5|11|13|16|19|22|27|32|, currentISO=1600, availableExposureCompensation=5.0|4.5|4.0|3.5|3.0|2.5|2.0|1.5|1.0|0.5|0.0|-0.5|-1.0|-1.5|-2.0|-2.5|-3.0|-3.5|-4.0|-4.5|-5.0|, currentCaptureMethod=StillImage}
DEBUG: Processing 5
DEBUG: Processing 3001 6.3 1/250 1600 0.0
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
DEBUG: Processing 5
DEBUG: Processing 2
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=20181124053930333}
Capturing StillImage has started. Capture ID: 20181124053930333
DEBUG: Processing 5
Got camera event Event: imageStored
Image Stored. Name: K1A_9261.PEF
DEBUG: Processing 2000 203007021
USB storeThumbnail Transfer SUCCEEDED. DATA: {filePath=/tmp/fileAUyJsNthumb_K1A_9261.JPG}
Downloaded: /tmp/thumb17782558249079674203K1A_9261.PEF
DEBUG: Processing 5
Shooting interrupted on frame 5. Auto reconnecting and restarting.
DEBUG: Processing 2001 203007017
USB storeImage Transfer SUCCEEDED. DATA: {filePath=/tmp/fileARM2BuK1A_9257.PEF}
DEBUG: Processing 0
USB DetectDevice Detected 1 devices. DATA: {USB Connection0=Connected, Firmware Version0=1.50, Model0=PENTAX K-1, Manufacturer0=RICOH IMAGING COMPANY LTD., Serial Number0=6370527, Detected Devices=1}
DEBUG: Processing 1
USB ConnectCamera Connection SUCCEED
DEBUG: Processing 5000 41879
USB SetSock
Communicating with camera on port 41879
DEBUG: Processing 3000
USB GetAllSettings Retrieval succeeded. DATA: {availableCaptureMethod=Movie|StillImage, availableShutterSpeed=30|20|15|10|8|6|4|3|2|1.5|1|0.7|0.5|0.3|1/4|1/6|1/8|1/10|1/15|1/20|1/30|1/45|1/60|1/90|1/125|1/180|1/250|1/350|1/500|1/750|1/1000|1/1500|1/2000|1/3000|1/4000|1/6000|1/8000|, currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, availableISO=100|200|400|800|1600|3200|6400|12800|25600|51200|102400|204800|, availableFNumber=6.3|6.7|8.0|9.5|11|13|16|19|22|27|32|, currentISO=1600, availableExposureCompensation=5.0|4.5|4.0|3.5|3.0|2.5|2.0|1.5|1.0|0.5|0.0|-0.5|-1.0|-1.5|-2.0|-2.5|-3.0|-3.5|-4.0|-4.5|-5.0|, currentCaptureMethod=StillImage}
DEBUG: Processing 5
Downloaded: /home/jb/Pictures/K1/K1A_9257.PEF
DEBUG: Processing 2001 203007018
USB storeImage Transfer SUCCEEDED. DATA: {filePath=/tmp/fileWD9kSAK1A_9258.PEF}
Downloaded: /home/jb/Pictures/K1/K1A_9258.PEF
DEBUG: Processing 2001 203007019
USB storeImage Transfer SUCCEEDED. DATA: {filePath=/tmp/fileOyum35K1A_9259.PEF}
Downloaded: /home/jb/Pictures/K1/K1A_9259.PEF
DEBUG: Processing 2001 203007020
USB storeImage Transfer SUCCEEDED. DATA: {filePath=/tmp/file04CjF1K1A_9260.PEF}
Downloaded: /home/jb/Pictures/K1/K1A_9260.PEF
DEBUG: Processing 2001 203007021
USB storeImage Transfer SUCCEEDED. DATA: {filePath=/tmp/filerfqrPlK1A_9261.PEF}
Downloaded: /home/jb/Pictures/K1/K1A_9261.PEF
DEBUG: Processing 5
11-23-2018, 11:31 PM   #111
Administrator
Site Webmaster
Adam's Avatar

Join Date: Sep 2006
Location: Arizona
Photos: Gallery | Albums
Posts: 51,594
Original Poster
QuoteOriginally posted by jbinpg Quote
Still getting inconsistent intervals but all files transferred successfully.
Looks like the captureComplete event is still not firing for some reason. Could you re-run this with no cards in the camera, and only 1 card if you had 2?

Adam
PentaxForums.com Webmaster (Site Usage Guide | Site Help | My Photography)



PentaxForums.com server and development costs are user-supported. You can help cover these costs by donating or purchasing one of our Pentax eBooks. Or, buy your photo gear from our affiliates, Adorama, B&H Photo, KEH, or Topaz Labs, and get FREE Marketplace access - click here to see how! Trusted Pentax retailers:
11-24-2018, 12:45 AM   #112
Site Supporter
Site Supporter




Join Date: Mar 2008
Location: Prince George, BC
Photos: Gallery | Albums
Posts: 3,546
New run with only one card in camera. Last two captures look good. I will repeat with no cards in camera. - Jack

===========
Code version - v1.0.0 beta 14
OS - Ubuntu 18.10
java version - openjdk version "11.0.1" 2018-10-16
Connection mode - USB
Camera model - K-1 v1.50
Camera Auto Power Off setting = Off
Camera mode = M
Program file transfer Raw = On
Program Auto reconnect/Resume queue = On
Number of frames = 5
Interval length = 10s
Number of SD cards in camera = 1
=============

$ ./run_mac_unix_usb.sh
DEBUG: Processing 0
USB DetectDevice Detected 1 devices. DATA: {USB Connection0=Disconnected, Firmware Version0=1.50, Model0=PENTAX K-1, Manufacturer0=RICOH IMAGING COMPANY LTD., Serial Number0=6370527, Detected Devices=1}
DEBUG: Processing 1
USB ConnectCamera Connection SUCCEED
DEBUG: Processing 5000 43067
USB SetSock
Communicating with camera on port 43067
DEBUG: Processing 3000
USB GetAllSettings Retrieval succeeded. DATA: {availableCaptureMethod=Movie|StillImage, availableShutterSpeed=30|20|15|10|8|6|4|3|2|1.5|1|0.7|0.5|0.3|1/4|1/6|1/8|1/10|1/15|1/20|1/30|1/45|1/60|1/90|1/125|1/180|1/250|1/350|1/500|1/750|1/1000|1/1500|1/2000|1/3000|1/4000|1/6000|1/8000|, currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, availableISO=100|200|400|800|1600|3200|6400|12800|25600|51200|102400|204800|, availableFNumber=6.3|6.7|8.0|9.5|11|13|16|19|22|27|32|, currentISO=1600, availableExposureCompensation=5.0|4.5|4.0|3.5|3.0|2.5|2.0|1.5|1.0|0.5|0.0|-0.5|-1.0|-1.5|-2.0|-2.5|-3.0|-3.5|-4.0|-4.5|-5.0|, currentCaptureMethod=StillImage}
DEBUG: Processing 5
DEBUG: Processing 3001 6.3 1/250 1600 0.0
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
DEBUG: Processing 2
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=2018112407332034}
Capturing StillImage has started. Capture ID: 2018112407332034
DEBUG: Processing 5
Got camera event Event: imageStored
Image Stored. Name: K1A_9267.PEF
DEBUG: Processing 2000 202974259
USB storeThumbnail Transfer SUCCEEDED. DATA: {filePath=/tmp/fileXLlgJtthumb_K1A_9267.JPG}
Downloaded: /tmp/thumb7763546026418648853K1A_9267.PEF
DEBUG: Processing 5
Shooting interrupted on frame 1. Auto reconnecting and restarting.
DEBUG: Processing 0
USB DetectDevice Detected 1 devices. DATA: {USB Connection0=Connected, Firmware Version0=1.50, Model0=PENTAX K-1, Manufacturer0=RICOH IMAGING COMPANY LTD., Serial Number0=6370527, Detected Devices=1}
DEBUG: Processing 1
USB ConnectCamera Connection SUCCEED
DEBUG: Processing 5000 38827
USB SetSock
Communicating with camera on port 38827
DEBUG: Processing 3000
USB GetAllSettings Retrieval succeeded. DATA: {availableCaptureMethod=Movie|StillImage, availableShutterSpeed=30|20|15|10|8|6|4|3|2|1.5|1|0.7|0.5|0.3|1/4|1/6|1/8|1/10|1/15|1/20|1/30|1/45|1/60|1/90|1/125|1/180|1/250|1/350|1/500|1/750|1/1000|1/1500|1/2000|1/3000|1/4000|1/6000|1/8000|, currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, availableISO=100|200|400|800|1600|3200|6400|12800|25600|51200|102400|204800|, availableFNumber=6.3|6.7|8.0|9.5|11|13|16|19|22|27|32|, currentISO=1600, availableExposureCompensation=5.0|4.5|4.0|3.5|3.0|2.5|2.0|1.5|1.0|0.5|0.0|-0.5|-1.0|-1.5|-2.0|-2.5|-3.0|-3.5|-4.0|-4.5|-5.0|, currentCaptureMethod=StillImage}
DEBUG: Processing 5
DEBUG: Processing 3001 6.3 1/250 1600 0.0
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
DEBUG: Processing 2
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=2018112407335459}
Capturing StillImage has started. Capture ID: 2018112407335459
DEBUG: Processing 5
Got camera event Event: imageStored
Image Stored. Name: K1A_9268.PEF
DEBUG: Processing 2000 202974260
USB storeThumbnail Transfer SUCCEEDED. DATA: {filePath=/tmp/fileh0kzXlthumb_K1A_9268.JPG}
Downloaded: /tmp/thumb4093312493886198924K1A_9268.PEF
DEBUG: Processing 5
Shooting interrupted on frame 2. Auto reconnecting and restarting.
DEBUG: Processing 0
USB DetectDevice Detected 1 devices. DATA: {USB Connection0=Connected, Firmware Version0=1.50, Model0=PENTAX K-1, Manufacturer0=RICOH IMAGING COMPANY LTD., Serial Number0=6370527, Detected Devices=1}
DEBUG: Processing 1
USB ConnectCamera Connection SUCCEED
DEBUG: Processing 5000 35785
USB SetSock
Communicating with camera on port 35785
DEBUG: Processing 3000
USB GetAllSettings Retrieval succeeded. DATA: {availableCaptureMethod=Movie|StillImage, availableShutterSpeed=30|20|15|10|8|6|4|3|2|1.5|1|0.7|0.5|0.3|1/4|1/6|1/8|1/10|1/15|1/20|1/30|1/45|1/60|1/90|1/125|1/180|1/250|1/350|1/500|1/750|1/1000|1/1500|1/2000|1/3000|1/4000|1/6000|1/8000|, currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, availableISO=100|200|400|800|1600|3200|6400|12800|25600|51200|102400|204800|, availableFNumber=6.3|6.7|8.0|9.5|11|13|16|19|22|27|32|, currentISO=1600, availableExposureCompensation=5.0|4.5|4.0|3.5|3.0|2.5|2.0|1.5|1.0|0.5|0.0|-0.5|-1.0|-1.5|-2.0|-2.5|-3.0|-3.5|-4.0|-4.5|-5.0|, currentCaptureMethod=StillImage}
DEBUG: Processing 5
DEBUG: Processing 3001 6.3 1/250 1600 0.0
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
DEBUG: Processing 5
DEBUG: Processing 2
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=2018112407342888}
Capturing StillImage has started. Capture ID: 2018112407342888
DEBUG: Processing 5
Got camera event Event: imageStored
Image Stored. Name: K1A_9269.PEF
DEBUG: Processing 2000 202974261
USB storeThumbnail Transfer SUCCEEDED. DATA: {filePath=/tmp/filelmaCrEthumb_K1A_9269.JPG}
Downloaded: /tmp/thumb888111561518655879K1A_9269.PEF
DEBUG: Processing 5
Shooting interrupted on frame 3. Auto reconnecting and restarting.
DEBUG: Processing 0
USB DetectDevice Detected 1 devices. DATA: {USB Connection0=Connected, Firmware Version0=1.50, Model0=PENTAX K-1, Manufacturer0=RICOH IMAGING COMPANY LTD., Serial Number0=6370527, Detected Devices=1}
DEBUG: Processing 1
USB ConnectCamera Connection SUCCEED
DEBUG: Processing 5000 44223
USB SetSock
Communicating with camera on port 44223
DEBUG: Processing 3000
USB GetAllSettings Retrieval succeeded. DATA: {availableCaptureMethod=Movie|StillImage, availableShutterSpeed=30|20|15|10|8|6|4|3|2|1.5|1|0.7|0.5|0.3|1/4|1/6|1/8|1/10|1/15|1/20|1/30|1/45|1/60|1/90|1/125|1/180|1/250|1/350|1/500|1/750|1/1000|1/1500|1/2000|1/3000|1/4000|1/6000|1/8000|, currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, availableISO=100|200|400|800|1600|3200|6400|12800|25600|51200|102400|204800|, availableFNumber=6.3|6.7|8.0|9.5|11|13|16|19|22|27|32|, currentISO=1600, availableExposureCompensation=5.0|4.5|4.0|3.5|3.0|2.5|2.0|1.5|1.0|0.5|0.0|-0.5|-1.0|-1.5|-2.0|-2.5|-3.0|-3.5|-4.0|-4.5|-5.0|, currentCaptureMethod=StillImage}
DEBUG: Processing 5
DEBUG: Processing 3001 6.3 1/250 1600 0.0
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
DEBUG: Processing 5
DEBUG: Processing 2
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=20181124073502286}
Capturing StillImage has started. Capture ID: 20181124073502286
DEBUG: Processing 5
Got camera event Event: imageStored
Got camera event Event: captureComplete
Image Stored. Name: K1A_9270.PEF
DEBUG: Processing 2000 202974262
Capture Complete. Caputure ID: 20181124073502286
USB storeThumbnail Transfer SUCCEEDED. DATA: {filePath=/tmp/filejzPtWothumb_K1A_9270.JPG}
Downloaded: /tmp/thumb5372707572999301205K1A_9270.PEF
DEBUG: Processing 5
DEBUG: Processing 3001 6.3 1/250 1600 0.0
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
DEBUG: Processing 2
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=20181124073512146}
Capturing StillImage has started. Capture ID: 20181124073512146
DEBUG: Processing 5
Got camera event Event: imageStored
Got camera event Event: captureComplete
Capture Complete. Caputure ID: 20181124073512146
Image Stored. Name: K1A_9271.PEF
DEBUG: Processing 3000
USB GetAllSettings Retrieval succeeded. DATA: {availableCaptureMethod=Movie|StillImage, availableShutterSpeed=30|20|15|10|8|6|4|3|2|1.5|1|0.7|0.5|0.3|1/4|1/6|1/8|1/10|1/15|1/20|1/30|1/45|1/60|1/90|1/125|1/180|1/250|1/350|1/500|1/750|1/1000|1/1500|1/2000|1/3000|1/4000|1/6000|1/8000|, currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, availableISO=100|200|400|800|1600|3200|6400|12800|25600|51200|102400|204800|, availableFNumber=6.3|6.7|8.0|9.5|11|13|16|19|22|27|32|, currentISO=1600, availableExposureCompensation=5.0|4.5|4.0|3.5|3.0|2.5|2.0|1.5|1.0|0.5|0.0|-0.5|-1.0|-1.5|-2.0|-2.5|-3.0|-3.5|-4.0|-4.5|-5.0|, currentCaptureMethod=StillImage}
DEBUG: Processing 2001 202974259
USB storeImage Transfer SUCCEEDED. DATA: {filePath=/tmp/fileBC4r6AK1A_9267.PEF}
Downloaded: /home/jb/Pictures/K1/K1A_9267.PEF
DEBUG: Processing 2001 202974260
USB storeImage Transfer SUCCEEDED. DATA: {filePath=/tmp/fileWF0Zu3K1A_9268.PEF}
Downloaded: /home/jb/Pictures/K1/K1A_9268.PEF
DEBUG: Processing 2001 202974261
USB storeImage Transfer SUCCEEDED. DATA: {filePath=/tmp/file8dOiiNK1A_9269.PEF}
Downloaded: /home/jb/Pictures/K1/K1A_9269.PEF
DEBUG: Processing 2001 202974262
USB storeImage Transfer SUCCEEDED. DATA: {filePath=/tmp/file7RBlJNK1A_9270.PEF}
Downloaded: /home/jb/Pictures/K1/K1A_9270.PEF
DEBUG: Processing 2000 202974263
USB storeThumbnail Transfer SUCCEEDED. DATA: {filePath=/tmp/fileDoWiM4thumb_K1A_9271.JPG}
Downloaded: /tmp/thumb4908721564083764048K1A_9271.PEF
DEBUG: Processing 2001 202974263
USB storeImage Transfer SUCCEEDED. DATA: {filePath=/tmp/file9OAchmK1A_9271.PEF}
Downloaded: /home/jb/Pictures/K1/K1A_9271.PEF
DEBUG: Processing 5
jb@jblaptop2:~/PentaxWifi-master$

---------- Post added 11-23-18 at 11:58 PM ----------

New run with no cards in camera. Intervals are perfect and all camera events recorded. However, with no cards in the camera to store images, there was no transfer. It seems that the storing of images interferes with the interval function and chatter back and forth with the camera. Is the camera connection only single-threaded? - Jack

===========
Code version - v1.0.0 beta 14
OS - Ubuntu 18.10
java version - openjdk version "11.0.1" 2018-10-16
Connection mode - USB
Camera model - K-1 v1.50
Camera Auto Power Off setting = Off
Camera mode = M
Program file transfer Raw = On
Program Auto reconnect/Resume queue = On
Number of frames = 5
Interval length = 10s
Number of SD cards in camera = 0
==========
$ ./run_mac_unix_usb.sh
DEBUG: Processing 0
USB DetectDevice Detected 1 devices. DATA: {USB Connection0=Disconnected, Firmware Version0=1.50, Model0=PENTAX K-1, Manufacturer0=RICOH IMAGING COMPANY LTD., Serial Number0=6370527, Detected Devices=1}
DEBUG: Processing 1
USB ConnectCamera Connection SUCCEED
DEBUG: Processing 5000 44119
USB SetSock
Communicating with camera on port 44119
DEBUG: Processing 3000
USB GetAllSettings Retrieval succeeded. DATA: {availableCaptureMethod=Movie|StillImage, availableShutterSpeed=30|20|15|10|8|6|4|3|2|1.5|1|0.7|0.5|0.3|1/4|1/6|1/8|1/10|1/15|1/20|1/30|1/45|1/60|1/90|1/125|1/180|1/250|1/350|1/500|1/750|1/1000|1/1500|1/2000|1/3000|1/4000|1/6000|1/8000|, currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, availableISO=100|200|400|800|1600|3200|6400|12800|25600|51200|102400|204800|, availableFNumber=6.3|6.7|8.0|9.5|11|13|16|19|22|27|32|, currentISO=1600, availableExposureCompensation=5.0|4.5|4.0|3.5|3.0|2.5|2.0|1.5|1.0|0.5|0.0|-0.5|-1.0|-1.5|-2.0|-2.5|-3.0|-3.5|-4.0|-4.5|-5.0|, currentCaptureMethod=StillImage}
DEBUG: Processing 5
DEBUG: Processing 3001 6.3 1/250 1600 0.0
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
DEBUG: Processing 2
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=20181124074722107}
Capturing StillImage has started. Capture ID: 20181124074722107
DEBUG: Processing 5
Got camera event Event: captureComplete
Capture Complete. Caputure ID: 20181124074722107
DEBUG: Processing 3001 6.3 1/250 1600 0.0
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
DEBUG: Processing 2
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=2018112407473249}
Capturing StillImage has started. Capture ID: 2018112407473249
DEBUG: Processing 5
Got camera event Event: captureComplete
Capture Complete. Caputure ID: 2018112407473249
DEBUG: Processing 3001 6.3 1/250 1600 0.0
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
DEBUG: Processing 5
DEBUG: Processing 2
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=20181124074742178}
Capturing StillImage has started. Capture ID: 20181124074742178
DEBUG: Processing 5
Got camera event Event: captureComplete
Capture Complete. Caputure ID: 20181124074742178
DEBUG: Processing 3001 6.3 1/250 1600 0.0
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
DEBUG: Processing 5
DEBUG: Processing 2
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=20181124074752279}
Capturing StillImage has started. Capture ID: 20181124074752279
DEBUG: Processing 5
Got camera event Event: captureComplete
Capture Complete. Caputure ID: 20181124074752279
DEBUG: Processing 3001 6.3 1/250 1600 0.0
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
DEBUG: Processing 5
DEBUG: Processing 2
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=20181124074802185}
Capturing StillImage has started. Capture ID: 20181124074802185
DEBUG: Processing 5
Got camera event Event: captureComplete
Capture Complete. Caputure ID: 20181124074802185
DEBUG: Processing 3000
USB GetAllSettings Retrieval succeeded. DATA: {availableCaptureMethod=Movie|StillImage, availableShutterSpeed=30|20|15|10|8|6|4|3|2|1.5|1|0.7|0.5|0.3|1/4|1/6|1/8|1/10|1/15|1/20|1/30|1/45|1/60|1/90|1/125|1/180|1/250|1/350|1/500|1/750|1/1000|1/1500|1/2000|1/3000|1/4000|1/6000|1/8000|, currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, availableISO=100|200|400|800|1600|3200|6400|12800|25600|51200|102400|204800|, availableFNumber=6.3|6.7|8.0|9.5|11|13|16|19|22|27|32|, currentISO=1600, availableExposureCompensation=5.0|4.5|4.0|3.5|3.0|2.5|2.0|1.5|1.0|0.5|0.0|-0.5|-1.0|-1.5|-2.0|-2.5|-3.0|-3.5|-4.0|-4.5|-5.0|, currentCaptureMethod=StillImage}
DEBUG: Processing 5

11-24-2018, 02:54 AM   #113
Administrator
Site Webmaster
Adam's Avatar

Join Date: Sep 2006
Location: Arizona
Photos: Gallery | Albums
Posts: 51,594
Original Poster
QuoteOriginally posted by jbinpg Quote
New run with no cards in camera. Intervals are perfect and all camera events recorded. However, with no cards in the camera to store images, there was no transfer. It seems that the storing of images interferes with the interval function and chatter back and forth with the camera. Is the camera connection only single-threaded? - Jack
Apparently there is a separate event for images stored when no SD card is present, so I had to update the USB binaries to support this. Transfers should work more quickly in this mode, but there may be a larger imposed queue gap since the data has to be stored right away. I've uploaded a new release (beta 15).


As for the events not firing when 2 cards are present, and being flaky with 1 card- I guess we are going to have to live with it until the SDK becomes more stable. It really is too bad that the connection isn't more reliable. I do believe, however, that this might also have something to do with the PC OS.

Adam
PentaxForums.com Webmaster (Site Usage Guide | Site Help | My Photography)



PentaxForums.com server and development costs are user-supported. You can help cover these costs by donating or purchasing one of our Pentax eBooks. Or, buy your photo gear from our affiliates, Adorama, B&H Photo, KEH, or Topaz Labs, and get FREE Marketplace access - click here to see how! Trusted Pentax retailers:
11-24-2018, 04:07 AM   #114
New Member




Join Date: Apr 2016
Location: Berlin
Posts: 12
Would it be possible to switchoff "the postpone downloading until the end", for jpeg only in usbmode ?
Delay would increase but it's interesting for stability and e.g.

DeepSkyStacker Live


http://deepskystacker.free.fr/english/index.html
11-24-2018, 04:23 PM   #115
Administrator
Site Webmaster
Adam's Avatar

Join Date: Sep 2006
Location: Arizona
Photos: Gallery | Albums
Posts: 51,594
Original Poster
QuoteOriginally posted by Ha Di Ko Quote
Would it be possible to switchoff "the postpone downloading until the end", for jpeg only in usbmode ?
Delay would increase but it's interesting for stability and e.g.

DeepSkyStacker Live


http://deepskystacker.free.fr/english/index.html
I added a setting for this to the source. Seems to work OK!

Adam
PentaxForums.com Webmaster (Site Usage Guide | Site Help | My Photography)



PentaxForums.com server and development costs are user-supported. You can help cover these costs by donating or purchasing one of our Pentax eBooks. Or, buy your photo gear from our affiliates, Adorama, B&H Photo, KEH, or Topaz Labs, and get FREE Marketplace access - click here to see how! Trusted Pentax retailers:
11-24-2018, 06:32 PM   #116
Site Supporter
Site Supporter




Join Date: Mar 2008
Location: Prince George, BC
Photos: Gallery | Albums
Posts: 3,546
New run with beta 16 and no cards in camera. Total success with both 10s and 2m intervals. All images transfered fine. This is a keeper.

Jack

=============
Code version - v1.0.0 beta 16
OS - Ubuntu 18.10
java version - openjdk version "11.0.1" 2018-10-16
Connection mode - USB
Camera model - K-1 v1.50
Camera Auto Power Off setting = Off
Camera mode = M
Program file transfer Raw = On
Program Auto reconnect/Resume queue = On
Number of frames = 5
Interval length = 2m
Number of SD cards in camera = 0
=============
$ ./run_mac_unix_usb.sh
USB DetectDevice Detected 1 devices. DATA: {USB Connection0=Disconnected, Firmware Version0=1.50, Model0=PENTAX K-1, Manufacturer0=RICOH IMAGING COMPANY LTD., Serial Number0=6370527, Detected Devices=1}
USB ConnectCamera Connection SUCCEED
USB SetSock
Communicating with camera on port 44263
USB GetAllSettings Retrieval succeeded. DATA: {availableCaptureMethod=Movie|StillImage, availableShutterSpeed=30|20|15|10|8|6|4|3|2|1.5|1|0.7|0.5|0.3|1/4|1/6|1/8|1/10|1/15|1/20|1/30|1/45|1/60|1/90|1/125|1/180|1/250|1/350|1/500|1/750|1/1000|1/1500|1/2000|1/3000|1/4000|1/6000|1/8000|, currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, availableISO=100|200|400|800|1600|3200|6400|12800|25600|51200|102400|204800|, availableFNumber=6.3|6.7|8.0|9.5|11|13|16|19|22|27|32|, currentISO=1600, availableExposureCompensation=5.0|4.5|4.0|3.5|3.0|2.5|2.0|1.5|1.0|0.5|0.0|-0.5|-1.0|-1.5|-2.0|-2.5|-3.0|-3.5|-4.0|-4.5|-5.0|, currentCaptureMethod=StillImage}
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=20181125011418375}
Capturing StillImage has started. Capture ID: 20181125011418375
Got camera event Event: imageAdded
Got camera event Event: captureComplete
Image Stored. Name: K1A_9322.PEF
Capture Complete. Caputure ID: 20181125011418375
Downloaded: /tmp/thumb901973786739418668K1A_9322.PEF
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=20181125011618168}
Capturing StillImage has started. Capture ID: 20181125011618168
Got camera event Event: imageAdded
Image Stored. Name: K1A_9323.PEF
Got camera event Event: captureComplete
Downloaded: /tmp/thumb4262997162547139332K1A_9323.PEF
Capture Complete. Caputure ID: 20181125011618168
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=2018112501181815}
Capturing StillImage has started. Capture ID: 2018112501181815
Got camera event Event: imageAdded
Image Stored. Name: K1A_9324.PEF
Got camera event Event: captureComplete
Capture Complete. Caputure ID: 2018112501181815
Downloaded: /tmp/thumb2450760181550513385K1A_9324.PEF
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=20181125012018158}
Capturing StillImage has started. Capture ID: 20181125012018158
Got camera event Event: imageAdded
Image Stored. Name: K1A_9325.PEF
Got camera event Event: captureComplete
Downloaded: /tmp/thumb12890655977326626798K1A_9325.PEF
Capture Complete. Caputure ID: 20181125012018158
USB SetSettings Setting all settings succeeded. DATA: {currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, currentISO=1600}
USB StartCapture Capture OK DATA: {CaptureState=Executing, CaptureMethod=StillImage, CaptureID=20181125012217760}
Capturing StillImage has started. Capture ID: 20181125012217760
Got camera event Event: imageAdded
Image Stored. Name: K1A_9326.PEF
Got camera event Event: captureComplete
Capture Complete. Caputure ID: 20181125012217760
Downloaded: /tmp/thumb11313581046752256503K1A_9326.PEF
USB GetAllSettings Retrieval succeeded. DATA: {availableCaptureMethod=Movie|StillImage, availableShutterSpeed=30|20|15|10|8|6|4|3|2|1.5|1|0.7|0.5|0.3|1/4|1/6|1/8|1/10|1/15|1/20|1/30|1/45|1/60|1/90|1/125|1/180|1/250|1/350|1/500|1/750|1/1000|1/1500|1/2000|1/3000|1/4000|1/6000|1/8000|, currentFNumber=6.3, currentShutterSpeed=1/250, currentExposureCompensation=0.0, availableISO=100|200|400|800|1600|3200|6400|12800|25600|51200|102400|204800|, availableFNumber=6.3|6.7|8.0|9.5|11|13|16|19|22|27|32|, currentISO=1600, availableExposureCompensation=5.0|4.5|4.0|3.5|3.0|2.5|2.0|1.5|1.0|0.5|0.0|-0.5|-1.0|-1.5|-2.0|-2.5|-3.0|-3.5|-4.0|-4.5|-5.0|, currentCaptureMethod=StillImage}
Downloaded: /home/jb/Pictures/K1/K1A_9326.PEF
Downloaded: /home/jb/Pictures/K1/K1A_9322.PEF
Downloaded: /home/jb/Pictures/K1/K1A_9323.PEF
Downloaded: /home/jb/Pictures/K1/K1A_9325.PEF
Downloaded: /home/jb/Pictures/K1/K1A_9324.PEF
11-24-2018, 06:37 PM   #117
Administrator
Site Webmaster
Adam's Avatar

Join Date: Sep 2006
Location: Arizona
Photos: Gallery | Albums
Posts: 51,594
Original Poster
Great to hear!

Adam
PentaxForums.com Webmaster (Site Usage Guide | Site Help | My Photography)



PentaxForums.com server and development costs are user-supported. You can help cover these costs by donating or purchasing one of our Pentax eBooks. Or, buy your photo gear from our affiliates, Adorama, B&H Photo, KEH, or Topaz Labs, and get FREE Marketplace access - click here to see how! Trusted Pentax retailers:
11-24-2018, 06:39 PM   #118
Site Supporter
Site Supporter




Join Date: Mar 2008
Location: Prince George, BC
Photos: Gallery | Albums
Posts: 3,546
I will retry with wifi later and report back. - Jack
11-24-2018, 07:03 PM   #119
Administrator
Site Webmaster
Adam's Avatar

Join Date: Sep 2006
Location: Arizona
Photos: Gallery | Albums
Posts: 51,594
Original Poster
Without a card, I don't think images will transfer at all over wi-fi (not supported by the SDK), but it's not something I've tested.

Adam
PentaxForums.com Webmaster (Site Usage Guide | Site Help | My Photography)



PentaxForums.com server and development costs are user-supported. You can help cover these costs by donating or purchasing one of our Pentax eBooks. Or, buy your photo gear from our affiliates, Adorama, B&H Photo, KEH, or Topaz Labs, and get FREE Marketplace access - click here to see how! Trusted Pentax retailers:
11-25-2018, 01:32 AM   #120
Site Supporter
Site Supporter




Join Date: Mar 2008
Location: Prince George, BC
Photos: Gallery | Albums
Posts: 3,546
New run with latest code and wifi. You were right - it doesn't work at all with no cards in the camera. Flaky with one card but perfect with both cards, including proper intervals. The only huge negative is that the downloading of the files via wifi is so slow as to make it unbearable compared to the comparative lightning speed of a USB connection. Terminal debug output of the wifi connection below. - Jack

============
Code version - v1.0.0 beta 16
OS - Ubuntu 18.10
java version - openjdk version "11.0.1" 2018-10-16
Connection mode - Wifi
Camera model - K-1 v1.50
Camera Auto Power Off setting = Off
Camera mode = M
Program file transfer Raw = On
Program Auto reconnect/Resume queue = On
Number of frames = 5
Interval length = 2m
Number of SD cards in camera = 2
============
$ ./run_mac_unix_wifi.sh
INFO AndroidLoggerFactory Logger name 'com.ricoh.camera.sdk.wireless.impl.WiFiCameraDeviceDetector' exceeds maximum length of 23 characters, using 'c*.r*.c*.s*.w*.i*.WiFi*' instead.
INFO AndroidLoggerFactory Logger name 'com.ricoh.camera.sdk.wireless.impl.ItemCameraInfo' exceeds maximum length of 23 characters, using 'c*.r*.c*.s*.w*.i*.Item*' instead.
INFO AndroidLoggerFactory Logger name 'com.ricoh.camera.sdk.wireless.impl.RestCameraClient' exceeds maximum length of 23 characters, using 'c*.r*.c*.s*.w*.i*.Rest*' instead.
INFO AndroidLoggerFactory Logger name 'com.ricoh.camera.sdk.wireless.impl.ImplCameraDeviceWiFiAdapterFactory' exceeds maximum length of 23 characters, using 'c*.r*.c*.s*.w*.i*.Impl*' instead.
DBUG c*.r*.c*.s*.w*.i*.Impl* create Adapter for PENTAX K-1
INFO AndroidLoggerFactory Logger name 'com.ricoh.camera.sdk.wireless.impl.SyncTrigger' exceeds maximum length of 23 characters, using 'c*.r*.c*.s*.w*.i*.Sync*' instead.
INFO AndroidLoggerFactory Logger name 'com.ricoh.camera.sdk.wireless.impl.ActionLiveview' exceeds maximum length of 23 characters, using 'c*.r*.c*.s*.w*.i*.Acti*' instead.
INFO AndroidLoggerFactory Logger name 'com.ricoh.camera.sdk.wireless.impl.SupportSettingReader' exceeds maximum length of 23 characters, using 'c*.r*.c*.s*.w*.i*.Supp*' instead.
DBUG c*.r*.c*.s*.w*.i*.Impl* Generate CameraInfo
DBUG c*.r*.c*.s*.w*.i*.Impl* Generate ConnectionChecker
INFO AndroidLoggerFactory Logger name 'com.ricoh.camera.sdk.wireless.impl.ConnectionChecker' exceeds maximum length of 23 characters, using 'c*.r*.c*.s*.w*.i*.Conn*' instead.
DBUG c*.r*.c*.s*.w*.i*.Impl* Set sync mode: WebSocket and Polling
INFO AndroidLoggerFactory Logger name 'com.ricoh.camera.sdk.wireless.impl.UpdateCameraStorage' exceeds maximum length of 23 characters, using 'c*.r*.c*.s*.w*.i*.Upda*' instead.
INFO AndroidLoggerFactory Logger name 'com.ricoh.camera.sdk.wireless.impl.UtilSyncList' exceeds maximum length of 23 characters, using 'c*.r*.c*.s*.w*.i*.Util*' instead.
DBUG c*.r*.c*.s*.w*.i*.Sync* WebSocket(Open)
Capturing StillImage has started. Capture ID: 20181124235926197
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of buffered images is 1 (sd1).
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of buffered images is 0 (sd2).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send ImageStored (K1A_9337.PEF) to registered listener (275910435).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send ImageStored (K1A_9337.PEF) to registered listener (642928846).
Image Stored. Name: K1A_9337.PEF
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of captures with "Not Complete" is 1
DBUG c*.r*.c*.s*.w*.i*.Upda* Send CaptureComplete (20181124235926197) to registered listener (275910435).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send CaptureComplete (20181124235926197) to registered listener (642928846).
Capture Complete. Caputure ID: 20181124235926197
Downloaded: /tmp/thumb3889884253636658698K1A_9337.PEF
Capturing StillImage has started. Capture ID: 20181125000126120
DBUG c*.r*.c*.s*.w*.i*.Conn* Connection check is skipped (because Image list is listing)
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of buffered images is 2 (sd1).
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of buffered images is 0 (sd2).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send ImageStored (K1A_9338.PEF) to registered listener (275910435).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send ImageStored (K1A_9338.PEF) to registered listener (642928846).
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of captures with "Not Complete" is 1
DBUG c*.r*.c*.s*.w*.i*.Upda* Send CaptureComplete (20181125000126120) to registered listener (275910435).
Image Stored. Name: K1A_9338.PEF
DBUG c*.r*.c*.s*.w*.i*.Upda* Send CaptureComplete (20181125000126120) to registered listener (642928846).
Capture Complete. Caputure ID: 20181125000126120
Downloaded: /tmp/thumb16530968241291177968K1A_9338.PEF
Capturing StillImage has started. Capture ID: 20181125000326194
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of buffered images is 3 (sd1).
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of buffered images is 0 (sd2).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send ImageStored (K1A_9339.PEF) to registered listener (275910435).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send ImageStored (K1A_9339.PEF) to registered listener (642928846).
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of captures with "Not Complete" is 1
DBUG c*.r*.c*.s*.w*.i*.Upda* Send CaptureComplete (20181125000326194) to registered listener (275910435).
Image Stored. Name: K1A_9339.PEF
DBUG c*.r*.c*.s*.w*.i*.Upda* Send CaptureComplete (20181125000326194) to registered listener (642928846).
Capture Complete. Caputure ID: 20181125000326194
Downloaded: /tmp/thumb884218631918629842K1A_9339.PEF
Capturing StillImage has started. Capture ID: 20181125000526178
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of buffered images is 4 (sd1).
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of buffered images is 0 (sd2).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send ImageStored (K1A_9340.PEF) to registered listener (275910435).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send ImageStored (K1A_9340.PEF) to registered listener (642928846).
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of captures with "Not Complete" is 1
DBUG c*.r*.c*.s*.w*.i*.Upda* Send CaptureComplete (20181125000526178) to registered listener (275910435).
Image Stored. Name: K1A_9340.PEF
DBUG c*.r*.c*.s*.w*.i*.Upda* Send CaptureComplete (20181125000526178) to registered listener (642928846).
Capture Complete. Caputure ID: 20181125000526178
Downloaded: /tmp/thumb7638777998666454419K1A_9340.PEF
Capturing StillImage has started. Capture ID: 20181125000726276
DBUG c*.r*.c*.s*.w*.i*.Conn* Connection check is skipped (because Image list is listing)
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of buffered images is 5 (sd1).
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of buffered images is 0 (sd2).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send ImageStored (K1A_9341.PEF) to registered listener (275910435).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send ImageStored (K1A_9341.PEF) to registered listener (642928846).
DBUG c*.r*.c*.s*.w*.i*.Upda* Number of captures with "Not Complete" is 1
Image Stored. Name: K1A_9341.PEF
DBUG c*.r*.c*.s*.w*.i*.Upda* Send CaptureComplete (20181125000726276) to registered listener (275910435).
DBUG c*.r*.c*.s*.w*.i*.Upda* Send CaptureComplete (20181125000726276) to registered listener (642928846).
Capture Complete. Caputure ID: 20181125000726276
Downloaded: /tmp/thumb12360789559894648786K1A_9341.PEF
Downloaded: /home/jb/Pictures/K1/K1A_9337.PEF
Downloaded: /home/jb/Pictures/K1/K1A_9338.PEF
Downloaded: /home/jb/Pictures/K1/K1A_9339.PEF
Downloaded: /home/jb/Pictures/K1/K1A_9340.PEF
Downloaded: /home/jb/Pictures/K1/K1A_9341.PEF
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
auto, body, camera, data, debug, dslr, event, features, files, firmware, future, id, java, lightroom, pentax, photography, photos, program, ricoh, settings, software, started, transfer, upgrade, usb, wi-fi, wifi

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is this too good be true? Pentax K-1 Mark II Full Frame Wi-Fi 4K HD DSLR Camera & FA voles Pentax Price Watch 18 08-09-2018 05:39 AM
PK Tether and a 15 meter USB cable Altheim Do-It-Yourself 2 03-25-2018 09:51 AM
What do you use to tether your K3 to laptop? Do I have to spend 50 bucks on a Tether? CeciProAm Pentax K-3 & K-3 II 8 02-05-2015 05:19 PM
eye-fi / droid wi-fi question layfsphoto Pentax DSLR Discussion 1 06-09-2010 09:49 AM
Eye-Fi - instant Wi-Fi capabilities for your Pentax nosnoop Pentax DSLR Discussion 3 10-31-2007 01:16 AM



All times are GMT -7. The time now is 09:35 PM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top