Any way to communicate with Serial PORT using JavaScript

is there any way to communicate with Serial PORT using JavaScript ??
Dont tell me to do it in java because I need to this on client side not on server side.
such as when client pressed the button, a javascript function will be called and in that function I need to communicate with the serial port of that client... That action will not go to server side.

Is there any way to send a string of bytes to the serial port from the client side ?
Just a button on the web page that sends out stuff to the comport.
I was hoping to do this using java script also ..

Similar Messages

  • How do I get a refund?  I have tried to use this converter to change a PDF to a word document or excel document three of four times and it always fails..  I want my money back but don't see any way to communicate with Adobe.

    How do I get a refund?  I have tried to use this converter to change a PDF to a word document or excel document three of four times and it always fails..  I want my money back but don't see any way to communicate with Adobe.  i really just want my money back.  Very disappointed.  Also disappointed that it is so hard to find a way to communicate with Adobe that I have to resort to asking this question in this forum. 

    You need to use the CHAT link in support to reach Adobe staff. Be sure you know the product name you are trying to cancel, Adobe have lots of products, several converters etc. I think it is ExportPDF you have, most likely.

  • Sir, the subject is, I do not know the original owner Will helped me know that the owner or on the way to end this problem, or any way to communicate with the person in question

    Sir, the subject is, I do not know the original owner Will helped me know that the owner or on the way to end this problem, or any way to communicate with the person in question

    This is a user to user forum.  You are not addressing Apple.  It appears that you may be having issues related to Activation lock: ( http://support.apple.com/kb/PH13695).  If you cannot contact the original owner to have them remove activation lock, you should return the device for a refund.
    HTH

  • Communicating jsp with serial port

    Hi, I'm developing an web application that needs to communicate with Serial port. I'm not getting how to communicate with Serial port. I'm building application using jsp. Any one help me Please...

    package serialio;
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.io.OutputStream;
    import java.util.Enumeration;
    import java.util.TooManyListenersException;
    import javax.comm.CommPortIdentifier;
    import javax.comm.PortInUseException;
    import javax.comm.SerialPort;
    import javax.comm.SerialPortEventListener;
    import javax.comm.SerialPortEvent;
    import javax.comm.UnsupportedCommOperationException;
    * @author SASH
    public class SimpleWrite
    implements Runnable, SerialPortEventListener {
    public String line = "";
    public String line1 = "";
    public String text1 = "";
    public String text2 = "";
    public void run() {
    static Enumeration portList;
    static CommPortIdentifier portId;
    // static String dest = "0517111930";
    static String messageString = "Hello";
    InputStream inputStream;
    static SerialPort serialPort;
    static OutputStream outputStream;
    public void serialEvent(SerialPortEvent event) {
    switch (event.getEventType()) {
    case SerialPortEvent.DATA_AVAILABLE: {
    BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
    try {
    while ((line = reader.readLine()) != null) {
    arata(line);
    // System.out.println(line);
    } catch (IOException e) {
    System.err.println("Error while reading Port " + e);
    break;
    } //switch
    public int getWrite(SerialPort serial) {
    try {
    inputStream = serial.getInputStream();
    outputStream = serial.getOutputStream();
    try {
    serial.addEventListener(this);
    } catch (TooManyListenersException e) {
    System.out.println("Exception in Adding Listener" + e);
    serial.notifyOnDataAvailable(true);
    } catch (Exception ex) {
    System.out.println("Exception in getting InputStream" + ex);
    return 0;
    public static void main(String[] args) {
    portList = CommPortIdentifier.getPortIdentifiers();
    while (portList.hasMoreElements()) {
    portId = (CommPortIdentifier) portList.nextElement();
    if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) {
    if (portId.getName().equals("COM3")) {
    try {
    serialPort = (SerialPort) portId.open("SimpleWriteApp", 9600);
    SimpleWrite wr = new SimpleWrite();
    System.out.println(wr.getWrite(serialPort));
    } catch (PortInUseException e) {
    System.out.println("Port In Use " + e);
    try {
    outputStream = serialPort.getOutputStream();
    return;
    } catch (IOException e) {
    System.out.println("Error writing to output stream " + e);
    try {
    serialPort.setSerialPortParams(
    9600,
    SerialPort.DATABITS_8,
    SerialPort.STOPBITS_1,
    SerialPort.PARITY_NONE);
    } catch (UnsupportedCommOperationException e) {
    public String arata(String line) {
    System.out.println(line);
    if (line == null ? "250075C54CD9" == null : line.equals("250075C54CD9")) {
    System.out.println(text1);
    return "250075C54CD9";
    } else if (line == null ? "1D00451A3270" == null : line.equals("1D00451A3270")) {
    System.out.println(text2);
    return "1D00451A3270";
    return line;
    this code is working correct getting output at system output terminal but i want use further in as input for my jsp how to get this ?.......
    arata method is also working correct in class but it is not returnig value in jsp?
    plz give me way how to take string as input ...........

  • Communicating with Serial Port

    Hi,
    Hi I have an application that i have to communicate with serial port...
    Its working perfectly if am giving all the com settings as constants(pls hav a look @ codea).
    But i want to read the port number and baud reate from text file.When i changed the coding,in the serial
    setting i was not even able to find the port number and baud rate.it was displaying as buffer size.I think the way i connected the port number and baudrate to the clusture may be wrong(pls refer codeb).How do i fix this problem?
    Thanks in Advance....
    Solved!
    Go to Solution.
    Attachments:
    modemsetting.JPG ‏88 KB

    The problem I think is that you don't have a cluster tied to the center terminal of the bundler so most of the values don't have a name. Wire the cluster from above to the center terminal on the lower bundler. BTW, it doesn't matter what values are in the cluster you wire up because they will be overwritten.
    Mike...
    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

  • Is there a way to communicate with Game Centre friends?

    I was looking through the game centre, and I didn't find any way to communicate with my Game Centre friends, so there's no way?

    http://support.apple.com/kb/ht4314

  • Stolen iPod - Is there any way to flag the serial number with Apple Service

    My iPod Product (red) that I received for Christmas was recently stolen out of my car. I've done the police report and all that, but was wondering if there was any way to flag my serial number so that if someone were to try & register it or get service that it would be blocked? Yes, I'll replace it ASAP, but my kids bought it for me with their own money and it just really makes me sick that it was stolen and I'll probably never see it again.

    Apple have no procedure to track, trace or block your iPod from use. You've done as much as you can by informing your local police.

  • Use a HP 34970a with serial port

    Hello,
    I have labview 7.0 and I have to use a HP 34970a with serial port.
    Can anyone say to me any advice to do it?
    Where can I find some material?
    Thanks
    Vincent

    Hi Vincent,
    > I have labview 7.0 and I have to use a HP 34970a with serial port.
    > Can anyone say to me any advice to do it?
    > Where can I find some material?
    Your first step should be visiting http://ni.com/idnet and search for an
    instrument driver for your device (in this case I can promise you will
    find one).
    The "Learn" link on the same page tells you more about instrument
    drivers in general which could be helpfull if this is the first time you
    are working with instrument drivers.
    Rico

  • With just ONE inatentive sweep of my finger one page of my note was disappeared! Is there any way it can be recovered without using the help of iCloud backup?

    1. With just ONE inattentive sweep of my finger one page of my note disappered. Further more, the same page in my iPad was deleted automatically too! How could this happen? Is there any way it can be recovered without using the backup feature from iCloud? The data is vey important to me?
    2. I havn't connect the power code to my iPad yet, the backup copy in the iClout was before the accident as I checked in iPad. Is there any way that I could open my notes in iCloud backup so that I can copy the missing page and move back to my iPad and iPhone?
    Thanks a lot for any help!
    Xueyu

    Sorry, no. The only way to restore this note is to restore from a backup that contains it.

  • I want to Block iphone because he stole from me, what is the way to communicate with you, I have serial No.

    I want to Block my iphone because he stole from me, what is the way to communicate with you, I have serial No.

    Apple does not block phones. Call the police and your carrier. Change all your passwords. If you had find my iPhone enabled before the phone waa stolen, you may be able to track it, and erase the phone.

  • Type your questionI am trying to deactivate a version and transfer it to another computer, however I have lost the card with the serial number. Is there any way of retrieving the serial number?

    Type your questionI am trying to deactivate a version and transfer it to another computer, however I have lost the card with the serial number. Is there any way of retrieving the serial number?

    Hello Irene,
    you should have a look at Adobe's database, to see what's stored/saved about your accounts. Here you will find general infos about your Adobe Account
    https://www.adobe.com/account.html and to find your serial number have a look there http://helpx.adobe.com/x-productkb/global/find-serial-number.html
    Hans-Günter

  • How to transfer file from PC to PC via serial port using labview

    I need to transfer files(.txt, .doc, .xls) from PC to PC via serial port using LabVIEW. Is it possible to transfer files, if so how to transfer?
    Solved!
    Go to Solution.

    Yes, it is possible to transfer files with the serial port using LabVIEW.  Files are just collections of bytes and the serial port is pretty good at shipping bytes from one PC to another.  You need to connect the serial ports together with a null modem cable.
    First, take a look at the example for serial communication.   In LabVIEW, go to the Help menu and select "Find Examples...".  From there you can search for "serial" or navigate to Hardware Input and Output >> Serial.  Select the "Basic Serial Write and Read.vi".  Experiment with that example to gain confidence on the serial communication methods.
    Next, it's time to learn about how to read and write files.  For that, the examples could be somewhat confusing since they all deal with files that are presumed to have data of a specific type in them.  I would recommend just getting familiar with the functions on the File I/O palette.  Specifically, get to know the following functions.
    Open/Create/Replace File - On your destination side, you'll need to create the copy of the file that you are trying to transfer
    Close File - When you are finished reading from or writing to a file, you should close it.  It cleans up the memory being used and finalizes any write operations that are still floating in the write buffer.
    Read From Binary File - The best way to read from a file when you do not really care what type of file it is.  In your case, you just want to get those bytes read and sent out so they can be written down at the destination.
    Write to Binary File - At the destination side, this is what will store those bytes to the file you created with number 1.
    Get File Size (under the Advanced File Functions sub-palette) - You need to know how big the file is so you know when you are finished.
    OK, so once you are able to create files, write bytes to them, and read bytes from existing files you can move on to transferring.
    The basic method I would suggest is to have the user specify a source file on the source PC and a destination folder on the destination PC.  Then, find out the size of the source file using number 5.  Divide that size number by the number of bytes you feel like transferring at once.  The serial buffers are usually around 32k (if I remember correctly) so do not exceed that.  Now begin sending data by reading some number of bytes and wiring that string output to the VISA Write function.  On the destination side, you'll want to be monitoring the serial port for bytes and reading them when they arrive.  Wire that string to the Write to Binary File function to add them to your destination file.
    That is the basic outline of how to do it.  You have to be careful not to overload the write and read buffers on the serial ports.  Initially you can use delays on the sending side to make sure the reading side has enough time to digest.  To get things moving faster, you can bring in some flow control.
    If all that sounds a bit intimidating, there are Alliance Member companies out there (such as PrimeTest Automation) who can write such code for you and even provide a turnkey solution for you.
    Happy wiring,
    Dan Press
    Certified LabVIEW Architect
    PrimeTest Automation

  • Hello, I have created a distribution kit for my program.The problem is that the when the program is installed onto another computer, it fails to communicate with field point (Using FP-AO-200 and FP-AO-1000). Help is greatly appreciated, Thanks faen9901

    Hi Everyone,
    I have a program that sends information(analog output) to lab windows cvi in the form of a text file or user input.
    The program runs on the computers that I have the field point explorer and lab windows cvi installed on. In order to run the program without always installing labwindows/cvi and field point; I wanted to create an executable file that could be load on another computer.
    I used the create distribution kit part of labwindows/cvi to do this.After creating the distribution kit, I then installed it
    to another computer.
    My user interface appears on the screen, when the user clicks on the exe. file, but no data is sent to the field point module. I know that the data is being read from the user and textfile because in it appears in the uir.
    The following are some details about the problem:
    1. On another computer without labwindows/cvi and field point explorer not installed - no data is sent to field point module
    I know this because a current is being read on the current meter connected to field point module.
    My questions are the following:
    1. What are the possible reasons for the data not being sent to the field point module?
    2. Do I still need to create an iak. (Installing Field point Explorer) file stored on any new computer that I install my created distribution kit file too?
    Thankyou very much for any help that you can provide. I greatly appreciate it.
    Faen9901

    Re: Hello, I have created a distribution kit for my program.The problem is that the when the program is installed onto another computer, it fails to communicate with field point (Using FP-AO-200 and FP-AO-1000). Help is greatly appreciated, Thanks faen9901Faen9901,
    1) If you do not install FieldPoint Explorer, the FieldPoint Server is not installed so there is nothing on the target computer that knows how to talk to the FieldPoint system.
    2) Yes, you need an IAK file on the target computer. Assuming the settings (i.e. com port#) are identical you can simply include the iak file as part of the distribution.
    3) You also need to include as part of your installer the file "fplwmgr.dll". If this file is not installed, your program will not be able to access the FieldPoint Server. Alternatively, this file is installed automatically if FieldPoint Explorer detects LabWindows/CVI or Measurement Studio Development versions on the target computer or if you choose to do a custom FieldPoint Explorer installation and
    choose to provide LabWindows/CVI support.
    Regards,
    Aaron

  • In the latest iOS updates, did Apple change the way Airplay communicate with other devices through Wifi?

    Short :
    In the latest iOS updates, did Apple change the way Airplay communicate with other devices through Wifi?
    Detailed:
    We had a glitch with our Apple TV 3A 3-4 weeks ago and had to factory reset it (we reconfigured it with the exact same configuration than before the crash), it's now running iOS 7.0.2, I can't saw which version it ran before the problem though.
    It's used in a business environment with 30+ iPads 2, half of them are updated to 8.1.1 and the other half to 8.1.2. We use the latest iTunes version.
    Before the glitch that required a reset, all the iPads were detecting and mirroring when needed to the Apple TV, but now the iPads don't see the Apple TV in their list of Airplay devices anymore (but they detect various other devices inside our network).
    I have to add that our Apple TV is able to navigate the movie store correctly, so I assume that it's not an internet restriction issue from our end (also, the APple TV do not see either any of the many iPads on its device-detection screen.
    We successfully connected an iPhone 5S and an iPhone 6 through P2P Airplay, so it's not the issue, but when we connected the iPhones to our Wifi network (Same as all the other devices are using) the Apple TV suddenly disappeared from the choices.
    Hence the reason why I inquire to the possibility that some changes were made in one of the latest iOS revisions, if so, we would require some details so we can adjust our Wifi configuration accordingly to allow the proper detection of devices.
    P.S. I tried the basic troubleshooting of Airplay problems with no avail. Airplay button is displaying on the control panel, Airplay do not show the Apple TV at all (so it's not either the trick to display the Mirroring button), we also already proceeded to the suggested devices reboots, so my issue is quite more complex I believe.
    Thanks in advance.

    PhotogYogi wrote:
    I Have the same issue on a brand new iPad mini 2. My battery is only lasting up to 5 hours. I went on chat with Apple last night and they said my battery is fine and its a Safari issue. I'm literally losing 1% every 3-4 minutes. I tried recalibrating my battery, signing out of iCloud, shutting off all locations, turning off background app refresh, restoring network settings, restoring all, and finally restoring from iTunes with no luck. This is just awful. I got this iPad so I could use it on my long flight for a trip I have coming up, and unfortunately, it's not going to last that long, plus I'm concerned about how many times i will be recharging my battery because of this since battery's do have a life cycle dependent on the number of charges. This is frustrating and needs to be fixed ASAP and addressed by Apple.
    By the way, Apple told me to bring my device to the Apple Store because it's still under warranty. That's great and all, but I'm going to waste my time if there is no fix for this issue.
    Ok so you want Apple to address the problem, but yet you don't want to take it to them just in case they can't fix it? What if they can fix it? Complaining here certainly won't fix it.

  • Hi guys I lost my I pad any way to find with serie number

    Hi guys I lost my I pad any way to find with serie number

    If the iPad was running iOS 7, the finder/thief will not ever be able to use it.
    iCloud: Find My iPhone Activation Lock in iOS 7
    http://support.apple.com/kb/HT5818
    Apple (and no one else) can not assist (with serial number or iCloud) in finding a lost or stolen iPad.
    Report to police along with serial number. Change all your passwords.
    These links may be helpful.
    How to Track and Report Stolen iPad
    http://www.ipadastic.com/tutorials/how-to-track-and-report-stolen-ipad
    Reporting a lost or stolen Apple product
    http://support.apple.com/kb/ht2526
    What to do if your iOS device is lost or stolen
    http://support.apple.com/kb/HT5668
    iCloud: Locate your device on a map
    http://support.apple.com/kb/PH2698
    iCloud: Lost Mode - Lock and Trace
    http://support.apple.com/kb/PH2700
    iCloud: Remotely Erase your device
    http://support.apple.com/kb/PH2701
    Report Stolen iPad Tips and iPad Theft Prevention
    http://www.stolen-property.com/report-stolen-ipad.php
    How to recover a lost or stolen iPad
    http://ipadhelp.com/ipad-help/how-to-recover-a-lost-or-stolen-ipad/
    How to Find a Stolen iPad
    http://www.ehow.com/how_7586429_stolen-ipad.html
    What NOT to do if your iPhone or iPad is lost or stolen
    http://www.tomahaiku.com/what-not-to-do-if-your-iphone-or-ipad-lost-or-stolen/
    Apple Product Lost or Stolen
    http://sites.google.com/site/appleclubfhs/support/advice-and-articles/lost-or-st olen
    Oops! iForgot My New iPad On the Plane; Now What?
    http://online.wsj.com/article/SB10001424052702303459004577362194012634000.html
    If you don't know your lost/stolen iPad's serial number, use the instructions below. The S/N is also on the iPad's box.
    How to Find Your iPad Serial Number
    http://www.ipadastic.com/tutorials/how-to-find-your-ipad-serial-number
    iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number
    http://support.apple.com/kb/HT4061
     Cheers, Tom

Maybe you are looking for

  • B2B vs general submission to Apple

    I have a single edition for a product directed to construction engineers. It's a lot of technical information and not something most people would be interested in. It uses slides shows, a movie and one MSO. Apple rejected it saying to enough interact

  • Can't connect to other mac on network

    I have three MacBook Pros on my WiFi network - two are late 2011 models running Lion (one is mine and one is my husband's) and a late 2014 model running Yosemite. I have File Sharing turned on on all three computers and they all have shared folders s

  • Huge drop in freespace in the database

    Hi all, I experienced a strange problem. Recently I had a new server installed and the database from the old server was migrated in to the new server. After doing so, I added additional datafiles to the tablespaces to increase the free space in the d

  • WBS ELEMENT posting to 100%

    hi all, my question : 1)here the field RHCD_TAB-POSNR, should be checked for the employee as should the field rhcd_tab-kostl. if only one entry is found then check that value in the field rhcd_tab-prozt equal 100%. if more than one entry in the posnr

  • Can i update from Leopard to Snow Leopard without losing picture galleries or music

    can i update from Leopard to Snow Leopard without losing picture galleries or music