data without a loop

I have a communication series VI to communiate with some radios.  I send a message to the radio and receive a response I can see about the return of 150 people's Republic of CHINA.  I wanted to move the indicatiors LED outside of the loop, but when I do the data that is generated in this loop never leaves the while loop.  Any ideas on why I can't leave the while loop?

This is basic 101 of LabVIEW and data flow programming.

A node will only return data once the node is complete.
A while loop or a for loop will only return data on the wire once the loop has completed all of its code and stopped.

Our time loops do not seem to be stopped, a FAKE is to send to the conditional stay Terminal.

Tags: NI Software

Similar Questions

  • Anyway to save the data in a loop without using shift register or feedback loop

    Hi all

    I've been thinking, is it possible to save data in a loop to the next iteration without the use of a shift register or a feedback loop?

    I need the possibility to reload the data within a loop from a file of lvm, but I want to use the same data until I have load some new.

    The reason why I don't want use the node registry or feedback shift is due to speed, although I don't know if the registry change

    in fact moves all the data of one register to another, or if it is stopped until a change data occur.

    I want to reuse data medium and large (6 measure of strength, pressure 2, 1 flow channels) of about 10 s data in each file with samplingsrate of 2 kHz...

    In my testing program, I have several CPU demanding computations and 3D graphics, so I want just to minimize the CPU loading as much as I can for each part of the

    software...

    I am enclosing a small VI to explain what I mean.

    I have now, I shouldn't use the express VI and I'll change that as well - it's just a proof of concept!

    Hope you guys can help me better understand this shift register...

    Thank you!

    -Tommy

    If the speed is the name of the game, go with the flow (data) and stick to a shift of registers or feedback node.  No data is moved, their job is to do pretty much exactly what you describe.  Any other solution, control/locals/globals will imply a copy of the data, and then you will have problems with speed.

  • Pass data to another loop event loop

    I'm trying to find a simple way to pass data to a loop of events for use elsewhere.  Could someone explain to me why my example below block (code attached)?  I feel that I must be missing something simple.  Also, I would rather avoid queues, if possible, because they seem unnecessarily complex.  Thanks for your help!

    The second loop will not run until the first is done. Use the performance highlighting and you can see. You can use a local or a vi to register the data in. Here's a quick example with the help of a local.

  • Produce data of a loop with a structure of the event

    I'm relatively new to Labview programming (as discussed in my program below). I found a vi online which collects data from an analog USB card to 9237 bridge. The upper part of the vi is which collects the data. The original place the output into a chart, but I changed it to a digital indicator.

    The lower part, trying to get the operator to use the start, stop, buttons to interact with the system to reset. I used an event structure to do this. It all works well, except the event that the value of the load of data (from the loop above) cells. I want to follow up on the new value continuously, but is only once. All other features work fine. Can someone explain how I would best accomplish this?

    Any help would be apprciated.

    Why do you use a queue to pass data to a loop at the other?  The reason why it doesn't work once, it is the lower loop will wait until an event has occurred.

    I would eliminate the queue.  Wire the Total in a property for the total value (signalling) node.  That will trigger the occurrence for Total: change value event.

    Don't read property nodes in the upper loop when you have indicators and the son here to read from.

  • Access blackBerry Smartphones to backup data without using a phone smart blackberry. How does this work?

    I had a Blackberry 9700 and I made a back-up via Blackberry Protect App. My Blackberry is stolen and I want to transfer all data (approx. 600 phone numbers) from the back-up to my PC or to my Samsung Galaxy SII that I can borrow temporarily from a friend. Bottom-line: I need access to my back-up data without using a Blackberry device. How does this work?
    

    Hey Sourbag,

    Welcome to the community of BlackBerry Support Forums.

    You will need a BlackBerry to access these backup information. There is no way around it in BlackBerry Desktop Software.

  • Watch out for updates of creative cloud; delete data without authorization

    A serious bug in a recent update to the creative Office Cloud app deletes a folder at the root of Mac by removing the first of what it finds, in alphabetical order. This could be some data not Adobe important, as your record of revisions, following editions of all published documents (not only in Adobe applications). There are workarounds and Adobe has released the update, but he was present on my Mac, but I think that my permissions prevents damage. Backblaze users have been affected.

    Here's some info and a workaround:

    http://arstechnica.com/Apple/2016/02/warning-bug-in-Adobe-Creative-cloud-deletes-Mac-user-de data without warning.

    Adobe rather vague mea culpa of sorts:

    http://blogs.Adobe.com/adobecare/2016/02/12/creative-cloud-desktop-on-Mac-update-issue/

    A new cloud creative desktop downloaded this morning which has corrected this problem.  Quick Fix

  • Use the case of the Cluster data without DRS storage store?

    Can someone tell me please the use case of the Cluster data without DRS storage store?

    Virtually no,.

    The only one that is useful is the aggregation of resources of data warehouses in a cluster data store. But it is aggregation of resources in its crudest form. When you create a virtual machine and the use of a cluster as the destination data store, you must always select the data store that will store the virtual machine.

    Storage DRS off =

    No calculation of initial investment

    No space load balancing

    No I/O load balancing

    No rule affinity VMDK

    No maintenance mode

    For this purpose a group of data without active DRS storage store is a kind of a data store folder.

  • Please let me know how I can add a new column with a constraint not null, table already has data, without falling off the table... Please help me on this issue...

    Hello

    I have an emp_job_det with a, b, c columns table. Note that this TABLE ALREADY has DATA OF THESE COLUMNS

    IAM now add a new column "D" with forced not null

    Fistly I alter the table by adding the single column "D", if I do, the entire column would be created with alll of nulls for the column DEFAULT D

    ALTER table emp_job_det Add number D; -do note not null CONSTRAINT is not added

    Second... If I try to add the constraint not null, get an eoor as already conatained null values...

    (GOLD)

    In other words, if I put the query

    ALTER table emp_job_det Add number D NOT NULL; -THROWS ERROR AS TABLE ALREADY CONTAINS DATA

    So my question is how how can I add a new column with a constraint not null, table already has the data, without falling off the table

    Please help me on this issue...

    Add the column without constraint, then fill the column. Once all the rows in the table are given in the new column, and then add the constraint not null.

  • Stars marks the beginning or the end date without affecting a primary constraint

    I'm working on 4 project consists of some 225 thousands of activities on p6v7 Primavera. All four EPC and supply projects are interconnected. I get the mark of the Star (*) at the start or end date without affecting any primary obligation. These activities are logically follow constraints also gives no relevant dates and negative float. I cannot import excel sheet too make any changes to my projects, it shows memory. Can someone confirm how many activities takes in charge the Primavera? There is no filter at the level of the WBS code, I need to put the filter at the level of the WBS code so that I could see that the activities that fall within these WBS. The UDF, I defined at the level of WBS code also not shown to global, how WBS UDF activity? I want to glue the print screen on this forum but impossible...

    Hello

    In P6 client, there is no filter available for view of WBS, so you play with the filters of activity only according to your needs...

    And change overall WBS UDF feature isn't available in client P6... If you can not any calculation or changes...

    What are all the limitations of primavera P6 customer.

    See you soon...

  • Why there is no data type that stores only date (without the part of hour)

    Hi all

    Is there a particular reason to not have a data type that stores only date (without the time part) in ORACLE - I'm asking this because the DATE (without a time) is a type of data very frequently used in any application.

    Thank you.

    884476 wrote:
    In fact, I was reading about the types of data...

    We have numbers with details. According to the argument above it is not necessary. We need only a default type NUMBER.

    It depends on. Much of the work that we do, we only create just like NUMBER and don't worry precision. However for financial purposes, a clarification for the monetary values of the application can be very important.

    In the same way do all the varchar2 (4000) character data type. Why we would require an option to specify the length... ?

    Because you can limit the size of the string that can be stored.

    I see what you're saying, but that's just the way it is. Why Oracle would need to confuse the issues by having several types of data to store the type Date and DateTime requiring an explicit or implicit conversion to be necessary, or provide an indicator of accuracy against the date where this indicator of precision would take of additional storage space on something that is already only 7 bytes.

    There will be internal historical reasons why it has happened this way... but really there is no need to worry.

  • Download data without mapping

    We received a file that must be downloaded in Essbase by FDM, and columns and lines inside consist of dimension members that appear in Hyperion planning.

    We can download the data without creating a mapping in this case?

    Hello

    You must create an entry in the mapping that is SIMILAR for each dimension where both the source and the target are * (wildcard).

    When the data is imported in FDM she fills the fields in the tables of data such as ACCOUNT, ENTITY, segment UD1 etc. It then uses the mapping tables to fill in the translated example target ACCOUNTX, ENTITYX, UD1X etc. If you do not have this *: * mapping then when you import data in FDM he let these target fields empty and this are the ones that are used when you export data from FDM for loading in the system target (Essbase in your case).

    NB. target blank fields is also what causes the mapping error screens should appear when you import data manually to FDM (following the 'fish') by using the web client.

    There are examples of the latter as map entries in the Administrator's guide if you need.

    Hope this helps
    Stuart

  • County of days between two dates without weekend

    Hello
    I need a solution in the query or another thread, which returns the number of days between two dates without considering the weekend (Saturday and Sunday), I have a column of type Date, and return need in the form of a column HH hours and days in another column.

    Concerning
    Jonas

    Hi and welcome to the forum.

    Don't forget you can do a search on this forum.
    Your question has been asked before.

    Some other tips:

    http://asktom.Oracle.com/pls/asktom/asktom.download_file?p_file=6551242712657900129
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:185012348071

  • Facing problem in the recording of data without overlapping in loop for

    Hello

    I am facing problem in writing data withou overlap if I run the outer loop for the 2 times or more, and inside the loop, I make table in a way that I want to, but when I try to compile this table with record temperature I am not able to do. Please guide me through ths.

    Thank you

    Hnagpal

    Himanshu salvation,

    To start reading your matrix of the second line, you can use a table of Index function once you have loaded the table of your spreadsheet file. The function Array Index lie in the range of functions under functions > programming > Board Index. The help of LabView is very useful to explain how to use this function.

    With regard to the accuracy of the numbers when read you the spreadsheet file that you read is formatted in fractional chain, since form you it converted into a mixed string before saving. In order to recover all the precision, read the worksheet as a string and then convert it to a string using a string Fract/Exp to fractional numbers conversion function. This feature is on the range of functions for String > String/Number Conversion > Fract/Exp string in number. The help of LabView is also very useful for explaining the operation of this function.

    Best,

    Dan Nelson

    Technical sales engineer

  • extract the data of a loop for

    Hello

    I wrote a program that controls an active supplier to increase the current from 0 to 50 A, during the iteration of 1000. This current passes through a coil and form a variable magnetic field. A Gaussmeter is used to measure the field. My goal is to register the domain for each iteration. I added the Gaussmeter initial for loop program so that I can read field corresponding to each current momentary. My problem is how to extract a table that contains fields from the loop of 1000 registered and save it. I really appreciate it if you will guide me.
    Thank you very much
    Hadi

    Hello!

    I understand from your code, you get the values as a string? (substring, 2 and 3 of substring substring)

    In my opinion the best way to do it without the refactoring of the code is to create a queue with data type to string. See attachments (excerpt of VI and VI contains exactly the same code but I saved the VI for the version of LabVIEW 8.6).

    For future projects, consider using the http://www.ni.com/tutorial/7595/en/ stacked (or flat) State Machine sequence Structures are really hard to understand for people other than the developer.

    It is always much easier to share code that uses excerpts from VI http://www.ni.com/tutorial/9330/en/

    Please, let me know if it helped you

  • Display of the data without knowing the columns.

    Hello

    I want to display data AS that OF EMP TABLE USING plsql.

    7499 "ALLEN SALESMAN" 7698 ' 20 / 02/1981 ' 1600, 300, 30

    Without knowing the column emp TABLE I want to display data.i have tried, but does NOT...

    DECLARE

    CURSOR c1 IS SELECT * from all_tab_columns WHERE table_naMe = 'EMP ';

    CURSOR c2 IS SELECT * FROM emp;

    v_column_name varchar (200);

    BEGIN

    I'm IN c1 LOOP

    FOR j IN LOOP c2

    v_column_name: = 'j' | i.column_name;

    dbms_output.put_line (v_column_name);

    END LOOP;

    END LOOP;

    END;

    Kind regards

    John

    Hi John,.

    Maybe this can help you:

    create or replace procedure prc_show_rows ( table_in varchar2 )
    is
      CURSOR c1 IS SELECT * FROM all_tab_columns WHERE table_name = upper (table_in);
      type table_output is table of varchar2(32000);  -- this can be a problem with large rows
      work table_output;
      v_statement varchar2(2000);
    BEGIN
      --
      v_statement := 'select ';
      --
      FOR j IN c1 LOOP
        v_statement := v_statement || j.column_name || ' || '' '' || ';  -- may be you need some more formatting with appropriate to_char clauses
      END LOOP;
      --
      v_statement := rtrim ( v_statement, ' |''') || ' from ' || table_in;
      --
      dbms_output.put_line ( v_statement ); -- not necessary, only for testing
      --
      execute immediate v_statement
         bulk collect INTO work;
      --
      for i in 1..work.COUNT loop
        dbms_output.put_line(work(i));
      end loop;
    END;
    /
    
    exec prc_show_rows ( 'emp');
    exec prc_show_rows ( 'dept');
    

    concerning
    Kay

Maybe you are looking for