How to read the keyboard of a smart phone with labview mobile?
The subject about says it all. I have an HTC phone with keyboard that is running WM 6.1. Using key events I can catch the left and righ soft keys and the left-right-up-down cursor movements, but it doesn't see the keyboard.
Mike...
PS: as a side note... given that Microsoft has signalled that it is pretty much abandoning the WM platform due tio lack of acceptance, I wonder what NI is going to do for mobile applications?
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
Hello, Are you using the PDA Button VIs? Take a look at the Button Input VIs- Windows Mobile.lvproj example in the example finder and let me know if you have tried this. Or the Key Events - Windows Mobiel.lvproj example.
National Instruments
Similar Messages
-
How to read the CPU temperatures of a RT PC [LabVIEW RT]
Hi,
I am programming a stand-alone RT application with LabVIEW RT that runs on a regular PC.
I would like to monitor the different system temperatures (CPU,...) and if possible the fans speed.
I found an example that performs this task for PXI systems but not for regular PC.
Does anybody know if this is possible and how I can do it?
ThanksHere is a solution that reads the temperature via a VBS script. The script uses WMI to access the Temp.
Saved as LV 8.0
Robert 'Red' Hoar
Staff Systems Engineer
Certified LabView Developer
www.vi-tech.com
(972) 233-1950 x 208
[email protected]
(Cell) (817) 312-5413 (Fax) (972) 233-1550
Message Edited by srhoar on 05-15-2008 11:34 AM
Attachments:
Read CPUTemp with vbs script 1.zip 17 KB -
How to read the content of .msg file type with attachments in SAP crm?
Hi All,
Need to develop a RFC FM which will take any BP number as input
Read the attachments in the BP and identify the attachment which is an email( .msg).
Identify by the mime type and file extension
Scan through the email to get the attachments of that email read the content of the
attachment as a binary file and return that binary file with file name, size
etc.
I need to read the data (in binary format) attachment of an attachment of .msg file type .
I have done till step 2 .
Please help me on step 3.
Thanks&Regards,
Pratap NaikCan any one help me on this ?
Thanks in advance.
Regards,
Pratap Naik -
How to creat the interface of auto CAD file with labview
Hi
I have been controling 2-axis Piezo motor with labview. Now I have to use the dwg or dxf file to move the piezo controller axis. How I can transform the dwg or dxf file into decimal number 1, -1 to create interface with my labview.Hi Nusrat,
So it sounds like you want to create a CAD drawing and then control your piezo motor via LabVIEW by moving the CAD drawing? Is that correct?
If that is correct - I don't know of a way to do this I'm afraid. I don't think it's really possible.
The only potential way to do this is to use SolidWorks as your CAD program and then convert the SolidWorks drawing into an STL file, which can then be imported into LabVIEW as a 3D picture control. I can't think of any other way to achieve this.
These examples might help you:
LabVIEW Interface VIs for SolidWorks
STL Geometry in 3D Picture Control
The Pitch Perfect Tuner
Develop Motion Applications with RIO and SolidWorks
NI SoftMotion for SolidWorks
Connect NI LabVIEW and DS SolidWorks
I hope that helps.
Oli
LabVIEW Student Ambassador
National Instruments UK -
How to see the keyboard shortcuts in pages like " alt " function in word?
how to see the keyboard shortcuts in pages like " alt " function in word?
luisandre wrote:
In word , if you press "alt" show you all the options you have . Appear numbers or letters in each options of the toolbar. So is more easy to work with the keyboard. How do you do this in pages?
Go to system preferences/language & text/input sources and check the box for Keyboard Viewer. Then select Keyboard Viewer from the "flag" menu at the top right of the screen. It will show all the special characters you can make when you press the alt and alt + shift keys. -
Help! How to hide the keyboard in app...
I was bidding on an item in the free ebay App (provided by Ebay v 1.6.1 and the keyboard would not hide and I could not place a second bid. I had made one successful bid and then on a second bid (about 2 minutes later) the keyboard would not go away and I could not submit the bid - only enter a dollar value. It was beyond frustrating watching the time tick down and not being able to place a bid.
Please someone tell me how to hide the keyboard. I tried everything I knew how - tapping the screen, shaking the iphone, exiting out and coming back in and refreshing the app. Nothing would get the keyboard to go away and allow me to touch the submit bid button.
Thanks in advance and SORRY in advance if this is in the wrong forum!Well the ability of how the keyboard shows and hides is a function of what the developer of the app made. Sounds like a bug in their program or just bad usability.
This is a topic to discuss with eBay as they developed the app. Their code has to control how things happen. Normally leaving a field to type in will make it go away, but if they didn't provide a way to leave focus, then that is a usability issue on their part. -
Non-Blocking call to read the Keyboard
does anyone know how to make a JAVA program make a non-blocking call to read the keyboard? eg. write a program which generates prime number until a keyboard key is pressed.
if you use a gui you can use keyListener
Would work only if your gui elements have focus right now. -
I can't find the keyboard by using iMessage, but I can by using email or whatsapp? How I reset the keyboard on iMessage?
Did you tap in the box at the bottom of iMessage?
If you did and no keyboard is showing: Do a reset
Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data
If that didn't helped, double tap Home button, delete the Message app and reset again. -
How to read the keystrokes of other application
how to read the keystrokes of other application
suppose if i create on text doc those modifications should be recoreded
how to do that.reg231 wrote:
how to read the keystrokes of other application[How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html] -
怎么取消或者屏蔽firefox的快捷键?How to cancel the keyboard shortcuts?
怎么取消或者屏蔽firefox的快捷键?我在使用其他软件时的很多快捷键都被firefox浏览器给占用了,麻烦得很,所以想取消那些快捷键。
在firefox上安装了一个shortcut的插件,也只能编辑快捷键而不能完全删除!!!!
怎么办!!!!!烦死了!!!!
严重抗议向firefox提出抗议:功能应该让我们自己来选择,而不是定死!!!!
How to cancel the keyboard shortcuts?
donnot tell me edit it!
i want to STOP it,,,,not change!!!!!!Hello,
I will try my best to guess the issue you are reporting. I don't speak Mandarin and I used Google Translate to guess what the issue is. So, if I got that wrong, I do apologize.
You are looking to disable the Firefox shortcuts - all of them. And you want to do this because you think these shortcuts are blocking a Firefox plugin you are using. Is that correct?
您想禁用Firefox的快捷方式 - 所有这些。并且要做到这一点,因为你觉得这些快捷方式阻止你使用的是Firefox插件。这是否正确?
谢谢 -
How to work the keyboard viewer to capitalize
how to work the keyboard viewer to capitalize letters
I also wish to know how to get the Keyboard viewer caps lock to work while in textedit.
The caps lock does not work for me while in any of my textedit programs.
As soon as I release the mouse button, or move off the caps lock,
the characters revert to lowercase. -
How to read the content in one node of XML in Java? Pls help
My dear brothers,
I am a newbie of XML, I have a exercise which is creating a Tree View from XML file. But the trouble is I do not know how to read the content in one node of XML file. I decide to use the algorithm as following:
1. Create a GUI form which gives the ability for user to choose a XML file (ok)
2. Load XML and return the file (ok)
3. Read the file from node to node to create the node in Tree View (?!)
Please help me, and if you are enough kind, please give me an small example to easy understand. Thanks in advance.
Hoang Yen BinhI hope this one helps you.
<ABC Type="ProductBased" ProdName="One" Location="India">
<CEO>Raj</CEO>
<Finance>Vikram</Finance>
<HR>Karthik</HR>
<Technical>Satish</Technical>
</ABC>
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Attr;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
import org.w3c.dom.DOMException;
import javax.xml.parsers.ParserConfigurationException;
import org.xml.sax.SAXException;
import java.io.File;
import java.io.IOException;
public class XmlReading {
Document doc;
Element element;
public static void main(String[] args) throws Exception{
XmlReading xr = new XmlReading();
xr.getXmlParser(args);
public void getXmlParser(String[] args) {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
if(args.length != 1) {
System.err.println("Argument Required");
try {
DocumentBuilder builder = factory.newDocumentBuilder();
doc = builder.parse(new File(args[0]));
}catch(ParserConfigurationException e1) {
}catch(SAXException e2) {
}catch(IOException e3) {
getAttributes();
public void getAttributes() {
// Retrive the entire Document from the Dom Tree
element = doc.getDocumentElement();
// System.out.println(element);
NamedNodeMap attrs = element.getAttributes();
// Get number of attributes in the element
int numAttrs = attrs.getLength();
// Process each attribute
for (int i=0; i<numAttrs; i++) {
Node node = attrs.item(i);
// Get attribute name and value
String attrName = node.getNodeName();
String attrValue = node.getNodeValue();
System.out.println(attrName + ": " + attrValue);
String s1 = element.getTagName();
System.out.println(s1);
// To get all the elements in a DOM Tree
NodeList nl1 = element.getElementsByTagName("*");
int i2 = nl1.getLength();
System.out.println(i2);
for(int i=0; i<i2; i++) {
System.out.println(nl1.item(i) + "\n");
} -
How to read the data in excel sheet
Dear sir,
How to read the data in excel sheet when i recieve a data serial communication... ie i have store a data in excel such that
Cell A Cell B
A Apple
B Ball
C Cat
D Doll
when i recieve A from serial communication i have to display Apple, and when i recieve B i have to display Ball and so on..Hi,
I would recommend you to have a look at the VI attached. It makes use of a VI named 'Read from Spreadsheet' to read the row and column data from the tab delimited excel file. The read data is then searched for the Alphabet specified and finally returns you the corresponding string. The test file used to validate the operation of the VI is also attached.
Trust this would help you solve the issue.
Regards,
Sagar G Yadav | Application Engineer | National Instruments
Attachments:
read_from_excel.vi 10 KB
Book1.txt 1 KB -
How to read the file from a folder.
Hi All,
How to read the file from a folder or directory from the non sap server / remote server.
Regards
Sathisopen dataset filename for input in text mode
encoding default.
filename is character type variable with the destination filename.
Edited by: Jino Augustine on Apr 19, 2010 1:31 PM -
How to read the check box value in alv report
hi experts,
i m working on one alv report where i m using the check box for field selection in alv display.
but i don't know how to read the only selected fields.
wa_fieldcat-fieldname = 'BOX'.
wa_fieldcat-tabname = 'IT_HEADER'.
wa_fieldcat-seltext_m = 'Box'.
wa_fieldcat-checkbox = 'X'.
wa_fieldcat-input = 'X'.
wa_fieldcat-edit = 'X'.
APPEND wa_fieldcat TO i_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'AUFNR'.
wa_fieldcat-tabname = 'IT_HEADER'.
wa_fieldcat-seltext_m = 'Sales Doc'.
wa_fieldcat-hotspot = 'X'.
APPEND wa_fieldcat TO i_fieldcat.
CLEAR wa_fieldcat.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = v_repid
I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
i_callback_top_of_page = 'TOP_OF_PAGE'
it_fieldcat = i_fieldcat[]
i_save = 'A'
it_events = v_events
TABLES
t_outtab = it_header
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
*& Form USER_COMMAND
text
-->R_UCOMM text
-->, text
-->RS_SLEFIELDtext
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE r_ucomm.
when '&RELEAS'.
endcase
endform.
i gone through some already posted que for same problem i tried options like
loop at it_header.
endloop.
but i m getting box field empty.
is there i missed something? plz sugeest.. if u have any other solution plz post...Have this code in your user command fm:
* For capturing changed data
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = w_grid.
CALL METHOD w_grid->check_changed_data
IMPORTING
e_valid = w_valid.
IF w_valid = 'X'.
loop at itab where mark = 'X'.
endloop.
ENDIF.
Regards,
Ravi
Maybe you are looking for
-
Hello, I am looking to get rid of One Drive and go full time with iCloud Drive, but here is my situation every piece of propaganda states you can now save all types of Doc.s in iCloud drive but how to you either preview (look at) pdf files or Apple p
-
Reduce text on 8 1/2 x 11 paper
I have text on an 8 1/2 x 11 paper which I want to reduce further how do I do it? Thx
-
Keyboard shortcut for opening the spelling suggestions menu?
On windows one can use the keyboard button for a right-click in order to open the spelling pop up menu in programs such as Word. Is there any similar way to open the spelling suggestions for the global OS X spell checking via the keyboard? Thanks!
-
No tag "output_text" defined in tag library imported
Dear All, I have the following jsp file. <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <html> <head> <title>Welcome to PizzaRia!!!</title> <link rel="stylesheet" type="text/css
-
After I loaded Mac OS lion, it won't let me install my Sierra Wireless telstra. It keeps telling me to install it even though i already have. help please?