-
Posts
3,804 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Events
Blogs
Blog Comments posted by NickK
-
-
Decided to move up abort and disconnect which was originally planned for beta.. again something windows seems to make easy but OSX/linux doesn't. Currently adding more for disconnect..
-
Added the PC app to the thread:
Basically it's a FTDI demo application :D
-
Added a 100% standalone version here:
-
I've added a test screenshot of the new test app.
-
Twiddling my fingers with just two things on the todo (both I didn't want to start tonight) and I've made some additional progress with the 4000 carcass.. my carcass now starts up and takes a "photo" :D
So this means that the 4000/11000 cameras should be recognised, and in theory .. should be able to take images etc.
-
So I have a mass of automated testing... the 383L and Titan I'm happy with now for alpha release (there's still some aspects that need tidying up but this is doing really well). The EFW2 works easily.
The 16IC I have working and I'm just sorting out the automated testing (these seem ok however the FTDI library is being a pain in the proverbial - shutdown and restart of management with the driver running is currently being worked on).
So tomorrow...
Finish the 16IC.. it's getting there.. just the FTDI camera close and open needs resolving..
The 4000 carcass I will attempt to reflash with the ATIK PC firmware program... see if that will unlock this for further development.
Do some daylight photos for the developers guide.. finish the dev guide..
-
But he may be interested in AOSX.. so there's still hope..
-
Darryl responded - Equinox is based around SBIG.
-
Hi James - I've shot them an email so we'll see if they're interested.
-
The little 16IC is currently taking 4 seconds to download the image.. not bad for a little USB1.1 camera. I've just spent an hour banging my head against a brick wall with the FTDI drivers.. turns out the 1.1.0 drivers have their own internal threading issues.. so an upgrade to 1.2.2 sorted this out.
The beauty is that to switch between the 383L, the Titan and 16IC only requires asking for the camera by name.. This is basically how AOSX will appear on the front end to the application:
id<Services> services = [legacyDrivers serviceManagement];
NSDictionary *available = [services availableServices];
id serviceObject = [services claimService:@"ATIK 16IC"]; // Just change this for the camera you want..
if( ![serviceObject conformsToProtocol:@protocol(Imager100)]) {
// oops
}
id<Imager100> bigRed = serviceObject;
... away you go
If you want the filter wheel...
id<Services> services = [driver serviceManagement];
NSDictionary *available = [services availableServices];
id serviceObject = [services claimService:@"ATIK EFTW2"];
if( ![serviceObject conformsToProtocol:@protocol(FilterWheel100)]) {
// oops
}
id<FilterWheel100> efw = serviceObject;
[efw setPosition:0];
sleep(5);
[efw setPosition:1];
sleep(5);
[efw setPosition:2];
sleep(5);
[efw setPosition:3];
sleep(5);
[efw setPosition:4];
Simples ;)
The sharp of eyesight have noted legacyDrivers - this is because I've broken off the old USB1.1 cameras into a different OSX Framework - works identical to the main framework with the same Imager100 interface..
-
Somewhere between the previous post and this one the universe was re-arranged slightly. Cunning use of secret squirrel techniques.. and I have my unique ID.. bypassing 3 layers of encryption.
My 16IC now takes exposures *smug mode engaged*.
I've been attempting to get my Leopard install stable but it's a little touchy.. so I had to plumb for a different technique.
-
Surely you're joking Mr Feynman..
The 16ic now connects.. next up is the capture..
-
I have a plan with the 16ic.. use a 32bit OS temporarily :D
Options to get the unique ID (only needs doing once!):
a) Use windows with the FTDI library and write 32bit application - a useful option for PC to mac movers.
B) Use OSX 32bit Leopard in a VirtualBox install and write a 32bit app <- currently seeing if this works..
Then the driver should work :D Will keep you all updated :)
-
So I have a full setup for testing:
USB port A -> 5M repeater -> 5M repeater -> powered USB hub -> Titan, EFW2, 16IC, 4000 carcass + Logitech G500 mouse
USB port B -> 5M repeater -> 5M repeater -> 383L
I found that the problem I had with the Titan on the hub is down to power, once adding the 5V power to the hub it's fine.
The drivers recognise and provide the app with it all... so I did a few tests - I ran a test of 50,000 bias exposures on the titan, 42 minutes later (19.7fps in preview mode, faster than the 15fps quoted with preview) and all was well. I also timed the 383L download, with a 5 second exposure - the total time was 15.637916 seconds so that's 10.5 seconds download time - a little shaved off the PC time too.
I spent most of today christmas shopping though.. so tomorrow I think I'll try and get the sequencer window running properly.
-
I have a 4 day weekend coming up - the application is coming along nicely (the benefit of not requiring hardware to be attached to test!)
I'm targetting the following for the app first release:
* multi-camera and EFW2 support
* sequencing
* able to group cameras and filterwheels etc into 'optical trains' (groups) which can execute sequences simultaneously.
-
And the EFW2 works fully :D
-
Not a word back from FTDI about 64bit versions of their 32 bit only libraries :( It looks like my ye-olde 16ic's days are numbered ;(
Almost there on the EFW2 filter wheel. And the all-new fledgling capture application is now taking shape and should allow the user to perform some basic ArtemisCapture-eqsue sequencing and control of the filterwheel, cameras etc.
-
Ok the old legacy support could be in doubt - down to FTDI (32 bit-ness in a 64bit modern world).
-
Okies.. 16IC - the camera is recognised and starting to get the communications sorted. The pain is to support this camera will require the user to install the FTDI drivers. It would be possible to embed it in the driver framework if the dynamic library path wasn't hard coded (OSX uses full library paths and not a leaf name that's searched). I'll revisit this later and see if I can get it so the user doesn't have todo anything..
Naturally this is slow legacy.. USB1.. etc but it's a good camera and I'd prefer the titan to be imaging at the same time - letting the 16ic guide.
- 1
-
I found a few of my own clangers in the Titan code... it's now running nicely: 5000 frames at 19.73 frames/sec - the development tools are showing no memory leaks etc. Not bad as it's beating the 15 fps quoted on the site ;)
I still have a few things (soft-reconnect attempt, overlapped, guide port and a bit more testing) to sort out but things are really starting to come together. As it stands I could actually do astrophotography if I switched the 16ic out. I've submitted a few ideas to ATIK for consideration too.
People have already asked if this will support the old 16ic etc and I think I will add this (I use the 16ic still!)
- 1
-
I just spent the most useless evening attempting to get the virtualbox windows 7 to talk to the atik 16ic and other usb 1 devices..
Even sandrine could see the steam rising.. so the sooner I get this done the better..
-
I've made reasonable progress with the re-architecture. Things are connecting, just need to get some time - probably next week..
-
I had an 120GB OCZ SSD in my old C2D MBP. It's extremely fast but just too small to be only drive in the machine. Current MBP has a 7,200rpm 500GB drive in so it's a bit faster but nowhere near the SSD. Then I was single and could spend £400+ on a luxury!
AP unfortunately chews GB of HD space and so an SSD gets expensive quickly. 16GB means no swapping - even when processing 4GB of images..
-
Connect camera.. camera appears in a window.. remove camera.. camera is marked inactive (this is on purpose :))
Having spent the last year doing C++ with the ATIK stuff at a low level really reminds you that you forget how todo things!
Next up the funky sliding.. and getting imagining..
Gearing up for Alpha4 release - the beta candidate
in Nick's blog, including AOSX (Astronomy on OSX)
A blog by NickK in General
Posted
One more bug fix then the repeat the auto tests for the final time ... then release :)