How to make Repeated number into continuous number ?

Hi All,
 I am using a motor with encoder. The encoder give count information. It always count 2000 to 1, and repeat again and again. I want to make it as 1 to 2000, 2001 to 4000 etc.
In summary:
I have count no as 2000, 1999.........1, 2000, 1999......1, 2000, 1999,.....
I want to make it as 1, 2,..............2000, 2001, 2002.....4000, 4001, 4002....
Could you please help me how I can make it.
Thank you for your co-operation!
Regards
Azim

Hey Azim,
There are a lot of ways you could do this based on the information provided, you could just use an increment in labview instead of the physical encoder if all you are trying to do is count the encoder pulses. 
There is also a good tutorial on how to set up a counter 
http://zone.ni.com/devzone/cda/tut/p/id/5373
good luck 
Beau H
BeauH
Applications Engineer
National Instruments

Similar Messages

  • PA04-How to make existing Number Range/interval external.

    Question: PA04-How to make existing Number Range/interval external.
    One of the Pernr Number ranges/interval in PA04 is Internal(box is
    unchecked) and i want to make it "External" (check the box) to load some data.
    Issue: The issue is, the check box is Greyed out and i can not check it. But i have access to
    everything else in PA04:
    - create and delete number ranges
    - change the "Current number"
    - Uncheck the box to make the External to Internal.
    But i can not Check the box to make it External from Internal due to the greyed
    out box for this number range.
    The only solution i can think of about it is to - Delete the number range
    and add it again and check the box when doing that. And once the Data load is done Uncheck the box.
    Is there a better option..?

    Once you have made your decision to define a number range as 'internal' it is not possible to reverse this. check this http://scn.sap.com/thread/1976017

  • I wanna ask you something. My bro has an iPhone 5s that disabled for 23 million because of the time changed to 1976. So, how to make it back into 2015, make it enabled without erase the data

    I  wanna Ask you something. My brother has an iPhone 5s that disabled for about 23 millions minutes  the time changed to 1976. So how to make it back into 2015 without waiting for 23 millions minutes later and enabled it without erasing any data? Please answer me ASAP because I really need it. Thank you for answer!

    Hello theshadowhunters,
    There is not much you can do to change the time back because he will not have access to change the time. The only option to get passed this is to restore the iPhone. Once the iPhone is restored and have a back up, you can put that back on once the restore is complete. For more information, take a look at the article below. 
    Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled
    https://support.apple.com/en-us/HT204306
    Regards,
    -Norm G.  

  • How to make a number lower case?

    Write a program to convert uppercase numbers to lowercase numbers. You may use any part of the Java API but may not team together with other students and turn in group work. You must write the class and provide at least 5 methods but no more than 8 methods to accomplish this task. Your program must be able to accept arguments from the command line
    public class MakeLowerCaseNumber
    public MakeLowerCaseNumber(String[] args)
    int i;
    for (i =0; i < args.length; i++)
    makeLower(args);
    private void makeLower(String argument)
    System.out.print("Making " + argument + " into a lowercase number ");
    public static void main(String[] args)
    MakeLowerCaseNumber makeLowerCaseNumber = new MakeLowerCaseNumber(args);
    I am lost. I have written this much. It doesn't make my number lowercase. Can someone show me what to do?

    You make a lower case number by adding the difference
    return lowerChar +('a' - 'A');
    So try doing the same for a number.That's one way. Since this is such a stupid assignment, I have a couple other suggestions:
    For every number (which could be interpreted as each individual digit or each string of +/-, digits, and at most one decimal point, or even include scientific notation)...
    1) ...just change that number to the string "lowercase numbers."
    2) ...change the numbers to their spelled out equivalents (in lowercase, of course), e.g. "three", "forty-two"
    3) ...since the assignment said, "convert uppercase numbers to lowercase numbers," you could interpret it as "If the number is uppercase, convert it to lowercase," and then start your processing code with Character.isUperCase(), which will return false every time.
    4) ...as a variation on #3, just call to CharacterLowerCase() on each digit.
    <editorial>
    I hate teachers who think they're being clever and teaching students to "think outside the box" when they come up with nonsensical problems like this. They need a good smiting.
    </editorial>

  • How to make material number field invisible in MM60?

    Dear expert,
    Is there any way to make material number field invisible in MM60 for one user?
    Best regards

    Hello,
    You may create a transaction variant for MM60 and hide Material code using SHD0. Then create Variant group and assign users to this group.
    Thanks,
    Venu

  • How to make row number in local member dynamic

    I have create multiple local member and the formula I the local member is such as
    =SUM(row11+row14+row16)
    then I add another couple of row before row 11, now the formula should be:
    =SUM(row13+row16+row18)
    anybody know is there a way how to make the formula in the local member dynamic, which means that if I add rows of drop rows, the formula in local member will automatically change?

    Hi Jian,
    You can create local my by "Activate Local Member Recognition", but make sure "Use Position in axis" should be unchecked.
    Also make sure you have added all required Local members before any insertion of rows.
    Hope this should work.
    Thanks,
    Rishi

  • How to make your drawings into a movie?

    There is this series on youtube called 'Simons Cat' and I know its only his drawings that are made into a movie.
    I know how to make a video with pictures just the still pictures, thats not what I want, I want my drawings to move so its like 'Simons Cat'
    If you want to know what I mean, look here: http://www.youtube.com/watch?v=JP1Pk62X7XQ&feature=endscreen&NR=1
    Mostly preferred to use iMovie!:)
    Many Thanks,
    Chris

    Simon Tofield draws and animates directly in Adobe Flash. It's frame-by-frame animation aka "cell animation"; that is, Simon creates a new drawing for each frame of the movie (though of course many elements are probably copied from the previous frame. If you don't want to use Flash, there are a number of other animation programs available. See:
    http://www.macupdate.com/find/mac/animation
    Many animators, those who prefer to work in more traditional physical media, just make their drawings and photograph them to stitch into a movie. Up to you what you feel most comfortable working with.
    Regards.

  • How to make a photo into a single or 2 colored stamp/vector type image

    I'm fairly new to photoshop and have seen designs like the few I've posted below and I want to know how I can make my pictures into items like those. I tired doing a search but I'm not even sure what this type of image & techinque is called, so the search ended in failure. I have the newest edition of photoshop as well as photoshop, photoshop elements and corel painter essentials. Any help is greatly appreciated!!

    Dayana
    Please excuse if I go over some things that you aleady know, but again I do not want to take anything for granted that would prevent us from moving forward on your project.
    When you wrote
    When I go to Blu-Ray on the Status it says No Burners detected, and with AVCHD it says Busy.
    1. Does your burn dialog have a field named burner location:? If so, does your Blu-ray burner show up as a choice in its drop down list?
    2. And, with that "...with AVCHD it says Busy", have you selected Publish+Share/Disc/AVCHD disc and inserted a Blu-ray disc instead of a DVD disc, when you get the Busy message? The choice of Blu-ray is a Blu-ray disc; the choice for AVCHD is only a DVD disc. So, please clarify that point.
    3. Have you tried Publish+Share/Disc/AVCHD disc with a DVD double layer single sided disc?
    4. As a note..the maximum bitrate for burn to DVD-VIDEO on DVD disc 4.7 GB/120 minutes and 8.5 GB/240 minutes is the same, that is 8.00 Mbps. Whereas, the maximum bitrate is much higher for the AVCHD burn to DVD disc and the Blu-ray burn to Blu-ray disc (about 15.74 to 15.50 Mbps for AVCHD DVD, and about 20.19 to 24.0 Mbps for Blu-ray disc format on Blu-ray disc. More details on the exact values if needed.
    What is the bitrate of the AVCHD file that you have imported to the Timeline? See if you agree...if the source has a higher bitrate than the export bitrate, would not you expect smaller file size for the export? And if the source has a lower bitrate than the export bitrate, would not you expect a larger file size for export?
    Do some mini tests runs to prove or disprove that. Look at the Space Required and Bitrate reading in the burn dialog when you have a given disc in the burner tray.
    Please review.
    Thanks.
    ATR
    Add On...
    Do you have the equipment that will play back AVCHD DVD as well as Blu-ray disc format on Blu-ray disc?

  • How to make an user into Service authenticated user like cmadmin_service

    Hi All,
    I am trying to fetch the list of documents, properties, log on/logoff functionality with an iUser  ex: epuser, through java code.
    The list of docs are presented in the Documents Folder with teh following sample code
                 |
    RID rid = RID.getRID("/documents");
    String userName = "epuser";
    IUserFactory userFactory = UMFactory.getUserFactory();
    com.sap.security.api.IUser userNew;
    userNew = userFactory.getUser(userName);
    com.sapportals.portal.security.usermanagement.IUser user = WPUMFactory.getUserFactory().getEP5User(userNew);
    ctx.setUser(user);
    IResource res = null;
    res = ResourceFactory.getInstance().getResource(rid, ctx);
    wnen i am trying to fetch all the docs and the corresponding properties by passing " cmadmin_service " as an user name. i am getting the right results. But when i tried with "epuser " i am getting the output as Service Authentication value false.
    Then i added epuser in the System Principal--->System User. still i am not getting the right results.
    plz help me how to make this epuser as service authenticated user like cmadmin_service user

    Hi phani,
    I have no direct solution but you should check the service permissions of the resources you are trying to fetch. The exception sounds like there is the problem. Go to the Details of the CM-Resource and Select Settings-->Service Permissions.
    Does the epuser has the necessary permissions for your operations?
    Another thing is the way you are creating users:
    The WPUMFactory has a special factory-method for creating service users. Perhaps this is a better aproach:
    WPUMFactory.getServiceUserFactory().getServiceUser(user);
    Best regards,
    Stefan Brauneis

  • Need help: how to make a package into a jar file?

    I tried to make a package into a jar file by using:
    jar cf a.jar packagedirectory
    But when I import one class of this package in an other application, by using:
    javac -cp path\a.jar; app.java
    the compliler can not find the calss.
    The interesting thing is if I do not put the package into the jar file, it works well.
    Here is my sample code under path D:\b\b1
    package b1;
    public class Son
         int x = 10;
         public Son(){
         public int getX(){
              return x;
    and the application code under path d:\b
    import b1.Son;
    public class Father
         public Father(){
         public static void main(String[] args)
              Son son = new Son();
              System.out.println("Hello World!"+son.getX());
    Thanks for any advise.
    Xin Cheng

    You must make sure that you are in the right directory
    when you do your jar command to create the archive.
    [home/trejkaz/proj/test/classes]% jar -cf a.jar
    path/to/package/*.class
    Thank you very much.
    Yes, I did as what you said, but it does not work.
    Here is what I did:
    1. Edit Father.java in D:\b
    2. Edit Son.java in D:\b\b1
    3. Compile Son.java
    4. Complie Father.java
    5. Make the a.jar by
    command jar cf a.jar D:\b\b1\ (I cheked the content of the a.jar, it seems right.)
    a.jar is in directory D:\b
    6. Delete Son.class in D:\b\b1
    7. Run Father.class by
    command: java -classpath D:\b\a.jar; Father
    error message is: Exception in thread "main" java.lang.NoClassDefFoundError: b1/Son
    at Father.main(Father.java:11)
    What is the problem?
    Thanks again.

  • How to make online number working?

    Hi,
    Actually I would have two questions that are independent from each other:
    1. I tried to call via cell phone the free online number that I received from ring2me.com. After I was asked for ext code (3 digit number) and after began ringing, nothing happened in my skype. I need to mentoin that I haven't set anything inside skype software for this. What do I need to do so I will get the call?
    2. Through whichever application (it does NOT need to be skype so you don't need to mentoin on skype isn't this possible) I also need to get on this same online number SMS. So I need to be able to define the number on my own on which I want to get SMS. Also I should not be required to send any SMS to this particular number in order to receive the SMS. How and where to do this?
    EDIT: Oh and what I forgot to say is: I am from Slovenia but can switch IP to usa, thats no problem. However I want and need to use USA online number to receive phone call to skype. Please answer on my both questions above.

    Hmm getting worried about this now. I have been waiting for a while but still nobody replies. So, again if anyone could answer on both (two) questions so I could use this answers to find the solution then please reply. Thanks in advance.

  • How to make phone number lookup in AddressBook work?

    I specified many different, country specific formattings for phone numbers (eg: +41-44-123 4567). When enetring the data I simply type +41441234567 and the number gets formatted correctly, according to the country specific formatting. When looking up such a number I have to be careful about the format when typing in the number. As long as I respect the grouping of numbers (for instance by looking up contacts with numbers "44 123 4567") the above mentioned addressbook entry gets wasily found.
    As the person has a Chinese name I started to introduce Chinese characters as First and Familyname and just because of that the lookup no longer seems to work. I made many experiments and actually could narrow down the problem to exactly this scenario where non ascii or latin-1 names are used.
    Anybody else with similar experiences? Any workarounds known or is it even a known bug? Any help appreciated

    With Addressbook in 10.5 the lookup-problem has disappeared

  • How to make Hgrid number format data right justified.

    This code works fine for table numer format data formatting, but does not work on hgrid?
    OATableBean tableBean = (OATableBean) webBean.findIndexedChildRecursive("LoginHistoryVO11");
    tableBean.prepareForRendering(pageContext);
    DataObjectList ColumnFormat = (DataObjectList)tableBean.getColumnFormats();
    DictionaryData myColumnFormat = (DictionaryData)ColumnFormat.getItem(pageContext.findChildIndex(tableBean,"UserName1"));
    myColumnFormat.put(COLUMN_DATA_FORMAT_KEY ,NUMBER_FORMAT );
    any idea how to achieve this in hgrid?

    i m sorry, made a minor mistake its working....! :)

  • How to make output number left align?

    The output I made is like this
    http://www.imagestation.com/picture/sraid89/pfe13b569bfadfac19a8cf7f63ad4c02e/fa889fff.jpg
    but what i want is all numbers left align like this
    http://www.imagestation.com/picture/sraid89/pe8f67975a1168ba7e94c0cc2775ad61e/fa889ca6.jpg
    Any idea or hint? Thanks a lot!

    Try this
    class LeftAlign
      public LeftAlign()
        int[][] arr = new int[20][15];
        for(int x = 0; x < arr.length; x++)
          for(int y = 0; y < arr[x].length; y++)
            arr[x][y] = x*arr[x].length + y + 1;
        String pad = "   ";
        for(int x = 0; x < arr.length; x++)
          System.out.print(arr[x][0]+" ");
          for(int y = 1; y < arr[x].length; y++)
            System.out.print((pad+arr[x][y]).substring((""+arr[x][y-1]).length())+" ");
          System.out.println();
        System.exit(0);
      public static void main(String[] args){new LeftAlign();}
    }

  • How to make dataload fast into a table having CONTEXT index on CLOB column?

    Hi all,
    I have a table with the follwing structure :
       CREATE TABLE file_table (
           file_id    NUMBER(10) PRIMARY KEY,
           file_name  VARCHAR2(3000),
           file_data CLOB);I am loading around 50,000 files into the table using SQL*LOADER.
    LOAD DATA
    INFILE * BADFILE  'd:\mydata.bad' DISCARDFILE 'd:\mydata.dis'
    INTO TABLE file_table
    APPEND
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
    file_name  CHAR(1000),
    file_data  LOBFILE (file_name) TERMINATED BY EOF
    BEGINDATA
    D:\TEXT\9701.1\00\00\01.txt
    D:\TEXT\9701.1\01\01\03.txt
    D:\TEXT\9701.2\02\02\04.txt
    D:\TEXT\9701.3\03\03\05.txt
    ..after this I am creating Text index :
    CREATE INDEX file_table_idx ON file_table (file_data)
    INDEXTYPE IS CTXSYS.CONTEXT online 
    PARAMETERS('filter ctxsys.null_filter LEXER mylex NOPOPULATE')
    PARALLEL 2;       Here my problem is:
    For the first time without creating index when I am trying to load 50000 files through SQL*LOADER conventional loading it is loading in 1 min 38 seconds.
    After that for creating index around : 11 min 12 seconds.
    But if I am loading another set of 10000 files after creating index, SQL*LOADER is taking considerable amount of time.
    For example :
    Index created with SYNC(ON COMMIT) : 28 min 45 sec
    Index created with SYNC(MANUAL) : 8 min 34 sec
    Index created with NOPOPULATE : 2 min 36 sec + 8 min 47 sec to rebuild the index.
    Please suggest me the best approach so that further load of files to the table also should take comparatively same time as the first load of 50000 files.
    Please suggest me how to create index to reduce load time.

    Hi all,
    I tried to load files using the below procedure also:
    CREATE OR REPLACE PROCEDURE load_file_to_my_docs (p_file_name  IN  my_files.name%TYPE) AS
      v_bfile      BFILE;
      v_clob       CLOB;
    BEGIN
      INSERT INTO my_files (id, name, doc)
      VALUES (my_files_seq.NEXTVAL, p_file_name, empty_clob())
      RETURN doc INTO v_clob;
      v_bfile := BFILENAME('SAMPLEDATA', p_file_name);
      Dbms_Lob.Fileopen(v_bfile, Dbms_Lob.File_Readonly);
      Dbms_Lob.Loadfromfile(v_clob, v_bfile, Dbms_Lob.Getlength(v_bfile));
      Dbms_Lob.Fileclose(v_bfile);
      COMMIT;
    END;
      But I found SQL*LOADER is loading fast compartive to this procedure.
    So please suggest me to reduce the time taking to load data once after creating TEXT index.

Maybe you are looking for

  • Premium World subscription doesnt seem to work

    I've activated the Premium subscription plan that came allong with my Surface. In my accountsettings It aslo shows up as activated. But when I try to call phone nummers (mobile or land) my Skype tells me that no subscriptioins are Active (no belance)

  • Facetime to China - does it work still ?

    Following the latest upgrad to iOS 5.1.1, whilst here in Japan,  I have not been unable to communicate with my wife's iPad in China. We have separate ids and Facetime was the only usable way of Communicating, SkyPe was incredibly slow & cut-out often

  • Oracle Application server related issue

    My application is developed using Oracle Developer suite 10g (10.1.2.0.2 ) and deployed in Oracle Application Server 10g R2 (10.1.2.0.2) in windows 2003 32 bit and its working fine. My issue is as follows 1. Since Oracle Application Server 10g R2 (10

  • Print Image Action

    OK so this would be really convenient if I could get the Scale to Fit option to actually work. Say I have an 10x15-inch document, and I want to print it on a letter sized paper, which we print all our proofs on. Our document sizes vary greatly. When

  • Batch rename through bridge ... loses xmp?

    okay - I blew it. Some of my files were imported into LR4 with an incorrect filename ... per my naming habits. I edited everything ... (without renaming) and then went into Brdige to do a batch rename. I presume that Bridge did not rename the .xmp fi