Acquiring data only once while generating other data continously

Hello,
I am using Labview 2009 on windows 7 PC and I am using NI USB6009 for my application.
In my vi I want to generate ramp voltage continously which I can in my current vi. But while doing this I will be connecting relay contact to other digital input. I want to store the generated ramp voltage at the instance when the relay closes its contact which I will know as it is connected to the digital input. The contact is going to remain closed for a while but the instance at which is closes is of value to me. I tried various things using case structures or even parallel while loops. but unfortunately I am not so much acquainted with event structures so I couldn't achieve what I wanted. Please help me out.
Thanks
Rohan
Solved!
Go to Solution.
Attachments:
ramp up.vi ‏20 KB

Hi Rohan,
pseudo-code:
IF RisingEdge(digital input) THEN
store current AO value in shift register
ENDIF
 You need the PtByPt_BooleanCrossing function, a shift register and a select node…
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • Issues while generating Schema DAT files

    We are facing two type of issues when generating Schema ".dat" files from Informix Database on Solaris OS using the
    "IDS9_DSML_SCRIPT.sh " file.
    We are executing the command on SOLARIS pormpt as follows..
    "IDS9_DSML_SCRIPT.sh <DBName> <DB Server Name> ".
    The first issue is ,after the command is excuted ,while generating the ".dat" files the following error is occuring .This error is occuring for many tables
    19834: Error in unload due to invalid data : row number 1.
    Error in line 1
    Near character position 54
    Database closed.
    This happens randomly for some schemas .So we again shift the script to a different folder in Unix and execute it.
    Can we get the solution for avoiding this error.
    2. The second issue is as follows..
    When the ".dat" files are generated without any errors using the script ,these .dat files are provided to the OMWB tool to load the Source Model.
    The issue here is sometimes OMWB is not able to complete the process of creating the Source Model from the .dat files and gets stuck.
    Sometimes the tables are loaded ,but with wrong names.
    For example the Dat files is having the table name as s/ysmenus for the sysmenus table name.
    and when loaded to oracle the table is created with the name s_ysmenus.
    Based on the analysis and understanding this error is occuring due to the "Delimiter".
    For example this is the snippet from a .dat file generated from the IDS9_DSML_SCRIPT.sh script.The table name sysprocauthy is generated as s\ysprocauthy.
    In Oracle this table is created with the name s_ysprocauthy.
    s\ysprocauthy║yinformixy║y4194387y║y19y║y69y║y4y║y2y║y0y║y2005-03-31y║y65537y║yT
    y║yRy║yy║y16y║y16y║y0y║yy║yy║y╤y
    Thanks & Regards
    Ramanathan KrishnaMurthy

    Hello Rajesh,
    Thanks for your prompt reply. Please find my findings below:
    *) Have there been any changes in the extractor logic causing it to fail before the write out to file, since the last time you executed it successfully? - I am executing only the standard extractors out of the extractor kit so assumbly this shouldnt be a issue.
    *) Can this be an issue with changed authorizations? - I will check this today, bt again this does not seem to be possible as the same object for a different test project i created executed fine and a file was created.
    *) Has the export folder been locked or write protected at the OS level? Have the network settings (if its a virtual directory) changed? - Does not seem so because of the above reason.
    I will do some analysis today and revert back for your help.
    Regards
    Gundeep

  • No data Exists error while retrieving the data from a table

    Hi Everyone!
    I am getting "No Data Exists" error while retrieving the data from a table....where i need to check...if possible please give me example link.....please help me regarding this

    Hi !
    thanks for ur response...
    I have written vo.executeQuery for the table...My page is running but i m not getting the data....I have to select two LOV's and when I click on Go button the data has to display in the table...After the selection of LOV's when I click on Go in the table "No data exists" message is appearing...the table has the data and the query is also executing...please give info where i did the mistake....

  • Giving Error while generating the Data mart to Infocube.

    Hi Gurus,
    I need to  extract the APO infocube data in to the BW infocube. For that iam trying to generate the data mart to APO infocube .
    So, that i can use that data mart as a data source to extract that APO Infocube data in to  BW infocube.
    In that process iam trying to generate the datamart for APO Infocube . But while generating it is giving errors like below:
    Creation of InfoSource 8ZEXTFCST for target system BW 1.2 failed
    The InfoCube cannot be used as a data mart for a BW 1.2 target system.
    Failed to create InfoSource &v1& for target system BW 1.2.
    PLease suggest me what to do for this Error problem.
    Thanks alot in Advance.

    Hi,
    Point No : 1
    What is Planning Area :
    http://help.sap.com/saphelp_scm41/helpdata/en/70/1b7539d6d1c93be10000000a114084/content.htm
    Point No : 2
    Creation Steps for Planning Area :
    http://www.sap-img.com/apo/creation-of-planning-area-in-apo.htm
    Note : We will not create Planning Area.This will be done by APO team.
    Point No 3  : Afetr opening the T-Code : /n/SAPAPO/MSDP_ADMIN in APO you will be able to see all the planning areas.
    Point No 4 : Select your planning area and Goto Extras menu and Click on Generate DS
    Point No 5. System automaticall generate the DS in APO (Naming Convention start with 9) and Replicate the DS in BI Map to your cube and load the data.
    Regards
    Ram.

  • BIP Trial 11.1.1..6: Error while generating XML data in Data Model

    Hello,
    I have created a Data Model with a single query. After saving the DM and clicking on the XML icon to generate sample data, I get the following error:
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    End tag 'span' does not match the start tag 'img'. Error processing resource 'http://localhost:7001/xmlpserver/servlet/xdo'...
    *<table style='background=color: #d9e5ef; margin-top: 10px;' width='100%' cellspacing='0' cellpadding='0' border='0' summa...*
    I have verified that the SQL runs without errors in SQL Developer using the same connection parameters as whats used in the DM.
    There are no html tags/key-words etc being used in the sql our it's output.
    Is there a a way to debug this? This is extremely frustrating. Especially since the same sql works without any issues in Oracle Reports.
    Thanks,
    Manish

    ya i can understand we wont do the sql logic at the data model part as some time performance issue may come when comparaed to sql run in package and sql running in data model . so i have mostly done using package and i will just do select * from table in the data set of data model so i didn't face any issue's like this .
    once check this tutorial may be you already
    i use to create parameters like this i didn't face any issue
    SELECT * from TEST where ID=:p_id
    http://st-curriculum.oracle.com/obe/fmw/bi/bip/bip11g/gettingstarted/gettingstarted.htm

  • Problem while generating classification data-sources

    Hi ,
    I have one classification data-source 1CL_OVEN001 which is based on vendor master data and class type 10.  I tried to added one field in this data-source . while generating data-source, I got some error like " Extractor can not be generated".
    Then I searched on SAP site and got one note 1946309 . When I implemented this note and tried to generated data-source. Now I am getting another error.
    "EXTRACT STRUCTURE IS NOT PERMITTED"
    I have tried with several note  but getting same error.
    Please help.
    Thanks in advance
    Devesh Varshney

    Hi,
    What field you have added, if it is Keyfigure then make sure that you have added its unit.
    -Sriram

  • Query Governor - Summary Data - Only when not out of date?

    In Oracle Discoverer Desktop edition the user can choose how Summary Data are used:
    1. Always, when available
    2. Only when summary data are not out of date (stale)
    3. Never
    What exactly is the meaning of "Only when summary data are not out of date"?
    In previous versions of Discoverer you had the opportunity to specify how old (in days) summary tables were acceptable to you.
    (By the way: In the Danish translation of Discoverer the word "not" has been omitted, so you have the opportunity to use summary data only when they are out of date :-)
    Best regards
    Torben

    Actually it doesn't matter if you have Applecare or not because Apple simply isn't recognizing this as an issue even though multitudes of people have experienced it. If they don't see it as a problem, then they obviously don't have a solution, and so taking your laptop in through apple care is totally useless.
    I've talked to 3 customer support representatives over the phone and they all said they were 'unaware of the issue' and would not even attempt to help. It's very disappointing.

  • Second s5 update has made wifi and data run simutaniously, being charged for data only way to turn off Data is to go to settings. I had same issue with my other phone. Recieved two replacement phones the SIM card did not work on replacements took phone ba

    Wifi and Data running simultaneously. Data was being charged to my account even though I was on WIFI. No one can fix the issue. I have wasted 8 hours of my life and went and returned my phone and got a new one yet after the last update I now have WIFI and Data showing that they are running simultaneously.  I have looked at numerous message boards and turned off Caller ID don't have Volte on my phone but do get an error with Visual Voice Mail. I don't want any of these services, you are not helping your customers Verizon or Samsung with forcing us to update. I tried not to update my NEW phone that I had to get from Costco because of this exact same stupid issue happen on my last one. But every time I said NO to update the next time I did anything on the phone the UPDATE would pop up again. I would say NO it would come back. I was doing a text and it came up and I hit update not wanting to and then my phone began updating on a low battery. I had to rush to put on charge and then my WIFI and Data came back on together with arrows on all going up and down. I HATE the lack of support I get from SAMSUNG and VERIZON... Verizon washes their hands and say these are not Updates even though these are the features we have on all our phones like Visual Voice Mail and Volte...

    I did look at the Settings/Cellular to check the applications.  This is one of the steps I did with the person from Verizon who was an "iPhone Specialist".  And he didn't see anything unusual.  And I can honestly tell you they have very minimal number of apps on their phones.
    When I went to the Apple Store the first time with this problem, they had me update the phones iOS systems to see if this would correct the problem.  They were each running older versions but different versions.  One son had one update to do and the other had a couple of updates needed.  So, the problem started before they were updated and they weren't even on the same update.  And nothing changed after we did the updates.
    I didn't reboot the router and modem, because I'm not having any other issues with my phone, my husband's phone, our iPad, xbox, PS3, or laptops.  Would the wifi only affect their phones?

  • Flash Islands - transfer data only once from WDA to Flex component

    Hi Experts,
    I have defined some GACProperties to configure my Flex component within my WDA application. I need this data to initialize the Flex component but I'd like to somehow stop transfering this data after the initialization to avoid useless communication.
    Does anyone know how to achieve this?
    Regards,
    Pierre

    Hello Pierre,
    AS you might be knowing already, the data transfer from WD to Flex happens whenever there is a change in the context nodes or when ever there is an interaction from Flex to WD(When FireEvent is called).
    This we cant stop as this is the standard behavior.
    In our application what we did to stop this is, we have created an attribute 'IS_UPDATE_REQUIRED' in the context of type WDY_BOOLEAN. And set this to true by default. And we created a GACProperty and bound that to the context attribute 'IS_UPDATE_REQUIRED'.
    And for all the data which you are sending to Flex, you need to create setter methods instead of using public properties.
    And the GACProperty for 'IS_UPDATE_REQUIRED' should be first one to be declared in the VIEW LAYOUT. In the setter method for that property, we read value and store it in a flex local variable isUpdateRequired. And in all other setter methods, check the value of that variable first. And only if its true, read the values for other properties. Otherwise dont do anything. And in the Last setter method, we need to set the context attribute IS_UPDATE_REQUIRED to false.
    By doing this, whenever the data transfer happens next time, since the value of isUpdateRequired would be false, the read wont be read.
    Hope am a clear!
    Best Regards,
    Srilatha

  • 0IC_C03 data only to PSA, not to data target

    Hi,
    when I try to load data to cube 0IC_C03 I have problem that only to PSA receive, when execute Infopackage - I give this note
    "No data target have been updated from this request (It might be that no data target have been defined or selected yet"
    I tried t to fill field in tab Data Targets in Infopackage definition, but there are no possibility to choose 0IC_C03.
    Thanks for advice.
    Petr

    Hi Petr,
    If you are working on BI 7.0, using IP you can load till PSA.
    you have to create DTP to load data from Data source(PSA) to CUBE
    Hope this helps
    Regards,
    Venkatesh

  • Is there any way to make a certain page in portrait only open while the others is horizontal?

    I ask this because I dont want the book upright(i disabled the opition) except in a single page ... Thanks for help

    Create the page in Portrait - use Preview to screenshot - edit in GifConverter to size and rotate, then save to where it can be located easily in the Finder.
    Switch to iBA, confirm working in landscape with a blank page, then drag that image from the Finder into the page and center. Save and test.
    If searching the contents is critical, add hidden/linked text on the page margin. Hidden text is smallest font same color as background. Can be behind image if needed.

  • Error while generating material classification data source in R/3

    Hi,
    I am trying to generate the data source for material classification in R/3.
    I have created the data source entry in CTBW and added the classification fields required for the data source. But while generating the data source i am getting an error, which says "BW Metadata is incomplete".
    Is there any step, that i have missed? Please advise what needs to be done.
    Thanks,
    Manoj

    Hi Santhosh,
    The note seems to be quite old and may not be applicable since we are on the latest support pack.
    We are using two different clients, one for configuration and the other for test data.
    Thanks,
    Manoj

  • Error while processing "Prepare Data Transfer"

    Hi all,
    At the Processtype ERP Initial Package for HCM Personnel Administration (PA)  I start the stept "Prepare Data Transfer". This step abort at the point "Generate Conversion Objects" with the error message: Subactivity PC002_MT_RT_GEN task 000001 ended with errors. In the detail view I get some  Errormessages like this:
    Error while generating runtime objects for Z_ASSHR_005
    Syntax error in function module /1CADMC/IL_001000000045091
    Error message: Feld "IM_PERNR" unbekannt. Es ist weder in einer der angegebenen Tabellen enthalten noch durch eine"DATA"-Anweisu
    Error while generating runtime objects for Z_PA2001_005
    Syntax error in function module /1CADMC/IL_001000000045088
    Error message: Feld "IM_PERNR" unbekannt. Es ist weder in einer der angegebenen Tabellen enthalten noch durch eine"DATA"-Anweisu
    The Note 0001486384 TDMS4HCM: SP04 - Note 12 - Syntax errors in generated Incl's is already implemented.
    Can someone help me to solve this Problem?
    Kind Regards
    Florian

    Hi,
    Did you create a new sub-project and then create a new package and
    execute the TDMS transfer?
    I think this might be the issue.
    Try creating a new subproject and package .This  should solve the issue.            
    Thanks,
    Poonam.

  • How  to Generate the Dates of Billing Plan Contract

    Dear experts,
    Need your advice on this.
    I have a requirement to create a program to update the Billing Plan of contract. It will run in background and update the end date (billing plan), then generate the dates ( Settlement Date for Deadline, Billing date for billing index and printout, etc ..).
    I have managed to change to end date using 'BILLING_SCHEDULE_READ' and 'BILLING_SCHEDULE_SAVE', but I couldn't generate the dates. I've searched sdn and still, no luck. I've tried 'SD_SALES_BILLINGPLAN_CHANGE' with no result. I've also found 'RV_SALES_DOCUMENT_UPDATE', but I dunno how to fill-in all the parameters.
    Please help .. I have run out of ideas ...
    Thx..
    TRI

    Found the answer .. using BDC :).
    Thx for attention ..
    TRI..

  • Missing report headers when exporting to XLS Data Only

    Hello all,
    I searched for this topic and was unable to find a similar one!
    I have a report that's very long.. (Page Setup:User Defined)
    When I export to Excel Data Only, with option of: Custom: Data is exported according to selected options, the output shows some headers only and skips many.
    I tried going into Design view and putting grids around each feild so that they don't overlap.
    How can I fix this issue?
    Thanks,

    Go to FILE->Export->Report Export Options then select Excel Data Only option from the Format drop down window then press ok.
    Check page headers and footer check box and press ok.
    This should set the options to export report header and footers.
    Hope this helps!
    Achett13

Maybe you are looking for

  • Servlet session objects shariing same session objects? Help!

    Hi all,           Is it possible for two different HttpSessions to share the same session objects.           We have a java class that we store in the session. This class calls a stateless Session EJB to do quoting for an insurance policy. It seems t

  • Closing one of our HR Business Group

    Hi Friends, Good day!!! I have a business scenario to close one of our HR Business Group. What approach should i take for Closing Business Group. If you guys have any experience on the same please share it with me. That will help me to take preventiv

  • Retrieve NT Authentication details using java

    Need to get the OS user name and password of the remote client machine from which accesses the server Application in my machine. How to do this using java? Is there any java API to get this? Also tried the NTLM code but its not working. Any code will

  • Ps5ui.dll is not a valid windows image.

    Environment:  XP PRO SP3,  ADOBE CS3 v10.0.1 Photoshop was running well until I  ran "chkdsk /f" which corrected several errors on my HD that were being reported.  Everything runs well but opening a file in Photoshop returns the following error messe

  • ITunes will not start - even in safe mode

    I have been using iTunes for years and have been happy.  A week ago it refused to open.  I followed most of the instructions that I could find to correct. Right now I have iTunes and all supporting applications installed.  When I start iTunes in the