Problem with labiew serial in XP

Hi
I've written an application (using Labview 7.1) which is communicating via
serial (laptop serial port) to an instrument. The instrument has 1200baud,
81N, no flow control. The serial problem happens when I request data from
the instrument, which is done by sending a short string to it. Using the
basic serial read write VI and setting the delay between reading and
writing to something big enough to allow for the slow speed of the port
(the return is 12 bytes so anything over 300ms should be plenty) and then
making the VI execute repeatedly gives unexpected results. Occasionally a
double entry appears in the read string.
Obviously this is a very brief description of a complicated problem but
thought it worth asking here in case there are any obvious "gotchas" that
I've overlooked. For instance, does Win XP do anything unusual that
affects serial behaviour wrt labview and VISA and that I need to disable?
There doesn't seem to be a VI or VISA module to clear the serial if it
gets into knots?
Many thanks in advance
Regards
Bill

Here's a little wait vi that I use when reading from a COM port. 
Attachments:
Serial-Wait.GIF ‏15 KB

Similar Messages

  • Big Problems with the Serial Port

    I'm Spanish and my English is not very good, I'm sorry but I need your help.
    I want to connect two computers (my desktop and my handbook) with the serial port (COM2 in both sides).
    I have the cable.
    I have installed JBuilder 7 in both computers.
    I have installed "commapi"
    I'm running SimpleWrite.java (the example from Sun) in one of them and SimpleRead.java in the other.
    I don't get in any moment receive any data.
    I execute first SimpleRead and I can see what this process is waiting something. After, I execute SimpleWrite (many times), this process star and stop correctly but never the first aplication receives nothing.
    I am trying for four days, I am desespereted.
    I need your help is very important to me. I don't understand what is happening!!!!. This is my e-mail: [email protected]
    Thank you very much.
    NOTE: my handbook has just one serial port, before had a winmodem but it was eliminated.

    hi,
    when your notebook has only one port, how do u know that this port is COM2? I think u gave a wrong parameter for the SimpleReader or SimpleWriter so one send data to a port (say COM1) but the other receives data from another port (say COM2).
    regards,
    eedych

  • I'm having problems with my Serial Number, can anyone help?

    Hey guys.
    Alright, so a few weeks ago I bought a Wacom Bamboo Capture tablet, and it comes with a copy of Adobe Photoshop Elements 8.0
    Now, I installed it previously and it worked perfectly.
    Then, all of a sudden, I go to boot it up, and I'm asked for my serial... AGAIN.
    Also, it's giving me the whole 'Not valid' error.
    It's irritating the hell out of me.
    Does anyone have any ideas as to what the possible problem could be, or how I could possibly fix it?

    Aeverin I would start with removing Photoshop Elements and then reinstalling it.  Also which operating system are you using?  Do you have any other Adobe software installed?

  • Problems with Ipad Serial Number

    Bought a new Ipad when it came out. Like two months later had to take it in because suddenly speakers did not work.  Apple sent me another Ipad. Now I just tried to register the Ipad and it says that the serial number is under another Apple ID. What should I do?

    Thanks for your response..
    I did register the Ipad on iTunes as soon as I got it, with my same Apple iD. The problem is at the Apple Support page. On my list of Apple products registered, the only product thats shows is my Iphone. immediatly after my iphone information there is a space that ask if I want to register another product and there is where it says that the serial number appears under another Apple ID.

  • Help! Problems with my serial number!

    Three weeks ago, I received the message that it seemed like I was working with a counterfeit version of CS3. That's not true, seven years ago I bought the total package and created an account on adobe. I am also in possession of the license code.
    No problem I thought, I enter my serial number and I can go back to work. Not so! I get the message that the serial number that I have entered is not valid !!
    I have a real problem, I have several projects, which I can not run now! Is there anyone who can tell me how I can solve this problem?

    Hi Ani,
    When I download the new application, I get the following message:
    You can only install one Adobe product at a time. Complete the other installation before attempting to install. Design Premium Adobe Creative Suite 3
    This is strange because when I look in task manager, there is no other process going on.
    Do you have another advice for me? Whatever would still be possible is to clean the laptop (return to factory settings) the laptop. However, the license is installed twice already and when I get off CS3 i think it is not possible to install int again because i allready used 2 licences (One on the computer where I was working and one on my private laptop).
    Regards,
    Marieke

  • Problem with updating serial numbers in sales order!

    Hi,
    I am trying to update serial numbers for a sales order in SAP. I tried using both SERNR_ADD_TO_AU and SERNR_ADD_TO_DOCUMENT. However, in both cases the FM returned the number of serial numbers created but these did not reflect in the sales order. The code for both is as below:
    WA_SERXX-SDAUFNR = '0000001733'.
    WA_SERXX-POSNR = '000010'.
    WA_SERXX-KUNDE = '0000009000'.
    WA_SERXX-VBTYP = 'C'.
    WA_SERXX-SD_AUART = 'OR'.
    WA_SERXX-SD_POSTYP = 'TAN'.
    WA_SERNR-SERNR = '000000001234ABCDAR'.
    APPEND WA_SERNR TO IT_SERNR.
    WA_SERNR-SERNR = '000000001234ABCDAQ'.
    APPEND WA_SERNR TO IT_SERNR.
    CALL FUNCTION 'SERNR_ADD_TO_DOCUMENT'
      EXPORTING
        operation                       = 'SDAU'
        objkopf                         = 'SER02'
        serxx                           = wa_serxx
        material                        = 'P1-TEST'
       PROFILE                         = 'Z001'
        quantity                        = '2'
      M_CHARGE                        =
       J_VORGANG                       = 'PMS2'
      KMATNR                          =
      CUOBJ                           =
      R_MATERIAL                      =
      BSTCH                           =
      BSTUP                           =
      SNBWG                           =
      EMATN                           =
      KDAUF                           =
      KDPOS                           =
      AUTOMATIC                       = ' '
      NO_ENQUEUE                      = ' '
      MORE_ALLOWED                    = ' '
      BUDAT                           =
    IMPORTING
       ANZSN                           = anzsn
       NEW_OBKNR                       = new_obknr
       SERIAL_COMMIT                   = serial_commit
       STATUS_NOT_ALLOWED              = status_not_allowed
      tables
        sernr                           = IT_SERNR
        r_sernr                         = it_ser1
      XVBPA                           =
    CHANGING
      T_SMESG                         =
    EXCEPTIONS
      KONFIGURATIONS_ERROR            = 1
      GENERAL_SERIAL_ERROR            = 2
      NO_PROFILE_OPERATION            = 3
      DIFFERENCE_IN_HEADER_DATA       = 4
      OTHERS                          = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    commit work and wait.
    CALL FUNCTION 'SERNR_ADD_TO_AU'
      EXPORTING
        sernr                       = '000000001234ABCDAR'
        profile                     = 'Z001'
        material                    = 'P1-TEST'
      M_CHARGE                    =
        quantity                    = '1'
      J_VORGANG                   = 'PMS2'
      KMATNR                      =
      CUOBJ                       =
        document                    = '0000001733'
        item                        = '000010'
        debitor                     = '0000009000'
        vbtyp                       = 'C'
        sd_auart                    = 'OR'
        sd_postyp                   = 'TAN'
    IMPORTING
       ANZSN                       = ANZSN
      ZEILEN_ID                   =
       SERIAL_COMMIT               = SERIAL_COMMIT
    EXCEPTIONS
      KONFIGURATIONS_ERROR        = 1
      SERIALNUMBER_ERRORS         = 2
      SERIALNUMBER_WARNINGS       = 3
      NO_PROFILE_OPERATION        = 4
      OTHERS                      = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    COMMIT WORK AND WAIT.

    hi,
    In order to maintain customer specific serial numbers you can do the following steps:
    1. Maintain the serial numbers provided by your client in tcode IQ01. this will create the customer serial numbers in the system.
    2. In the material master under Sales View maintain the serial number profile as 0002. this is sap standard.
    3. Once the above has been maintained you can assign serial numbers at the time of delivery and NOT in sales order.
    I hope this helps.
    Regards,
    Vishesh

  • Problems with Invalid Serial Number

    I had a hard-drive failure last week, bought a new disk and had to reinstall all my programs including Photoshop CS4. I entered the serial number from the back of the box that had worked on my computer for years only to get the error message "Our records show that the serial number used to set up this software is invalid."  It then shows the exact same numbers I have on the back of my box - no typos - "This serial number will no longer permit you to use the product."
    It then gives me a helpful link where I can buy a new serial number online. I already paid for this product once, so isn't that extortion? Any hints or help on how I can get going again without having to put up more money would be really helpful.

    Thanks for the link. I did see if entering the number without hypens would work (it had boxes, though, that precluded the hyphens, and I checked on the other problem scenarios, like platform or having a bulk license. Unfortunately I am still stuck...

  • Problems with your serial number produk: Adobe Premier Pro CS6.

    Dear,
    Please, send the serial number for my success download (type of product, Adobe Premier Pro CS6)
    Regards,
    Fathonie AG

    Hi Fathonie AG,
    Please refer : http://helpx.adobe.com/x-productkb/global/find-serial-number.html  for help in finding the serial number for your product.

  • Problem with install - serial number

    I recently installed RH8 as an upgrade to X5. There is no
    serial number anywhere on the DVD case so I was only able to
    install it in trial mode. I spent an hour on the phone being
    transferred back and forth between customer service and tech
    support, each insisting it was the other department that should
    help me. No luck. Does anyone know a quick way to get this issue
    resolved?
    Thanks!

    I would call, and call, and call again and INSIST on a full
    refund...get the sales department involved... that should get
    someone's attention. Bet you get a serial number.
    Regards,
    GEWB

  • 1 year ago i installed Elements 12 on my PC with a serial number.  Today i have installed Elements 12 also on my laptop. But,...there is a problem with validation of the serial number on my laptop. Is there a need to validate Elements  or will this progra

    One year ago i installed Elements 12 on my PC with a serial number and it was OK.
    Today i have installed Elements 12 also on my laptop.
    But,...there is a problem with validation of the serial number on my laptop. Is there a need to validate Elements  or will this program real disapeare in 7 days?
    Hans

    Hi,
    Since you already have one copy activated the serial number must be logged in your account details - I would first check that the one logged and the one you are attempting to enter are the same.
    You can check your account details by going to www.adobe.com and clicking on Manage Account. You need to sign in with your Adobe Id and then click on View All under Plans & Products. Next click on View your products and after a while it should produce your list.
    If there is a problem with the serial number, only Adobe can help you there (we are just users). Please see the response in this thread
    First of all, I would have to say that getting in touch with you is a nightmare and I am not at all happy that I can't just email or live chat with someone who can help!  I am not a technical person, I just want to be able to use Photoshop Elements and ge
    Brian

  • Problem with serial number and installing PSE 12

    I purchased Adobe PSE 12 yesterday and the purchase went through. But I never received a confoirmation email from Adobe. Now, when I try to enter the serial number to install, I'm told there is a problem with the serial number and I must contact customer support. Can't get through to customer support though. What should I do? I desperately need to get this program installed. Thanks.

    Hi 2Summers,
    Please provide me the serial number and I will check it for you.
    Send me aprivate message. Do not post it here.
    If you dont know how to do that refer : http://forums.adobe.com/thread/1184148

  • Elements 12 problem with serial.

    i just bought elements 12 from amazon, intalls fine on a windows 8 machine, But then tells us our trial has expired. Catalog section works but editor tells us we need new application manager. I downloaded and installed it but still doesnt work. Cant find a phone number, The worst christmas presentEVER., Help!!!!

    Hi,
    Since you already have one copy activated the serial number must be logged in your account details - I would first check that the one logged and the one you are attempting to enter are the same.
    You can check your account details by going to www.adobe.com and clicking on Manage Account. You need to sign in with your Adobe Id and then click on View All under Plans & Products. Next click on View your products and after a while it should produce your list.
    If there is a problem with the serial number, only Adobe can help you there (we are just users). Please see the response in this thread
    First of all, I would have to say that getting in touch with you is a nightmare and I am not at all happy that I can't just email or live chat with someone who can help!  I am not a technical person, I just want to be able to use Photoshop Elements and ge
    Brian

  • Problems with VISA and the serial port

    Hello,
    i have a little problem with the serial port and VISA. I have changed an existing LabView- Software in that way that I have replaced the serial- module by the VISA- module. The function of the program is to communicate with different devices by RS232. After changing the modules to VISA the software doesn't work probably. The problem is, that when I try to communicate with one of the devices first I get no answer. When I try it a second time after some seconds the communication works perfect. After about a minute I send another message to my device but there is no answer again. I have to send the message again.
    I hope someone in this forum can help me with my problem
    cu Marco

    Marco,
    this sounds very much like a problem with the termination of your messages. You may have to tell VISA to add a termination character. Please follow the instructions in this document.
    Best regards,
    Jochen
    National Instruments Germany

  • I have problem with delay in serial port

    I have problem with serial port. I have connected two computers by serial port and I need to create program in Labview for transfer strings using start bits and stop bits. My problem is that my program is working quite well ...when I press start bit it starts to concatenate strings and if i press stop bits it stops...this is the purpose of this program...but problem is that it working only with delay...and need that this program dont need delay, because it can only concatenating data depends on delay from start bit....I wana solved problem with delay...I dont want using delay process in my program, but allways when I try to delete this delay it stop works correct
    here is my program

    Ok this should be simple - if I understand you correctly.
    You have the VISA session initialized with read termination character enabled.  So reading the number of bytes at port is NOT the correct way to read from the port.  Set the read number of bytes to something large (say 4096) and the read will return as soon as a termination character is received (or timeout).
    You'll need to make sure the sending device is configured to send termination character on writes (you can set that with a VISA property node)  and that you are sending the correct termination character.  The default is 0x0A (newline).
    Jeff

  • Problem with *serial no. profile* in work sheduling view of material master

    Hi ! !
    I am here with a problem with serial no. profile in work sheduling view of material master.
    By mistake for some FHMI type ( PRODUCTION RESOURCE TOOLS )materials, serial no profile exist in 'work sheduling' view. Due to that we are facing problem in GRN.
    when I am trying to remove that with MM02. i m getting a message as Serial numbers already assigned to this material
    Please suggest how to remove serial no. profile.
    Thanks in advance,
    Prab

    Hi,
    go to MMBE and check the Current Serial number...for  FHMI type
    and go to IQ02 and close the Serial number range at the Current number range...
    Now you can assign this serial number range to another material type...
    Thx
    Raju

Maybe you are looking for

  • How to print the data in the grid?

    Hi all, I'm new to java. So, I need some helps. I want to print the data in the grid. Data could be more than one page. But I have no idea how to start writing code. Please let me know if you know. Thank you. DT.

  • Reports in R12

    Hi , I want to know the changes in standard reports in R12 and what are the new reports available in R12. What is the best way? Or else If someone knows the changes please post here. Thanks and Regards, MPH

  • Running 2 scripts using the browser simultaneously

    I was wondering, Is there a way to run two different AppleScripts using Safari at the same time, so that e.g. one would operate in one tab and the other in a different tab? How do I go about that? How do I avoid conflicts? (I should add that my knowl

  • French install cannot be installed after english

    I am a former RawShooter Premium user, so I have got an email from Adobe giving a link and an licence number to download Windows english version of LR 1.0. I have downloaded and installed english version and LR works fine. Now, the french version is

  • HT1937 forgot my password in e-mail address

    please help me how to reset my passworn in my email accont