Emulator support serial communication?

Hi all
I'm trying to implement some serial communication using mobile to write to usb. But I'm surprised that is it possible to do with using emulator?
Here the problem is
String ports = System.getProperty("microedition.commports");this thing always return null when run it on my mobile. I used k510i to test this and finally got to know that jp6 (k510i) does not support serial communication.
But when this run on emulator it gives output string as COM1, COM2.
So my question is can we use emulator to do this, hence emulator does not have usb cable and does any one has an idea to convert emulator to make enable this?
If can please tell me how?

Sorry to say you that you can not touch your PC hardware from the emulator. Because the emulator runs KVM
as its runtime over the JVM. Thus if you want to touch the hardware of your PC then you have to request your
JVM from the KVM to communicate with the hardware and return you the response. Which is not at all possible.
But if you still want to use the COM1 and COM2 then run two different instances of the emulator and start a serial
communication between two emulators like a chat application.
Shan!!!

Similar Messages

  • Pocket Pc emulator can support serial communication

    hi , i am using Labview Pda 8.0.1

    Nag123,
    This topic is somewhat confusing and the documentation is not exactly accurate.
    In order to configure the emulator do execute serial commands you have to first
    add an emulator target to the LabVIEW project first. In order to that, create a
    new project and right-click the project title and select New » Targets and
    Devices...
    In the new window that comes up, make sure "Existing target or
    device" is selected and select the emulator you want from the PDA folder
    below. Once you do this, the emulator target will be listed in the project
    explorer. Right-click the target and select "New PDA VI". In this VI
    you will code your program and when you run it, the emulator will be launched
    and the VI will  run within it. Once the emulator is running click File »
    Configure and go to the peripherals tab. Here you can map the serial ports to
    COM ports on your computer. You can actually only map Serial1 and Serial2 only
    and I believe the reason for this is because Serial0 is restricted for
    ActiveSynch.
    Eli S.
    National Instruments
    Applications Engineer

  • Does labview 5.0 support serial communication at a baud rate of 115200?

    When I try to initialise my serial port at 115200 baud rate I get error 32, device paramter error. I'm running labview 5.0. Can anyone help me with this?

    I use Serial Port Init.vi to set the baud rate to 115200 with no problem in LabView 5.0 under Windows 95.
    I get error 38 when I try a non-supported baud rate.
    Do you get the error when you run Serial Port Init.vi directly or just when you call it from your VI? On the diagram where you call Serial Port Init.vi, try placing a probe on the wire going to the baud rate input of Serial Port Init to see what value it's trying to set. You will have a problem going to 115200 if the control on your VI is represented as I16 or U8 or if the data range max doesn't go to 115200.

  • Does diadem 8.1 support serial communication at a baud rate of 115200?

    Same question in English.
    Regards

    Hallo,
    das ganze geht mit dem Script-Dac Treiber und der UDI Schnittstelle. In DIAdem 8.1 muss eine dll (gfsvbsdr.dll) registriert werden, damit der Script-DAC Treiber dann verwendet werden kann. Dort lässt sich dann im Script die Baudrate programmatisch verändern. Hilfe und eine Beschreibung dazu finden Sie unter:
    http://digital.ni.com/public.nsf/websearch/BEF723E4698914DA86256FD30053397F?OpenDocument
    MFG
    Rebecca Fox
    National Instruments, Germany
    Rebecca Fox
    Applications Engineer
    National Instruments

  • I w'd like to know if LabVIEW 6.0 Application Builder includes the daqdrv (for data acquisition) and serpdrv (for serial communication) support files by default.

    Building an application to communicate to a device by serial port

    Hi velou
    The LabVIEW 6i Application Builder no longer requires daqdrv. Regardless of your Application Builder and LabVIEW version, you must always install the appropriate driver files on the target machine. For example, if your application communicates with a DAQ board and a GPIB board, then you must install NI-DAQ and NI-488.2 on your target machine. If you are using the VISA VI's for serial communication, than you have to install NI-VISA . If you are using the "old" serial VI's, than you have to include serpdrv separately.
    Luca P.
    Regards,
    Luca

  • Problems with Serial Communication using Labview 6 and Solaris 8

    I am working on a Driver for a Temperature Controller. But I am stuck at the very basics. I am using Labview 6 and the platform is Solaris 8 on a SUN Ultra 60 Workstation. I can not get the Serial communication to work. When I am running raw (uncompiled) code it works (I can read from and write to ttya and ttyb) but once compiled I get error code 37 (device not found). I have tried the following steps to fix this with no luck.
    1) I made sure that the "serpdrv" file is in the same folder with the executable. I also make sure the serpdrv file is added as a support file when building the app.
    2) I changed from using traditional serial VI's to labview 6's new visa functions. With these "new" VI's when
    I try to initiliaze the visa device and wire a control to the "visa reference" input only 1 serial port shows up (ASRL2, missing ASRL1). I am not sure if this is part of same problem or whole new issue.
    3) I reinstalled both visa and labview 6.0.2 update hoping this would help with no luck
    4) I placed the following entry into the ".labviewrc" file
    labview.serialdevices: "/dev/ttya:/dev/ttyb"
    If anybody has had the same problem I would love to hear about it and if you have any solutions
    Jamie Shea

    Hi Jamie,
    1. Do you have NI-VISA driver installed on the machine on which you are running this executable?? If you are trying to run the executable on the same machine on which the development program has ran fine, then you can ignore this point.
    2. If you have done all the changes that are suggested by other discussions related to this topic, then try changing the Port input to Visa Serial Configure.Vi from a control to a constant and try it. In some case, I have seen this to do the trick. I think this point should solve your problem. If it does do tell me. :-))

  • Midlet with access to IrDA/serial communication on PDA urgently needed!

    Hi folks,
    our solution needs access to the IrDA or serial communication from within a midlet. Unfortunately this is not possible with the current MIDP implementation. The mobile we are using has additional vendor specific classes, but still IrDA fails when connecting to other mobiles or PDAs. Therefore, we are looking for a KVM on WinCE/Palm which provides access to the IrDA or serical communication channel in order to develop our application on a PDA while waiting for MIDP 2.0 to come.
    Please send me some feedback ;-)
    Cheers Harald

    Indeed the serial port access to the IR port is supported in the latest WSDD releases.

  • I use LabVIEW 7.1 but I have some problem when, I use LabVEW to read the data from serial communication

    I use LabVIEW 7.1 but I have some problem when, I use LabVEW to read the data from serial communication.
    I use LabVIEW to read the data from serial communication then, i open the example (.vi) from Serial Communication - Advanced Serial Write and Read  from LabVIEW Example. BUT it have some error message that : Error - 1073807202 occured  at property node in visa configure serial port (instr).vi -> advance serial write and read .vi
    this error code is undefined. no one has provide a description for this code, or you might have wired a number that is not an error code to the error code input.
    I don't know why? please help me. thank you.

    When I copy that code into "Explain Error" I get: "VISA:  (Hex 0xBFFF009E) A code library required by VISA could not be located or loaded."
    You may have a bad install of VISA or the wrong version of VISA loaded. Try re-installing VISA. You can get the latest version from the NI support site: http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C0E91?opendocument&node=1....
    Also ensure that you are not pointing the example towards a serial port that does not exist.
    Please let us know what you find and what gets this working for you.
         Rob

  • Dsc modbus - Serial communication input/holding registers

    Hello,
    I am trying to create a labview application to act as a Modbus master and control multiple stepper motors. I have the DSC module in labview and am using a serial communication with an RS-485 converter. I have followed this guide: http://www.ni.com/white-paper/13911/en/  However, the driver I am using does not support coils, it only uses input and holding registers and I have not found a guide or tutorial that shows me how to create a labview application that can read and write to a specific address. For now all I want to do is turn the motor on and off using labview. I have used a modbus simulator to communicate with the driver and can do everything I want to do through the simulator. I can not get labview to do anything for me. I would be very happy if someone could direct me to a tutorial that can help me understand labview dsc module for reading and writing to addresses using modbus. 
    Meesh

    Ok, so this is really strange. I solved my problem in a round about sort of way. I'm using a modbus simulator (mdbus) to help me communicate with the driver/stepper motor so I know which address to use. But after I use the simulator I get a communication port error when I try to use Labview. It's like the port is locked in with the simulator and I can't end the connection and let Labview use the same communication port. I can't find anyway to fix the problem except going to this NI site: http://www.ni.com/download/labview-run-time-engine-6.1/746/en/  downloading this software and using the "repair" function. Then I can do a system restart and cycle the power on the driver/motor and then Labview with work again through the correct port. But if I need to use the simulator again then I have to go through this whole process again. Does anyone know what the heck is going on? Or if there is a better way to clear the communication port?? 

  • Serial communication

    I am a new user a Labview 6.1and I am trying to learn how to get information out of the serial port. I am check on ni.com for more information, but I am still really confused. I don't know if someone could help me just to get started. Thanks

    The example:
    (drive):\National Instruments\LabVIEW 6.1\examples\instr\smplserl.llb\Serial Communication.vi
    shows the basics using the VISA vi's. You'll want to use these unless you're working with field-point controllers, for those you'll have to use the field-point specific vi's since VISA isn't supported on field-point.
    Hope this helps!

  • GPIB, Serial Communication.

    Does JAVA support GPIB or Serial Communication?

    check this out for a Java wrapper for GPIB Comms
    http://cs.ulb.ac.be/projects/jpib
    Regards Flacky

  • How to send data using serial Communication

    I want to make serial communication using RXTXcomm.jar file.I was written the code.From this I got the list of serial ports avilable on pc but then after when I was tring to send command to machine which is attached to port it didn't gave any reply.
    Tell me that how to send command to port?

    This is how I do it:// open port, get ownership
    SerialPort serialPort= (SerialPort)portId.open(APPLICATIONNAME, timeout);
    // no framing and no threshold
    serialPort.disableReceiveFraming();
    serialPort.disableReceiveThreshold();
    // communication speed, parity, stopbits and databits
    serialPort.setSerialPortParams(BAUDRATE, SerialPort.DATABITS_8,
         SerialPort.STOPBITS_1, SerialPort.PARITY_NONE);
    // no handshaking or other flow control
    serialPort.setFlowControlMode(SerialPort.FLOWCONTROL_NONE);
    // timer on any read of the serial port
    serialPort.enableReceiveTimeout(TIMEOUT);
    // open streams for reading and writing
    InputStream is= serialPort.getInputStream();
    OutputStream os= serialPort.getOutputStream();... then you use the 'os' stream for writing and the 'is' stream for reading.
    kind regards,
    Jos

  • I am unable to connect to the internet, there is a pop-up that says "We're sorry, but the Safari browse version you are currently using dos no support the community toolbar". My computer does say that it is connected to the internet until I open Safari.

    I am unable to connect to the interent. At the top of the screen my computer says that I am connected. When I open up Safari there is a pop up that say "Community Toolbar          We're sorry, but the Safari browser version you are currently using does not support the community toolbar" and when the Safari page opens up it says "You are not connected to the Internet. Safari can't open the page .... because your computer isn't connected to the Internet." I have tried Network Diagnostics and tried to reset Sfari, empty Cache as well as deleted all of my interent history. I am unable to use Time Machine because I never set it up. If someone knows how to help I would very much appreciate it!!

    Some instructions for removing Community Toolbar are available in this thread: https://discussions.apple.com/message/15868085#15868085

  • Using time warner road runner. when I try to open up safari to home page I get error message that this version does not support the "community toolbar" can't proceed until closing the error message. sick of seeing it

    using time warner road runner. when I try to open up safari to home page I get error message that this version does not support the "community toolbar" can't proceed until closing the error message. sick of seeing it

    That toolbar/ct plugin seems to cause problems for all who install it!
    Close Safari, then locate and delete the following files and it should be gone:
    /Library/Application Support/Conduit
    /Library/InputManagers/CTLoader
    /Library/Receipts/ctloader.pkg
    /Library/Receipts/<Toolbar name>.pkg
    /Library/Application Support/SIMBL/Plugins/CT2285220.bundle
    /Users/<User name>/Library/Application Support/Conduit
    where / is the root library on your Hard Disk.
    If you are running Snow Leopard you should also look here:
    Library/launchAgents/com.conduit.loader.agent.plist
    Library/Application support/conduit plugins
    Also, as mentioned by Gilli2000:
    Library/Receipts - If you read it, it has information in it at the bottom referring extensively to "CT" and "community toolbar".
    Maybe it is harmless, but trash those items anyway!
    Note: Safari does not support any third-party toolbars except those supplied as an extension to Safari via the Extension Gallery.

  • TS3230 i get a pop-up window saying the current version of Safari does not support the community toolbar.  How do I get rid of this?

    i get a pop-up window saying the current version of Safari does not support the community toolbar.  How do I get rid of this?

    You need to uninstall the Community / Conduit toolbar add-on.
    Locate the files in bold print and move them to the Trash. The first five are in your root   /Library
    /Library/Application Support/Conduit
    /Library/InputManagers/CTLoader
    /Library/ScriptingAddtions (anything CTLoader realted)
    /Library/Receipts/<Toolbar name>.pkg
    /Library/Application Support/SIMBL/Plugins/CT2285220.bundle
    The next one is in your Home folder.
    ~/Library/Application Support/Conduit
    When you're done, try Safari.

Maybe you are looking for

  • Flat file

    HI Gurus , I am loading the data through csv file Flat file putting 0doc_number and 0s_ord_item in key fields of DSO and rest fileds like sales org , sales group upto 8 eights fields in data fileds when i am loading the data and clicking on the propo

  • T-SQL TechNet Guru News: October Winners Announced

    All the votes are in!  And below are the results for the TechNet Guru Awards, October 2014 !!!! For a full list of winners, see the full blog post, as runners up had to be removed from this post to fit the forum max length restrictions.  BizTalk Tech

  • Media Manager on Desktop Manager

    I just download the 4.3 version of desktop manager to see if it would solve my issue of not being able to download more than 1 GB of music on a 2 GB media card.  Now there is not Media Manager option but the help tells me to use media manager.  Any i

  • Sql command

    Hi all, I typed that command in the terminal and it worked mysqldump --user=root --password= --opt      HOTEL> /root/15now I want to execute it a java application, but it's n't working, here is the code public void run()           try {              

  • Videos converted to iPod with itunes lack audio component

    I have a 4 GB nano and have downloaded the instruction manual. One section describes how to use iTunes convert movies to a format acceptable to the nano. When I follow this method, the converted video has no soundtrack. Has anyone else tried converti