Como crear un time on delay

Como puedo crear un Time on Delay sin que me tome mucha memoria en la programacion, he tratado de usar el "Wait y On Delay" pero se toma el mismo tiempo cuando se activa y desactiva, alguien puede orientarme?
Gracias..

Hola Coquinho,
Perdona, pero creo que no logro entender completamente tu situación. Al hablar de memoria imagino que te refieres a los recursos del CPU que se utilizan para procesar las funciones, ¿correcto?.
Antes que nada te explico un poco sobre la función "Wait (ms)" ya que te puede ser útil para tu implementación, al utilizarla y especificar los milisegundos que deseamos esperar, LabVIEW ejecutará las funciones que se encuentren en paralelo (debido al flujo de datos), es decir, estarás ejecutando y esperando a la vez, sin embargo una vez que todas las funciones en paralelo se han ejecutado, los recursos del procesador se liberarán hasta que el se esperen los milisegundos que le especificamos al "Wait (ms)". Por ejemplo, si un código tarda 5 milisegundos en ejecutarse y colocaste un "Wait (ms)" con un tiempo definido de 1000 milisegundos, dejarás 950 milisegundos sin que utilicemos recursos del procesador. Tal vez en tu aplicación te convenga más detectar si el código que ejecutas paralelamente al "Wait (ms)" te está afectando.
Sobre el "Timer On Delay", puedes utilizar un Flat Sequence Structure con un timer en el primer frame y una salida booleana en el segundo frame.
Te dejo algunos links con información adicional que te puede ser útil:
Sequence Structures: Executing Sections of Code Sequentially:
http://zone.ni.com/reference/en-XX/help/371361K-01/glang/flat_sequence/
The Difference between the Wait (ms) Function and the Wait Until Next ms Multiple Function:
http://digital.ni.com/public.nsf/allkb/12b2ea9ad5b265ad86256257004dd8e2
Block Diagram Data Flow:
http://zone.ni.com/reference/en-XX/help/371361K-01/lvconcepts/block_diagram_data_flow/
Saludos.
David P.
National Instruments
Applications Engineer
www.ni.com/soporte

Similar Messages

  • COMO CREAR EJECUTABLE DESDE CRYSTAL REPORTS VERSION XXI

    Hola,
    A diferencia de versiones anteriores, en la XI no localizo como crear un ejecutable (.exe), de un report creado, para que sea lanzado desde otra máquina.
    Gracias

    Estimados usuarios del foro, quisiera agradecerles por la pronta ayuda y todas la sugerencias, me agrada informarles que encontré la causa y la solución a mi problema, ahora se los detallo para futuras cuestiones.
    Después de hacer las pruebas respectivas en mi oficina y en mi equipo pudimos notar que el error era bastante descriptivo (menú no encontrado efectivamente). 
    Debido a que uno de los Add-ons (extra) que utilizábamos crea un modulo adicional el Add-on del Crystal Reports permite la adición de reportes a ese modulo y también crea un acceso directo en el mismo para el acceso a esos reportes, lo que significa que al iniciar el Add-on de Crystal necesariamente tiene que estar instalado e iniciado el Add-on "extra", caso contrario (obtendremos el mensaje u201CMenu not foundu201D) el Crystal no encuentra el modulo para añadir los accesos directos ni la relación con los reportes agregados a ese modulo.
    -     Si se desea eliminar la dependencia del Add-on del Crystal Reports con el Add-on "extra" instalado se deben cambiar de modulo todos los reportes asignados al modulo creado por el Add-on "extra".
    Sin otro particular, espero no duden en realizar alguna consulta.

  • Time is delayed by 10 minutes when you use Automatically Date & Time

    Time is delayed by 10 minutes when you use Automatically Date & Time in France

    It is not carrier as all my Apple products where up to 10 minutes fast. I had to reset each product to the correct time. I'm in New Zealand.

  • UCCX- adjust abandoned call time or delay

    Hello all....
    I'm very new and green to UCCX- version 8.5.1 . I have a colleague here looking to adjust the time or delay for when an incoming call to our queue is deemed abandoned. Apparently our wallboard is showing an abandoned call very quickly wo giving an agent time to answer the call. Is there a parameter that can be adjusted for this purpose? I googled a bit, but no significant help.
    Thanks in advance ....Dennis

    Hi Dennis
    There's no parameter in UCCX.
    The typical approaches to this are:
    - For historical reporting, discount calls that abandon within x seconds as listed on the CSQ Call Distribution report. Alternatively, create a custom report that does this automatically.
    - For a wallboard, you would need to have a wallboard that could be customised similarly. CCX puts the stats (including abandon count) per CSQ in the 'realtime' CSQ table designed to be used by wallboards. You would need to bypass this and use a custom query against the historical tables to get such a calculation.
    Regards
    Aaron

  • Change Timer Class Delay time

    Is it possible to update the Timer Class Delay time while it
    is running. I want to update it using the slider component however
    it doesn't seem to update. I even stop the timer on the THUMB_PRESS
    event of the slider that restart it after it is changed. Doesn't
    seem to work that way either. Any Ideas?

    I figured it out. Instead of setting a variable speed in the
    event handler function for the slider I direclty changed the timer
    delay variable to equal the slider value. I feel dumb now but it
    works great.

  • Como crear un vinculo en una celda que al clicarlo abra un archivo pdf ubicado en el mismo ordenador, gracias

    como crear un vinculo en una celda que al clicarlo abra un archivo pdf ubicado en el mismo ordenador, gracias

    Los números sólo se puede vincular a un sitio web o un correo.
    [Translated from English to Spanish using Google Translate]

  • Como crear mas de un SP TransactionNotification

    Hola Expertos, me pueden ayudar informandome como crear mas de un SP_Transaction_Notification
    quiero crear uno donde no me deje hacer un Recibo de production si la cantidad a entregar es mayor que la cantidad planificada
    Gracias,

    Tiene que ir abajo del otro, solo eso.
    IF @object_type = '00022' --CONTROL SERIE OC
    BEGIN
         IF @transaction_type = 'A' or @transaction_type = 'U'
         BEGIN
         SET @Num=(
    SELECT  COUNT(*) 
    FROM         OPOR AS T0 INNER JOIN
                          OCRD AS T1 ON T0.CardCode = T1.CardCode
    WHERE     ((T1.GroupCode = 101) AND (T0.Series = 16) OR
                          (T1.GroupCode = 107) AND (T0.Series = 33))
    and T0.DOCENTRY=@list_of_cols_val_tab_del
              IF (@Num>0)
            BEGIN
              SELECT @error = 101
              SELECT @error_message = N'Error en la Serie (Nacional - Extranjero'
              END
         END
    END
    ----------BLOQUEO DE CREACION ARTICULOS SEGUN GRUPO
    IF @object_type = '4' --MAESTRO ARTICULOS
    BEGIN
         IF @transaction_type = 'A' or @transaction_type = 'U'
         BEGIN
         SET @Num=(
    SELECT     COUNT(*)
    FROM         OITM T0
    WHERE     ((T0.ItmsGrpCod = 103 AND T0.UserSign=22)
    ) and T0.itemcode=@list_of_cols_val_tab_del
              IF (@Num>0)
            BEGIN
              SELECT @error = 101
              SELECT @error_message = N'Ud. No Puede Crear Articulos con Este Grupo de Articulos, Revise'
              END
         END
    END
    att,
    Manuel Lazcano

  • Como crear una Admin para que la Página sea actualizada periodicamente?

    Como crear una Admin para que la Página sea actualizada periodicamente?

    Hola Efirvida.
    Para poder ejecutar una función cada cierto tiempo, primero tendrías que hacer un VI (Virtual Instrument) o programa que realizara esta acción, este sería similar a la imágen.
    En la cual la N será el número de veces que deseas que se ejecute la función, ms to wait indicará la frecuencia con la que se ejecutará la función. En este punto no olvides crear el panel conector de tu VI para indicar cuales serán las entradas y cuales las salidas de tu función.
    Posteriormente deberías crear un proyecto File>>New project, al que agregarás los VIs, funciones o programas con los que deseas trabajar, para hacer una librería dinámica o dll que puedas ocupar en otros lenguajes lo que puedes hacer es crearla desde el proyecto tal y como se explica en el siguiente tutorial:
    Creating a DLL from LabVIEW code
    Espero esta información te sea de utilidad
    Exito en tu aplicación
    Marisol

  • How to create timer to delay On/Off

    I am currently using the evaluation version of LabView to figure out if LabView is a good choice for an application I would normally use ladder logic for. I am trying to find examples on how to do the following, any advice would be appreciated:
    -Timer for delaying On condition
    -Timer for delaying Off condition
    -Counter
    -Latching circuit

    Hi agon,
    From my experience, the cRIO should definitely be able to do that - though that would of course depends on the specifics of your application. In order to properly evaluate this system, you would likely need hardware. Have you been in contact with your local field sales engineer or inside sales engineer in Austin regarding your interest? If not, feel free to send me a private mesage with contact information (name, e-mail, phone number, company) and I can get one of them to get in touch with you. They would have more information about this, but we could likely set up a demo or something similar so that you can get a good visual feel for how LabVIEW/cRIO works and how it could be scaled up to your application.
    A great resource for now is the cRIO Developers Guide: http://www.ni.com/pdf/products/us/fullcriodevguide.pdf. This discusses high-level benefits of the cRIO's Real-Time OS (namely determinism and thread priority setting) and FPGA (very fast, user customizeable logic, no VHDL programming, parallelism) and then details of how this is implemented in LabVIEW (which may or may not become too low-level depending on how familiar you are with LabVIEW).
    As I touched upon above, evaluating us based on your application description would be difficult without hardware to play around with or see in action. However, the Developers Guide will show you how we communicate with I/O on a RIO and an idea of control code you can implement.
    Rahul B.
    Applications Engineer
    National Instruments

  • Windows XP SP3 and Time Capsule Delayed Write Failed

    I am having difficulty getting my MacBook Pro to back up to my Time Capsule.
    TC is 1TB.
    Works fine with OSX.
    XP SP3 on wireless network allows full internet access and print sharing and also allows very small backups (i.e. one or two documents in a folder) without a problem.
    When I try to do a few folders (let alone a full back up) I get an error - Windows delayed write failed.
    As I can do small backups I think that this rules out a problem communicating with the TC and also any issues with the formatting of the drive (I have left it as it came from apple - although a right click on the drive states FAT32).
    I have a poor work around which is to use Macdrive to mount my OSX disc and backup to that. Reboot into OSX and let time machine take care of the rest.
    Very messy but also rules out a size problem and I suspect that this also rules out any problems with the backup utility (Microsoft XPs own)as I don't get the same error with this "networked" drive
    I have spent some time looking for ways to fix this and the windows support site suggested disabling a cache option under properties if you right click the drive. This option is not available for the TC as properties only give you information on the free space.
    I am now at a loss as to what to do to make this work

    Kappy,
    Thanks for taking to time to reply.
    I don't believe that the TC is FAT32 formated as it is working fine with OSX and I have not formated the drive from how it shipped from apple - which I guess is Mac OS Extended as you described - Have just checked and it is indeed Mac OS Extended (Case-sensitive, Journaled)
    What you suggest with winclone is effectively what I am doing using MacDrive (which allows me to mount the OSX disc in XP and write directly to it).
    Is there not a way to back up straight from XP without going via OSX (the literature on TC would suggest this is possible).
    I had looked at retrospect to use as a backup instead of XPs own but think I will have the same problem with disc caching. It is not that I cannot write to the TC (as I can in small sizes) its just that I get the error delayed write failed if I try to do a full back up.
    Message was edited by: Juan Quirk

  • Timer Vs Delay

    I'm nearing the end of a proof of concept project, and a teammate and I have been working on two separate custom workflows both which are required to run once a week continuously after start up. After dealing with the known issue with delays, my partner
    found information about the timer delay that can be set programmatically. With the top search result for 'delay vs timer SharepPoint 2010' not returning substantial results as far as best practices, I came here.
    In the business environment, for a weekly occurring workflow, is it better to use a delay action or a timer job?
    Thanks for your advice everyone!

    Hi,
    If it is a workflow, then I would go for workflow delay action. Rational for this approach is everything is on the site, I just need to use designer (if you wrkflw is designer based) and don't need to depend on Farm administrators.
    second reason is debugging, if there is any issue in Timer job, again it is very cumbersome to get the log and starting/stoping the timer job.
    third reason is it is much easier to create a workflow to run on specific time, little tricky though.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • Como crear una hoja de cotizacion  en mi iPad

    Como puedo crear una cotizacion en mi iPad. Que programa necesito. Solo tengo numbers

    ¿Puedes proveer mas detalles de lo que quieres hacer? ¿Es la presentación que es importante? Por las plantillas incluidas en Numbers, se puede ver lo posible. Si es parar imprimir, prefiero usar tablas en Pages, aunque sus tablas no se permiten formulas.

  • Como crear una Nueva Sociedad en SapB1 8.8

    Buen Dia amigos.,
             Estoy intentando crear una nueva sociedad en SapBO 8.8 pero en la ventana inicial al hacer click en el boton modificar no me muestra el boton Nuevo. como puedo hacer .? Gracias de antemano.

    La Cruz, hasta en donde entiendo lo que necesitas en crear una base de datos nueva y asi poder configurar la misma para una empresa, si es asi lo que tendrias que hacer es ir a Gestion/seleccionar sociedad/ y en la parte derecha al centro secuentra la opcion de nuevo, Claro tienes que tener los accesos para poder realizar esta operacion.
    Espero sea lo que necesitas para poder iniciar esta nueva empresa.
    Saludos

  • Como crear un instalador de CVI

    Hola buenas tardes necesito crear un instalador basandome en un projecto que se realizo en CVI... alguien sabe como realizarlo.
    Gracias

    Hola Elba!!
    Como te dijo Wolfgang, existe un capítulo dentro de la ayuda de LabWindows/CVI dedicado a la distribución de aplicaciones desarrolladas en este mismo software. Para acceder a esta información, puedes seguir los siguientes pasos:
    Help >> Contents tab >> Using LabWindows/CVI >> Managing Projects >> Building a Project >> Distributing Applications
    Espero que te sirva!!
    Saludos,
    Anuar R.
    National Instruments México y Latinoamérica
    Ingeniería de Aplicaciones
    www.ni.com/soporte

  • Como crear un archivo ejecutable en labview?

    estoy trabajando con la version 9.0, como puedo crear un archivo ejecutable? intente con la opcion Buil Application pero el archivo que me crea no lo puedo abrir en un pc sino tiene instalado el labview

    Buenos Días Jhx,
    Cuando creas un Ejecutable con LabVIEW es indispensable tener instalado tanto los drivers que utilizaras como el Runtime Engine.
    Cuando instalas LabVIEW se instala el RunTime Engine, por eso te funciona el ejecutable.
    Te dejo la liga para descargar el RunTime:
    Este es para la versión 2009 SP1: http://joule.ni.com/nidu/cds/view/p/id/1600/lang/en
    También puedes agregar el Runtime desde el Application Builder al generar un Instalador:
    Te dejo un tutorial: http://www.ni.com/white-paper/3303/en
    Saludos,
    Luis Fernando
    National Instruments Cono Sur
    Ingeniería de Campo y Consultoría
    http://chile.ni.com/

Maybe you are looking for

  • DDIC View

    In SAP which view we cant use in program?Why? What is use of projection and Help view?

  • Mod_plsql cache(?) problem

    Hi all, I've a strange problem. I created a procedure like this: PROCEDURE test IS l_session VARCHAR2(100); BEGIN INSERT INTO sessions( session , timestamp ) VALUES ( dbms_random.string('x',20), sysdate ) RETURNING session INTO l_session; COMMIT; htp

  • Added a book without registering with an id, now cant download ebook

    Hi, so I installed adobe digital editions and authorised without an id. I downloaded my ebook and found that I couldn't transfer to my ereader and had to create an adobe id. So i did that but now I cant open the book and get "The vendor account you e

  • Bank account currancy

    The local and system currency for the Database in questions is in AUD.  A EURO bank account has been in operation for quite some time. A USD transaction was posted to this bank account / GL.  Ever since this time, the cumulative FC value is * and doe

  • Embed an external view into a tabbed menu

    Hi All, I'm a beginner in WebDynpro Java. Could you please help me to embed an external view into a tabbed menu in WebDynpro Java? Please help with your solutions. Thank you. Regards, Sari