Creating Single impulse for datalogging event once?

Hi,
I've created a simple warning a system to light up a boolean when my
measurement exceeds a preset value. However I would like to data log the
time or date of the event when such event occurs.
The problem is when the warning lights up my log in multiple time due to the
while loop. Could someone please teach me how to generate a single impulse
from the boolean so that my log which is put into a case loop would only run
once when the boolean lights up?(single shot) Or is there other methods
Thanks in advance
Regards,
Richard

Richard,
Just create a "last value" indicator (initialized to FALSE) and set it equal
to your Boolean in the loop. Then you write to your log only if the Boolean
is TRUE and the "last value" is FALSE.
Tom
"Richard" wrote in message
news:chr0va$kk4$[email protected]..
> Hi,
>
> I've created a simple warning a system to light up a boolean when my
> measurement exceeds a preset value. However I would like to data log the
> time or date of the event when such event occurs.
>
> The problem is when the warning lights up my log in multiple time due to
the
> while loop. Could someone please teach me how to generate a single impulse
> from the boolean so that my log which is put into a case loop would only
run
> once when the boolea
n lights up?(single shot) Or is there other methods
>
>
> Thanks in advance
>
> Regards,
> Richard
>
>

Similar Messages

  • Create single TO for each position of material in purchase order

    Hi, I am facing a problem while recieving stock from GR mvt 101
    I'm following this steps
    1.- I'm creating a purchase order with several materials (The number of material
    is diferent for each material)
    2.- Good Receipt with MIGO,I'm using movement type 101, this was configurated for
    create automatic TR and TO
    3.- while I'm traying to create a Tranfer Order(LT04), SAP system send this errror
    "you need to create single TO for each position of material"
    Note: Only one Transfer Requirement was created with several postions.
    4.- if I use LB11, the transfer order is created manual for each material, however
    I need to do this one by one.
    Are there any configuration that enable create one single TO for each position in
    purchase order??.
    Im trying to create  TO with LT10 using a new movement type and this enable me move
    material to bin location. However the TR still exist.
    Thanks in advance.
    Regards

    The problem was resolved.
    Thanks in advance

  • Can someone please tell Apple to create a "dot" for every event in a given day?

    Can someone run this idea up the chain at apple?  It would be nice to see what days are busiest from the monthly view.  I single dot can represent 1 event or 20, but this is not helpfull.  It seems like it would be an easy programming fix to make a "dot" for every event scheduled in a given day, no?  You could press this idea further by making the dot color coordinated to the type of event.
    Or is there a setting that I am missing?
    Thanks,
    Stoutland

    No-one here can - we're not Apple. Try the feedback page.

  • Creating Single PO for all Sites in Intercompany Stock Transfer

    Hi Experts
    In Intercompany stock transfer scenario
    Client demand to create  Single P.O. for all stores ,
    Is it possible ?
    if yes what is customization for that
    thanks in advance

    STO CONFIG:
    The following steps have to be followed in order to configure stock transport order
    between two plants.
    1. Create a vendor for the Company code of the receiving plant using account group 0007
    via T-Code XK01.
    2. In the purchasing data view assign the supplying plant and the schema group
    3. Create customer with the sales area of the vendor.
    4. The shipping conditions, the delivering plant and the transportation zone determine the
    route in the STO.
    5. In the pricing procedure determination relevant to the STO assign document pricing
    procedure and customer pricing procedure to get the pricing in the invoice.
    6. Maintain condition records for pricing condition.
    7. Maintain carrier as a partner in the customer master.
    8. In OMGN select the supplying plant and assign the company code and sales area.
    Similarly select the receiving plant and assign the company code and sales area (The
    company code to which the plant is assigned to).
    9. Assign the delivery type and checking rule to the document type.
    10. And finally, assign the purchasing document type to the supplying plant and the
    receiving plant.
    11. Create the STO using T-Code ME 21N and save.
    12. Check for release strategy if any and release using T-Code ME 28.
    13. Create delivery in background using VL10G.
    14. If delivery is created, it is an indication of correct configuration and master data
    creation.
    Stock transfer between two plants in deffernet company codes is known as inter company
    stock transfer.
    Material shoud be maintained in both supplying and receiving plant MM01
    Sotck should maintain only in supplying plant MB1C
    Create receving plant as a customer in suplying plants company code and sales area
    XD01
    Assign this customer number in receving plant detials OMGN
    Assign supplying sales area in supplying plant details OMGN
    Assign delivery tupe NB for in combination of supplying/ receving plants.
    Create STO ME21N
    As it is normal there in the item details wer should get shipping date i.e customer number
    Go for Deliveryy VL10B
    Shipping point *****
    Select PO go for execute
    then select the delivery then go for delvy ............create delvy,,,, delvy nubmer generated.
    Goods Issue VL02
    Delvy doc **********
    Click on picking
    enter the picking qty
    Click on PGI
    in the mean time check in the PO history you will get the details
    Goods receipt MIGO
    Stock overview the stock will be updated....

  • BC Assistant won't create single partition for Windows on four drive MacPro

    I have a Mac Pro with four HDs, and want to dedicate one of them to be a Windows disk.
    When I run Bootcamp assistant and select the intended windows disc, I have the options to partition or "Erase the Disk and Create a Single Partition for Windows".
    I select the Single partition option and continue, but the Bootcamp volume is not created. In Disk Utility it appears as an unmounted disk with name like disk4s2 or similar.
    If I select the partition option, it correctly creates an "Untitled" mac partition and a "Bootcamp" partition.
    I have repeated this with different hard drives and after zeroing out the intended disk.
    Thanks for any help.
    PS I have Softraid on my system, although neither my Boot drive or the intended windows drive are converted to Softraid format. The Softraid driver is installed on my boot drive. Do you think this might be the problem?

    Thanks Hatter,
    Thanks for the answer, which unfortunately isn't quite appropriate in my case, which I didn't lay out fully in the interest of brevity.
    My usual configuration is with a the bay 2 HD a dedicated Windows 7 whole disk installation, which works fine.
    I occasionally need to support my father with Vista problems. I used to have Vista on this bay 2 HD, and still have a Winclone image from then.
    My goal is to have a spare sled and slot in the Vista HD in when I need Vista. I don't want to start again installing etc.
    Since starting this thread, I decided to proceed with the Bootcamp assistant option which worked, ie to partition to an OSX and Windows partition, and make the OSX one as small as poss (5Gb) then delete that partition. I have restored the Winclone image, and all is working exactly as I want it, except I have lost 5gb. Not a big deal.

  • Creating Single App for Google Play store

    Hi there,
    I have a Single edition of DPS and I'm creating a single app for iPad.
    Now, my client needs upload a single edition app for Android to GooglePlay store.
    My question are:
    1) I need upgrade my DPS account to Profesional?
    2) Can I cancel the Profesional acount after 3 mounts if I pay monthly fee?
    3) What happen if I cancel the account. The app will be unavailable in the Google Play store from that momment?
    5) The profesional DPS Acount include only 500s folio downloads by year?
    Thanks a lot!

    Thank you for reply Himanshu Singh.
    I understood that if I have uploaded a folio called "BEACH SEPTEMBER" will be available in Google Play for download, but I can't upload new folios ("MOUNTAIN JUNE") when I cancel my suscription?
    How many folio downloads are available by year in DPS Pro?

  • Syncing ical creates multiple entries for same event

    I'm sure this is common. I cal sync creates multiple enties for the same event. Any way to work around this?
    Also, duplicate calendars are on the Iphone (2 for inbox)  can one be deleted? 

    I think I know what can help. I also support Mac users in a mixed environment, and find that being able to access a Windows machine to test settings for my iCal users is very very helpful. If you do not have one, I could also fix this one by adding the user's account to my one Mac that runs Entourage.
    On a PC: set up one of the problem accounts in Outlook, then go to Tools->Options & click on the Delegates tab. Click on a Delegate name (if they all have the same permission level, you can select all), then click the Permissions button. If the delegate have "Editor" permissions, there will be a little checked box that sends the delegate copies of all those meetings. De-select it.
    Lemme know if you want Entourage instructions or if that does it for you.
    The real question, of course, is why are there so many Exchange functions that iCal can't touch. Grrrr....

  • How to create Single Queue for more than one interfaces(XI)

    Hi Experts,
    I want to set up a separate queue for 3 interfaces which all are outbound IDOC to FTP.
    Please let me know ' Hhow to create a queue for multiple interfaces with Quality of Service 'EO''.
    Thanks,
    Srinivas P.

    The same reason that Apple and 3rd Party vendors put multi-size templates in one file I expect. I am trying to construct an in-house standard template for use in our company, and it is easier to manage if there is only one file to send to people rather than many - both initially and for subsequent edits / updates to the template.
    Of course it would be possible to create several templates (one for each size). But since it is clear that templates can be combined, it appears sensible to do this - unless the doing of it is horridly complicated

  • Create Callback VI for IMAQdx Event - Broken Wire

    My application is using IMAQdx to communicate with a Basler camera. When my camera is triggered with a digital trigger, it sends out an event when exposre finishes. I can use this event to know when to grab an image.
    I have a working VI that uses an event structure to handle this event and pull the image. Using an event structure in my main application will not work for my arcitecture, though, so I need to do a callback VI upon event generation.
    I have been trying everything to get a callback VI to work, but it seems LabVIEW thinks that the callback VI doesn't match the input to the "Register Event Callback." I have tried everything ranging from making my own VI to match the exact inputs to just using "Create Callback VI" by right-clicking. No matter what I do to the VI, there is a broken wire.
    See attached VI's. The callback VI is unnecessary because it is just a blank VI that was generated.
    Any help with this would be highly appreciated!
    Thank you,
    James
    James
    LabVIEW Professional 2014
    Attachments:
    Callback VI.vi ‏8 KB
    Initialize Camera Triggering.vi ‏24 KB

    It looks like your code is looking for a TypeDef called CtlRef.  I don't know if this is part of the IMAQdx spec, or something you need to provide, but providing it should get rid of the broken arrow.

  • Create single JAR for deployment

    How can I create a single JAR file from within the JSE 8 IDE?
    I want to add the JARs from my libraries. I thought I read about "recipes". Is this a feature from a prior version?

    The java projects which are in the general category under the new project wizard create jar files as a result of a project build. The jar file will be under the dist directory in the project file. Referenced jar files will not be included for a java project. You could do this by overriding targets in the build.xml file. This typically delegates to build.impl but the target which creates the jar could easily be overridden to accomplish this.

  • How to create a Single Ear for more than 30 applications

    Hai, any one please help me out
    I created single ear for more than 30 different ejb projects
    while deploying WAS giving error as follows;
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot store information about application sap.com/IntigratorEAR in the database during deploy.. Reason: Object value for entry "PROPS_STR_STR:ApplicationProperties" is too large. Limit is at 2,000 bytes.; nested exception is:      com.sap.engine.frame.core.configuration.InvalidValueException: Object value for entry "PROPS_STR_STR:ApplicationProperties" is too large. Limit is at 2,000 bytes.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Please help me out in this
    with regards
    somaraju

    Hi,
    I think this means that there is an object for your application properties with a size that exceeds the maximum size of the database field.
    This is probably caused by the concatenation of all your properties of all your apps in the ear.
    To solve this problem you can merge some applications to limit the amount of properties saved in the db.
    A second solution could be to use different ear-files instead of 1 for all applications.
    The third option is to find out how PROPS_STR_STR:ApplicationProperties is build up. Then you can limit the size of these properties.
    Hope this explpanation is usefull.
    Danny

  • Single invoice for multiple payment terms

    Hi Friends,
    I have given 2 different payment terms for 2 line items in single order and the billing is splitted due to this reason. I want to know where the system is checking this control. Because I want to create single Invoive even the payment terms are different. (The routine 003 under Data VBRK/VBRP in SO to Bill copy controls will be usefull only to create single Invoice for multiple SO's where the payment terms is same). But I need to create single Invoice even for multiple payment terms.
    Can anyone suggest me at the earliest please.
    Kumar

    Hi Kumar,
    The Billing Split is take care at Copy control level.
    For multiple line items in one single SO, with different Payment terms is not acceptable as per the  business logic and its not best practices.
    Please suggest the business to go on Split method only.
    Or
    Try to use Proforma Invoice Concept.
    Regards
    Srini

  • Single invoice for multiple deliveries in Export scenario

    Hi All
    I am trying to create a single invoice for multiple deliveries. In case of Local Sales i am able to do it.
    But when it comes to export sales the system is not allowing me to create Single invoice for 2 deliveries . This is a export scenario. Can you suggest... When  i am checking the split invoice log it says split due to header data "Number of foreign trade data i"
    Plz suggest.
    Thanks
    Rishi

    Thanks G. Lakshmipathi
    Resolved
    As per the split analysis, System was checking the number generated for Foreign Trade data at delivery level.
    As told  i have Tried maintaining the Indication at copy control level VTFL "Redetermination of Foreign Trade Data at Billing level".
    This has resolved my Issue.
    Thanks Again
    Rishi

  • Single spool for multiple smartforms

    Hi,
    I am using Function modules SSF_open and ssf_close for creating single spool for multiple smartforms but when i try to run the program in background then the job is getting cancelled...........and if i run the program in foreground then the program is running fine giving single spool for multiple forms........
    so the problem is that job should run in background if i run it in background instead job is getting cancelled.
    please tell me the solution how can i get the single spool for and multiple smartforms as well as the job should run if i am doing so.

    Moved to the correct forum

  • Dynamic creation of single reports for characteristic value combinations

    Dear Experts,
    We have a report showing the monthly sales from one reporting unit (RU) to another u2013 see example below:
    RU 1, RU 2, Sales 100
    RU 1, RU 3, Sales 60
    RU 2, RU 1, Sales 20
    RU 2, RU 3, Sales 40
    There is a requirement to automatically generate single reports for each combination of RUs selling to each other and broadcast these reports automatically by mail:
    Report 1:
    RU 1, RU 2, Sales 100
    Report 2:
    RU 1, RU 3, Sales 60
    Report 3:
    RU 2, RU 1, Sales 20
    Report 4:
    RU 2, RU 3, Sales 40
    Of course it would be possible to create single reports for each combination using fixed filter values. But we need a dynamic calculation because there are not always sales for each combination.  Moreover this would be difficult to maintain, because each time a new reporting unit has been created, new reports have to be created as well. We are looking for a completely dynamic solution,
    Maybe there is a way to solve it with the BEx Broadcaster function u201Cprecalculation of value setsu201D or u201Cburstingu201D. But we unfortunately do not have any experience with this.
    Thanks a lot in advance for your help!
    Best regards
    Marco

    Hi,
    Using the bursting functionality in the broadcaster this is possible. I think you would want to send the reports from RU1 to RU2 and RU1 to RU3 to a recipient linked to RU1 or somehting. In that case you need to add an attribute email to the RU infoObject. In the bursting settings you can use that value to determine the recipient of the email. Furthermore, you can automatically split the resultset to receiving reporting unit.
    If you have any specific questions regarding this subject, let me know.
    Kind regards,
    Alex

Maybe you are looking for

  • Sharing iTunes between user accounts no longer works in iTunes 10.4

    I recently upgraded to iTunes 10.4 (80). Still running Snow Leopard 10.6.8. I have two user accounts on my MacBook Pro and my iTunes Media folder is shared i.e. /Users/Shared/ITunes/iTunes Media This has always worked with no problems but since upgra

  • How do I transfer my music library from a PC to my Mac book Pro?

    How do I transfer NON purchased music in My library on my PC to my MacBook Pro?thanks

  • "File dialog" to Frontmost position

    Guys, When I open file dialog, the file dialog window is always behind the front panel. See attached files. When I run Main.vi, it will open Sub.vi. Here, window behavior of Sub.vi is floating. If I click the button "open file dialog", the file dialo

  • Data Integration Kit and SAP BI

    Hi Guys, Have a quick question. My understanding was we use Data Integration kit in order to integrate Crystal Report and SAP BI. To create an Universe , we dont need Data Integration Kit. Can anyone please confirm? Regards

  • Dynamic function module call

    Hi, I need to call few function modules dynamically.The exporting and importing parameters are also known only at run time. Can somebody help me out in this regard, Thanks and regards, Archna