LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Touchpanel

Hi

 

I have a question about LabVIEW Touchpanel edition:

When you use LabVIEW Touchpanel for Windows CE 5.0 systems and you select the ARM processor is it generating code for ARMV4 or ARMV4I?

 

 

I have problems integrating a lib/dll file into such a system I always get the >> module machine type 'THUMB' conflicts with target machine type 'ARM' when I integrate a lib that is made for ARMV4I systems.

 

Any advice is welcome. 

 

 

Thanks in advance 

 

0 Kudos
Message 1 of 5
(3,740 Views)

Hi Vicent,

 

Thanks for your patience. We are currently working on this issue internally. We will post the solution here when it becomes available.

 

Thanks! 

Joe Daily
National Instruments
Applications Engineer

may the G be with you ....
0 Kudos
Message 2 of 5
(3,668 Views)

Vincent,

 

When we target a touchpanel, we generate ARM code, the 32 bit instruction set. This works well for our touchpanels and third party touchpanels, even if they use the THUMB instruction set (16 bit instruction set), because modern ARM processors can use either THUMB or ARM.

 

The issue you are seeing is because you are calling a THUMB dll provided by a third party with the code we generated, which is ARM. We cannot use two instruction sets at the same time, and therefore thre is a conflict.

 

A) Talk to the third party and have them provide you with an ARM-generated .dll. If you have the source, you can do it on your own.

B) You can try compiling for a Windows Mobile 5 Target, which compiles in THUMB. However, you would have to manually copy the built .exe over via either ftp or activesynch in order for it to work, since we will not have the touchpanel service to do this for us. This is more work, and not as ideal as the first one, but should still work.

Rob K
Measurements Mechanical Engineer (C-Series, USB X-Series)
National Instruments
CompactRIO Developers Guide
CompactRIO Out of the Box Video
0 Kudos
Message 3 of 5
(3,661 Views)

Still problems

 

testprojm6.c

Generating Code...

Compiling...

_lvcepda80ARMtemp_.cpp

Generating Code...

Compiling...

lvCEPDAMain.c

Generating Code...

coredll.lib(COREDLL.dll) : fatal error LNK1112: module machine type 'THUMB' conflicts with target machine type 'ARM'

 

 

Kind regards

 

0 Kudos
Message 4 of 5
(3,654 Views)

Can you be more specific? What did you try to get the following error? I gave several possible solutions.

 

Have you tried building and testing a simple VI that does not call your .dll so we can verify it is the third party .dll that is causing the issue? 

Have you contacted Beckhof and asked for a non-THUMB compiled .dll?

The Windows Mobile option may work, we were not able to test it, but Windows Mobile does compile for THUMB. Be sure to select the correct target when using this option: Windows Mobile 5 PC Device. Note that this is only valid if you have the mobile module.

 

Rob K
Measurements Mechanical Engineer (C-Series, USB X-Series)
National Instruments
CompactRIO Developers Guide
CompactRIO Out of the Box Video
0 Kudos
Message 5 of 5
(3,600 Views)