Author Topic: Uploaded.Windows Software for seek pro and initial commands  (Read 9825 times)

0 Members and 1 Guest are viewing this topic.

Offline tonykidsTopic starter

  • Regular Contributor
  • *
  • Posts: 79
Uploaded.Windows Software for seek pro and initial commands
« on: October 19, 2017, 05:31:08 am »
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.
 ;D 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
« Last Edit: November 10, 2017, 03:13:52 pm by tonykids »
 
The following users thanked this post: joe-c, nikitasius

Offline tonykidsTopic starter

  • Regular Contributor
  • *
  • Posts: 79
Re: Windows Software for seek pro and initial commands
« Reply #1 on: October 19, 2017, 05:33:24 am »
I found the code here:github.com/maartenvds/libseek-thermal
written 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:
Quote

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:
Quote
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
Quote
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 array
then convert to a 88920 uint16 array
statusbyte in uint16[2]
framecountbyte in uint16[1]
« Last Edit: October 19, 2017, 12:24:07 pm by tonykids »
 
The following users thanked this post: joe-c, IwuzBornanerd

Offline flyingfishfinger

  • Contributor
  • Posts: 38
  • Country: us
Re: Uploaded.Windows Software for seek pro and initial commands
« Reply #2 on: November 09, 2017, 10:40:04 pm »
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
 

Offline tonykidsTopic starter

  • Regular Contributor
  • *
  • Posts: 79
Re: Uploaded.Windows Software for seek pro and initial commands
« Reply #3 on: November 10, 2017, 03:07:33 pm »
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
 

Offline flyingfishfinger

  • Contributor
  • Posts: 38
  • Country: us
Re: Uploaded.Windows Software for seek pro and initial commands
« Reply #4 on: November 10, 2017, 07:15:05 pm »
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
 

Offline tonykidsTopic starter

  • Regular Contributor
  • *
  • Posts: 79
Re: Uploaded.Windows Software for seek pro and initial commands
« Reply #5 on: November 11, 2017, 10:47:39 am »
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 :wtf:
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.
 

Offline Ben321

  • Frequent Contributor
  • **
  • Posts: 894
Re: Uploaded.Windows Software for seek pro and initial commands
« Reply #6 on: November 21, 2017, 09:16:54 pm »
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?
 

Offline tonykidsTopic starter

  • Regular Contributor
  • *
  • Posts: 79
Re: Uploaded.Windows Software for seek pro and initial commands
« Reply #7 on: November 22, 2017, 04:07:19 am »
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 :)
 

Offline Ben321

  • Frequent Contributor
  • **
  • Posts: 894
Re: Uploaded.Windows Software for seek pro and initial commands
« Reply #8 on: November 23, 2017, 05:45:34 am »
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?
 

Offline tonykidsTopic starter

  • Regular Contributor
  • *
  • Posts: 79
Re: Uploaded.Windows Software for seek pro and initial commands
« Reply #9 on: November 23, 2017, 08:07:06 am »
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  :)
 

Offline tonykidsTopic starter

  • Regular Contributor
  • *
  • Posts: 79
Re: Uploaded.Windows Software for seek pro and initial commands
« Reply #10 on: November 30, 2017, 10:21:38 am »
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
Quote
ControltransferOut 41 55 0000 0000 0002 2 = 10 00
 ControltransferIn c1 4e   
between
Quote
ControltransferOut 41 3e 0000 0000 0002 2 = 08 00
and
Quote
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 :-//
 

Offline Ben321

  • Frequent Contributor
  • **
  • Posts: 894
Re: Uploaded.Windows Software for seek pro and initial commands
« Reply #11 on: December 10, 2017, 09:32:33 pm »
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
Quote
ControltransferOut 41 55 0000 0000 0002 2 = 10 00
 ControltransferIn c1 4e   
between
Quote
ControltransferOut 41 3e 0000 0000 0002 2 = 08 00
and
Quote
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.
 

Offline snekooei

  • Newbie
  • Posts: 1
  • Country: ir
Re: Uploaded.Windows Software for seek pro and initial commands
« Reply #12 on: August 19, 2018, 03:16:28 pm »
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
 

Offline shibazuke

  • Newbie
  • Posts: 2
  • Country: jp
Re: Uploaded.Windows Software for seek pro and initial commands
« Reply #13 on: February 07, 2020, 10:45:49 am »
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.
 

Offline tonykidsTopic starter

  • Regular Contributor
  • *
  • Posts: 79
Re: Uploaded.Windows Software for seek pro and initial commands
« Reply #14 on: February 07, 2020, 01:11:11 pm »
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.

 ;D 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 :-+
 

Offline shibazuke

  • Newbie
  • Posts: 2
  • Country: jp
Re: Uploaded.Windows Software for seek pro and initial commands
« Reply #15 on: February 07, 2020, 02:02:57 pm »

 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.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf