Needed to construct a signal and compare to another signal.

i have some signal data stored as txt file .i needed to construct this signal and compare to another signal.this is a vibration signal.how to start? could anybody help?

Well you will need to break this into pieces. First you will need to read the text file. How was it saved (method) in the first place? Does it have the timing information you need to recreate a waveform? You would need to parse out the amplitude information, the dt and t0 and feed it into the build waveform function. Could you post a small example of your txt file? Also include what version of LabVIEW you are using e.g. 8.5 professional.
Using LabVIEW 2010SP1 and TestStand 4.5

Similar Messages

  • Need Help with Array.sort and compare

    Hi
    I have a big problem, i try to make a java class, where i can open a file and add new words, and to sort them in a right order
    Ok everthing works fine, but i get a problem with lower and upper cases.
    So i need a comparator, i tried everything but i just dont understand it.
    How do i use this with Array.sort??
    I hope someone can help me

    Okay, you want to ignore case when sorting.
    There are two possibilities: Truly ignore case, so that any of the following are possible, and which one you'll actually get is undefined, and may vary depending on, say, which order the words are entered in the first place:
    English english German german
    english English german German
    English english german German
    english English German german
    The second possibility is that you do consider case, but it's of lower priority--it's only considered if the letters are the same. This allows only the first two orderings above.
    Either way, you need to write a comparator, and call an Arrays.sort method that takes both array and Comparator.
    The first situation is simpler. Just get an all upper or lower case copy of the strings, and then compare thosepublic int compare(Object o1, Object o2) {
        String s1 = ((String)o1).toUpper();
        String s2 = ((String)o1).toUpper();
        return s1.compareTo(s2);
    } You'll need to add your own null check if you need one.
    For the second way, your comparator will need to iterate over each pair of characters. If the characters are equal, ignoring case, then you compare them based on case. You pick whether upper is greater or less than lower.
    Of course, the need to do this assumes that such a method doesn't alrady exist. I don't know of one, but I haven't looked.

  • How to import a image and compare with another image to find their deviation

    i am new to labview , can anyone tell how to import a image and compare  it with another image  to find their deviation
    Solved!
    Go to Solution.

    This is an quite easy task using the Vision Development Module.
    There you can acquire images from cameras or read them form the harddrive, then differntiate them or since VDM 2010 calculate the optical flow between consecutive images.
    Christian

  • Calculate and compare

    Hi i need a program who calculate and compare just that simple i try to read the tutorials but not luck learning if some have one and can post it :D Thx alot <3

    > first one:
    Many Java homeworks will give student most of the
    code and ask them to finish rest. I think this one is
    clearly the case since the asker did not show any
    effort he had put in writing that code. And if he can
    write that code, I don't believe he can not solve theproblem he asked himself.
    I'm pretty sure that the code posted in that thread was NOT supplied by the teacher/professor of the class; it looks far too messy.
    > For 2nd one.
    I suggested the asker to change the question and ask
    it more clearly. I also don't think he knows the
    Java very well. His question should be a Java concept
    related question instead of JFree graph lib
    question.. And because the way he asked, he did not
    get any replies after 6 hours (that's why I suggested
    him to change the question).. Maybe I should suggest
    in a nicer way?
    It has nothing to do with nice or rude. I just didn't understand what you were talking about.
    > Furthermore, why do you only look at that one
    question and ignore others? :)
    Believe me, a lot of your other answers (not all!) are like that.
    > Those who don't want to anywork themselves deserved
    to be offened. I am delight to know that I did not
    offend you since you are also a regular helper here.
    You shouldn't be worried to only offend regulars, IMO.

  • Register and Compare Time

    Hello people,
    I want to register the time into a variable when a user clicks into a button and, when he clicks again, compare the time with the last time (registered into a variable).
    How do I save time (hh:mm:ss) into a var and compare with another var?
    Thank's.

    http://java.sun.com/javase/6/docs/api/java/util/Date.html#after(java.util.Date)
    http://java.sun.com/javase/6/docs/api/java/util/Date.html#before(java.util.Date)

  • Help needed in constructing a tree

    Help needed in constructing a tree. I was wondering if some one can suggest me how to add messages in the second column for both the parent node and child elements.
    I was able to create a tree succefully, but want to add some description in the second column for the first column elements, for both parent and child elements.
    Please suggest me how to add the arrays to second column for parent and child nodes.
    Solved!
    Go to Solution.
    Attachments:
    Tree_fix.vi ‏15 KB

    The Child Text parameter is the one you are searching for. It accepts a 1D string array for the following columns.
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • I need some help with AVI and IDX files please.

    Hello there,
    I've just been given a hard drive with a load of media on it that I need to work with in FCP.
    There's a folder with many .AVI clips, and each clip has an accompanying directory file with the extension .IDX
    The format of the AVI files is DV, 720x576, 48kHz.
    For the life of me, I can't get FCP to accept the media. Log and Transfer won't accept them, and if i bring in the AVI files in on their own using File>Import>Files... I get a message saying:
    Media Performance Warning
    It is highly recommended that you either recapture the media or use the Media manager to create new copies of the files to improve their performance for multi-stream playback.
    I can click 'OK' for this message and the media will appear in the browser, but If I place one of these AVI files on a new conformed sequence, the audio needs rendering. (Sequence settings correspond to media settings)
    I tried just changing the wrapper from AVI to MOV, thinking I could fool FCP into accepting them, but I get the same rejection.
    I thought the audio and video signals might be muxed, so I tried MPEG Streamclip to sort that out, but even MPEG Streamclip doesn't accept the media, saying : File open error: Can't find video or audio tracks.
    Could anybody advise me on how to get the most out of these media files please?
    Thanks in advance.
    James.
    Message was edited by: James M.
    Message was edited by: James M.

    yes. I tried transcoding in QT, but they still come in with the same audio rendering required. I'm a bit loath to convert them all though, as there are 1400 clips.
    It's not a huge problem, as they do play in FCP, but I'd like to sort out the audio rendering. I don't understand why it needs rendering as the media and sequence audio settings match, and it's not some weird format or anything, it's bog standard 48kHz stereo.

  • Anyone else have the issue where, after the 8,3 upgrade, you cannot access more than 1 exchange account on your iPhone? This is annoying to me as I need to access 4 daily and cannot due to this error.

    Anyone else have the issue where, after the 8,3 upgrade, you cannot access more than 1 exchange account on your iPhone? This is annoying to me as I need to access 4 daily and cannot due to this error.
    The first one, my private home email, works fine. With the other 3, I get the message "Cannot get mail: The connection to the server failed"
    All were working fine before the 8.3 upgrade. I did try the old trick of making one minor change on the account and resaving, but that did not change anything. I even deleted my work account and re-entered it from scratch, but again, sadly, no luck. For the time being, I am successfully getting the email via IMAP, but this ***** compared to exchange. Anyone have any idea what is happening or if a fix is in the works?

    Well, the one set up on exchange 2k3 is now working fine, although no changes were made on either the iPhone or the exchange side, so that's fun, but it still is throwing errors when connecting to the other 2 exchange accounts. The common elements are that both non-functioning exchange accounts are google apps for business accounts. So is one of the ones that's working, by the way. The settings on both accounts are the same as the one that's working, and both worked fine before the 8.3 upgrade. I have no issue accessing both of these accounts on my ipad which is currently on 8.2.x. If it's not the iphone OS at fault, I'm at a loss as to what it could be.

  • Asynchronous, but need Ack without using BPM and IDocs.

    Hi Experts,
                     I would like to do a scenario i.e., "Asynchronous communication, but need Acknowledgement without using BPM and also without using IDocs whether it is sender side or receiver side". Please help me.
    Thanks in advance
    Srihari.

    Without using BPM will be little longer process. But the alternative way is to add one more receiver in the receiver determination and send some file to that location with the actual mapping getting executed for the actual receiver. and in the second interface you can get the file created at second receiver back to the source location. But this will be little long as compared to synchronous scenarios.
    Flow:
    Source
              Receiver 1--> Actual mapping as per requirement
              Receiver 2(For Ack)--> Create a mapping with blank file sent to Receiver
    Receiver 2-->File Adapter--> Source through 2nd mapping/interface and keep the File adapter pooling interval around 5 sec or less so that you can get the file back to source location.
    Regards
    Anand

  • Upload and compare commodity codes in SAP

    Hi Gurus,
    Can anyone guide me on how transactions VEU4 and VE14 are used?
    Are there any pdfs or tutorials available?
    Thanks,

    Hi,
    please use this link
    http://help.sap.com/saphelp_gts71/helpdata/en/04/b95d3f7d77a800e10000000a114084/content.htm
    it may be usefull for u.
    Loading Commodity Codes and Import Code Numbers
    Use
    This procedure describes how to load an external file containing commodity codes or import code
    numbers for use in your system.
    Prerequisites
    u2022 The external file must be in ASCII format
    u2022 You need to know the structure of the file u2013 which columns (positions) the codes, the text
    descriptions and the units of measure occupy.
    Procedure
    1. You access this function from the Foreign Trade Data Service Cockpit.
    2. Choose the appropriate tab u2013 European Union, Japan or Other u2013 in the Load/Compare
    section of the Data Service Cockpit. Choose the Load commodity code button next to the
    Commodity code field to display the selection criteria screen.
    3. Enter the selection criteria and the file specifications.
    Entries in the following fields are mandatory:
    u2013 Country key
    u2013 File name
    u2013 Drive
    u2013 Subdirectory
    u2013 Initial position goods number
    u2013 Final position goods number
    u2013 Initial position goods text
    u2013 Final position goods text
    See the field help (F1) for detailed information about each of the fields in this procedure.
    You can determine the actual positions of the columns for the data record structure
    entries by opening the ASCII file and counting the spaces used for the digits and the
    text characters. For this you need to identify the beginning and end positions of the
    codes, their texts and units of measure (when applicable) and enter them in the
    corresponding fields.
    For example, for a commodity code file with the contents "12345678 Sample text"
    (with no unit of measure), you should make the following entries in the data record
    structure section:
    Data Record Structure
    Field
    Entry
    Initial pos. goods no.
    1
    Final pos. goods no.
    8
    Initial pos. goods text
    10
    Final pos. goods text
    21
    If there is no unit of measure (optional entry), the last position for the goods text can be a
    number that is much greater than the actual final position for the goods text (for example,
    200).
    4. If you want to use this set of codes as the basis for maintaining the codes in the system,
    select Carry out preparations and enter an identification code in the Key for upload field. You
    will need this key to access this set of codes during maintenance.
    5. If you are installing codes from floppy disks or several files
    u2013 For the first disk or file, select First data carrier
    <![if !supportLists]>u2013 <![endif]>For additional disks or files, select Further data carriers
    6. Execute the function.
    Results
    The system uploads the file contents to the SAP System.
    Potential Errors
    When you execute this report, the system issues an error message if
    u2022 The values for the beginning and end positions overlap
    u2022 You enter an incorrect length for a commodity code or import code
    number
    u2022 The length for the codes has not been maintained for the country you
    enter on the selection screen.
    You assign commodity code and import code lengths for each country in
    Table T609S in Customizing (see Sales u2192 Foreign Trade/Customs u2192
    Basic Data for Foreign Trade u2192 Length of commodity Codes/Import
    Code Numbers).
    Bset regards,
    venkataswamy.y

  • Project Documentation tab: can you 'freeze' a graph so another can be added and compared against?

    I've been using the Project Documentation view recently to quickly compare dc signals against changes that I make to an electrical system. What I'm trying to do is capture a few seconds of a DC signal, stop acquisition, make a change in the system, then capture a few more seconds of the same signal and compare the two.
    Project Documentation view is nice because I can drag the graphs onto the document for quick on the fly comparison.
    Problem is, I drag a acquired signal's graph onto the document expecting the waveform to 'freeze' so that I can capture another segment of data and drag that graph onto the document for comparison. But once I acquire this second burst of data the first graph captures the live waveform, overwriting the baseline waveform I'm trying to compare against.
    Is there a way to screencapture or freeze the graph so that multiple graphs can be stacked within the document form without them all updating?
    SCXI- 1000 Chassis w/ 1346 adapter
    PCI 6281 DAQ card
    SCXI- 1520 Bridge Board w/ 1314 Terminal Block (x2)
    SCXI- 1180 Feedthrough Panel w/ 1302 Block
    Signal Express 2014.
    Win7 Enterprise

    Hi OKors,
    I’m not sure if you can do exactly what you want. If it were me, I would take the first reading, then save it to an LVM file, then take the second reading, store that to an LVM file, then load the files to compare.
    TimC
    National Instruments
    Applications Engineer

  • Comparable and comparator interface in java

    Hi All,
    How comparable and comparator interface works in java and when to use comparable and when to use comparator.please give me some example(code) as I am not able to understand the difference.
    Thanks
    Sumit
    Edited by: sumit7nov on May 17, 2009 4:45 AM

    Thanks,one more doubt.
    We have Collections.sort() method and we can sort any list by this method without implementing comparable or comparator interface.Then my question is when we need to implement comparable or comparator interface or when do we write our own compareTo() or compare() methods.
    Thanks
    Sumit

  • Read start time of time pair and compare it in a PCR

    Hi All
    Created following PCR to check if th start time of the time pair is 09:30 or not. If it 0930 than I need to check the end time as well.
    000010            D HRS=PBEG  HRS?0900
    000020 *
    000030 =          D HRS=PEND  HRS?1730
    000040 = *
    000050 = =       HRS=DZ007 HRS-00.50 ADDDBZ007Z
    But the schema is processing only till line 20. As the start time of the time pair is 0930 it should go and check the end time.
    I would like to know if correct operations are used to capture the start time of time pair and compare?
    Any help will be much appreciated.
    Thanks

    Hello;
    Your pcr is wrong.
    000010 D HRS=PBEG HRS?0900
    000020 *
    000030 = D HRS=PEND HRS?1730
    000040 = *
    000050 = = HRS=DZ007 HRS-00.50 ADDDBZ007Z
    This is your rule. It checks whether it is 09:00 or not. If it is 09:00 it checks end time.
    000010 D HRS=PBEG HRS?09.50
    000020 *
    000030 = D HRS=PEND HRS?17.50
    000040 = *
    000050 = = HRS=DZ007 HRS-00.50 ADDDBZ007Z
    Beside you can not check it as 17.30 it should be out of 100.
    I mean 17:30 is 17.50 and 17:15 is 17.25
    Regards;
    Okan

  • File reader and comparing words

    hi, im currently trying to create a project and i need a little help to get it started!
    What i need to do is create an application which can read a text file. I also need to have a list of words already in the application, and if a word in the list is also in the text file, id like this to be printed in the terminal.
    can anybody help me out with how to start this? ive been looking for relevant posts, and there seems to be alot of things on file reading and comparing words, but they r pretty difficult to follow and not really the same as what im looking for.
    thanks for your help!
    Torre

    You can place a for loop within a for loop to to compare every word in the temp array with every word in the other array.
    try {
    String[] array = new String[] {"wow", "cool"};
    BufferedReader in = new BufferedReader(new FileReader("text.txt"));
    String str;
    while ((str = in.readLine()) != null) {
    String [] temp = null;
    temp = str.split(" ");
    for (int i = 0 ; i < temp.length ; i++) {
      for(int j = 0; j < array.length; j++) {
        if (array[j].equals(temp)) {
    System.out.println(temp);
    } catch (IOException e) {
    } finally {
    //Always close your resources in your finally block... good coding practice.
    in.close();

  • Hello,  Can you please advise me as to the recommended system requirements for Adobe CC for Photoshop, Illustrator, InDesign, and Dreamweaver (all 4 programs). I'm hoping this is summarized somewhere rather than making me look up and compare all four. I'l

    Hello,
    Can you please advise me as to the recommended system requirements for Adobe CC for Photoshop, Illustrator, InDesign, and Dreamweaver (all 4 programs). I'm hoping this is summarized somewhere rather than making me look up and compare all four. I'll be using a windows based PC, and will need a graphics card that can support at least two monitors.

    Hi julir
    check this System requirements | Photoshop
    why photoshop demand?cause photoshop having 3D feature, it mean need high spec,,so if you can run photoshop cc to run ai,indd and dw is posibilty
    regards
    Deto

Maybe you are looking for

  • To view FI Vendors with Pymnt Terms and the associated Expense GL Account

    Hi, Is there any report that brings FI Payment Terms from vendors along with the associated G/L EXPENSE accounts ? How can I bring such information? Any help is very welcome. Regards Roger Edited by: rogersapfinance on Nov 10, 2009 9:21 PM Edited by:

  • Reading a Text file in Procedure

    Hello, How do I read a Text file in reverse direction in PL/SQL Procedure. Every time I want to read last line in the file. Can I read last line without going through whole file? Thanks Sameer

  • Apply different font styles in single text frame

    hi all how can i apply different font styles in a single text frame using indesign script ? for example : "dasdnasndasndlasndnasdlasdasdas" may i know is it possible to do that and how to do that ? thanks

  • How to limit row number per group without change new page in crystal report

    Hi All Expert, Is there any way to limit row number per group without change new page in crystal report 2008. The reason i do that is due to customer using printer EPSON LQ 300 (dot matrix) always will print in landscape if detech my layout in landsc

  • Cs4 will not load cannon 5d mark II raw files

    I had to reload cs4 and now it will not load a raw file from the 5d mark II. It worked fine before I reloaded it. I am using windows 7 and it will look at the raw files ok. I tried downloading the raw programs from microsoft and adobe.