How to get status of an rs232 connection

Hi,
I am trying to read out the status of on RS232 connection.
How can I do this?
Moreover would it be great to make the handshake visible! Is there a way that I can do that?
I would like to make a program something like where I can push a button "connect", get the status that i am connected and then make it possible to send some data....
I would really thank you if you can help me.
Sincerely Tim

The more fundamental problem is that except for an indication of whether or not it has been initialized and perhaps the number of bytes in the port buffer, a serial port doesn't have any sort of real status. RS232 communications simply isn't that sophisticated. For what it's worth, unless the device you are working with is very old, monitoring the handshake lines probibly won't tell you anything because most modern serial device don't use any handshaking.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Similar Messages

  • How to get status of transaction

    Hi Gurus,
    can anyone tell me how to get status of the transaction in crm.
    regards,

    hi vijay,
    what kind of transaction did you want to get the status ?
    for order, complaint, activity, and task, you can used function modul 'CRM_ORDER_READ' for getting status of the document.
    hopes it helps
    cheers

  • CRM document - how to get status duration?

    Dear all,
    I extract data CRM -> BI  using standard datasources: 0CRM_SRV_PROCESS_H, 0CRM_COMPLAINTS_I, etc
    I need build a report with status duration of documents
    For example, if document was processed 4 days in statuses OPEN > IN PROCESS > VALIDATION > CLOSED report should be following:
    OPEN - 1 day
    IN PROCESS - 2 days
    VALIDATION - 1 day
    Each CRM datasource has start date and last change date of the document
    But there is no fields which stores date or duration of intermediate status change
    Could you please give an advice - how to get status duration?
    Thanks in advance

    Hi Oleg,
    Please check whether following standard datasources could meet your requirements:
    0CRM_TSS_DTRACK  CRM Tracking of Document Processing Lifecycles
    0CRM_TSS_PKYF       Timestamp Service: Performance Key Figures
    You can find the documents in transaction code SBIW, through IMG path
       Settings for Application-Specific DataSources (CRM)
           -> Settings for Extracting CRM Objects
                 ->  Define Extraction to Track the Document Processing Life Cycle   
                  -> Define Performance Key Figures for Time Stamp Service Analysis
    Best Regards,
    York

  • How to get and maintain Http persistent connection to get pushed data from

    At MangoSpring ,www.mangospring.com we are working on application which uses IMPS protocol where we always required to receive data pushed by server.
    To achive this we'll have to maintain one persistent Http connection on client side, so that we can be notified whenever some data is pushed by server.
    Reply With Quote

    our problem is :: " How to get and maintain Http persistent connection to get pushed data from Server "

  • How to get active monitor-Multiple monitors connected to a single machine.

    Hi,
    How to get the id of active graphic device, in case of multiple graphic devices connected to a single machine(Multi-headed display/ multi headed nodes) using Swing.
    Prashanth.

    Ah, youre actually asking different things.
    In your topic title, you say youre running separate instances
    In your body text, you say you are under different user/schema
    So tell me, do you have more than one database or not? How many entries in your TNS file?
    I would say, for "multiple database instances"
    SELECT
      a.id, b.id
    FROM
      tableA a
      INNER JOIN
      tableB@OTHER_DATABASE_LINK_NAME b  <--NOTE!
      USING(id)And of course you will have to look up CREATE PUBLIC DATABASE LINK sql..
    Message was edited by:
    charred

  • How to get status codes of field?

    For every document type or status field which we can see on front end, there is code which is finally stored in table.
    e:g: Go to transaction /nme53n
            Select any purchase req.
            Select status tab from item.
            See – processing status field.
            These processing status saves as N,B, etc in table.
    I know there is way to see these codes followed by full description on front end screen itself. I think using personal settings, but dont know how to set this. Please let me know how to see status codes + description on front end.

    You gui status should be implemented in the main screen which the subscreen resides, all function codes should be handled at that level. I believe you will need to set the F2 funciton code in your gui status, set the function code to PICK and then handle this function code in your PAI user command module. Should work.
    subscreen cannothave their own pf-status.....so create a pf-status for a screen in which ur subscreen is called...include 'pick' or f2 as onre of the functions code for the choose option.
    to differentiate the field u have to use get cursor field fldname.
    if it is a table control field u have to use
    get cursor field <fldaname> line <n> value <fval>

  • How to get status profile (STSMA) in user exit ILOM0001

    Hi ABAPers,
    I am currently working on user exit ILOM0001 (Check before saving a functional location) and need to get information about status profile (STSMA). I have checked parameters that is imported into this user exit (DATA_IFLO, DATA_IFLO_OLD, DATA_IFLOS) and none of them have STSMA.
    Could anybody help me how to get this field STSMA into user exit ILOM0001?
    Appreciate it.
    Thanks
    Regards
    Hadi

    Dear Kolla,
    Really appreciate your answer, but
    I don't want to generate or make settlement receiver.
    I was building a script in user exit IW010009,
    And the issue is I can not capture the content of field settlement receiver.
    If we want to capture screen field, ex. equnr, we can use structure CAUFVD,
    when i see the technical detail in this field, the structure for settlement is DKOBR, field EMPGE, but i cannot call it on debug.
    Kindly need your help on this issue.

  • How to get status of a backup job

    Hello everybody,
    I scheduled our daily RMAN backup using the DBMS_SCHEDULER package. The DB job calls an external batch file which in turns calls rman's executable and passes it a command file containing the actual backup script. Similar to what's described here:
    Problems with automated RMAN Backup in Oracle 11GR1 with DBMS_SCHEDULER
    The backup works perfectly. The problem is that if I intentially corrupt the command file (simulating a backup failure) so that the backup fails, and then query the dba_scheduler_job_log view, I always get a status of SUCCEEDED. Regardless of the actual backup outcome, the job seems to always succeed. That's a problem for me, because I'd like to set up a user defined metric which would check the status of the job in dba_scheduler_job_log. If the job wasn't successfully executed, a mail would be sent.
    Does anybody know why the job doesn't fail when it should? I also tried to execute the failing script manually and then checked the %ERRORLEVEL% environment variable. It has a value of 1, meaning error.
    Btw, I know that if I schedule the same backup with Enterprise Manager's job system (instead of DBMS_SCHEDULER), the backup failure is correctly reported (and the metric works). The issue with EM is its limited scheduling capability - I do a full backup on Sunday, a cummulative incremental backup on Wednesday and all the other days a differential incremental backup. Since now I haven't found a way to define a schedule with an appropriate repeating interval. The only solution I figured out is to have 7 jobs, one for each day of the week....
    Thanks in advance for any answers,
    Jure

    Hi,
    @alanm: I completely forgot checking that view :-) Using it is a solution, but I should probably set up a job chain to handle that (run backup & chack status in the view afterwards)....if there isn't be another solution, maye I'll do that. But then, maybe using 7 EM jobs is a simpler solution.
    @RnR: I tried to execute the batch file manually from the command line like that:
    C:\>echo %errorlevel%
    0
    C:\>rman target / cmdfile=backup_full.rcv
    Recovery Manager: Release 10.2.0.3.0 - Production on Sre Jul 2 09:46:37 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: TESTDB (DBID=2890535676)
    RMAN> RUN
    2> {
    3> aa;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "allocate, alter, backup, beginline,
    blockrecover, catalog, change, copy, convert, crosscheck, configure, duplicate, debug, delete, exec
    ute, endinline, flashback, host, mount, open, plsql, recover, release, replicate, report, restore, r
    esync, set, setlimit, sql, switch, startup, shutdown, send, show, transport, validate"
    RMAN-01008: the bad identifier was: aa
    RMAN-01007: at line 3 column 1 file: backup_full.rcv
    C:\>echo %errorlevel%
    1
    So the if the script fails, I get an errorlevel of 1. Is it possible that the status isn't propagated back to the Oracle job?
    @alanm: I'm already appending to the log, but I don't see how can that affect the outcome status of the job?
    Thanks for your answers.
    Regards,
    Jure

  • How to get Status of Static Root of Trust in windows

    While implementing the static root of trust in windows system, how one can get the status of static root of trust??
    How one can do measurement of static root of trust in the system.

    Might also try them here.
    http://social.technet.microsoft.com/Forums/en-US/home?forum=mdopagpm%2Cmdopmbam&filter=alltypes&sort=lastpostdesc
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • How to get status of

    I'm using a table linked with a CachedRowSetDatasetProvider
    and I have to implement the following rule :
    "the column can be edited only if the row is being appended,
    else it will be display only"
    I want to dynamicaly change the representation of a column as follow
    - a staticText if the row is already commited in the database
    - a textfield if the row is just being appended
    Is there a way to know the status of the row
    In the past, the good old PowerBuilder provided a similar method to get the status of row inside a datawindow, the returned possible values were :
    New!, DataModified!, Deleted! ...
    Thanks a lot

    Hi There,
    Making the Table row editable only for the appended row is tricky!
    The simplest solution I can think of is to display the read only rows in a table , and have seperate fields to enter the appeneded rows!
    but take a look at this tutorial
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/inserts_updates_deletes.html
    Its hows you how to add,update, delete rows displayed from the database.
    Hope it helps, sorry for delayed response.
    K

  • How to get status of a ScheduledTask

    <p>When someone cancels a running schedule manually from the GUI,that schedule is not listed by using the listJobStatus of theScheduler class.  Even in some cases a failed schedule doesn'tappear in in the list of ExecutionStatus that we get by using thelistJobStatus of the Scheduler class. How do I get the status ofScheduledTask in those cases. There is this getLastStatus method incom.sqribe.transformer.scheduling.ScheduledTask but that is hiddenby the api and I cannot use it.</p><p> </p><p>I need to get the status of a schedule that has started running,  to find out if it has suddenly stopped. If it comes in thelist given by listJobStatus of the Scheduler class, I can find findout, when it is not listed how do I find the status.</p>

    have a look at the workflow built-in vars:
    WF_ACTION_ERROR and WF_ACTION_RESULT or WF_CASE_RESULT
    WilfredS

  • How to get status of a sub process from the parent process.

    Hi,
    I want to get the status of a subprocess from the parent process (i.e. success or failure).
    How can I get this.
    Thanks in advance.
    Bye

    have a look at the workflow built-in vars:
    WF_ACTION_ERROR and WF_ACTION_RESULT or WF_CASE_RESULT
    WilfredS

  • How to get rid of Robosource SCCAPI connection

    Hi everybody,
    I am getting an error "Error initializing RoboSource SCCAPI connection" every time when i start MS Visual Studio 2008. After launching, it also asks for RS03 MiddleTier Service, though I have disabled it in the services settings.
    How can I get rid of it?
    What is the connection between RoboHelp (SCCAPI connection) and Visual Studio?
    Wht is the RS03 MiddleTier Service?
    thanks,
    Andy

    Hi there
    Just an educated guess here. I believe the RSO3 Middle Tier is (or may be) related to RoboSource Control. Either that or it's related to RoboHelp's built in ability to work with other source control systems.
    So how did you disable it? I'd like to but as yet have never actually found where I can!
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How we get subordinate pages for a connected user?

    Hi, I am a new user of WebCenter.
    My aim is to get all pages and all subordinate pages for a connected user with a declarative and programmatic method.
    Could you please help me?
    Thanks.
    -Borheneddine.

    Krr1sh wrote:
    Thanks for the reply Helios,
    I am into a specific situation where I get the username an input and I need to find out what is the default language set to that user at user level, if nothing set at user level then Resp level and propagate it till Operating unit level.
    Thanks
    SaiPlease run the query in (How To Find All Users With A Particular Profile Option Set? [ID 367926.1]) referenced above.
    Please replace this line in the query:
    and n.user_profile_option_name IN ('&User_Profile_Option_Name')With:
    and n.user_profile_option_name IN ('ICX: Language')Thanks,
    Hussein

  • How to get more than 1 iphone connected on itunes to home computer

    i need to get my wife's iphone on itunes for our home computer and not sure how to proceed so we can both have access

    How to use multiple iDevices with one computer

Maybe you are looking for

  • Activating Microsoft Office 2013 Pro Plus? Volume licensing needed?

    Hello, I have unique scenario in my company where we need to install office 2013 pro plus on 10 hard drives. Each hard drive has its own windows 7 operating system. Due to security reasons, the setup consists of one computer tower (with no primary ha

  • Using variables in transform process

    Using file adapter to read multiple rows into the database. Its a basic transformation with a one to one match, e.g. what's on the left exist on the right. The issue is that I want to uniquely identify each file process with an ID. Therefore what I h

  • Wait step in ccBPM

    hello everybody, i have a BPM process in my PI with a fork function and 2 braches. I would like that second brache wait 5 second before starting . I tried to use wait step but i see possible values are minutes, hours, days, months, year.... why no se

  • Statistical Key

    Hi Can anyone tell me what is a statistical key regards

  • Where is the phone app?

    Is there a phone app? It doesn't show on the sample screen.  Looks like we'll have to carry both devices, making it a larger version of the iphone apps.