Can air for html/ajax accessing serial port or usb?

I just have made use of Adobe AIR .I want to use printer with
air . Do air have some poperties to accessing serial port or usb?
I look up that on the Adobe AIR documents.I only found
'Adobe® AIR™ provides the eans to check for changes to
the network connectivity of the computer on which an AIR
application is installed'.
Do you have some demo with Adobe AIR accessing serial port or
usb ?
Or has another poperties to do that!
thank you!!

There is no API for accessing the serial port. USB devices
can only be accessed through the file system (and only if they are
storage devices).

Similar Messages

  • Access serial port through AIR

    isnt there any extensions or API buit for accessing serial
    port from AIR.
    i am designing a vending machile applicaton in which a coin
    drop is detected and corresponding images or message is displayed.
    MDM Zinc 3.0 allows serial port access but worths more than
    what it deserves. does AIR has some similar functionality.
    Any help.

    I'm not too hot on this subject, but would it not be possible
    to use Binary Sockets to connect to another app on the machine that
    could connect to a serial port?

  • Which IDE is better for HTML/AJAX development in AIR?

    Hi everyone,
    Which IDE is better for HTML/AJAX development in AIR?
    Dreamweaver or Aptana????
    Thanks for all your help
    IrishAIRMax

    Anyone have an opinion on this?

  • Pse help. K7T66Pro2 cannot access serial ports in DOS window

    My K7T266Pro2 won't access serial ports in a DOS window under Windows 98SE.
    Windows programs can access the ports but no DOS programs - including my modem program, banking program, Tapcis Compuserve program and MDMDR a serial port diagnostic program.
    I have tried both setting the ports in BIOS to AUTO
    and forcing the standard values for com1 and 2
    and I have verified that the serial ports are set for:
    com1 irq 4 i/o 3f8
    com2 irq 3 i/o 2f8
    I know my way around serial ports.
    Every other motherboard I have used under Windows 98SE has had no problems accessing the serial ports
    under DOS.
    I asked my dealer to try another K7T motherboard.  He loaded Windows 98SE and could not access the serial
    port in a DOS window either.
    Is this something funny about K7T boards?
    Do others have this problem?
    This is a quite urgent problem.  Please help.
    Larry Alkoff

    Larry,
    You posted in the nVidia/AMD/SiS Forum instead of the Via Forum. I have moved you to the correct forum.
    Good Luck,
    Richard

  • Help - K7T266Pro2 won't access serial ports in DOS window

    My K7T266Pro2 won't access serial ports in a DOS window under Windows 98SE.
    Windows programs can access the ports but no DOS programs - including my modem program, banking program, Tapcis Compuserve program and MDMDR a serial port diagnostic program.
    I have tried both setting the ports in BIOS to AUTO
    and forcing the standard values for com1 and 2
    and I have verified that the serial ports are set for:
    com1 irq 4 i/o 3f8
    com2 irq 3 i/o 2f8
    I know my way around serial ports.
    Every other motherboard I have used under Windows 98SE has had no problems accessing the serial ports
    under DOS.
    I asked my dealer to try another K7T motherboard.  He loaded Windows 98SE and could not access the serial
    port in a DOS window either.
    Is this something funny about K7T boards?
    Do others have this problem?
    This is a quite urgent problem.  Please help.
    Larry Alkoff

    Larry,
    You posted in the nVidia/AMD/SiS Forum instead of the Via Forum. I have moved you to the correct forum.
    Good Luck,
    Richard

  • How can i browse FP 2000 via serial port same use Ethernet port(RJ 45)?

    I am a new user for  labview.I develope my program with FP 2000 but I have some problem
      1 How can i browse FP 2000 via serial port same use Ethernet port(RJ 45)? if it can Tell me please.
      2 If  I use GSM/GPRS modem via FP 2000 rs 232 port (I under stand how to send AT command) and leave it stand alone
         Can I dial modem and browse file in FP 2000 same as use Ethernetport?
    Someone please help me.Thank you very much.

    Hi!
        First, I can say that your project involves many things, I cannot describe all features in the forum, and I'm not used with GPRS modems (my modems are base band serial modems...).
        Anyway, I would say that in your project you should proceed like this:
          1) Configure your FP 2000 module via MAX and ethernet connection;
          2) Download an embedded application to your module (build in LabView Real-Time)
          3) In your application, you should build a kind of serial port manager, and by the means of serial port you send/receive commands from PC.
        The commands from PC can include "Tell me the about the FP 2000 file system ", or "switch on line X", or anything you need.
       I think it would be difficult to use Internet exp, because you use IE with TCP/IP, and TCP/IP is over ethernet.
       I know that for Windows you can find some wrappers that make you "see" the serial port as an ethernet, but these wrapper do not exist under filed Point, and you shoul build one yourself!!!(and that's not easy).
        For example, to browse your files, you should build a VI that searches through your file system, and reports, via serial, the files present in a directory (it's an example....).
        About communication between GPRS modems and FP2000, I know nothing.  I suppose that these modems accept serial inputs, so you'll have to configure your serial port on FP 2000 with the correct baud rate, parity, and so on..... and you send your data to the modem.  The modem will transfer data in its way, no matter on how it does.
        To send data to your modem you shoud take a look to some Serial communication examples.  What I suggest you, first, is to connect the serial port of FP2000 to a PC, and test communication between PC and FP2000, without modems. Just direct cable connection!  If you're able to do this, insertion of modems is the next step, and should be quite easy.  If you're not able to make the PC receive strings of data from FP2000, over  RS232, adding modems is a further complication, and you won't come out of this mess!
       So, what I say, is just build, for now, a simple embedded application for FP2000, that, using RS232, sends data to a PC (you should see data sent with use of Hyper terminal).
        To build this application, use Instrument I/O --> VISA commands (VISA open, VISA write, and Property node should be enough, for now).
       Please, let me know if this helps......
        Have a nice (programming) day!
    graziano

  • Why Flex: What Flex can do, but HTML/AJAX can not?

    I want to understand the position of Flex in RIA competition. I used Flex because of AdvancedDataGrid and the Charts. It is impossible for HTML to do some thing like these.
    The Transition Effects are nice, but not important in enterprise environment. The initial loading time of Flex is much longer than that of HTML although Flex is more reponsive than HTML/AJAX after Flex is loaded.
    Any comments?

    It's not always about what it can or can't do--a lot of this is about doing the same thing better.  And think about the origins of Ajax--it's basically a hack.  I know the same can be said about a lot of technologies (even the Internet itself), but why use something that is essentially a hack when you have technology that was engineered for the purpose you have in mind?  Building hacks and fixes upon more hacks and fixes is how we end up with a pile of junk at the end of the day in IT.  It's time to start calling things what they are, hacks, if they are that.
    Flex has better performance, if you make use of AMF.
    HTML and Ajax can't use AMF and has no counterpoint in this area. AMF is much faster than the crummy Ajax hack can muster (especially once you start throwing crap like Dojo into the mix).
    http://www.jamesward.com/blog/2007/12/12/blazebench-why-you-want-amf-and-blazeds/
    Check AMF times compared to JSON Ajax times, bandwidth.
    Flex doesn't care about the user's browser.  Sure, the HTML/Ajax hack has frameworks to help you deal with that, but do you really want to worry about upgrading that trash (or framework bugs) when a new version of IE, or Opera, or Firefox, or Chrome, or Safari, or even another browser comes out and breaks something?  A newer version of Flash won't break a Flex app.  Also, other than Chrome, other browser JavaScript implementations are slow, slow, slow.  The more complex your Ajax app gets, the slower it will become--that's lame.
    User experience. A well designed Flex UI is much nicer and easier to use than even the best "JavaScript/DHTML" hackfest.  Just look at these new Adobe forums--JavaScript out the wazoo and they suck on anything other than Google Chrome.   It's useful for marketing too--not just for commercial stuff, but marketing to upper management for enterprise applications.  Everyone that looks at a well designed Flex app will be blown away by it.  And then you get your pay raise.  (lol - assuming it works, too)
    Superior development experience and development time.  Using Flex Builder you can mock up an entire "seemingly functional" prototype application within a ridiculous amount of time.  You can even run it without a back end or a server of any kind, just a standalone Flash player or browser.  You also have the GUI design mode, that shows you exactly what the user is going to see in the browser--no matter what browser they have, no matter what their settings are, etc.  No more HTML crap to deal with or (God forbid) tehnologies like JSP to generate your dinosaur code.  Documentation goes from the kludge of junk out there for HTML/Ajax/JS/etc to the excellent and very Javadoc-like ASdoc.
    And no more choosing between the dozens of hacky and crummy Ajax "framework" patchworks out there, that are needed to workaround all the problems you'd run into without a framework.
    That's just what I can recall at the moment.  I will NEVER go back to that God-awful Ajax/HTML hackfest people are calling RIA development.  Sure, Flex has it's issues and downsides too, but they aren't usually major enough to be of concern, even in an enterprise environment.
    BTW - It's not really Flex vs. HTML/Ajax.
    It's more like Flex vs. HTML/DHTML and AMF vs. Ajax/JSON.  But, Flex can talk to Ajax too, and it can even be embedded in HTML.  Although personally I feel that's a bastardization of the technologies, sometimes I guess people have a need to do these things.

  • Can not access serial port while upgrading from LabVIEW 6.1 to 7.0

    Hi,
    I built an application under LabVIEW 6.0.2. few years ago. This application uses LabVIEW serial features. When I upgraded to LabVIEW 6.1, my application was still working correctly.
    Today, I upgraded to LabVIEW 7.0, mass compile all VIs and now my application can not communicate with my peripheral !!!
    The program is sending the command to the peripheral. The peripheral answers but LabVIEW serial driver does not see any datas on buffer even if datas are available ... "Bytes At serial port.vi" always returns 0. I am sure that datas are available, using a COM port psy.
    Does anyone has an idea?
    I saw a lot of solutions in the forum, but I would like to know the best solution with minimum work, te
    st, and so on ... on my program.
    Regards,
    Pascal.

    Hi Pascal,
    Which is your version of NI-VISA?
    Please see the link bellow :
    http://digital.ni.com/manuals.nsf/websearch/E8D86CD680B0753D86256D2C005D8EA0
    The first test to be made is to test the communication with your serial port using MAX (Measurement and Automation Explorer) :
    Open MAX, Go to "Devices and Interfaces", then "Ports", select COM1 (or ASRL1::INSTR). Right clic on it and select "Open VISA Session" the go the "Basic I/O" then Write data, execute, Read data, execute.
    Be sure that the communication is OK. Be sure that you use the same Alias existing in MAX in your LabVIEW program.
    Now, if all is OK, try to use Serial communication examples existing in LabVIEW Help>>Examples Finder. These examples use NI-VISA VIs.
    If all above is OK and you
    still have the same problem, try to follow these instructions :
    "In order to use the old Serial Compatibility VIs in LabVIEW 7.x, you must copy the following files from a previous version of LabVIEW to the LabVIEW 7.x directory:
    Replace the serial.llb in LabVIEW 7.x with the serial.llb from a previous version of LabVIEW. This file is found in C:\Program Files\National Instruments\LabVIEW\vi.lib\instr.
    Replace the _sersup.llb file in LabVIEW 7.x with the _sersup.llb from a previous version of LabVIEW. In LabVIEW 6i and 6.1 this file is located in C:\Program Files\National Instruments\LabVIEW\vi.lib\platform. In LabVIEW 7.x (and 5.x) this file is found in C:\Program Files\National Instruments\LabVIEW\vi.lib\instr.
    Copy the file serpdrv to the C:\Program Files\National Instruments\LabVIEW 7.x directory. This file is not installed with LabVIEW 7.x, so it only needs to be copied from a previous version of LabVIEW, not replaced."
    I hope that my answer will help you.
    Sa
    naa T
    National Instruments

  • Accessing serial port on Arm platform

    I need to read and write on the serial ports of an ARM platform with a Java application, running a cross-compiled JVM.
    I considered both solutions java COMMAPI and JNI, but the problem is the same: I haven't library to support them: libLinuxSerialParallel.so, to support COMMAPI, or libnativelib.so, to implement native methods for JNI.
    How can I have this library for my ARM architecture? Is it possible to cross-compile sources for it?
    Thanks in advance.
    regards.

    Hello,
    I have a igep boar with arm core.
    I am trying to access to serial port through java.
    I am using rxtx (gnu.io) http://rxtx.qbang.org.
    I dowloaded the api for arm architecture (http://rxtx.qbang.org/ToyBox/2.1-7-build1/Linux/glibc-2.3.5/), but there is a problem with dependencies with glib.
    This is the error when i try to call from java:
    java.lang.UnsatisfiedLinkError: /home/jdoe/equinox-SDK-3.5.2/plugins/configuration/org.eclipse.osgi/bundles/2/1/.cp/librxtxSerial.so: /lib/vfp/libpthread.so.0: version `GLIBC_2.0' not found (required by /home/jdoe/equinox-SDK-3.5.2/plugins/configuration/org.eclipse.osgi/bundles/2/1/.cp/librxtxSerial.so) thrown while loading gnu.io.RXTXCommDriver
    I tested the librxtxSerial.so:
    jdoe@ubuntu:~$ ldd librxtxSerial.so
    ./librxtxSerial.so: /lib/vfp/libpthread.so.0: version `GLIBC_2.0' not found (required by ./librxtxSerial.so)
    ./librxtxSerial.so: /lib/vfp/libc.so.6: version `GLIBC_2.1.3' not found (required by ./librxtxSerial.so)
    ./librxtxSerial.so: /lib/vfp/libc.so.6: version `GLIBC_2.1' not found (required by ./librxtxSerial.so)
    ./librxtxSerial.so: /lib/vfp/libc.so.6: version `GLIBC_2.0' not found (required by ./librxtxSerial.so)
    libpthread.so.0 => /lib/vfp/libpthread.so.0 (0x40022000)
    libc.so.6 => /lib/vfp/libc.so.6 (0x40041000)
    /lib/ld-linux.so.3 (0x2a000000)
    And this is my glic version:
    jdoe@ubuntu:~$ ls -al /lib/libc*
    -rwxr-xr-x 1 root root 1201672 2009-04-09 18:02 /lib/libc-2.9.so
    lrwxrwxrwx 1 root root 14 2010-07-01 16:52 /lib/libcap.so.1 -> libcap.so.1.10
    -rw-r--r-- 1 root root 13984 2008-11-14 02:47 /lib/libcap.so.1.10
    lrwxrwxrwx 1 root root 14 2010-06-16 17:21 /lib/libcap.so.2 -> libcap.so.2.11
    -rw-r--r-- 1 root root 13800 2008-11-17 06:14 /lib/libcap.so.2.11
    -rw-r--r-- 1 root root 181816 2009-04-09 18:02 /lib/libcidn-2.9.so
    lrwxrwxrwx 1 root root 14 2010-06-16 17:21 /lib/libcidn.so.1 -> libcidn-2.9.so
    lrwxrwxrwx 1 root root 17 2010-06-16 17:21 /lib/libcom_err.so.2 -> libcom_err.so.2.1
    -rw-r--r-- 1 root root 9648 2009-02-12 16:55 /lib/libcom_err.so.2.1
    -rw-r--r-- 1 root root 38400 2009-04-09 18:02 /lib/libcrypt-2.9.so
    -rw-r--r-- 1 root root 1210776 2009-04-04 03:06 /lib/libcrypto.so.0.9.8
    lrwxrwxrwx 1 root root 15 2010-06-16 17:21 /lib/libcrypt.so.1 -> libcrypt-2.9.so
    lrwxrwxrwx 1 root root 11 2010-06-16 17:21 /lib/libc.so.6 -> libc-2.9.so
    What should I do?

  • How to access serial port using servlet

    I want to communicate with a microcontroller connected to the serial port of my computer.
    *I am using the following:
    Windows 98 operating system
    Tomcat web server 4.1
    *The directory structure is as given:
    Tomcat 4.1/webapps/myjsp/web-inf/classes/remoteservlets.
    I have placed my jsp files in my jsp folder and classfiles in remote servlets folder.
    **my java program has compiled correctly.**
    ** my simple java application which accesses the serial port works fine.***
    *when I start tomcat I am able to access the sevlet as the servlet responds with the button name i have pressed.
    **** I have also tried the following
    Copied file comm.jar in <JAVA_HOME>\jre\lib\ext
    Copied file javax.comm.properties in <JAVA_HOME>\jre\lib
    Copied file win32com.dll in <JAVA_HOME>\lib and also in c:\windows\system32 and c:\windows\system
    ***************which helped me do away with errors.
    still I don't get any output. I dont get any errors either.
    PLEASE HELP. URGENT. i am at my wits end.
    Thank you.

    Servlet is the one which runs in the server side...if u want to comunicate with the serial port of the server in which ur servlet is running can be done but making use of Communication api available....
    U can download the Api from http://java.sun.com/products/javacomm/index.jsp
    There are three levels of classes in the Java communications API:
    High-level classes like CommPortIdentifier and CommPort manage access and ownership of communication ports.
    Low-level classes like SerialPort and ParallelPort provide an interface to physical communications ports. The current release of the Java communications API enables access to serial (RS-232) and parallel (IEEE 1284) ports.
    Driver-level classes provide an interface between the low-level classes and the underlying operating system. Driver-level classes are part of the implementation but not the Java communications API. They should not be used by application programmers.
    regards
    shanu

  • Can I build a full-duplex serial port?

    I want to build a full-duplex serial port with PCI-6533, main features are:
    software: LabView
    hardware: PCI-6533
    serial port: full-duplex,synchronized
    clock: 13MHz, external feed
    control lines: 3
    data: about 1k bytes to be transfered
    Thanks and best regards,

    You can build it, but it won't be easy. Transmitting should be OK. But, for receiving, you are going to have to parse the information out of your incoming bitstream to get the information from the frame.
    Also, there is a peculiarity when usng the 2 timing sections together on the 6533. If you use any data width greater than 8 bits, you are only going to get 10MHz on each 'side', since the data has to be split between them by word. However, since you are serial and only using one bit, you don't have to worry.

  • Adobe AIR for HTML/JS custom Javascript Scrollbars

    Hi,
    I would like to know if it is possible to have custom Javascript scrollbars in an Adobe AIR application.
    I have tried many jQuery plugins but nothing can style the scrollbars.
    I can only style them via CSS.
    Adobe AIR supports javascript scrollbars for HTML / iFrames?

    Filed feature request on bugbase. Vote it up if you agree!

  • Problem in Accessing serial port using java comm Api

    I have installed java comm Api in my pc.
    i have gone through the instalation instruction which comes on this package.
    I have done the instalation like this
    Copy win32com.dll to my <JDK>\bin directory.
    Copy comm.jar to my <JDK>\lib directory.
    Copy javax.comm.properties to my <JDK>\lib directory.
    and restart the system.
    But when i run the BlackBox , it is giving me message
    "serial port not found".
    Can any one tell me , what is the exact problem ?

    I'm not sure what you mean by BlackBox, but I have used the COMM api extensively.
    The majority of problems is that the api cannot see the serial port (which is what you are describing) and this is caused by incorrect placing of the javax.comm.properties file.
    As well as <JDK>\lib, try putting it into <JRE>\lib as well. That has often solved problems on my setup.

  • I'm unable to access Serial Port

    I have written following code but I m getting NullPointerException on line 13 of this code, please solve my problem and identify error.
    In this code I have used chaeron api which is available at www.chaeron.com
    import com.chaeron.GPS.NMEA.*;
    import com.chaeron.GPS.*;
    import com.chaeron.platform.SerialPort;
    public class MyGPS1 //extends NMEAGPSImpl
         public static void main(String st[]) throws Exception
              SerialPort sp = null;
              NMEAGPSImpl gps = new NMEAGPSImpl();
              sp = gps.getSerialPort();//returning null
              if(sp.isOpen())
                   gps.setSerialPort(2);
                   gps.connect();
              System.out.println(sp.isOpen());//error on this line

    generally serial port problems stem from incorrect installation of the javax.comm package: does the serial demo work? It's hard to say what the problem is without knowing anything about the gps object.

  • Connection to serial port via USB adapter- error -214722150​3

    I am trying to drive a stepper motor provided with possible Labview or VB programs. This motor is supposed to be connected via serial port, but the computer has not some, so I bought an USB adpater to connect my motor via USB. I am using the labview programs provided (Labview 8.0). The program cannot connect to the port and returns error -2147221503. Where may I find some help with that ?
    Thanks
    Attachments:
    error labview.JPG ‏234 KB

    I see references to 'Luminos'. Is this the provider of the stepper motor and LabVIEW code? If so, your first step should be to contact them. The whole VI is nothing but ActiveX properties and methods and the vendor would be the only one who knows what is going on.

Maybe you are looking for

  • Relaying temporarily denied

    org.apache.jasper.JasperException: Sending failed; nested exception is:      class javax.mail.SendFailedException: Invalid Addresses; nested exception is:      class javax.mail.SendFailedException: 450 4.7.1 ... Relaying temporarily denied. Cannot re

  • Drop down in ALV with key and description

    I want to show drop down in my ALV. I am able to show description by setting the handle and value fields. But I want to set like VRM_SET_VALUES -> That is user sees description, but internally I get key. Is it possible?

  • Help!..Urgentfixed Screen Resolution with Graphics Configuration

    Hello, i am try to make our swing application resolution fixed. whatever is system resolution does't matter. my application always running on 1024 *768 mode. But i face some problem when i run the project with is feature and open any dialog by clicki

  • Global Caching Strategies

    Hi We are designing an application which does not have a web front end and need some suggestions on how to do global caching The environment is a cluster of 2 Weblogic 7.02 SP2 app servers. We need to cache some application wide data - we throught of

  • Full-slide hyperlinks after exporting to Flash

    I have created a simple Keynote presentation (an image, some text, and then a transition to the next image/text slide) that I want to work as a Flash movie with hyperlinks. I want the entire slide to be a hyperlink, but can only get it to work on the