Serial modem communication

...so my boss found out that I USED to do some hobby programming in Borlands C++ BUILDER years ago and he thinks that makes me the resident programming "expert".  He bought LabVIEW  and despite the fact that I've never seen it before he tossed it to me and said "'you da man!"...
He's ordered  device that connects multiple monitoring instruments to a serial port.  He want me to produce a app that'll eventually grab the data it logs and save it to a file. Sounds pretty easy ---
To begin  I connected a modem as a device to test with and made sure I could talk  to it via AT commands  with HyperTerminal. I've spent considerable time since trying to cook something up to communicate with no luck - and then tried lvterm.vi (found it here). I'm hoping it'll give me some insight and I can mod it as needed.
LVTerm seems to allow me to set the port parameters get an echo of what I type but I can't get the typical responses to the AT commands (followed with /r/n).  I can see my modems Rx & Tx light blink - but that's all.
I've never played with apps that work with ports (even in C++)....anyone have any tips or references that might help? LabVIEW seems pretty robust with regard to this sort of thing so it can't be too tough.
thanks -
(Soon to retire) US Coast Guard CPO
Solved!
Go to Solution.

I can send successfully send AT commands to the modem via Hyperterminal. For example, sending ATH0 or ATH1 will take the modem on / off hook. AT&VI will display the data stored in the various registers.
Attached is a .vi that I found on the forums here that I think would serve as a base for what I want to do with LV.  It's similar to what I came up with on my own so I don't feel too bad about using it - especially since the author said it worked well for him. With it I can send (for example) ATH1/R/N or ATH0/R/N and  take the modem on/off hook. I got success with this late last night after whining about having the trouble I've had.
-BUT-
I don't get the verbose responses  - or even the typical "OK" after sending a valid command like I do with Hyperterminal. Should I? Maybe the issue is my not understanding what to expect.  I do get the original command I sent w/o the "/r/n" suffix . I also do sometimes get framing errors to queries which tells me that baud/bits/parity might be incorrect, but since I can control the hook relay I assume that the modem and I are seeing eye to eye on parameters. Framing issues also indicate to me that there's some sort of data on the line from the modem. Summary is that I don't know if there data is there and I'm not accommodating it or if there's nothing there at all.
I get similar results with the various serial examples that ship with LV.
I figure that if I can see the verbose text responses from the modem I'll be able to do the same with other equipment that connect via a serial port and send data in response to particular commands. 
Thanks
Jerry
(in Maine - where the leaves are just fixin' to change into their autum colors) 
(Soon to retire) US Coast Guard CPO
Attachments:
serial.PNG ‏16 KB

Similar Messages

  • Java and serial port communication

    Hello,
    In my code i have parsed a file through which i have extracted the port name and baud rate .
    Now i want to open the port with this portname and baud rate.
    I have a device moxa card which has 16 port and want to open each and and read and write data into it.
    thanking you.

    RXTX seems to be a decent library for serial/parallel communication using Java.
    [http://www.rxtx.org/]

  • How to install and configure a serial modem

    Hi,
    I just bought a real modem: a usr robotics v.92 56k, so I anyone guide me in how to install a serial modem in Solaris 10 x86.
    Thanks very much,
    Lorenzo Jimenez

    http://forum.sun.com/thread.jspa?threadID=21835&tstart=0
    btw, where are the duke dollars ?
    Eric ;-)

  • About serial cable communication using Java

    Hello everyone,
    I want to use javax.comm to do serial cable communication on Linux platform. Currently, I can not find enough learning materials (tutorials and samples) from searching the net. Could anyone help to recommend some good ones?
    thanks in advance,
    George

    corss post, again and again

  • Serial Port Communication Class

    Hi
    Does anyone know if there is a java class doing serial port communication using RS485 4 wireport.
    Thanks

    There's the Java Communications API that does serial port communication. Don't know whether it handles whatever it was you said.

  • Serial port communication IRP_MJ_READ

    Hello, i would like to ask you about serial port communication. I am currently trying to make application for communication with my stepper motor (Microcon), but it doesnt work. If i try to communicate with original software, my serial port monitor gives me values 
    IRP_MJ_WRITE  when i write some values and
    IRP_MJ_READ when i try to read from serial port
    But when i am using LabView i am only able to send IRP_MJ_WRITE function using VISA write component (so this one works good), but when i use VISA read component my serial port monitor gives me only IRP_DEVICE_CONTROL. Have you any sugestion where can be problem? I have no idea how to get this IRP_MJ_READ function using LabView VISA component.
    Solved!
    Go to Solution.

    Are you monitoring the using PortMon software ? Only thing I can see here is that check the command what you send, there might be some space which you might have introduced while typing,
    or
    Are you still running stepper motor control software while running the labview ? In this case there will be conflict.
    When you are using original stepper motor software and when you send command wirte down the hex value (see in portmon or anyother monitoring software) and try sending same hex values using labview. Sending command, sending hex are same but just give it a try,
    Use bytes at port function before VISA read to read all the available data.
    Search for Microcon drivers in Instrument driver network in NI website if you want easy & fast solution.

  • Modem communication

    I am building a system in order for two modems to communicate and I wanted to know if this is possible to program utilizing the Java Communication API technology?
    I need to send a request from one modem to the other.
    I have read a little on Programming serial and parallel ports, does this topic fall under that category?

    Yes, Programming modems to communicate would fall under Java Communication API. A good place to start off would be
    http://developer.java.sun.com/developer/Books/javaprogramming/cookbook/
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun microsystems Inc.
    http://www.sun.com/developer/support

  • 16 bit serial data communication

    Hello,
    I want to acquire data serially which is 16 bit.
    Learning from the post http://forums.ni.com/t5/LabVIEW/16-bit-receive-over-rs-232/td-p/1214869/page/3 
    I was succeeded in joining the two eight bits. But the problem i am facing is that the two eight bits some time interchanges each other from MSB to LSB. The Block diagram Code is same as that from the above thread infact i have also plotted the data on Waveform Chart.
    To simulate the behavior, i have created a program of 16 bit addition and sending the data as LSB and MSB on the serial port.
    Here i am sending you the pics that may help you to identify the problem.
    This is the first picture that shows the serial port properties, The graph, and the resulting string that contains LSB then
    MSB and than the Conversion Result i.e 16 bit output.
    This graph is exactly following the Conversion result
    But when the LSB and MSB are interchanged this can we viewed clearly from this. Here the incremented result is reflected on MSB in place of LSB and has disturbed the whole program
    The graphical representation of the error
    In such Cases it is noted that the return count does not counts correctly as shown
    To check whether the error is not at the transmission end,
    I made another program in which I first send
    1 2
    3 4
    5 6
    7 8
    9 10
    And the same problem came here too. as shown below
    Here you can see that I didn’t send 0 but 0 is here as
    the first received data. Also the data is transmitted in five cycles but
    received in six cycles also the return count is 1 again.
    Waiting for reply
    Thanks
    Note:- I request you to please don't  consider my another thread of Multichannel data receiving as same. They both are for different objective. Thanks

    As i wrote that i have got the idea of 16 bit communication from the thread http://forums.ni.com/t5/LabVIEW/16-bit-receive-over-rs-232/td-p/1214869/page/3
    The Code of this is also the same which is as under
    Spoiler (Highlight to read)
    Spoiler (Highlight to read)
    The Data is transmitted as two serial bits and joined at the end. Wel can you give me a more clear idea of what could be the easy technique of specifying the start bit and stop bits.
    Do you think that the data starts transmitting when some character is send to it. And then two bits and transmitted. Do you think this idea can solve the problem.

  • Cisco Router 2600 Serial Port communications

    I am working on configuring communications Router to Router through serial port. I have seen some videos and read some documentations. My configuration is as follows: 
    R1 (DCE) -> f0/0 192.168.1.1/24 - s0/0 192.168.2.1/24 <-----> Router2 ->(DTE)  S0/1 192.168.2.2/24 f0/0 192.168.3.1.
    I have configured the routing tables at both routers. It works when I ping from router to router and router to hosts successfully. Nevertheless, I can ping from hosts to the default gateways, but I cannot ping from hosts to the serial ports (adjacency). In short I cannot communicate from Network1 to Network2. Please do I have to do any extra configuration.

    Router 1 (KelliR)
    KelliR#show ip interface brief
    Interface                  IP-Address      OK? Method Status                Protocol
    Ethernet0/0                192.168.1.1     YES manual up                    up
    Serial0/0                  192.168.3.1     YES manual up                    up
    TokenRing0/0               unassigned      YES unset  administratively down down
    Serial0/1                  unassigned      YES unset  administratively down down
    KelliR#show ip route
    Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
           D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
           N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
           E1 - OSPF external type 1, E2 - OSPF external type 2
           i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
           ia - IS-IS inter area, * - candidate default, U - per-user static route
           o - ODR, P - periodic downloaded static route
    Gateway of last resort is not set
    C    192.168.1.0/24 is directly connected, Ethernet0/0
    S    192.168.2.0/24 [1/0] via 192.168.3.2
    C    192.168.3.0/24 is directly connected, Serial0/0
    ============================================
    Router 2 (HelderR)
    HelderR#
    HelderR#show ip interface brief
    Interface                  IP-Address      OK? Method Status                Protocol
    Ethernet0/0                192.168.2.1     YES manual up                    up
    Serial0/0                  192.168.3.2     YES SLARP  up                    up
    TokenRing0/0               unassigned      YES unset  administratively down down
    Serial0/1                  unassigned      YES unset  administratively down down
    HelderR#show ip route
    Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
           D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
           N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
           E1 - OSPF external type 1, E2 - OSPF external type 2
           i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
           ia - IS-IS inter area, * - candidate default, U - per-user static route
           o - ODR, P - periodic downloaded static route
    Gateway of last resort is not set
    S    192.168.1.0/24 [1/0] via 192.168.3.1
    C    192.168.2.0/24 is directly connected, Ethernet0/0
    C    192.168.3.0/24 is directly connected, Serial0/0
    ============================================
    Even with  f0/0 and s0/0 configured with the addresses in any router, no host at its respective routers is able to ping the s0/0. Hosts are able to ping its ethernet ports.
    See ping comand below:
    From router KelliR
    KelliR#ping 192.168.3.2
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds:
    Success rate is 100 percent (5/5), round-trip min/avg/max = 32/33/36 ms
    KelliR#ping 192.168.2.1
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
    Success rate is 100 percent (5/5), round-trip min/avg/max = 32/34/36 ms
    KelliR#ping 192.168.2.101
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.2.101, timeout is 2 seconds:
    Success rate is 100 percent (5/5), round-trip min/avg/max = 32/33/36 ms
    KelliR#
    ==================================================================================
    From router HelderR
    HelderR#ping 192.168.3.1
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds:
    Success rate is 100 percent (5/5), round-trip min/avg/max = 32/33/36 ms
    HelderR#ping 192.168.1.1
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
    Success rate is 100 percent (5/5), round-trip min/avg/max = 32/32/32 ms
    HelderR#ping 192.168.1.101
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.1.101, timeout is 2 seconds:
    Success rate is 100 percent (5/5), round-trip min/avg/max = 32/34/36 ms
    HelderR#
    ====================================================
    From Host connected to KelliR
    C:\>ping 192.168.1.1
    Pinging 192.168.1.1 with 32 bytes of data:
    Reply from 192.168.1.1: bytes=32 time=2ms TTL=255
    Reply from 192.168.1.1: bytes=32 time=1ms TTL=255
    Reply from 192.168.1.1: bytes=32 time=1ms TTL=255
    Reply from 192.168.1.1: bytes=32 time=1ms TTL=255
    Ping statistics for 192.168.1.1:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 1ms, Maximum = 2ms, Average = 1ms
    C:\>ping 192.168.3.1
    Pinging 192.168.3.1 with 32 bytes of data:
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Ping statistics for 192.168.3.1:
        Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)
    =====================================================
    From Host connected to HelderR
    C:\Users\Helder>ping 192.168.2.1
    Pinging 192.168.2.1 with 32 bytes of data:
    Reply from 192.168.2.1: bytes=32 time=3ms TTL=255
    Reply from 192.168.2.1: bytes=32 time=1ms TTL=255
    Reply from 192.168.2.1: bytes=32 time=1ms TTL=255
    Reply from 192.168.2.1: bytes=32 time=1ms TTL=255
    Ping statistics for 192.168.2.1:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 1ms, Maximum = 3ms, Average = 1ms
    C:\Users\Helder>ping 192.168.3.2
    Pinging 192.168.3.2 with 32 bytes of data:
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Ping statistics for 192.168.3.2:
        Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

  • Serial port communication problems

    Hello.  I am trying to control a MKS Instruments 651C Pressure Controller via RS-232.  Right now, I am just trying to establish basic communication with the device over the serial port.  I can connect to the device with windows hyperterminal using the following settings:
    Bits per second: 9600
    Data bits: 8
    Parity: None
    Stop bits: 1
    Flow control: None
    Once I connect, I go to File-->Properties, Settings tab,and click on ASCII Settings button.  I must check the following boxes (not checked by default) for any communication to occur:
    Send line ends with line feeds
    Echo typed characters locally
    Append line feeds to incoming line ends
    Force incoming data to 7-bit ASCII
    Once I have all that set, I can communicate with my device via hyperterminal.  What I would like to do now is to use LabVIEW to control the device, so I need to be able to send/receive data over the RS-232 connection via LabVIEW.  I have been using the Basic Serial Write and Read vi, but I am not getting any response from my device.  Looking at the block diagram for the basic read/write, I saw that  Enable Termination Char was hardwired to false, so I changed it to a control and set it to true.  I also changed Termination Char to a control and set it to 0xD for CR.  I still cannot get a response from the device.
    I'm guessing that I am still not setting everything for the serial port setup correctly.  Can anyone give me some suggestions on what else to modify to match my hyperterminal settings?  Thanks!
    Solved!
    Go to Solution.

    Have you tried running NI-Spy to see what is actually happening on the serial port? This may help you narrow down what is happening. I also wonder if you are having an issue since you are using 8-bit ASCII when you open the port but in hyperterminal you are telling it to use 7-bit ASCII to read the data.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Serial Port communication very slow in RDP on windows server 2012

    Hellò, we have installed a new server 2012 and connected some thinclients via RDP, since that moment all peripherals connected to the imported com ports of the thinclients are running very slow, for example the cash register issue any receipt only after
    15-20 seconds!!. We have try to connect via RDP also a personal computer with many other OS like windows 8, windows 7, or XP but the result is the same: 15-20 seconds for a receipt!! We solve the problem only changing the server 2012 with a old server
    2008 or 2003!. How is possible window server 2012 is so slow on RDP imported com ports??. There is something to set for speed up the com ports on rdp? For us this is a great problem, all of our customers are using cash register via RDP and they can't wait
    all this time for a receipt. For your information we have tried to connect the cash register to the same com port of the same thinclient to the same server 2012 without RDP and the issue of the receipt is fast, so the problem is something on RDC of the new
    OS windows Server 2012. Also note this is a bi-directional communication because the cash register use a bi-directional communication for printing each one of the voice on the receipt, this problem wll not affect other printers unidirectional where the
    print process starting in less one second. Please help us to solve this problem, otherwise we will not more install windows server 2012.

    Hi,
    Thanks for your posting in Windows Server Forum.
    When the slow performance issue occurs on server 2012, check the Windows Logs – Application category of the Event Viewer (eventvwr.msc) on both the client and server sides. If there is any logs recorded, please let us know them. Please also check the
    driver is properly installed on server and check the compability guide with the cash register machine, whether it support server 2012 with remote session. If there is particular requirement then you need to solve them first.
    In addition, would like you to try connecting with RDP 8.1 and check whether it faces same issue.
    Remote Desktop Protocol 8.1 Update for Windows 7 SP1 released to web
    Hope it helps!
    Thanks,
    Dharmesh

  • Serial 625kbaud Communication Problem

    Hello
    I would like to use the standard VISA write/read  vi's to support communication with a baudrate up to 625kbaud (no parity, 8bits, no data control). It works
    fine with 312kbaud so far but not with any higher baudrate. As interface I am using an express card which supports the desired speed and works fine with 
    an external terminal program. 
    What are the maximal baud rates supported from the VISA write/read? Is there any "special" settings which needs to be considered?
    Thanks in advance

    Serial Baud Rates Supported By NI-VISA

  • Serial port communication on Mac OS X with netbeans environment?

    I'm new to java. i wrote a cross platform application with realbasic that communicates with a serial port. i am trying to rewrite this application using good OOP technique using java and netbeans. i am developing on Mac OS X with netbeans. I am having a very difficult time finding some sample code and documentation on the best way to communicate with a serial port on OS X. i have looked into javax.comm and rxtx but am having trouble finding good docs and examples for OS X. also what ever the solution ends up being it needs to be cross platform.
    Any help would be greatly appreciated.
    thanks
    Jeff

    Same error here: I've tried building in both 32 and 64 bit modes, following the instructions above, and still receive the same error. Both LD_LIBRARY_PATH and DYLB_LIBRARY_PATH are set, as well as JAVA_OPTS pointing to the appropriate directory (in this e.g., /opt/dbxml/lib).
    Is there a way to get the "next" version of dbxml as a beta? Or is there another workaround in addition to what's posted here?
    Thanks,
    B
    Stats:
    java version "1.6.0_07"
    dbxml-2.4.16
    OS X 10.5.7
    tomcat 6.0.18
    <error stack trace below>
    ava.lang.UnsatisfiedLinkError: /opt/dbxml/lib/libdb_java-4.6.jnilib:
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         at java.lang.System.loadLibrary(System.java:1030)
         at com.sleepycat.db.internal.db_javaJNI.<clinit>(db_javaJNI.java:52)
         at com.sleepycat.db.internal.DbEnv.<init>(DbEnv.java:264)
         at com.sleepycat.db.EnvironmentConfig.createEnvironment(EnvironmentConfig.java:1023)
         at com.sleepycat.db.EnvironmentConfig.openEnvironment(EnvironmentConfig.java:976)
         at com.sleepycat.db.Environment.<init>(Environment.java:29)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    </end stack trace>
    Edited by: hamhoagie on May 28, 2009 12:28 PM
    Edited by: hamhoagie on May 28, 2009 12:29 PM

  • Modify Code (Modem Communication)

    Hi everybody!
    I have this code for the purpose of dialing by modem. It works the dialing part. But I want to know where I could modify the code so the modem can send and receive information.
    Please help....
    Thanks in advance....
    import java.io.*;
    import java.util.*;
    import javax.comm.CommPortIdentifier;
    import javax.comm.PortInUseException;
    import javax.comm.SerialPort;
    import javax.comm.SerialPortEvent;
    import javax.comm.SerialPortEventListener;
    import javax.comm.UnsupportedCommOperationException;
    public class Dialup implements Runnable,SerialPortEventListener
    static CommPortIdentifier portId;
    static Enumeration portList;
    InputStream inputStream;
    OutputStream outputStream;
    SerialPort serialPort;
    Thread dialupThread;
    String telNo;
    String dialCommand;
    public static void main(String[] args)
    System.err.println("START THE MAIN ");
    if( args.length != 1 )
    System.err.println("Usage: Dialup ");
    return;
    System.err.println(" START THE MAIN ");
    portList = CommPortIdentifier.getPortIdentifiers();
    System.out.println(portList);
    while (portList.hasMoreElements())
    portId = (CommPortIdentifier) portList.nextElement();
    System.out.println(portId.getPortType());
    if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL)
    if (portId.getName().equals("COM2"))
    System.err.println("PORT FIND ");
    Dialup dialer = new Dialup(args[0]);
    System.out.println("NO MORE ELEMENTS ");
    public Dialup(String telNo)
    this.telNo = telNo;
    this.dialCommand = "ATDT"+telNo+"\r\n";
    System.err.println( telNo );
    try
    serialPort = (SerialPort) portId.open("DialUp", 2000);
    catch (PortInUseException e)
    try
    inputStream = serialPort.getInputStream();
    outputStream = serialPort.getOutputStream();
    catch (IOException e)
    try
    serialPort.addEventListener(this);
    catch (TooManyListenersException e)
    try
    serialPort.setSerialPortParams(9600,
    SerialPort.DATABITS_8,
    SerialPort.STOPBITS_1,
    SerialPort.PARITY_NONE);
    catch (UnsupportedCommOperationException e) {
    dialupThread = new Thread(this);
    dialupThread.start();
    public void run()
    System.err.println("Try to connect ...");
    while(true)
    try
    System.err.println("Try to connect ...");
    if( !serialPort.isCD() )
    System.err.println("Try to connect ...");
    outputStream.write(dialCommand.getBytes());
    Thread.sleep(60000);
    catch(Exception ex)
    System.err.println("Failed to write message");
    public void serialEvent(SerialPortEvent event)
    switch(event.getEventType())
    case SerialPortEvent.OE:
    case SerialPortEvent.FE:
    case SerialPortEvent.PE:
    case SerialPortEvent.DSR:
    case SerialPortEvent.OUTPUT_BUFFER_EMPTY:
    System.err.println("Ignored event");
    break;
    case SerialPortEvent.BI:
    System.err.println("Break Interrupt");
    break;
    case SerialPortEvent.CTS:
    System.err.println("Clear to send");
    break;
    case SerialPortEvent.RI:
    if( event.getNewValue() )
    System.err.println("Ring Indicator On");
    else
    System.err.println("Ring Indicator Off");
    break;
    case SerialPortEvent.CD:
    if( event.getNewValue() )
    System.err.println("Connected");
    else
    System.err.println("Disconnected");
    break;
    case SerialPortEvent.DATA_AVAILABLE:
    byte[] readBuffer = new byte[20];
    try
    while (inputStream.available() > 0)
    int numBytes = inputStream.read(readBuffer);
    String result = new String(readBuffer,0,numBytes);
    System.err.print(result);
    catch (IOException e)
    System.err.println("Failed to read");
    break;

    what do you think inputStream = serialPort.getInputStream();
    outputStream = serialPort.getOutputStream();stand for? :-)

  • Basic serial port communication

    Hi-
    I am trying to use javax.comm API to transmit a byte array to a RS232 port (COM2) which is connected to an RF transmitter for wireless communication (the program just outputs the array, and doesn't recieive anything), and unfortunately a) I'm using windows, so i'm using the 2.0 API as opposed to the 3.0, and b) I have absolutely no I/O experience, so I'm grasping at straws at the moment and googling for possible examples. Any help/leads in the right direction? Thanks :)
    -james

    Try this:
    http://jstampu.systronix.com/tutorial/serialecho/serialecho.htm

Maybe you are looking for

  • How to break the PDF file into images?

    How to break the PDF file into images? There should be settings in Photoshop CS 6 that imports PDF file and break it into images.  I have a short instruction: 2.    Open the file in Photoshop. 3.    A new window should open to Import PDF.  Click on i

  • Saving music library while uninstalling i Tunes.

    I can't access Gracenote when importing CD's, so I cannot get track info. I cannot instal updates for iTunes - it just don't work - so what if I uninstall iTunes and then reinstall it? Will I lose my library of music? This is the most important quest

  • Output of F2 with two scipts

    Dear All, I have a billing type F2, but have two different scripts to call from same billing docment number, how should i configure this. Did i made two output types, or it is possible to assign both scripts on one output type.. Looking for the gurus

  • Remove() on Session Bean

    Is it strictly necessary to call the remove() method of a session bean when I am done using it? Won't the container simply clean up session beans when the session times-out, or will they be left hanging around in memory? Is it simply a case of 'good

  • Migrate DTS between SQL 2000 Server

    Hi ~ Are there any way I can copy all the DTS package from one SQL 2000 to another ?