Can I implement the functionality of a Schmitt trigger in LabVIEW?

I am reading in a waveform file using the Read Waveform From File.vi.  I would like some guidance as to how to implement a Schmitt trigger using LabVIEW blocks to massage the incoming waveform into a new waveform that resembles a digital data stream.
For example:
When the amplitude of the incoming waveform goes over 0.7, the output is 1 and is latched until the amplitude falls below -0.7.
Once the amplitude of the incoming waveform falls below -0.7, the output is 0 and is latched until the amplitude exceeds 0.7.

Thanks again for the quick response.
I am having trouble with the autoindexing: I keep getting data values of 0.
I have attached a VI that I quickly threw together to show what I am doing.
Please tell me if my method/reasoning is incorrect.
Attachments:
test1.vi ‏25 KB

Similar Messages

  • Can we implement the functionality similar to ROW_NUMBER() in generic/common way for all databases using SQL ?

    In my project,i am allowing user to select database of his choice from given options & i need to write queries considering
    all these optional databases. So as per my one of requirement,is there any way to achieve generic functionality similar to ROW_NUMBER() in MSSQL ?

    First run this and check the db version
    SELECT @@VERSION
    EXEC sp_dbcmptlevel 'db name'
    If version is above 2012 and compatibility level is above 80 ROW_NUMBER will work.
    Otherwise you need to use this
    http://sqlserverplanet.com/sql-2000/simulate-row_number-in-sql-2000
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How can I implement the function atof in TestStand?

    Hi,
    I would like to convert a string to a number.....same as   num = atof(aString);
    How do you do it with TS functions?
    Thanks

    Rafi,
    There is an expression function used to convert strings to numbers.
    Val( string, <isValid> )
    ->Converts a string to number.
    Hope it helps.
    Antonio Lie.
    Message Edited by Antonio Lie (NI) on 10-04-2006 11:19 AM

  • How to implement the function "Slow Play" using MPMoviePlayerController?

    Does anybody have idea to implement the function "Slow Play" using MPMoviePlayerController or some other indirect solutions? Thanks. Kevin.

    You can use the changeSelection(...) method to change the cell with focus.

  • Can I implement the BADI_SD_SALES for VA01

    Can I implement the BADI_SD_SALES for VA01  I tried that, but it won't me allow for display in Classic BAdi.

    Hi,
    This badi is used for Internal purpose of SAP.So try to do your validation with some other badi's or exit.
      some of User Exits For VA01
    V45E0001 : Update the purchase order from the sales order
    V45E0002 : Data transfer in procurement elements (PRreq., assembly)
    V45A0002 : Predefine sold-to party in sales document
    V45A0003 : Collector for customer function modulpool MV45A
    V45L0001 : SD component supplier processing (customer enhancements)
    V45P0001 : SD customer function for cross-company code sales
    SDTRM001 : Reschedule schedule lines without a new ATP check
    V45A0001 : Determine alternative materials for product selection
    V45A0004 : Copy packing proposal
    V46H0001 : SD Customer functions for resource-related billing
    V60F0001 : SD Billing plan (customer enhancement) diff. to billing plan
    V45S0001 : Update sales document from configuration
    V45S0003 : MRP-relevance for incomplete configuration
    V45S0004 : Effectivity type in sales order
    V45W0001 : SD Service Management: Forward Contract Data to Item
    Thanks,
    AMS

  • How can we implement the currency translation in a query definition

    How can we implement the currency translation in a query definition and should it modified for each and every type of currencies

    hi rama krishna
    i think u can not get any translation in Query. this is only for het the report as it is there in tables. if u want to write a report take a help of the Abaper
    hope u goit,assign points if u ok for this
    thanks
    subbu

  • Can anyone explain the function BAPI_PROJECT_GETINFO

    Hi
    Can anyone explain the function BAPI_PROJECT_GETINFO.
    Can anyone explain the import and export parameters of this function module.
    What is the logic.
    I'm getting the output as 'No data record exists'.
    This is immediately required.Please help me.
    Thanking you
    Chandrika.

    hi
    good
    go trhough this
    Short text
    Read detailed information for work breakdown structures
    Functionality
    You use this method to read detailed information about project definitions and the WBS elements of certain projects from the system.
    Notes
    Enter the project definitions and/or the WBS elements, which you want detailed information about, in the parameter PROJECT_DEFINITION or I_WBS_ELEMENT_TABLE respectively.
    If you only enter project definitions, the details of all the WBS that belong to the project definitions are read including the hierarchy. If you explicitly enter WBS elements, only these are read.
    Messages are returned in Return parameters. For information about the return values and their meaning, see the parameter documentation.
    Parameter
    PROJECT_DEFINITION
    WITH_ACTIVITIES
    WITH_MILESTONES
    WITH_SUBTREE
    E_PROJECT_DEFINITION
    RETURN
    I_WBS_ELEMENT_TABLE
    E_WBS_ELEMENT_TABLE
    E_WBS_MILESTONE_TABLE
    E_WBS_HIERARCHIE_TABLE
    E_ACTIVITY_TABLE
    E_MESSAGE_TABLE
    thanks
    mrutyun^

  • Can anyone explain the functionality of FM f4ut_parameter_get_values ?

    Can anyone explain the functionality of FM f4ut_parameter_get_values ?
    This is used in search help to retrive values from screen.This doesnt seem to work for me

    hi,
    check this
    F4UT_PARAMETER_VALUE_GET
    Short Text
    Standard search help exit for determining contents of a srch help par.
    FunctionalityBy calling this module in a search help exit, you can find out the current contents of a search help parameter . To do this, you must pass the name of the parameter in PARAMETER.
    You must distinguish between the parameter contents that are used in the selection process of the input help process and the parameter contents that are determined by the selection process and the user selection.
    Parameter contents that are used in the selection process are default values of search help parameters, values that are included in the input help process by attaching the search help to the screen from field contents of the screen or its module pool, and possibly complex restrictions made by the user in the dialog box for restricting value. Such parameter contents can also be included in the input help process by the search help exit itself.
    The contents of the specified parameter used in the selection process are stored as complex restrictions in SELOPT_TAB after the call. If exactly one value is defined by these complex restrictions (for example if the restrictions have exactly one row and if SIGN = 'I' and OPTION = 'EQ' for this row), this unique value can be found in VALUE.
    Parameter contents that are determined by selection process and user selection are the parameter contents that are shown in the dialog box for displaying the hit list or returned on the screen. They are managed by the F4 processor in RECORD_TAB.
    This module enables you to transfer the information about the specified parameters from RECORD_TAB to RESULTS_TAB in edited form.
    Pass the name of the field of RESULTS_TAB that should contain the contents of the parameter to the function module in parameter FIELDNAME. If the row type of RESULTS_TAB is elementary, pass the value '*' in FIELDNAME. The rest of RESULTS_TAB is not changed. The values are copied row by row. By removing rows at the end or by adding intiial rows you can make sure that RESULTS_TAB has exactly as many rows as RECOD_TAB.
    Example
    You can find an example of the second kind of use of the module in the search help exit SAPBC_GLOBAL_F4_SFLIGHT of search help SFLIGHT.
    Both types of use can be found in the search help exit SAPBC_GLOBAL_F4_SFLIGHT_MIN_FR of search help SFLIGHT_MIN_FREE .
    Notes
    1. Parameters OFF_RESULT and LEN_RESULT should not be used any more since there are basic problems when using UNICODE. The contents of these parameter are still analyzed when parameter FILEDNAME is initial for compatibility reasons.
    2. Only the dialog box for restricting values can normally produce complex restrictions for a parameter.
    3. If VALUE has the value SPACE, this means that either there are complex restrictions for the parameter or the unique contents are SPACE. SELOPT_TAB must be evaluated in order to determine which of these is the case.
    4. If the search help does not have any parameter with the given name, the exception PARAMETER_UNKNOWN is triggered.
    5. Only parameter contents for the search help displayed in the hit list or the EXPORT parameters of the search help are first managed in RECORD_TAB. If the specified parameter does not satisfy one of these conditions and if parameter RESULTS_TAB is specified in the call, the exception PARAMETER_UNKNOWN can also be triggered. This is not true, however, if results were already entered for the parameter with function module F4UT_PARAMETER_RESULTS_PUT or if space was reserved for the parameter in RECORD_TAB with function module F4UT_PARAMETER_ALLOCATE. The parameter therefore should only be defined if information about the parameter contents are really required.
    6. The header lines of the specified parameter are also transferred from RECORD_TAB to RESULTS_TAB.
    7. The other parameters of this module must be defined as the parameters of the search help exit having the same name, but they are not changed by this module.
    8. RESULTS_TAB should be a standard table.
    9. The contents of the specified parameter in RECORD_TAB are copied to the specified field of table RESULTS_TAB with a MOVE of the correct type. If this is not possible, the target field is assigned the initial value.
    10. If RESULTS_TAB has no field with the name specified by FIELDNAME, only the number of rows of RESULTS_TAB is adjusted to those of RECORD_TAB as described.
    Parameters
    PARAMETER
    OFF_RESULT
    LEN_RESULT
    FIELDNAME
    VALUE
    SHLP
    CALLCONTROL
    SHLP_TAB
    RECORD_TAB
    SELOPT_TAB
    RESULTS_TAB
    Exceptions
    PARAMETER_UNKNOWN
    Function Group
    SF4U
    if helpful reward some points.
    with regards,
    Suresh Aluri.

  • How can I implement the connection pool in my java stored procedure

    my java stored procedures (in database 'B') have to connect to another oracle database ,let's say 'A'. And how can I implement the behavior like the so-called connection pool in my java stored procedure in 'B', as below.
    1. database B, has 2 java stored procedures sp1 and sp2
    2. both sp1 and sp2 connects to databse 'A'
    whatever I call the sp1 and sp2 and the database 'A' always only one connected session from sp1 and sp2 in database 'B'.
    THANKS A LOTS...

    my problem is I have a lots of java stored procedures need to cnnect to the remote oracle db, and I hope the remote db can only have a connected session from my java stored procedures in my local db. I try as below
    class sp{
    static Connection conn=null; //the remote db connection,
    public static void sp1(){...}//procedure 1, using conn
    public static void sp2(){...}//procedure 2, using conn,too
    I can 'see' the 'conn' variable if I invoke the sp1() and sp2() from the same client application(maybe sqlplus). But if I invoke the sp1() from client 'A' and invoke sp2() from client 'B' then the sp1() and sp2() can not see the 'conn' variable for each other. I think it's because the two clients cause oracle to create two instances of the class 'sp' and the sp1() and sp2() located in different instance seperately. Thus the sp1() and sp2() can not see 'conn' for each other. They can only see its own 'conn'.
    To connect to the remote db from the java stored procedure is easy but is it possible to connect to the remote db via database link from the java stored procedure at my local db ? If so, then I also archive my goal .
    BTW , thanks a lots...
    andrew :-)

  • HOW CAN I KNOW THE FUNCTION CODE OF CREATE NEW SESSION

    <b>HOW</b> CAN I KNOW THE FUNCTION CODE OF CREATE NEW SESSION?
    THANKS...

    Hi
    Please put a "/n" (to open a new session after killing the current session)
    or "/o" (to open a new session without killing the current session)
    or "/i" (to end the current session) before the below T Codes as per your requirement...
    Try thistoo <b>O0</b>
    <u><b>demo-like programs</b></u>
    RSIMC000
    RSIMC001
    RSIMC002
    RSIMC003
    RSIMCTRX
    RSIMCTST
    Reward all helpfull answers
    Regards
    Pavan

  • I can't use the function of "print to video".

    I've recently purchased FCPX and Blackmagic Design Decklink HD Extreme 3(version 7.5.2) but I already know this combination looks quite weird because I'm using only DSR. This is the first time I have installed FCP.
    I installed FCPX and figured out there's no way to get the video from Decklink on FCPX so that I deleted FCPX, installed FCP 2009 instead and installed FCPX again on the same disk as Final Cut Pro 7... It's a shame to get rid of it.
    At first, I could get a good result when printing to tape. There's no problem. But it's not long before I failed to get what i wanted. VCR detects input signal from FCP 7 through Decklink but the monitor of VCR shows only noise. For now, I can't use the function of "print to video".
    Also, I connect the input of Decklink to the output of DSR and the output of Decklink to the input of DSR at the same time and monitor w/ the output of DSR. However, the output on the monitor shows something weird when I capture the video from DSR as if the signal is fed back.
    Someone told me that I have to use other version of decklink but i'm not sure it would be better if I just change the version.
    What's wrong?
    What should I do for fixing these all mess?

    I've recently purchased FCPX and Blackmagic Design Decklink HD Extreme 3(version 7.5.2) but I already know this combination looks quite weird because I'm using only DSR. This is the first time I have installed FCP.
    I installed FCPX and figured out there's no way to get the video from Decklink on FCPX so that I deleted FCPX, installed FCP 2009 instead and installed FCPX again on the same disk as Final Cut Pro 7... It's a shame to get rid of it.
    At first, I could get a good result when printing to tape. There's no problem. But it's not long before I failed to get what i wanted. VCR detects input signal from FCP 7 through Decklink but the monitor of VCR shows only noise. For now, I can't use the function of "print to video".
    Also, I connect the input of Decklink to the output of DSR and the output of Decklink to the input of DSR at the same time and monitor w/ the output of DSR. However, the output on the monitor shows something weird when I capture the video from DSR as if the signal is fed back.
    Someone told me that I have to use other version of decklink but i'm not sure it would be better if I just change the version.
    What's wrong?
    What should I do for fixing these all mess?

  • Can anybody send the function module to read inspection characteristics ?

    Hi friends
    can anybody send the function module to read inspection characteristics ?
    (rate routings).
    thanks in advance

    Hi,
    Use the BAPI,
    <b>BAPI_INSPCHAR_GETRESULT</b> to get the deatils.
    also look at this BAPI <b>BAPI_INSPOPER_GETCHAR</b>
    Regards
    Sudheer
    Message was edited by:
            Sudheer Junnuthula

  • Can I implement the ORM task without TopLink and Hibernate?

    Can I implement the ORM (Objest/Relational Mapping) task without TopLink and Hibernate tools?

    Any opinions are welcome.

  • SAP B1- Can we have the functionality of Indent to purchase?

    Dear All,
    Can we have the functionality of Indent to purchase in SAP B1-Client? If yes, kindly let me know the necssary steps.
    Thanks in advance..!
    Regards
    Rounak

    Hi Rounak.....
    This is your duplicated thread with same doubt so please close this one...
    Any ways.....
    Hi Rounak......
    Purchase Indent is not as such there in B1 but you can get it done by having approval procedure on Purchase Order level.
    Purchase before approval is nothing but Indent....
    Regards,
    Rahul

  • How can I use the work/result generated by quartusii in labview 8.0

    hi ,
    I customized a developing board in quartus ii on the basis of nios ii ,and there are  many customed i/o devices in it, then I want to ask how can I use the work/result  generated by quartusii  in labview? I am new in labview. and I can't find any relationship between quartus ii and libview 8.0.
    tks!

    http://forums.ni.com/ni/board/message?board.id=170&message.id=264457#M264457

Maybe you are looking for

  • Can't check out one file individually

    Hi I am on Dreamweaver CS5 on PC and have this weird problem where when I click on an individual file on the "Remote Server" side of the file menu and then press the "Get" icon - Dreamweaver keeps asking me "Are you sure you want to check out the ent

  • Modifying the selection screen dynamically

    Hey folks, I have posted this question previously but no one understood the real problem. I have 4 fields Company Code material Number plant storage Location Unit when I select the company code AA01 from the F4 help I want to disable material number

  • Disable People Picker In Infopath Form on Chrome

    Hi, we have a sharepoint custom list ,where we customized it with infopath designer In this form ,we have a button ,which makes a call to the list,and pulls out the details about user Manager if available and some additional details Always the Manage

  • Conversion from Blended codepage 6200 to MDMP in 4.6c

    Hi Experts,    If the existing system is on 4.6c, what are the complications as well as the effort required to convert the ambiguous code page to MDMP?    Thank you. regards, David

  • Phone is not recognizing music that wasn't bought off iTunes

    My iPhone 6 128 GB will not recognize any songs that were not bought off iTunes, such as mixtapes, and it's starting to really frustrate me. Can somebody tell me why this is happening and how to fix it? Thanks!