Author Topic: i3 ThermalExpert custom software  (Read 19979 times)

0 Members and 1 Guest are viewing this topic.

Offline frenkyTopic starter

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
i3 ThermalExpert custom software
« on: August 16, 2016, 10:11:06 am »
Here I'll post links to software that I will develop for use with i3system ThemalExpert cameras.

T.E. Android app has an ability to save .csv file which contains temperature and image data.
To save .csv data you must select "Thermal & Visible image & Temperature" in app settings.

My first win software is "ThexBatch" and it can convert many csv files at once to png images in original 384x288 resolution.
To use it:
- install .net 4.5 if you don't have it
- copy csv files from your phone to your pc
- extract ThExBatch_compiled.zip to that folder
- run ThexBatch.exe

New "export" folder will be created containing all converted images.

Compiled version (just run exe and make sure that you have Iron.png in the same folder):
ThExBatch_compiled.zip

Visual studio 2015 solution:
ThExBatch_source.zip
« Last Edit: August 16, 2016, 10:51:40 am by frenky »
 

Offline frenkyTopic starter

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: i3 ThermalExpert custom software
« Reply #1 on: September 15, 2016, 07:29:34 am »
New version with fixed bugs (total thermal range, last line, last pixel...)

 

Offline frenkyTopic starter

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: i3 ThermalExpert custom software
« Reply #2 on: September 15, 2016, 07:56:13 am »
I've made a very basic win app "ThexConvertGUI" for converting .csv files to .png images with palette (min/max) adjustment.

Features:
- it remembers last opened folder with .csv files
- quickly switch between files in folder (list view on the left)
- ability to swap palette and add your own (just add 1001px png into palette folder)
- adjust min and max values for palette mapping
- "Save" button saves .png image to the current_folder/export/***.png



EDIT:
I have added new version with palette selection.
« Last Edit: September 15, 2016, 10:26:49 am by frenky »
 

Offline frenkyTopic starter

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: i3 ThermalExpert custom software
« Reply #3 on: October 23, 2016, 09:38:37 pm »
Here is a c# demo code for anyone trying to make a win app for i3 ThermalExpert.  ;)

I'm using c# with multi-threading to stream images to win form:

« Last Edit: October 23, 2016, 10:00:37 pm by frenky »
 

Offline joe-c

  • Frequent Contributor
  • **
  • Posts: 350
  • Country: de
    • Joe-c.de
Re: i3 ThermalExpert custom software
« Reply #4 on: October 24, 2016, 06:43:38 pm »
Here is a c# demo code for anyone trying to make a win app for i3 ThermalExpert.  ;)

I'm using c# with multi-threading to stream images to win form:
Interesting,
i have a working version too, it will released probably this weekend. i work on some details  :-/O

i wrote some mails to i3, and they told me that another version of the DLL will come. but they don't told me when...  :popcorn:

and just for info, it is possible to use the same driver (Zadig) for Seek thermal and Thermal Expert. See the results...
Freeware Thermal Analysis Software: ThermoVision_Joe-C
Some Thermal cameras: Kameras
 

Offline frenkyTopic starter

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: i3 ThermalExpert custom software
« Reply #5 on: October 24, 2016, 07:15:46 pm »
Nice... Looking forward to test new version of your app.  :-+

I'm way behind you... I never learned USB protocol (I mostly do web apps) so these days I was reading about data transfer types, endpoints etc...  :P
And I also did some USB traffic captures with Wireshark (USBPcap). When you request new image there is only one control and one bulk transfer, really easy.
But at "get flash data" there is like hundreds of requests. I'm not sure what is going on there...

My plan was to use Zadig to install WinUSB and then use this .net wrapper for WinUSB  https://github.com/madwizard-thomas/winusbnet to do all the communication with T.E. module...
So I could avoid using i3system DLLs.

If you have a working stream without DLLs that means that you were able to write all necessary usb communication already? :clap:
« Last Edit: October 24, 2016, 07:18:14 pm by frenky »
 

Offline joe-c

  • Frequent Contributor
  • **
  • Posts: 350
  • Country: de
    • Joe-c.de
Re: i3 ThermalExpert custom software
« Reply #6 on: October 24, 2016, 08:17:14 pm »
But at "get flash data" there is like hundreds of requests. I'm not sure what is going on there...
me too  8)
If you have a working stream without DLLs that means that you were able to write all necessary usb communication already? :clap:
Yes... my core is simple... ignore the first frames with the cal info and use just the usable frames.

each frame has some extra bytes. i guess some info's like device temperature and so on.

here you can have my playground with map Cal (this is similar to the Seek Thermal Core, get a low and hi frame, and calc defect pixel, gain and offset).
i have 2 classes, one for the DLL and one without. I like both ways... the DLL way shows only up to 240 different values (Byte range), but the Temperatures are calibrated.

i hope it helps  ^-^

Note: i have to remove the i3system_USB_DLL_V2_1.dll (size to big). Put yours in the \bin folder
Freeware Thermal Analysis Software: ThermoVision_Joe-C
Some Thermal cameras: Kameras
 
The following users thanked this post: frenky

Offline frenkyTopic starter

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: i3 ThermalExpert custom software
« Reply #7 on: October 25, 2016, 08:23:04 am »
Thank you for this. I will take a good lot at it when I get home from work.  :-+

P.S:
I started a new thread with usefull info about T.E.:
https://www.eevblog.com/forum/thermal-imaging/thermalexpert-reverse-engineering-jar-dll/
 

Offline lberger

  • Newbie
  • Posts: 8
  • Country: fr
Re: i3 ThermalExpert custom software
« Reply #8 on: November 04, 2016, 02:55:56 pm »
Hi,

I am new in this forum  (sorry for my bad english) and I'm interesting in IR image. I have read many post and I choose thermalexpert q1. I have just received it and plugged in my note 3 and it works.  Now reading your previous post  it seems I can plug thermalexpert in a pc using usb. I cannot find in Doc how to plug it. Which connector can I use?   Can you give me a reference?

Thanks in advance for your help
 

Offline joe-c

  • Frequent Contributor
  • **
  • Posts: 350
  • Country: de
    • Joe-c.de
Freeware Thermal Analysis Software: ThermoVision_Joe-C
Some Thermal cameras: Kameras
 
The following users thanked this post: lberger

Offline frenkyTopic starter

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: i3 ThermalExpert custom software
« Reply #10 on: November 04, 2016, 10:53:05 pm »
« Last Edit: November 05, 2016, 10:53:49 am by frenky »
 
The following users thanked this post: lberger

Offline lberger

  • Newbie
  • Posts: 8
  • Country: fr
Re: i3 ThermalExpert custom software
« Reply #11 on: November 05, 2016, 10:52:40 am »
Thanks foryours answer I choosethis one because delay was less than one week (other was one month...)
« Last Edit: November 05, 2016, 10:54:32 am by lberger »
 

Offline lberger

  • Newbie
  • Posts: 8
  • Country: fr
Re: i3 ThermalExpert custom software
« Reply #12 on: November 29, 2016, 08:07:34 pm »
Hi,

I have just received my plug (first was bad) your link was good. Now I have downloaded ThexWinStream2.zip and it works on my desktop. Thanks a lot.  :)
It is a C# application and I know nothing in C#. Then I want to write my own application in C++.
My question is  : in your project there are two dll i3system_USB_DLL_V2_1 and i3system_TE_dll is it 32 bits or 64 bits dll ? (with depends.exe I find 64 bits but I must LoadLibrary in 32 bit application)
 

Offline frenkyTopic starter

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: i3 ThermalExpert custom software
« Reply #13 on: November 29, 2016, 08:48:26 pm »
Hi.

I did not build DLLs . I got them from official SDK.
You can ask i3system for SDK where you will find c++ example.
 
The following users thanked this post: lberger

Offline lberger

  • Newbie
  • Posts: 8
  • Country: fr
Re: i3 ThermalExpert custom software
« Reply #14 on: November 29, 2016, 09:11:47 pm »
unfortunately it is a x86 dll :'(
 

Offline joe-c

  • Frequent Contributor
  • **
  • Posts: 350
  • Country: de
    • Joe-c.de
Re: i3 ThermalExpert custom software
« Reply #15 on: November 29, 2016, 10:41:09 pm »
unfortunately it is a x86 dll :'(
its not a problem, it works fine on my win7 x64 machine.

additional info, since app version 17 the "temperature" CSV file will store the values in 1x1 format, no more 4x4.

Freeware Thermal Analysis Software: ThermoVision_Joe-C
Some Thermal cameras: Kameras
 

Offline frenkyTopic starter

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: i3 ThermalExpert custom software
« Reply #16 on: November 29, 2016, 10:56:56 pm »
additional info, since app version 17 the "temperature" CSV file will store the values in 1x1 format, no more 4x4.
I didn't notice that. That's great! :-+
 

Offline lberger

  • Newbie
  • Posts: 8
  • Country: fr
Re: i3 ThermalExpert custom software
« Reply #17 on: November 30, 2016, 07:35:45 am »
Quote
its not a problem, it works fine on my win7 x64 machine.
Yes 32 bits application are compatible with 64 bits applications. When you want to use 3rd party library in 64 bits it's a problem.
I will solve problem in writting a 32 bits applications server to grab image.

Quote
You can ask i3system for SDK where you will find c++ example.
thanks I wrote yesterday to i3system and I have got an answer with a link today. Good support :)
 

Offline frenkyTopic starter

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: i3 ThermalExpert custom software
« Reply #18 on: November 30, 2016, 08:11:51 am »
Quote
its not a problem, it works fine on my win7 x64 machine.
Yes 32 bits application are compatible with 64 bits applications. When you want to use 3rd party library in 64 bits it's a problem.

I'm not really sure where is the problem. I've made my application in 64-bit environment while using 32-bit DLLs and everything is working fine.
 

Offline lberger

  • Newbie
  • Posts: 8
  • Country: fr
Re: i3 ThermalExpert custom software
« Reply #19 on: November 30, 2016, 05:06:54 pm »
I don't know c#. But I believe this answer is true http://stackoverflow.com/questions/2265023/load-32bit-dll-library-in-64bit-application
To find memory model of lib given in SDK thermalexpert (I have receive from i3system) I use this post http://stackoverflow.com/questions/3322630/determining-the-cpu-architecture-of-a-static-library-lib-on-windows.
dumpbin i3system_TE_dll.lib /HEADERS

and answer is x86
 

Offline joe-c

  • Frequent Contributor
  • **
  • Posts: 350
  • Country: de
    • Joe-c.de
Re: i3 ThermalExpert custom software
« Reply #20 on: December 01, 2016, 05:09:56 pm »
i don't know if they have a x64 version of the dll.

i prefer applications, that run on both systems. Is it possible to have a Program partial on 32 and 64 bit?
i mean, acquisition in 32bit but processing in 64bit... that could be interesting 8)
Freeware Thermal Analysis Software: ThermoVision_Joe-C
Some Thermal cameras: Kameras
 

Offline lberger

  • Newbie
  • Posts: 8
  • Country: fr
Re: i3 ThermalExpert custom software
« Reply #21 on: December 01, 2016, 09:13:29 pm »
It is possible to have a program in 32 bits for acquisition and a 64 bit program for image processing. If you are interesting I think there is two way IP server or named pipe on windows and some hours of work :)
 

Offline Trax

  • Regular Contributor
  • *
  • Posts: 124
  • Country: at
Re: i3 ThermalExpert custom software
« Reply #22 on: December 03, 2016, 07:10:00 pm »
Wow thats cool,
does it work with any i3 thermal expert product?
Do I need some DLL's or derivers from i3 that may not be a free download?
 

Offline frenkyTopic starter

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: i3 ThermalExpert custom software
« Reply #23 on: December 03, 2016, 09:20:05 pm »
Are you asking about my apps?

I have TE Q1 so I can only guarantee that my apps will work with it.
You can get free SDK from i3system so you can make your own apps for linux, windows and android.
 

Offline Trax

  • Regular Contributor
  • *
  • Posts: 124
  • Country: at
Re: i3 ThermalExpert custom software
« Reply #24 on: December 07, 2016, 07:50:27 am »
Yes I'm asking the app.
is teh SDK free or doe sit cost money?
Do you have the SDK?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf