How to set "VISA Read" as a event source?

I want to made the VISA Read as one of the event source.
For instance,  whenever the "VISA Read" read one byte, it can creat a event, so the event can process it.
How to realize it? Thank you.

hi there
please try the attached vi (not testet cause i don't have any serial device at hand).
it uses a string indicator as the data buffer. if there is new data the vi sets the "Val(Sgnl)" - property of the control which itself raises the "value changed" - event. i don't see a possibility to connect user events and VISA. there are the VISA - events (see the VISA advanced palette, but they also can't be connected to a event structure)
Best regards
chris
CL(A)Dly bending G-Force with LabVIEW
famous last words: "oh my god, it is full of stars!"
Attachments:
event_ValSignaling_7.1.vi ‏53 KB

Similar Messages

  • How to set up read receipts?

    how to set up read receipts?

    Mail can send a read receipt request:
    http://forums.macrumors.com/showthread.php?t=1183650
    However, note that read receipts are extremely unpopular, because of privacy issues as well as abuse by spammers (verifying addresses by using read receipts).  Most savvy users have this feature turned off, if their e-mail client even supports it, which many don't.  So not receiving a read receipt tells you absolutely nothing.  That makes the entire read receipt system pretty much useless.
    Mail will not, ever, respond to a read receipt request.

  • How to set up Deltas in FI data sources

    How to set up deltas  for FI Data sources & can any body give me the list of the Finance data sources...
    please help me..

    Standard FI data sources:
    0FI_GL_4 (G/L Accounts- line items)
    Takes the data from the FI document tables (BKPF/BSEG) that are relevant to general ledger accounting (compare table BSIS).
    0FI_AP_4 (AP-line items) and 0FI_AR_4 (AR- line items
    Selections are made from tables BSID/BSAD (Accounts Receivable) and BSIK/BSAK (Accounts Payable)
    How the data extraction happens?
    In FI extraction 0FI_AR_4 and 0FI_AP_4 are linked with 0FI_GL_4 in order to maintain consistent data transfer from OLTP system (it is called coupled data extraction, Ref OSS notes 428571).
    Note: Uncoupled" extraction possible with Plug-In PI 2002.2, see OSS note 551044
    0FI_GL_4 writes the entries into the time stamp table BWOM2_TIMEST in the SAP R/3 System with a new upper limit for the time stamp selection.
    And now, 0FI_AP_4   and 0FI_AR_4 will copy this new upper limit for the time stamp selection during the next data extraction in the SAP R/3 System. This ensures the proper synchronization of accounts payable and accounts receivable accounting with respect to G/L accounting.
    Full load: Not a valid choice because of large volumes of detailed R/3 transaction data.
    Delta load:
    Note: Here the delta identification process works differently for new financial records and for changed financial records.
    New Financial accounting line items which are posted in SAP R/3 sytem will be identified by the extractor using the time stamp in the document header (Table BKPF-(field) CPUDT).
    By scheduling an initialization IP all the historical data can be  loaded into BW from the application tables and it also sets "X" indicator in field LAST_TS (Flag: 'X' = Last time stamp interval of the delta extraction).That means after the last delta, initialization was done.
    OLTPSOURCE     AEDAT/AETIM     UPD     DATE_LOW     DATE_HIGH     LAST_TS
    0FI_GL_4     16 May 2007/20:15     Init     01 Jan 1990     15 May 2007     
    0FI_GL_4     24 May 2007/16:59     delta     16 May 2007     23 May 2007     
    0FI_GL_4     21 June 2007/18:12     delta     15 June 2007     20 June 2007     X
    0FI_AP_4     18 May2007/21:23     Init     01 Jan 1990     15 May 2007     
    After this, daily delta loads can be carried out depending on timestamp by scheduling delta info packages.
    During the delta load , the SAP R/3 system logs two time stamps that delimit a selection interval for a Data Source in table BWOM2_TIMEST(fields TS_LOW and TS_HIGH).
    FI -Delta Mode:
    A time stamp on the line items serves to identify the status of the delta. Time stamp intervals that have already been read are then stored in a time stamp table (BWOM2_TIMEST).
    (Info object 0Recordmode plays vital role deciding delta's .Check the field "delta "in ROOSOURCE /RODELTAM table to identify the image)
    The Financial Accounting line items are extracted from the SAP R/3 system in their most recent status (after-image delta method).
    AIE: This delta method is not suitable for filling Info Cubes directly in the BW system. To start with therefore, the line items must be loaded in the BW system in an ODS object that identifies the changes made to individual characteristics and key figures within a delta data record. Other data destinations (Info Cubes) can be provided with data from this ODS object.
    It uses delta type E(pull) means the delta data records are determined during the delta update by the data source extractor, updated to the delta queue and passed on to BI directly from there.

  • How to set to display  rows no. in source program

    how to set to display  rows no. in source program ?

    Hi,
    If u r working in 4.5B or older then u ll get it automatically.
    If u want to get numbering in 4.7 or ECC u just do this.
    Utilities -> settings -> ABAP editor
    Then u can select new editor or lod and u can find lot of options there.
    Regards,
    Subbu

  • How to set the read only property for dynamic ALV column

    Hi All,
    I have built one dynamiv ALV and I have one name column inside that ALV for which I have to set read only property based on two column fields that exist in the same ALV,say IS_SP and IS_CORP of type boolean.
    If any one of the flag is 'X',i have to make that name column as display only and
    If both flag are not set,it should be displayed as ediatable column.
    I have written one method as INIT_ALV which gets called when ALV is loaded.
    Code is as  follows:
      lr_column_settings ?= wd_this->alv_all_roles.
      lt_columns = lr_column_settings->get_columns( ).
    LOOP AT lt_columns INTO ls_column.
    CASE ls_column-id.
       WHEN <NAMECOLUMN>. "name column which should be editable/display
    Create Input Field
            CREATE OBJECT lr_uie_input_field_ro
              EXPORTING
                value_fieldname = ls_column-id.
         ls_column-r_column->set_cell_editor( lr_uie_input_field_ro ).
        After this,I have to set the read only property based on IS_SP and IS_CORP values,
              CALL METHOD lr_uie_input_field_ro->set_read_only_fieldname
              EXPORTING
                *value = 'IS_SP' or 'IS_CORP'
    ENDLOOP.
    I dont want to use cell variants also.
    Help me to achieve this.
    Thanks and Regards,
    Divya

    Divya - I have done it in the past following these documents. Please read it and try it it will work.
    Please read it in the following order since both are a continuation documents for the same purpose (it also contains how to change colors of row dynamically but I didnt do that part I just did the read_only part as your requirement) 
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71393
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0155eb5-b6ce-2b10-3195-d9704982d69b?quicklink=index&overridelayout=true
    thanks!
    Jason PV

  • How to set default values in initialization event for select option

    Abapers,
    I have 3 GL account like 0024831231,0024831238,0024831245.
    Please help me how to set default values in select-options ( s_hkont ) in INTIALIZATION event
    Thanks

    Select option is table <Structure> with fields, low, high, sign & option
    you need to append the value into the select option, with appropriate value in low or
    example:
    S_HKONT-low  = <value>
    S_HKONT-SIGN = 'I'
    S_hkont-OPTION = 'EQ'
    append s_hkont.
    Default value for select-option also can be added directly in select-option statement.
    Regards,
    Mahesh

  • How to set up read receipts in mail on OSX Mavericks

    How do you set up read receipts in mail on OSX Mavericks? I've looked under settings for the mail app but can't see anything that I can 'turn on' to get an indication when an email has been read. Thanks for any responses in advance.......

    Hi, there.
    Unfortunately, there's no such feature on Mail. No version of it has ever had.
    Besides that, read receipts are not good at all. It is up to the recipient whether or not to send a receipt. So you will never know if the recipient never read the email or just didn't send a receipt.
    Yours.
    JP

  • Set VISA read sync globally

    Hi,
    From an LabVIEW application that I am working on, I need to set the Visa Read to be syncrhonized.  From the context help file, I learned that I can right click on the Visa Read VI icon and set the attribute.  But, I want to ask if there any way to do it globally so that every VISA Read is behaving this way?
    I am using LabView 8.5
    Thanks.
    Peggy

    Hello PeggyC
    Once you have placed the vi on the block diagram and right click on it select the Synchronous I/O mode to the one you want and then select the vi and copy and paste it wherever you want it and it will have the same properties for this mode. I am not really sure you can do it programatically to all of the VISA read vi's that you have on your application. 
    "everything is achieveable through technology'

  • How to set the session using onClick event?

    Dear All,
    I have a link, which once the user click on it, I want to set the session.
    <a href="link.jsp" > Link </a>How to set the session? Where should I put <%session1.setAttribute ("test", "1234"); %>?
    Any idea?
    Thanks

    when u click on Link
    the control goes to link.jsp/.
    and in this page u can write the session related code.

  • How to set Adobe Reader as default for reading pdfs?

    I recently added Adobe photoshop.  Now when I get a PDF attached to an email or the help file in another program it's automatically opened in Adobe Photoshop.  How do I change that to Adobe Reader?

    I had MS Word set by Windows 7/64 as .PDF default and could not get any version of Adobe Reader to install as the default.  Adobe support rejected the case Your Case Number:0181940706. After much searching, I found a Windows forum (not in Microsoft) that had the attached tool.  Worked great, all pdf files now have acrord icons and open automagically (sic) with Reader X.
    I've attached the link for you.  If Ray at Adobe support reaads this, feel free to share it with your co-workers. The tools can fix a defeult association for any file type.
    http://www.sevenforums.com/software/
    Enjoy!

  • How to set Adobe Reader as the default in Safari 6

    When running 10.6, Safari defaulted to Adobe Reader to open documents not otherwise specified by an extension (e.g., docx).  However, in 10.8 w/ 6.0 the default reader appears to be TextEdit - which returns garbage from my financial instituitions.  I can download the file and then open with AR but how do I set 6.0 to default to AR rather than TextEdit?  I am not given the option to select the program to open with by right/option clicking the file link and I am not sure I want to make AR the default for all .txt files.....

    The plug-in is there - but the default still is textedit..... looking at Adobe's site they had some issues in the past with Lion and Safari 5.1 earlier this year..... maybe a solution is forthcoming from that corner?  However, that was tied to Rosetta sooo.......  I'll cogitate some more but any other ideas are welcome.....  Thanks for your help this evening.....

  • How to set showWindow from the lovValidate event in a DataForwardAction

    I created an onLovValidate data action event in a class which is derived from DataForwardAction.
    I'd like to set the showWindow parameter to true from this method but I don't know how.
    Could you show a short example?
    Thanks in advance,
    Gábor

    Please help!
    I'd like to replace the
    public static EventResult handleLovValidateEvent(
    BajaContext context, Page page, PageEvent event) throws Exception {
    EventResult result = new EventResult(page);
    result.setProperty("showWindow", new Boolean(true));
    return result;
    event handler with an event in a DataForwardAction event like this
    public void onLovValidate(DataActionContext ctx)
    throws InvocationTargetException {
    // Code before executing the default action
    if (ctx.getEventActionBinding() != null) {
    ctx.getEventActionBinding().doIt();
    // I don't know how to implement this:
    // EventResult result = new EventResult(page);
    // result.setProperty("showWindow", new Boolean(true));
    // Code after executing the default action
    Thanks in advance,
    Gábor

  • How to set and read pixels?  AffineTransform?

    I understand how the AffineTransform class works but I don't see a way to set the color of and read the color of individual pixels in my JPanel. Any help will be apppreciated.

    you can't do that with AffineTransform. AffineTransform let's you translate/rotate/shear/scale before rendering, but you don't have access to pixel values.
    Try instead creating an empty bufferedimage, draw into it whatever you want and then you have access to the pixel values via bufferedImage.getRGB()/setRGB().
    or you get more basic and manipulate the WriteableRaster of your image directly.

  • How to set different sounds for different events?

    Hello I had Xiaomi Mi2s before and I could set different sound for every email account I had, for sms, for facebook and so on. How do I do it on my Xperia? Of course that for example SMS is more important then some facebook comment, so I would like to hear what happened because not every time I want to reach my phone.

    Open each app > menu > settings > notification sound > change the sound > done > repeat as needed 
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • How to set infinite read timeout on web service call

    For JAX-WS JRF web services, I have a client that can set oracle.webservices.ClientConstants.HTTP_READ_TIMEOUT to any given value. I know that if you don't set this value, the default value is infinite. But how do I explicitly set the timeout to be infinite? Maybe 0? I will get something set up that I can experiment with, but someone might know off the top of their head. Thanks.

    Have found out that 0 is the default, which is infinite timeout.

Maybe you are looking for

  • Problem in creating client side PDF with image using flex and AlivePD

    I need a favor I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf.I am t

  • Hotmail redirect my page if I use safari but not with Firefox

    Once I login into Hotmail using safari I am redirected to a hotmail black page. This started after opening an e-mail from a trustable source. If I use firefox I do not have any problem. I reset safari, cancelled all the cookies, deleted all the cache

  • Mac OS 9 needed on Powerbook with OS 10.3.3 only

    I have just purchased a used (immaculate) 17 inch Powerbook with OS 10.3.3 installed. When installing Photoshop I have to put in 5.5 first then upgrade CD to install Photoshop 7. Photoshop 5.5 apparently requires OS 9 to install. When I put the CD in

  • "Racing Stripe" vertical in the middle of the screen

    I closed my 2008 dual core macbook yesterday for a few minutes and reopened it. Yikes! I have this 3/4 inch stripe of quivering pixels from top to bottom on the screen. I have restarted it with no resolution. Is this the beginning of the end or can I

  • When I enter a single digit in a cell, it lists multiple digits

    I wish to type a number into a single cell.  If the number has multiple digits like 123 (for example), the cell accepts it just fine.  However, sometimes I need to enter just a single digit number into the cell, such as a 5 (for example).  When I ent