How to use subset string on read visa

Hi everybody,
please help me, i have problem about how to pick some string on String indicator (Display Hex)
please see pict below :
look at read buffer indicator, how to pick them one by one (Volt, Ampere, Watt, kVar, Cosphi) ? i wanna convert it to decimal. please help me
THANKS~
Attachments:
Modbus NI VISAA.vi ‏13 KB
Modbus NI VISAA.vi ‏13 KB

Just use String Subset to pull out parts you need.  For voltage, you will want index to be 2 with a length of 4.  You can then do the conversion however you need to.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

Similar Messages

  • How will use Select-Options in Read table Concept.

    Hi All,
                  How will use Select-Options in Read table. For  example,
          Select-Options : test for bseg-prctr.
           Select * from bseg into table ITAB.
    Read table ITAB with key prctr in test.
    Last line is showing error. If any way to read ITAB as conditions given per select options.
    Thankx Advance,,,

    HI,
    you cannot use " IN " with read statement , read statement is used as:
    READ TABLE it_collect  ASSIGNING <fs_collect>
                      WITH KEY   rbpl = <fs_wkdet>-arbpl
                                 ufnr = <fs_wkdet>-aufnr.
    anyways you can use  loop at statement before read to use  " into "  statement as:
    LOOP AT it_master INTO l_master
                                           WHERE werks       = l_werks
    hope it will help you
    regards
    rahul
    Edited by: RAHUL SHARMA on Dec 30, 2008 9:14 AM

  • How to use List String in JSP page?

    Hello All,
    I am having problem using List<String> in my JSP page. Below is my JSP code.
    <%@ page import="java.util.*, java.io.*"%>
    <html>
    <body>
    <h1 align="center">Beer Recommendations JSP</h1>
    <p>
    <%
    List<String> beerBrands = (List<String>)request.getAttribute("styles");
    Iterator<String> it = beerBrands.iterator();
    while(it.hasNext()){
         out.print("<br>try: " + it.next());
    %>
    </body>
    </html>
    When I compile the above JSP code in Eclipse 3.4 (using JBoss 4.2 as my Application Server), I get the following Warning.
    Type safety: Unchecked cast from Enumeration to Enumeration<String>
    If I add the "@SuppressWarnings("unchecked")" to the code, Eclipse does not give any Error during compilation. But, at runtime, I get the following Error.
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 10 in the jsp file: /BeerAdvice.jsp
    Syntax error, annotations are only available if source level is 5.0
    7: <p>
    8:
    9: <%
    10: @SuppressWarnings("unchecked")
    11: List<String> beerBrands = (List<String>)request.getAttribute("styles");
    12: Iterator<String> it = beerBrands.iterator();
    13: while(it.hasNext()){
    An error occurred at line: 11 in the jsp file: /BeerAdvice.jsp
    The type List is not generic; it cannot be parameterized with arguments <String>
    8:
    9: <%
    10: @SuppressWarnings("unchecked")
    11: List<String> beerBrands = (List<String>)request.getAttribute("styles");
    12: Iterator<String> it = beerBrands.iterator();
    13: while(it.hasNext()){
    14:      out.print("<br>try: " + it.next());
    An error occurred at line: 11 in the jsp file: /BeerAdvice.jsp
    Syntax error, parameterized types are only available if source level is 5.0
    8:
    9: <%
    10: @SuppressWarnings("unchecked")
    11: List<String> beerBrands = (List<String>)request.getAttribute("styles");
    12: Iterator<String> it = beerBrands.iterator();
    13: while(it.hasNext()){
    14:      out.print("<br>try: " + it.next());
    Any help is very much appreciated.
    Thank you for your help.
    Thanks,
    Chubha

    Hi anotherAikman,
    Thank you for your help. I currently have the following version of the Java.
    {color:#800000}java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
    {color:#000000}{color:#000000}Does it mean I have Java SE Version 6 Update 17 and you are suggesting me to download the Java EE Version 6?{color} If this is correct, can you please let me know what difference does it make?
    I am now going to install the Java EE 6 and try this out.
    Thank you for your help.{color}
    {color:#000000}Thanks,
    Chubha{color}
    {color}

  • Hi experts, how to use open sql to read data from one " maintenance view"?

    i want to use this part of data within report ,so how to use open sql statement to read data from one " maintenance view"?

    Hi
    You can't use OPEN SQl statements to fetch data from maintenance view
    You have to use only Database views
    see the different types of views and the difference
    The followings are different types of views:
    - Database View (SE11)
    Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set.
    In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
    - Help View ( SE54)
    Help views are used to output additional information when the online help system is called.
    When the F4 button is pressed for a screen field, a check is first made on whether a matchcode is defined for this field. If this is not the case, the help view is displayed in which the check table of the field is the primary table. Thus, for each table no more than one help view can be created, that is, a table can only be primary table in at most one help view.
    - Projection View
    Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed.
    A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
    - Maintenance View ( SE54 )
    Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    Please have a look at below link. It will help you.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed06446011d189700000e8322d00/frameset.htm
    for more detailed info look on:
    http://www.sap-img.com/abap/what-is-the-different-types-and-usage-of-views.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+dictionary&
    Reward points for useful Answers
    Regards
    Anji

  • How too use the string tokeniser class to format date strings

    Using the code below I want to write a method which takes a string as a parameter and process it as follows:
    Input: 21/07/62
    Output: 21st July 62
    I wish to do this using the string tokenizer class. Can anyone help??
    import java.io.*;
    public class Input
    public static void main(String args[]) throws IOException
    String theString;
    BufferedReader stdin = new BufferedReader(
    new InputStreamReader(System.in));
    System.out.println("Enter your string now please");
    theString = stdin.readLine(); // throws IOException
    System.out.println("You entered ***" + theString + "***");
    }

    You can certainly use a StringTokenizer to parse your date into three numbers but I think you should use SimpleDateFormat, which will even help you generate your desired format: http://java.sun.com/j2se/1.4/docs/api/java/text/SimpleDateFormat.html

  • How to use Point-by-p​oint VIs with hardware-t​imed AI VIs

    I want to use PtbyPt VIs for fast real-time analysis of biopotentials. I looked through a bunch of examples, but none of them had any AI instruments. All of the PtbyPt VIs have a "set of input data" terminal. How should I connect this terminal to an output of an AI VI? I don't want to use AI Single Scan because I want to use hardware timing. Should I use AI Read VI by reading one scan at a time in a loop and feeding this scan to an input of a PtbyPt VI?

    Here's an example of buffered AI read w/ pt-by-pt processing. LV 6.1.
    2006 Ultimate LabVIEW G-eek.
    Attachments:
    Cont_Acq&Chart_(buffered).vi ‏79 KB
    My_Data_Processing.vi ‏78 KB

  • HT201209 I went onto my computer and set up an account...I entered my gift cards where it said redeem and there is $40 on my account.  However,I have no idea how to use it.  I read that I can take my credit card out and just use the itunes card but again

    I went into the computer and set up my account, I then went to where you enter the gift card info to redeem the money and my account says I have $40...however, when I go and try to use it I can not figure out how to do so.  I also read that I can remove my credit card info and just use Itune cards...but again i can not figure out how to do this. 
    This is very frustrating because something so simple is turning into an all day fiasco!

    Hello Brod1,
    Thank you for the details of the issue you are experiencing.  The iTunes Store will automatically recognize the credit you applied.  You can find the details of how iTunes Store purchases are billed below:
    Order of iTunes billing methods
    When making purchases, content credits are used first, followed by Gift Certificate, iTunes Card, or Allowance Account credits; your credit card or PayPal account is then charged for any remaining balance.
    When you buy individual songs from the iTunes Store:
    Free song credits are redeemed first.
    If you have no free song credits, gift certificate, prepaid card, and allowance credits are used next.
    If your gift certificate, prepaid card, and/or allowance credit is less than the total cost of the purchase, your credit card is billed for the remaining balance.
    If you have no free song credits or gift certificates, prepaid cards, or allowance credits, your credit card is billed for the songs you buy.
    When you buy an album on the iTunes Store:
    Gift certificate, prepaid card, and allowance credits are used first.
    If your gift certificate, prepaid card, or allowance credit is less than the total cost of the purchase, your credit card is billed for the remaining balance. Note: Free song credits cannot be used for album purchases.
    If you have no gift certificates, prepaid cards, or allowance credits, your credit card is billed for the albums you buy.
    You can find the full article here:
    iTunes Store: How iTunes Store purchases are billed
    http://support.apple.com/kb/HT5582
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • How to use SQL*LOADER to read data in |SMITH|ALFRED| format

    the data I need to upload to table using SQL*LOADER is in format as below:
    |AD |Argentina  |
    |CN |China       |
    |US |America            |
    |GB |England        |so how should I write my control file to read the data into two columns table?
    I googled and people say that use Enclosed fields—delimiter (|), and I tried with below, but not working:
    LOAD DATA
    INFILE *
    insert
    INTO TABLE tmp_country_mapping
    FIELDS ENCLOSED BY '|'
    (country_id, country_name)
    BEGINDATA
    |AD |Argentina  |
    |CN |China       |
    |US |America            |
    |GB |England        |Anyone could help?
    BTW, I don`t want the spaces behind the value of the second column.
    Thanks
    Edited by: PhoenixBai on Dec 28, 2010 2:50 PM

    Problem solved, by removing the NLS_LANG=ENGLISH.
    >
    before the load, data is as below:
    |AD |安道尔共和国         |
    |AE |阿联酋            |
    |AF |阿富汗            |
    |AG |安提瓜和巴布达        |
    |AI |安圭拉岛           |
    |AL |阿尔巴尼亚          |after the load, data displays as below:
    AD      °2μà??12oí1ú
    AE      °¢áa??
    AF      °¢??o1
    AG      °2ìá1?oí°í2?′?
    AI      °21?à-μo
    AL      °¢??°í?á??And my database supports Chinese words and it displays correctly for other tables, except this one.
    What could be the problem?
    >
    Edited by: PhoenixBai on Dec 28, 2010 5:05 PM

  • How to use method String.split

    I am spliting a string, just like "1a|24|3|4". My code is
    String[] array = new String[10];
    String buff = "1|2|3|4";
    array = buff.split("|");
    System.out.println(array[1]);
    I think that the result should be "24", but the result always
    is "1". Why? When I use String.split(",") to split a string "1a,24,3,4",
    I can get the result "24". Can't "|" be used as a delimiter? Who can
    explain this issue? Thanks.

    Hi
    The argument of split is a "regular expression" instead any common string with delimiters as used in StringTokenizer.
    The char "|" is named as "branching operator" or "alternation"..doesn't matter this moment.
    If you must to use "|" in source strings, change the regular expression to "\\D", it means "any non numeric char":
    // can use any delimiter not in range '0'..'9'
    array = buff.split("\\D");
    Regards.

  • How to use Unicode strings for tool titles?

    So one of the few remaining Illustrator suites that does not accept ai::UnicodeString objects for arguments is AIToolSuite. I would really (really!) like to get some Unicode characters in some of my tool titles and tips, but figuring out what goes on behind the sAITool->AddTool() call, with its char* arguments, is tough.
    I have tried the obvious stuff, like passing UTF-8 multibyte data, which doesn't work. I have tried more nebulous approaches, like passing Z-string data with Adobe's strange way of "escaping" Unicode code points (they typically use "^U+1234" instead of the de facto "\u1234"), which doesn't work either.
    The result is that Unicode data either doesn't show at all, or shows as the typical Latin-based garbage full of diacritical marks (e.g. "éáÊöãÀ") which is nowhere near the original data that was passed in.
    Anybody have some insight?
    PS: I plan on filing a feature request shortly for ai::UnicodeString support in AIToolSuite, but until then...
    Thanks,
    - Garrett

    Hello Mark -
    At this time TestStand has no unicode support. The multi-byte support that we do offer is based on the Windows architecture that handles Asian language fonts. It really isn't meant to provide a bridge for unicode values in TestStand. Certainly, your Operator Interface environment will have its own support level for unicode, i.e. at this time neither LabWindows/CVI version 6.0 nor LabVIEW 6.1 officially support unicode characters. This is why you will see that the units defined in the TestStand enumerators are all text-based values.
    I have run a quick test here, probably similar to what you were doing on your end, and I am uncertain if you will get the database behavior you want from TestStand. The database logging steps and API all use basic char sty
    le strings to communicate to the driver. Even though you are reading in a good value from Excel, TestStand is interpreting the character as the nearest ASCII equivalent, i.e. "Ω" will be stored and sent to the database as "O". If you have a stored proceedure in Oracle that is calling on some TestStand variable or property string as an input, then it is doubtful you will get correct transmission of the values to the database. If your stored proceedure could call into a spreadsheet directly, you would probably have better luck.
    Regards,
    Elaine R.
    National Instruments
    http://www.ni.com/ask

  • How to use SSIS 2014 to read from Sharepoint List ?

    Hi there,
    I have designed a simple entry form for users using List in Sharepoint 2013.
    I need to use the information to merge into my datawarehouse.
    Question :
    1. How can I setup SSIS (SQL 2014) to get the source from List in Sharepoint?
    I have tried to download the script as suggested in codeplex but it seems not working with SQL 2014 as there is no SSIS toolbar displayed.
    Any help is much appreciated
    Thank you and Best Regards

    Hi SylviaO,
    The current
    SharePoint List Adapter that extracting and loading SharePoint Data in SQL Server Integration Services supports x86/x64 systems using SQL 2005 / SQL 2008 / SQL 2008 R2/ SQL 2012. It doesn’t support SQL 2014. Maybe we need wating the update.
    Besides, the
    OData Source component can also be used to read from SharePoint lists. So we can download and install the 64 bit ODataSourceForSQLServer2014-amd64.msi or 32 bit ODataSourceForSQLServer2014-x86.msi from the
    Microsoft® SQL Server® 2014 Feature Pack.
    The following blog about using the SSIS OData Source Connector to read data from SharePoint lists is for your reference:
    http://whitepages.unlimitedviz.com/2014/03/using-the-odata-source-connector-with-sharepoint-online-authentication/
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • APEX application or page url  - How to use enum string to replace ID number

    URL to a APEX page is format as ***/f?p=APPLICATION_ID:PAGE_ID:... . Here the APPLIACTION_ID and PAGE_ID are numbers.
    My Question is: Is there a way to replace the numbers by using strings? For example: can I have a URL like /f?p=MY_APPLICATION:MY_PAGE1: ... ? Juts like ENUM in other languages, MY_APPLICATION actually just represent the application id but much more readable since it is a string with a name the user may familar.
    Please help.
    Thank you.

    You can assign an alphanumeric alias to applications and pages using their respective attribute edit forms in the Application Builder. Then you can construct links that use those aliases instead of the IDs. These aliases will generally be preserved in the URL visible in the browser, but not in all cases. You have to deliberately use the aliases in any branch definitions, list item targets, etc. Note that application aliases must be unique within a workspace. Please see the User's Guide for more info.
    Scott

  • How to use SQL String functions with JPA and SAP NW

    Hi Everyone,
    I'm recently got the following problem:
    I have a Web Service project using JPA. But as i found out SAPs JPA implementation or more precisely openSQL restricts the use of the LOWER() function, which converts a String to lower case.
    Now I am looking for some sort of workaround. I want to execute the following JPQL query:
    SELECT bp FROM BusinessPartner bp WHERE LOWER(bp.companyName) LIKE LOWER(:companyName)
    I assume there is somewhere a flag to disable this restrictions, because there might be cases, like mine, where this standard functions are needed.
    Kind Regards,
    Carl

    Hi Vladimir,
    no it's not the same issue, because I am asking for a solution for this problem. There have to be ways to bypass this. Otherwise you can't use JPA properly. This is too much of a restriction!
    Is there no possibility to change to another implementation than openSQL?
    Regards,
    Carl
    Edited by: Carl Simon Heckmann on Feb 2, 2009 2:26 PM

  • How to use Modal Parameter Extraction Labview VIs

    I can't install Modal Parameter Extraction Labview VIs
    http://zone.ni.com/devzone/cda/epd/p/id/6121
    The installer says "NI Labview System Identification Toolkit 4.0 or 2009 must be installed before you can install NI Modal
    Parameters Identification 1.1"
    under Labview 2010(+the
    LabVIEW Advanced Signal Processing Toolkit and LabVIEW System
    Identification Toolkit).
    Should I delete Labview 2010 and reinstall 2009??
    解決済!
    解決策の投稿を見る。

    Hi KCMTM,
    My name is Yusuke Minami, Applications Engineer, NI Japan.
    I'm so sorry, but the "Modal Parameter Extraction Labview VIs" is not supported by LabVIEW 2010.
    Since it will unlikely be updated for 2010, we have to ask you to install LabVIEW 2009 with the LabVIEW Advanced Signal Processing Toolkit and LabVIEW System Identification Toolkit in order to use the package.
    Although I cannot guarantee, but I'll send an update request to the R&D.
    I deeply apologize for the inconvenience.
    日本ナショナルインスツルメンツ株式会社 技術部 巳波裕介
    Yusuke Minami, Applications Engineering, National Instruments Japan
    技術サポートウェブページ: http://www.ni.com/support/ja
    お問い合わせフリーダイヤル: 0120-527196

  • How to use JavaScript on a read-only textField

    Hi,
    is it possible to use JavaScript in conjunction with a read-only text field?
    When I tried to set a text in the read-only field "textField1" (see below), it didn't work (but worked with a non-read-only field):
    document.getElementById(form1:textField1).value = "Hello!";Thanks and regards,
    Felix

    Probem solved:
    I removed the read-only property and made it read-only by JavaScript instead by adding this
    alert("This field is read-only!");to the onClick and onKeyDown methods, respectively.
    Regards,
    Felix

Maybe you are looking for

  • Can't open F-Fox 4 in my iMac G5 w/PowerPC CPU; icon says "not supported on this system"

    I have a somewhat old iMac G5 with what I believe is a Power PC CPU. I have used Firefox as long as I've had this. I just downloaded the new Firefox 4, and it shows a classic "NO" symbol (slashed circle) over the new Firefox 4 icon. When I click on t

  • Call Transacion from my WebDynpro.

    Hi. How I can to call a transaction from my Webdynpro?. I've a URL Link and when I push the link, i want to open a new window with a transaction. Thanks. Message was edited by:         Guillermo Moreno

  • Cannot connect to app store on the mac

    Hello, I cannot connect to the App store, approximately since the end of Mobile Me. Logging into icloud.com works, as does my Mail and iTunes account. I have already tried resetting the Apple ID password, logged out of App store and logged back in. E

  • Is there a way to install Windows on an extern hard disk?

    I have a mid 2010 iMac and inside a 160GB SSD instead of an 1TB HD and I want to install Windows on it. Because of the SSD is to small for Windows and all the games and so on I want to install Windows on an external firewire HD. Is there a way to mak

  • My computer keeps crashing with mountain lion. This is my latest kernel panic:

    Sat Aug 18 17:33:12 2012 panic(cpu 1 caller 0xffffff7f851ccc85): NVRM[0/1:0:0]: Read Error 0x00000100: CFG 0xffffffff 0xffffffff 0xffffffff, BAR0 0xd2000000 0xffffff81187f1000 0x0a5480a2, D0, P2/4 Backtrace (CPU 1), Frame : Return Address 0xffffff80e