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

Similar Messages

  • 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.

  • 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.

  • 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/]

  • 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),

  • Multiple serial port initialisation problem

    Good Morning All
    I have attached a vi which is giving me a problem that I can't solve, and would appreciate any help.
    The vi is supposed to intialise up to 7 serial ports (only using 5 at the moment), and I'm assuming this is a plausible way to do the initialisation (could be wrong). The serial ports are connected to a pc via a usb hub. The windows XP o/s does recognise the ports according to the device manager.
    The problem is that when the vi is run the following error is reported as shown in the attached word document.
    I have compared the port settings in the device manager properties for each port to the vi settings and they match. What more can I do?
    If somebody has a setup with mutliple serial ports could they try the vi and see if it works for them?
    Thanks and best regards
    Ray
    Solved!
    Go to Solution.
    Attachments:
    ax500 serial port init.vi ‏37 KB
    init error.docx ‏518 KB

    It has nothing to do with multiple serial ports.  It has to do with an invalid setting you are trying to use to configure any one of the serial ports.
    Look at the information in the error message.  Argument 4 of the property node in Configure Serial Port VI is the Stop Bits setting.  I see a coercion dot going into that VI, so that tells me the datatype you are wiring in doesn't quite match.
    You have an array of I32 values, and your values consist of 1's.  Disconnect that array and right click on the terminal of Configure Serial Port VI and pick Create Constant.  You'll see you get a ring data type.  It is a U16.  But if you look at the items in there, you'll see that stop bits 1.0 has a value of 10.  1.5 has a value of 15, 2.0 has a value of 20.  So the value of 1 has no meaning to that property node and you get an error.  You should be wiring in a value of 10.
    Delete that array.  Create an array of the ring constants.  Turn it into a control, and choose the correct ring value for each element of your array.
    You have several other coercion dots.  They may not be causing you problems, but I would consider disconnecting them, creating a constant of the correct datatype, and using that in the array you wire to the Configure subVI.
    I modified your VI and attached it.  See if it works for you.
    Attachments:
    ax500SerialPortInitMOD.vi ‏37 KB

  • JVM serial Port communication

    I am would like my java stored procedure to communicate with my serial port. I have a problem with relative pathnames are not allowed(com1:). how do I bypass this? Source code included:
    # Java source code
    package com.bannasoft.serial;
    import java.io.*;
    public class SerialTest {
    public static void sendit() {
    Runtime rt = Runtime.getRuntime();
    Process p = null;
    String portname = "com1:";
    String cmd[] = {
    "c:\\winnt\\system32\\cmd.exe", "/c",
    "start", "/min",
    "c:\\winnt\\system32\\mode.com", portname,
    "baud=9600", "parity=n", "data=8",
    "stop=1",
    try {
    p = rt.exec( cmd );
    if( p.waitFor() != 0 ) {
    System.out.println("Error: " + cmd );
    System.exit( -1 );
    byte data[] = "Serial Text.".getBytes();
    FileOutputStream fos = new FileOutputStream( portname );
    BufferedOutputStream bos = new BufferedOutputStream( fos );
    fos.write( data, 0, data.length );
    fos.close();
    catch( Exception e ) {
    e.printStackTrace();
    # Java Compile and load
    C:\work>javac SerialTest.java
    C:\work>loadjava -user scott/tiger@wc-sbenna2:1521:ORA817 -thin -resolve \
         -resolver "((* SCOTT) (* SYS))" SerialTest.class
    # modify the init.ora
    utl_file_dir = c:\winnt\system32
    # As System in oracle grant promisions
    I don't know that all of these grants are required.
    SYSTEM: ORA817>call dbms_java.grant_permission('SCOTT','java.io.FilePermission','c:\winnt\system32\cmd.exe','execute');
    SYSTEM: ORA817>call dbms_java.grant_permission('SCOTT','java.lang.RuntimePermission','c:\winnt\system32\cmd.exe','execute');
    SYSTEM: ORA817>call DBMS_JAVA.GRANT_PERMISSION('SCOTT','SYS:java.io.FilePermission', '*', 'read,write,execute');
    SYSTEM: ORA817>call DBMS_JAVA.GRANT_PERMISSION('SCOTT','java.lang.RuntimePermission', 'writeFileDescriptor', 'execute');
    # Create procedure as scott
    SCOTT: ORA817>create or replace procedure test1
              as language JAVA
              name 'com.bannasoft.serial.SerialTest.sendit()';
    # Set output on
    SCOTT: ORA817>set serverout on size 4000;
    SCOTT: ORA817>call dbms_java.set_output(4000);
    # execute procedure
    SCOTT: ORA817> exec test1();
    java.lang.SecurityException: relative pathnames are not allowed(com1:)
    at
    oracle.aurora.rdbms.SecurityManagerImpl.checkFileIsAbsolute(SecurityManagerImpl.
    java)
    at oracle.aurora.rdbms.SecurityManagerImpl.checkWrite(SecurityManagerImpl.java)
    at java.io.FileOutputStream.<init>(FileOutputStream.java)
    at java.io.FileOutputStream.<init>(FileOutputStream.java)
    at com.bannasoft.serial.SerialTest.sendit(SerialTest.java:27)
    PL/SQL procedure successfully completed.

    http://java.sun.com/developer/Books/javaprogramming/cookbook/11.pdf

  • 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

  • Fieldpoint serial port communication?

    Hi,
      I am a researcher from School of Biotechnology, Dublin City University, Ireland. I have been using Labview programming (version 8.2) for bioprocess monitor and control. I am using Fieldpoint (FP2010) module for data acquistion and control.  I've connected analog outputs from various controllers to appropriate channels and found data acquistion working fine using respective VI's. We have few instrument outputs which are need to be connected through serial interface on filedpoint's serial port. We are using  a multiplexer (B & B electronics) for channeling all serial outputs (of instruments) to serial port of Filedpoint. VI's developed for all serial interface of multiplexer ports  found working (data logging ok!) , when it is connected directly to COM1 port of PC. But when multiplexer serial interface is connected to serial port of Fieldpoint, the data values fails to log on the PC. Ethernet cable is used for interfacing filedpoint with PC. It seems the PC recognises COM1 port for serial interface but not serial port of Field point.
    We have a driver software for multiplexer, where we already configured all serial input and output ports as required. How to configure PC to serial port present in Filedpoint instead of it using COM1?
    I tried playing with MAX configuration as wells device manager of PC, but system couldn't recognise serial port of filed point.
    kindly provide me a solution.
    Thanks
    Regards,
    Senthil

    Hi,
    There is a software component that normaly would provide the feature you are looking for. It is the VISA Server. Unfortunately this component is not installable by default on cFP 20x0 controllers because of memory limitations.
    Your controller has enough memory, so you could try  to install the Server by hacking the driver installation configuration file for the NI-VISA server. Keep in mind that this is not an official feature and the usability could be limited.
    Go to your   \\Program Files\National Instruments\RT Images\NI-VISA Server\4.x    folder and open the "install_81xx.cdf" file with your wordpad.
    Add the bold line to the file as shown below:
    <?xml version="1.0"?>
    <?CDF VERSION="1.1"?>
    <SOFTPKG NAME="{E62A7BA2-8ED9-4C4A-AFA1-0DE33A188D61}" VERSION="4.4" TYPE="VISIBLE">
        <TITLE>NI-VISA Server</TITLE>
        <ABSTRACT>Remote VISA Server -- Shares VISA resources over the network.</ABSTRACT>
        <IMPLEMENTATION>
            <DEVICECLASS VALUE="PXI"/>
            <DEVICECLASS VALUE="Desktop"/>
            <PROCESSOR VALUE="7002"/>
            <PROCESSOR VALUE="7063"/>
            <PROCESSOR VALUE="7151"/>
            <PROCESSOR VALUE="7175"/>
            <PROCESSOR VALUE="E002"/>
            <PROCESSOR VALUE="E001"/>
    Save and close the file and close and reopen MAX. Go to your remote target and open the software installation tool. Now you should have the VISA server as an option for installation.
    After installing it and reboot, go back to your remote target in max and go to Software/NI-VISA 4.x and choose VISA Options at the right page. Go to Aliaes and choose "ADD Alias".
    Now enter ASRL1::INSTR into "Ressource Name" and "COM4" as Alias name for example. Now go to VISA Server /Security and add a * to allow access for every Host connected to your target.
    Save your settings and change to MySystem/Software/NI-VISA 4.x and go to VISA Options at the right page. Go to Aliaes and choose "ADD Alias".Now enter visa://your remote IP address/ASRL1::INSTR into "Ressource Name" and "COM4" as Alias name for example. Save your settings.
    Now you should be able to access your remote COM4 interface from your HOST, by using the COM4 alias within the VISA ressource control.
    DirkW

  • Labview serial port communication

    how can i configure serial port (using visa).presently its giving error message :time expired before visa operation.

    There are very good examples.
    Take a look at them

  • Serial port communication through JSP

    i am developing web application and i want to connect RFID reader to serial port to client computer.so when user put thr card on RFID READER and press Read Button on JSP page .the information stored on card display on the web page.
    this is requirement of my application.
    can i do this with JSP page or i have to change the technology
    plz help me
    plz reply as asoon as possible
    thanx in advance
    THANKS & REGARDS
    vikas

    http://java.sun.com/developer/Books/javaprogramming/cookbook/11.pdf

  • GPIB and serial port communication errors via an executalbe file.

    I have a data acquisition program that communicates with instruments via the serial port and GPIB bus. When I create an executable file and run it on another PC I get GPIB and serial port errors when the program tries to initialize these ports. Are there additional vi's I need to include when I build the executable?

    When you installed the GPIB board on the other pc, did you install just NI-GPIB? Did you configure the GPIB board? You also need NI-VISA if your're using VISA calls in your program. You can either install the full NI-VISA or just the run-time version.

  • Communication cldc serial port with problems?

    I have a problem using CLDC serial communications:
    I need a connection using Stopbit 2, databits 7, parity even and baudrate 4800.
    I use the line code:
    serialport.open("0;baudrate=4800;bitsperchar=7;stopbits=2;parity=even",1,true);
    or the sintax :
    soc_ = (StreamConnection)Connector.open("comm:0;baudrate=4800;bitsperchar=7;stopbits=2;parity=even");
    but the data arrive in palm of strange way. I send the bit 67 and receive in palm the bits 4, 12, 20 for example.
    helpme
    thank you

    [superfudido],
    The MIDP for Palm OS implementation currently does not
    support the comm protocol. Although CLDC supports the
    use of the serial comm protocol, what type of
    connections is determined by the profile, in the case
    of the Palm device, currently the only available
    profile is MIDP for Palm. The MIDP specification
    states that all MIDP compliant implementations must
    provide HTTP connections, all other connection types
    are optional.
    See this URL for the frequently asked questions for
    the MIDP for Palm technology:
    http://java.sun.com/products/midp4palm/faq.html#Q5
    HTH.
    Allen Lai
    Developer Technical Support
    SUN Microsystems
    http://www.sun.com/developers/support/
    However is possible to create conection for serial using databits 8, parity none, stopbit 1 without problems. Then exist comm protocol in CLDC, but no run with databits 7, parity even, stopbit 2. This is a Bug?

  • Serial Port Configuration Problem (SerialPortX 2.1 library)

    First, thanks to the author for all of the hard work on this AppleScript library. It has worked sucessfully for me for the last two years.
    However, I'm having a problem with a new-to-us scale in our laboratory. It's an older model and requires the communications settings to be 9600 / 7-E-1 with no handshaking. For novices such as myself that's 9600 bits per second, 7 data bits, even parity and 1 stop bit. I am able to successfully communicate with the scale via screen in Terminal or Serial Tools v0.4. The scale is physically attached to my Mac using a KeySpan USA-19HS serial to USB adapter.
    By connecting my mac to a PC I've been able to successfully communicate between the two machines with an AppleScript using the SerialPortX library as long as all parameters match (e.g., bit rate, parity, stop bits and handshaking). The only time this fails is if the data bits is anything other than 8, which makes me think that a bug is preventing me from changing the default value (in my scale's case from 8 to 7).
    Has anyone had any experience with this error? Is it possible to edit the script library to change the default to 7? Any other possible work-arounds (remember the scale is old and I can change the data bits on it)?Any advice or follow up questions are appreciated. Thanks for your time and consideration.

    Thanks for the suggestion. Here's my AppleScript:
    set {lf, cr} to {ASCII character 10, ASCII character 13}
    set carriage_return to (cr & lf as Unicode text)
    set myport to serialport list
    set oh to choose from list myport
    set PR to serialport open oh bps rate 9600 data bits 7 parity 2 stop bits 1 handshake 0
    set cmd to "Q" & carriage_return
    if PR is equal to -1 then
    display dialog "could not open port "
    else
    serialport write cmd to PR
    delay 10
    set mystr to serialport read PR --for 30
    delay 1
    #set cmd to "OP" & lf
    serialport close PR
    end if
    display dialog mystr

  • 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

Maybe you are looking for

  • How create header with user id time date to VC-report's output as display ?

    How create header with user id time date to VC-report's output as display ? This info should come from the VC - not all the way from R3-side via FunctionModule/BABI. So only userid, date, time to output as normal text (which is not editable of course

  • #MULTIVALUE error when I add Text in a cell

    Hi, There is a funny error occurring in the report. I have build this report on Excel sheet. The sheet has ONLY 4 rows,(and it always will have 4 rows). Following is the format of the Excel sheet: Plant    Division           Comment1           Commen

  • Doubt in Tutorial 6 Webdynpro for ABAP

    Dear folks,                I have been following tutorial 6 in WD4A  given in the link, https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7

  • Access servers using FTP programs like Cyberduck, Coda, etc

    Hi there, I posted this question elsewhere, but I'm not sure whether it was the right spot so I thought I'd start a new discussion. I'm having issues with accessing the server's that my two websites are on. I've been using Cyberduck for FTP'ing for a

  • OT: Change of bootdrive

    Hi guys I write this here, because I got no answer on the Asus forum, and I hope that perhaps any experts here know the answer to my question I have tha Asus P9X79 Pro board in one of my PC's with Adobe CC on. I have a hardrive tray where my bootdriv