Beijer Electronics (formerly QSI Corporation)

Manufacturer of Mobile Data and Human Machine Interface Terminals.
It is currently Thu Nov 23, 2017 11:22 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed Sep 15, 2010 2:07 pm 
Offline
User avatar

Joined: Thu Jan 14, 2010 10:20 am
Posts: 38
Screenshots
Taking screenshots on the TREQ devices can be done using two methods. One is from the device itself, using a simple program called "ScreenSnagCE". The download link is available here:

Depending on what device you have, you will need to use a different executable:
TREQ-M4 or TREQ-L:
http://www.qsicorp.com/engfiles/Support/Apps/CE6_ARM/ScreenSnagCE.zip
TREQ-DX:
http://www.qsicorp.com/engfiles/Support/Apps/CE5_x86/ScreenSnagCE.zip

The other method for taking screenshots is done remotely from the PC using active-sync and a utility that comes with the Visual Studio suite called "Windows CE Remote Zoom-in Utility". This program comes installed by default with Visual Studio. It can be located at Start->All Programs->Microsoft Visual Studio 200x->Visual Studio Remote Tools->Remote Zoom in. Be aware that you will need the appropriate SDK installed for the device you want to take a screenshot from. The SDKs can be found here:
http://www.qsicorp.com/engfiles/treq.php

Once you have connected to the device using the utility, it will automatically load a preview of the current screen of the device. You can also save the current screen to a bitmap file. (example attached to email). Each time you want to refresh the screen you press F5 and the new image is downloaded.

"Remote Desktop" like functionality using VNC

Depending on what device you have, you will need to use a different executable:
TREQ-DX:
http://www.qsicorp.com/engfiles/Support/Apps/CE5_x86/VncSvrCE.zip
TREQ-M4 or TREQ-L:
http://www.qsicorp.com/engfiles/Support/Apps/CE6_ARM/VncSvrCE.zip

VncSvrCE is the remote viewing/controlling application. It is based on the popular open source VNC server. Note that when the executable is run, nothing will appear to have occurred, however the program has actually started as a service and runs in the background. The only way to quit the program is to stop the service or restart the device. If you are already familiar with using variants of VNC then you may be able to skip the following:

1) First off, VNC works by two parts the server and the client. The VncSvrCE program is the server which runs on the unit itself. You will need to download a client VNC program for your PC in order to connect. For Windows XP/Vista/7 one of my favorites is:
UltraVNC:http://www.uvnc.com/
this link may save you some time (download either the win32 or x64 depending on your XP machine): http://www.uvnc.com/download/1082/1082viewer.html

2) Before running the VNC server on the device or the VNC client on your PC, you must first connect them to the same network. Ideally the unit you are using has ethernet and you can connect it to your switch, or to your pc via a crossover cable. If your unit does not appear to have ethernet then you can achieve TCP/IP connection using a USB-Serial adapter and a PPP connection from the device to the PC.

3) Once both of the devices are connected to the same network you will need to know the wireless ip address of each of them. This step can be similar on both the device and the PC. Open a command prompt by going START->RUN and typing "cmd". Once the command shell has opened type "ipconfig /all" and this will list all the addresses that the device or the PC have assigned to it. This part can be tricky as you may have multiple devices that also have ip addresses (ethernet). You will need to find the ip address for both the TREQ and the PC. If you need additional help with this let me know. (the address will usually be something of the sort 192.168.1.100 or 192.168.1.101). Basically, if you can "ping" the ip address on either device from the command line of the other, you are good to go.

4) Once you know the ip addresses of both the TREQ device and the PC, you can then proceed to run the VncSvrCE program on the device (recall that it will not appear to do anything) and then run vncviewer.exe on your PC. Type in the ip address of the TREQ device in the vncviewer.exe box and leave everything else default, then hit connect. If everything worked, you will be presented with the screen of the TREQ device.

Just a few things to know about VNC:
-You may first notice it can be sluggish. This is actually quite normal for any VNC setup. You can alleviate some of the pain by issuing a refresh command from vncviewer (the little rounded arrow icon).
-Special commands can be sent to the device using the various buttons on ultravncviewer, also a right click on the menu bar will give a context menu with many entries


Top
 Profile  
 
PostPosted: Tue Oct 26, 2010 2:25 pm 
Offline
User avatar

Joined: Thu Jan 14, 2010 10:20 am
Posts: 38
I've later found out that if your are using an OS that has a rotated portrait view, the VNC server gets confused and does not function properly.


Top
 Profile  
 
PostPosted: Wed Oct 27, 2010 9:24 am 
Offline
User avatar

Joined: Thu Jan 14, 2010 10:20 am
Posts: 38
FYI, the screensnag program will automatically minimize itself when taking a screenshot!


Top
 Profile  
 
PostPosted: Thu Jan 13, 2011 11:07 am 
Offline

Joined: Tue Aug 01, 2006 9:45 am
Posts: 12
Location: Canada
I've had success using the ActiveSync Remote Display from the Windows Mobile Power Toys. Although it's technically not for use in WM5 or WM6, it still runs.

I copied the Cerdisp2.exe file to the \harddisk\bin folder, then launched the ActiveSync remote display application on my Windows desktop. This allows me to do demos, screenshots etc. which is all I need it for.

Cheers,
Markus


Top
 Profile  
 
PostPosted: Fri Aug 05, 2011 8:30 am 
Offline
User avatar

Joined: Thu Jan 14, 2010 10:20 am
Posts: 38
I was told Pocket Controller is an excellent tool for remote screen viewing and presentations:
http://www.soti.net/PCPro/


Top
 Profile  
 
PostPosted: Tue Aug 30, 2011 7:57 am 
Offline
QSI Support
QSI Support
User avatar

Joined: Wed Mar 08, 2006 12:25 pm
Posts: 881
Location: Salt Lake City, Utah
Here is an alternative VNC server which is somewhat more full featured (has authentication, better sharing control, likely better compression)

http://www.beijerelectronicsinc.com/eng ... armv4i.zip

I have also had better luck with this one on our larger Windows CE terminals.

_________________
Jeremy
http://www.beijerinc.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group