10-03-2011 08:27 AM
Hello!
Sorry for asking again. I made an exe with touch panel module to read serial port on a device with Win CE 4.2. I want to read serial port without VISA vi-s, so ive choosen the serial compatibility VI-s, because i dont want to install VISA driver on it. When i start to program on the device, it cant read any bytes and it gives no error. It seems there is no incoming data, but there it is and i know how it needs to look like. Can you help me or suggest me something? What can be the problem? I attached the VI.
Thank you for helping and for the answer!
M. Gabor.
10-03-2011 09:38 AM
@MGabor wrote:
Hello!
Sorry for asking again. I made an exe with touch panel module to read serial port on a device with Win CE 4.2. I want to read serial port without VISA vi-s, so ive choosen the serial compatibility VI-s, because i dont want to install VISA driver on it. When i start to program on the device, it cant read any bytes and it gives no error. It seems there is no incoming data, but there it is and i know how it needs to look like. Can you help me or suggest me something? What can be the problem? I attached the VI.
Thank you for helping and for the answer!
M. Gabor.
The serial compatibility VIs use Visa inside. So you must install VISA on your CE device anyway.
10-03-2011 10:32 AM
Oh i understand.
Can you maybe link me a VISA installer to CE? The Visa 4.3 ive found on the website is uncompatible to install on the device. Its says, this is not a CE application
Thank you!
10-06-2011 04:28 AM
Hi,
Here you can download the NI-VISA 4.1 for Windows CE: http://joule.ni.com/nidu/cds/view/p/id/348/lang/en
Regards,
Peter
10-06-2011 08:50 AM
Following the documentation, you can install VISA by right-clicking the target in Project Explorer and select Install -> Support for NI-VISA.
This didn't work for me, but I'm not using NI hardware. The installer is a CAB file to be found in the LabVIEW folder (I don't remember the precise name, although it contains the word VISA as expected).
10-07-2011 01:35 AM
Hello!
Thank you for ur answers! When im tring to install visa in the project LV gives a warning message: RAPI.dll missing...whats that mean? By the way, Peter im from Hungary too, maybe can we contact anywhere else for a little help?
Thank you.
Gabor Manhertz
10-07-2011 02:02 AM
If you can locate the proper installer (VISAsomething.CAB) into the LabVIEW subfolders, you may try copying this file to the CE device and install it directly (just double click on the CAB file icon). There are two VISA installers, one for x86 and the other for ARM; pick the one you need.
10-07-2011 02:44 AM
I tried, but i cant find anything like this. Can you maybe show me a screenshot or copy a path, where it need to be or at last attempt to attach me here, or by mail...I need this thing to do very fast for a project. I ll be thankful if you can help me to solve this problem... By the way, is it a problem, that i built the program on Win 7? The Visa installer cant be run on the CE 4.2 device which im working., and yes, there is an ARM processor in it. And why the Win 7 says that i dont ve RAPI.dll?
Thank you for your helps and answers so much!
Gabor
10-07-2011 04:06 AM
Hello!
Ive solived the VISA problems. I installed TCP manager on the CE device with a .cab file as u suggested. Than i installed VISA support from the project via IP address. But now, when i need to read strings with the example serial read/write it gives error −1073807343... Why the device cant communicate? Do you ve any idea or shall i throw this project into trash:)??
Thanks for your answer!
10-07-2011 04:48 AM
I did some experiment with running Labview on Windows CE. But all work was dropped then we found out that NI require a Touch Panel Deployment License. Then using for Non-NI Devices as target. And that License would in today's pricing cost us 653 us$ and that is without tax. And that is more than the the cost of the target computer running Windows CE. I wrote about it here here
But back to your problem. In order to install NI-VISA on your CE computer. You must first install a program from Microsoft named "Activesync" on your standard Windows 7 computer that you installed NI-VISA to. Then you must connect your CE computer to the latter computer using Activesync. Here you have two options serial RS232 or network. The use of ActiveSync as a transport mechanism requires that the developer’s workstation and the device both support ActiveSync. Then you have an Activesync connection you can transfer NI-VISA as described.
Windows CE is much more complicated than standard windows. You should read you up on Windows CE. I used a book from Wrox "Professional Microsoft® Windows® Embedded CE 6.0"
I hope this may give you a push in the correct direction