update
i uploaded the modified SeekThermal.cs on Reply #3 , enjoy it
---------------------------------------
hi everyone.
I find this forum when i was looking for windows software for the seek pro.
but no one get the new initial commands for seek pro.
SeekOFix and Thermovision_JoeC only support the old one.
then,I happened to get the commands on github and I modified SeekOFix , now it can be used for seek compact pro, only basic function.
i am a beginner in programming so this is all i can do now.
only 1000KB attachment once,so you also need these DLLs in the first picture (AForge.net..... )
i will post the initial command later
I found the code here:
github.com/maartenvds/libseek-thermalwritten in C on linux
the initial command are simmilar to seek thermal,if you have seem the seek thermal initial command,you'll easily understand it.
the device command seems the same as seek thermal.
GET_FACTORY_SETTINGS = 58
SET_FACTORY_SETTINGS= 57
GET_IMAGE_PROCESSING_MODE= 3f
......
in hex
FIRST:
ControltransferOut 41 54 0000 0000 0001 1 = 01
ControltransferOut 41 3c 0000 0000 0002 2 = 00 00
ControltransferIn c1 4e 0000 0000 0004 4
ControltransferIn c1 36 0000 0000 000c 12
ControltransferOut 41 56 0000 0000 0006 6 = 06 00 08 00 00 00
ControltransferIn c1 58 0000 0000 000c 12
ControltransferOut 41 55 0000 0000 0002 2 = 17 00
ControltransferIn c1 4e 0000 0000 0040 64
ControltransferOut 41 56 0000 0000 0006 6 = 01 00 00 06 00 00
ControltransferIn c1 58 0000 0000 0002 2
ControltransferOut 41 56 0000 0000 0006 6 = 01 00 01 06 00 00
ControltransferIn c1 58 0000 0000 0002 2
then,the difference,you should use a loop:
ControltransferOut 41 56 0000 0000 0006 6 = 20 00 valueB valueA 00 00
ControltransferIn c1 58 0000 0000 0040 64
(valueA valueB)=(00 00) to (09 e0) step 20
because of the endians.
you can read the attachment for details.
finally
ControltransferOut 41 55 0000 0000 0002 2 = 15 00
ControltransferIns c1 4e 0000 0000 0040 64
ControltransferOut 41 3e 0000 0000 0002 2 = 08 00
ControltransferOut 41 3c 0000 0000 0002 2 = 01 00
ControltransferOut 41 53 0000 0000 0004 4 = 58 5b 01 00
then you can get the frame data use bulktransfer,like the seek thermal.
the raw frame is 342*260,so you need a
177840 byte arraythen convert to a 88920 uint16 array
statusbyte in uint16[2]
framecountbyte in uint16[1]
Could you share your modified Seekthermal.cs (or the entire solution)?
I'm having trouble with the framecount and statusbyte parts; while it builds correctly I get exception on "ControlTransfer failed".
Cheers,
R
after the last command "ControlTransferOut(0x41, 0x53, 0, 0, new byte[] { 0x58, 0x5b, 0x01, 0x00 })" , you should use bulktransfer(in SeekOFix its "ReadExactPipe(0x81, 0x2b6b0)")
controltransfer failed means there is some error in your init command
here is the Seekthermal.cs
Ok, this makes sense.
I changed the array sizes in Form1.cs, it builds correctly now but it does not run. There are no errors or exceptions, but I do not get an image in the window nor does the camera shutter trigger.
Any pointers as to how to debug this?
Thanks,
R
Sometimes the camera may not reply normally after an abnormal exit. run seek thermal app on the phone to deinit it?
And the Frame ID never changes from 4 on virtual machine ?it confused me for half a month
The camera's shutter should operate at least once if the init process is successful,try add break points on the last\last second controltransfer command to see if they run correctly.
Or just use Wireshark to capture the communication between your software and camera.
Software doesn't even start. I'm guessing it's missing some DLLs. Can you post a zip file with all the DLLs I will need to run it?
I can only post 2000KB attachments
all the dlls are listed in the fist picture,you can download it anywhere on the internet by searching the name
I can only post 2000KB attachments
all the dlls are listed in the fist picture,you can download it anywhere on the internet by searching the name
And where do I find the xml files?
They are together with the AForge.net Dlls
visit the website of AForge.net and click on " [Download Libraries Only ]" then you will get all you need
With the help of maartenvds, I succeed in sniffing the command by running the seek thermal app in genymotion android simulator .
I get an extra
ControltransferOut 41 55 0000 0000 0002 2 = 10 00
ControltransferIn c1 4e
between
ControltransferOut 41 3e 0000 0000 0002 2 = 08 00
and
ControltransferOut 41 3c 0000 0000 0002 2 = 01 00
ControltransferOut 41 53 0000 0000 0004 4 = 58 5b 01 00
I modified the code and add it in, but nothing different from the original
With the help of maartenvds, I succeed in sniffing the command by running the seek thermal app in genymotion android simulator .
I get an extra
ControltransferOut 41 55 0000 0000 0002 2 = 10 00
ControltransferIn c1 4e
between
ControltransferOut 41 3e 0000 0000 0002 2 = 08 00
and
ControltransferOut 41 3c 0000 0000 0002 2 = 01 00
ControltransferOut 41 53 0000 0000 0004 4 = 58 5b 01 00
I modified the code and add it in, but nothing different from the original
It might help if one actually knew what those commands did. You'd need to know what things in the actual Seek unit got activated or configured by those commands. Maybe some of them are optional. Of course, unless you have got your hands on internal development documents from the Seek Thermal company, you won't likely ever know what those commands do. Your best bet is just making sure that whatever Windows application you write sends the exact same sequence of commands as the official Seek Android app.
Hello guys,
I was looking for a windows software for seek compact pro and I found nothing other than this post.
Unfortunately I am not familiar with programming so I cant understand the above messages.
Could one of you gents PLEASE make a software that everybody can install it on Windows?
Rgds,
Sirous
Hello tonykids (You may not notice it because it was two years ago ...)
I arrived at this post looking for windows software for compact pro as well as snekooei.
When I debugged with your source code, there was no problem getting the data.
SeekOFix now works with compact pro.
Thanks, I'll post the binary here.
Replace it with TestSeek.exe in his compactpro.zip.
Thanks to SeekOFix authors frenky and tonykids.
Hello tonykids (You may not notice it because it was two years ago ...)
I arrived at this post looking for windows software for compact pro as well as snekooei.
When I debugged with your source code, there was no problem getting the data.
SeekOFix now works with compact pro.
Thanks, I'll post the binary here.
Replace it with TestSeek.exe in his compactpro.zip.
Thanks to SeekOFix authors frenky and tonykids.
Thanks for your shared exe!
Thermovision_JoeC has already supported compact pro,you can get it here
www.eevblog.com/forum/thermal-imaging/freeware-software-for-thermal-analysis-thermovision_joec/It's much powerful than SeekOFix and support many other devices\functions
Thermovision_JoeC has already supported compact pro
[/quote]
Wow, I did not notice that compact pro also supported.
Thank you. I will try using it.