Sub - VI is not enter the loop

Hi im woring on a project that needs PWM signal with a variable frequency, the thing is the PWM vi works but when I used the PWM as a sub - VI in another program for some reason any apparently did not enter the for loop inside the vi PWM of ideas why or how to fix this? It really seems a trivial thing, but I really don't understand. its like im calling a method that has a loop in it but it is not this loop

The calendar and the waveform are both a bit off.  something like this works better

Tags: NI Software

Similar Questions

  • While not entering the cycle...

    because the procedure has not executed the process...
    While not entering the cycle...




    create or replace
    Procedure metodo_inventario (tipo_inventario varchar2)
    is
    shopping of cursor's select id_tp_movimiento
    of
    where State = 1
    and fecha_Factura = (select min (fecha_factura)
    of
    where State = 1);

    number of;
    date of pl_fecha_factura;
    number of pl_numero_factura;
    number of pl_id_tp_movimiento;
    pl_id_tp_movimientos NUMBER;
    number of pl_id_producto;
    number of pl_cantidad;
    number of pl_vlr_unitario;
    number of pl_vlr_vairable;
    number of pl_vlr_peps;
    number of pl_vlr_upes;
    number of;
    number of;
    number of pl_vlr_promedio;
    number of pl_vlr_variable;
    number now;

    Begin
    pl_vlr_promedio: = 0;
    pl_vlr_peps: = 0;
    pl_vlr_upes: = 0;
    : = 0 ;
    : = 0 ;
    CONT: = 0;
    -pl_id_tp_movimientos: = 0;
    -pl_id_tp_movimiento: = 0;
    DBMS_OUTPUT. Put_line (' < <-Se acabo declarar las variables-> > > ');
    DBMS_OUTPUT. PUT_LINE ('-');
    -If (tipo_inventario = '% PEP') then

    Open shopping;
    DBMS_OUTPUT. Put_line ('el Ahmed - cursor > > > ');
    shopping of FETCH in plid_tp_movimiento; _ *
    while shopping % loop*.
    DBMS_OUTPUT. Put_line ('Acaba ingresar al cursor-> > > ');
    DBMS_OUTPUT. Put_line ('Abre el Ciclo Mientras');
    DBMS_OUTPUT. Put_line (' are pl_id_tp_movimientos ' | pl_id_tp_movimientos);
    DBMS_OUTPUT. Put_line (' are pl_id_tp_movimiento ' | pl_id_tp_movimiento);

    Select min (FECHA_FACTURA)
    min (NUMERO_FACTURA)
    in pl_fecha_factura, pl_numero_factura
    of
    where State = 1;

    Select id_tp_movimiento
    in pl_id_tp_movimiento
    of
    where numero_factura = pl_numero_factura;


    -If (pl_id_tp_movimiento = 'COMPRA %') then
    If (pl_id_tp_movimiento = 4) then

    Select FECHA_FACTURA
    NUMERO_FACTURA
    ID_TP_MOVIMIENTO
    ID_PRODUCTO
    AMOUNT - amount
    VLR_UNITARIO - vlr law
    , (AMOUNT * VLR_UNITARIO)-total of vlr
    IN pl_fecha_factura
    pl_numero_factura
    pl_id_tp_movimiento
    pl_id_producto
    pl_cantidad
    pl_vlr_unitario
    pl_vlr_variable
    of
    where NUMERO_FACTURA = pl_numero_factura
    and State = 1;

    Select the amount, vlr_unitario
    in pl_cantidad, pl_vlr_unitario
    of
    where State = 1
    and numero_factura = pl_numero_factura;

    estado set update = 0
    where numero_factura = pl_numero_factura;

    : = pl_cantidad +;
    pl_vlr_variable: = pl_vlr_peps + pl_vlr_variable;
    DBMS_OUTPUT. Put_line (' only goes insertar information-> > > ');

    insert into c_inventario_final (FECHA_FACTURA, ID_TIPO_MOVIMIENTO,
    VLR_UNITARIO, E_CANTIDAD_PRODUCTO, E_VLR_FACTURA, S_CANTIDAD_PRODUCTO.
    (Pl_fecha_factura, S_VLR_FACTURA, IF_CANTIDAD, IF_VLR, ESTADO_FACTURA values)
    pl_numero_factura, pl_id_tp_movimiento, pl_id_producto, pl_cantidad,
    pl_vlr_unitario, pl_vlr_variable, pl_vlr_variable, 1);

    CONT: = cont + 1;

    DBMS_OUTPUT. Put_line ('number of vuelta goes->' | suite);
    end if;
    end loop;
    Close shopping;
    -end if;

    -end if;
    exception
    while others then
    dbms_output.put_line (SQLERRM);
    DBMS_OUTPUT. Put_line (' Hay Corregir error...');
    -> PROCEDURE OF GENERACIÓN INVENTARIO MEOTDOS...
    end;


    I appreciate your attention and offered cooperation...
    Martinez Salazar Reynel...

    Nice day...

    Looks like you ask why your procedure never entered IN a loop. If so, the answer woud be as follows:

    select id_tp_movimiento
    from c_factura_aux
    where estado = 1
    and fecha_Factura = (select min(fecha_factura)
    from c_factura_aux
    where estado = 1);
    

    does not return a lines. Try to run the SQL above and make sure that table has rows with State = 1 and at least one of these lines is NOT NULL fecha_factura value.

    SY.

  • Hello my MacBook Pro model (MacBook Pro (15 inch, early 2011 am Dubai bought the Sryalsh C02FD2CPDF8 number and I am in Iran that MacBook Pro not enter the device screen when I turned on the pink vertical lines can be seen, the problem is restless))

    Hello my MacBook Pro model (MacBook Pro (15 inch, early 2011 am Dubai bought the Sryalsh C02FD2CPDF8 number and I am in Iran that MacBook Pro not enter the device screen when I turned on the pink vertical lines can be seen, the problem is agitated and it is not difficult to work with him because I like and what I should I do?))

    Serial number C02FD2CPDF8V

  • Can not enter the parameters of the BIOS on my Qosmio F30-112

    Dear lovers of Qosmio,

    Since I have updated Bios version 3.60 - winning, I'm not able to access my BIOS. I turn on my laptop while pressing ESC I get SYSTEM CHECK. Press [F1] to enter the bios. I press F1 , nothing happens, I pressed it several times the same thing. It's not like my Qsomio f30 - 112 made problems or anything else I want to be able to access my bios, who knows.

    Can you please help. by the way I tried 100 times > _

    Dear Hamid is very strange and at the same time stupid situation. I don't really know what the problem is here. Computers laptop Toshiba usually have 2 different BIOS versions. One is defined as Toshiba BIOS and secondly is Phoenix BIOS. Your Qosmio definitely has this version of the Toshiba BIOS and you can enter the BIOS settings using the keys F1 ESC.

    If possible try to call the service authorized in your country. If you can not enter the BIOS settings you need of some explanation expertise. If you will get some info useful please share it with us.

  • Satellite L310 - I can not enter the Bios settings

    Dear team,

    I have a toshiba that is always on warraty.
    Is there anyway you can help me.

    It ceased to operate effectively. It does not exceed the Bios.
    By that I mean you reach the Bios screen, but you can not enter the Bios settings.

    Details
    model: toshiba Satellite L310

    What exactly do you say: you reach the Bios screen, but you can not enter the Bios settings?
    The BIOS is secured by password or what?
    You see a splash screen of Toshiba for short time?
    Is it possible to start the Windows operating system or to recover the laptop?

    Please publish more details!

  • I have a genuine copy of Windows xp professional that I bought, when I enter the serial number it does not enter the letter "N".

    I have re-formatted a computer for my friend, boiught a genuine copy of windows xp pro, but when I have bin and enter the serial number on the last block of numbers it will not enter the letter "N", so I can't validate the copy I have... why?

    I tested the keyboard and the letter "N" works perfectly

    N is a character not allowed in the Windows product key - check the label again.

    Where did you purchase this license?

  • I used "msconfig, in an attempt to speed up my laptop. I did something wrong and I can not enter the first 13 items, only the trial version. I'm on vacation and he would like you could give me a temporary serial number fo three weeks please. Phil M

    I used "msconfig, in an attempt to speed up my laptop. I did something wrong and I can not enter the first 13 items, only the trial version. I'm on vacation and he would like you could give me a temporary serial number three weeks please. Phil McMillan

    To the link below, click on the still need help? the option in the blue box below and choose the option to chat...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Serial number and activation support (non - CC) chat
    http://helpx.Adobe.com/x-productkb/global/Service1.html ( http://adobe.ly/1aYjbSC )

  • Can not enter the alphabetical letters in redemption code... only numbers. Œuvres for thin keyboard everywhere else on my iMac.

    Can not enter the alphabetical letters in redemption code... only numbers. Œuvres for keyboard very well everywhere else on my iMac.Any suggestions?

    Redemption Code http://helpx.adobe.com/x-productkb/global/redemption-code-help.html

  • still not entering the first CC of the Cloud, how can I burn a DVD

    still not entering the first CC of the Cloud, how can I burn a DVD?

    See: http://forums.adobe.com/thread/1238080?tstart=0

  • I broke iphone6, sim is out and cannot get pictures because I can not enter the password please help.

    The phone always connect to my macbook, but it won't download my photos because of not being able to enter the access code (the screen is broken and won't turn on). I tried everything I found on the internet including the three third party apps "valuation", which none showed any given on the phone - the SIM card should be in?

    nexusnz wrote:

    The phone always connect to my macbook, but it won't download my photos because of not being able to enter the access code (the screen is broken and won't turn on). I tried everything I found on the internet including the three third party apps "valuation", which none showed any given on the phone - the SIM card should be in?

    Sorry its too late for you back up or save your data if you are unable to enter the password for your phone.

    The only option you have is if you backup icloud, go to a Terminal Wifi known as your home and a plug to a power source and it automatically backs up your phone.

    It is why you save or import your photos on a regular basis and not in times of crisis.

  • Can not enter the on Satellite L450D-119 recovery partition

    Hello

    I have a problem to access the recovery partition on my HARD drive. My laptop crashed after incompatible software with a dongle braodband. I managed to uninstall the software in safe mode but when I went to reboot the laptop went to startup repair and t could not solve the problem.
    Now I want to recover the system, but when I enter "repair my computer via the F8 boot menu I go as far as to enter the type of keyboard and then get the message:

    "You must be logged to access system recovery options. If you encounter problems to connect, please contact your computer administrator for help. Please click OK to restart the computer. »

    Widows won boot in any mode now so I don't know how I record in and to make things worse, I have no recovery disk. The operating system is windows 7

    Help, please!

    Jin

    > "you must be logged to access system recovery options. If you encounter problems to connect, please contact your computer
    > aid administrator.

    If I understand correctly, you have not put any password logging...

    > so I don't know how I register in and to make things worse, I have no recovery disk

    You can order it for money:

    [Recovery disk | https://backupmedia.toshiba.eu/landing.aspx]

    or get Win copy disc to install, all the drivers/utilities are available on the driver page

  • Can not enter the parameters of the BIOS on Qosmio F60 - 147

    * Hello *.
    * Please could you help.*

    Toshiba Qosmio F60-147 have a brand of laptop. Yesterday, I wanted to put a password on the BIOS and the field "Set supervisor password" save the password I wrote and I recorded went with the F10.
    But then I want to enter is F2 during startup to restart when I press. I can't enter a kind of is. But I still can't connect is Bios Update. We don't have a problem with the windows open on my computer that I use without problem. Is why not glue only one question. ?

    * I turned on the computer, I press F2 until the Qosmio logo, but I can't enter the bios and resumes.*

    When you start your laptop can see you in the lower corner of the message display press F2 to enter the BIOS...?
    What happen exactly when you press the power button / stop?

  • Satellite C660 - 2-3: can not enter the BIOS

    Hello

    I activated the quick start function that ignores the Logos and boots only from the HARD drive, but now I need to install a 32-bit Windows for the school, but I can not enter or reset the Bios.

    I tried every combination of buttons, I can think.
    Is there a way to delete this feature again without disassembling?
    Existing windows are not the original, so no toshiba software is installed.

    Thanks for help.

    Hello

    Have you tried pressing the F2 key while turning on the laptop?
    Press F2 repeatedly in line if this will not help press first "INS" and then F2 to enter the BIOS

    Good luck

  • I can not enter the pairing code (0000) of my headset bluetooth in windows 7

    I'm trying to connect a headset bluetooth with windows 7.  However, Windows 7 gives me a 6 digit code for pairing while the headset of pre-assigned pairing code is 0000. I tried to contact the manufacturer (in China) but without success. I also tried the Microsoft online help, but it does not show me how to enter the code for pairing manually. Here's what he said

    "Some wireless devices come with their own pairing code (sometimes called PIN or password). You may be asked to enter this code when pair you the device with your computer. Windows tries to select the best pairing method for your device and give you instructions that often include a pairing code. However, some wireless devices have their own code, you will need to find matching.

    Even if you know the pairing code, it can be difficult to get the code into a device. Some wireless devices. Others, such as Bluetooth headset, have not a keyboard or a screen.

    Here are some tips on how to find the code for pairing for a wireless device:

    • See the documentation provided with your device. The pairing code might be that are listed or printed on the device itself (often on the bottom). All wireless devices come with a pairing code.

    • If Windows encounters problems during the pairing process, it might give you the ability to create your own pairing code. If you choose this option, you don't need to use the code provided with the device.

    • If you have entered the code for the device, but Windows does not detect that you don't have, you may need to enter the code by pressing a key on the device labeled 'Enter', 'OK', 'Return', or something similar. For some devices, such as mobile phones, you may need to select a menu option to enter the code. If you can't find a button, button or menu option, see the documentation that came with your device or go to the manufacturer's Web site.

    • Make sure that you type the pairing code quickly enough. Usually, you only have 30 seconds before that the device or the computer stops its attempts to pair. The exact duration depends on the device.

    • Make sure that the device can display a pairing code. Some devices, such as headsets, might communicate readers Windows that they can display a pairing code, even if there is no place to display it. If this is the case, and Windows ask you to verify a pairing on the device code, try pairing with the device again. Windows should allow you to choose a different pairing option the next time you attempt to pair. If you are unsure which option to choose, see the documentation that came with your device, or visit the manufacturer's website.

    • If you're within range of other wireless devices, you might be unintentionally pairing with someone else device (for example, someone is close with the same model of mobile phone). Make sure that you are matching with the appropriate device.

    • If you are in a public place, there could be multiple devices with the same name in range of your computer. If you see multiple devices with the same name in the add a device Wizard, you can rename some of the devices in the list to distinguish them. To rename a device, right-click, and then click Properties. On the tab General, type a new name, and then click OK.

    • Windows may ask you to verify that the same code appears on your device and your computer. If these codes do not match, or if no code is displayed, you might unintentionally pairing with someone of another device. In this case, Windows may display an incorrect pairing code or no pairing code at all. Make sure that you are matching with the appropriate device.

  • You may need to place some wireless devices in a special pairing mode that allows computers or other devices to connect to them. Most Bluetooth compatible devices enter this mode when they are madediscoverable. Other wireless devices could it must be in pairing mode and is detectable. For more information, see the documentation that came with your device or go to the manufacturer's Web site. »

  • I am considered an option to type in the pairing code. Can you help me please

    Hello

    First of all, make sure that the Bluetooth device is compatible with Windows 7.

    See this link:

    Windows 7 Compatibility Center:
    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/

    In addition, check this link for help:
    http://Windows.Microsoft.com/en-us/Windows7/add-a-Bluetooth-or-other-wireless-or-network-device-frequently-asked-questions

    Kind regards
    Afzal Taher-Microsoft Support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • If doesn't work is not inside the loop for the registration of the declaration file?

    Hello!

    I have the following documents open in Photoshop:

    123456_mrp_ou. TIF

    869548_mrp_ou. TIF

    896589_mrp_in. TIF

    896589_mrp_ou. TIF

    .. and I have this if statement in a loop for to search for files with a specific 'pid' number and save them in the folder My Documents:

    var originalPid = 896589
    for(i = 0; i < app.documents.length ; i ++) {
          activeDocument = app.documents[i]
            if(activeDocument.name.substring(0,6) === originalPid) {
                    var standardSave = new File('/Users/constantincerdan/Documents/' + activeDocument.name)
                    activeDocument.saveAs(standardSave, TiffSaveOptions, false, Extension.LOWERCASE)
    }
    }
    
    
    

    It did not find the two files and save them when I run. However, the loop without if statement runs very well and saves all the documents in the Documents folder:

    var originalPid = 896589
    for(i = 0; i < app.documents.length ; i ++) {
          activeDocument = app.documents[i]
                    var standardSave = new File('/Users/constantincerdan/Documents/' + activeDocument.name)
                    activeDocument.saveAs(standardSave, TiffSaveOptions, false, Extension.LOWERCASE)
    }
    
    
    

    How it works with an if statement so that it saves only the two?

    Any help is very appreciated!

    You are comparing apples to oranges, you need to compare strings.

    originalPid = 896589;

    alert (typeof originalPid);

Maybe you are looking for