Redefinition of data values

Hi, I have developed a .vi to produce the optical power in mW of an optical fiber.  Fiber optics has built in the detector optics tap/picture producing an output voltage.  I need this tension in correlation with the optical output intensity at the end of the fiber.

How it works.  As I increase the power of the laser in increments of 10%.  The maximum values of mV and mW are saved.  And these values must be placed in the blank tables that feed 1D.VI interpolation.

However I must decrease, in increments of 10% to 100% (for the hysteresis curve), I have to close the .vi and open it after that I did the decrement.  Is there a way to simply reset the .vi after I incremented or decremented the laser.  I tried to do (see case .vi structure) but what I found is that the graphics are reset to zero, but the maximum values remain the same value as before resetting, this may be OK for the increment but not for the decrement.

It would also be nice to use the maximums for the increment and the minimum values for the count, however, the minimum value is always zero.  Can it be worked the minimum value to match the values after a reset.  So ideally I would not be reset to zero, but to say the current values of the iteration immediately after reset.   I think so?  Does make sense?

PS. I use LV 8.5

Hi Steven

I am Engineer applications that will work on your request for your vi resetting, if I understand your request, you take readings of your device, the analysis of your data, and then write in an actions file, and then you are looking to reset the values on your vi. May I ask when in your exercise, you would like to reset occur? Or you are looking for the reset to occur because of a user action?

From what I see you have the good idea to use property nodes, so I would look further into these with you and have found some examples using these methods that should help you with the development and labor as a tool of good reference. I'll add links to this post, but I have converted the files to LabVIEW 8.5, so that you can open files vi and attached in a ZIP file.

Programmatically restart example LabVIEW VI - http://decibel.ni.com/content/docs/DOC-4747

"Administrator mode" with references and the nodes property - http://decibel.ni.com/content/docs/DOC-13606

The use of knots of property on a http://decibel.ni.com/content/docs/DOC-5571 graph/two-axis Graph-

I had a few problems with the opening of your vi, where I've now solved but could I ask what tools do you use to create your tasks?

If you can back to me with some answers to my questions if I can continue to make suggestions, that would be great.

If you also want to look at the examples to familiarize themselves with the uses of property nodes.

I look forward to hearing from you soon

Thank you

Tags: NI Software

Similar Questions

  • Can I use data value references with a functional overall?

    Can I use data value references with a functional global?  I am trying, but it causes problems:  I run the attached VI with "new DVR" selected.  Then I run it again with "return array" and I get the error 1556: "The reference is invalid. This error might occur because the reference has been deleted."  It seems to have forgotten the DVR, but I thought it should be stored in the shift register.
    
    Another odd thing:  In my VI, if I try to connect the wire shown in "something strange", then the type changes (from U16 array to DBL), i.e. it doesn't recognize the type referenced by the DVR.
    
    I want to pass a very large 4-dimensional array between parallel loops with a functional global.  To avoid memory problems, I want to use a DVR and in-place element structures.  If that's not allowed in Labview, I will try passing it through a user event or notifier.  Any problems with those alternatives?
    
    Thanks.
    

    I received a response from an engineer applications OR on this subject, and it seems that it is perhaps a problem with Labview.  They are working on it, so I'll go ahead and close this discussion.

    Thanks for the help,

    Allan

  • Using 'New data value reference' in a loop

    Hi all

    I just read on the data value references (DVR?) and I'm trying to use them with overall functional (see table).

    I don't think that I'm just doing.  The final goal is a producer/consumer nickname.  My concern is that I don't feel the implementation of the new primitive data value reference and re-stuffing the result in the FGV, should occur in each loop.

    Of course I could "spread" data with a single gueue element (where the queue of new data would take place each loop).  I just thought that I would play with them.

    Beavercreek wrote:

    I think that we defend the same point, but I can't seem to understand why this does not work the way I expected.  I discovered the DVR (and queues) as a pointer, simply a way that the other vi can know where the data is located.  The data that we are after is here.  So, why Ch1 does not work in the data_reader.vi?

    If we can get Ch1 to work data_reader without re-creating and re-writing of the reference in the FGV each pole (what does Ch2), we find no more what is wrong with my vI or I'm going to learn something that is still beyond me.  I hope to hit me in the head this afternoon still

    You are missing a fundamental idea: the function you call creates a reference that points to a specific value. To actually interact with this value (read/write), you need to use the structure of the International preliminary examination. At this time what you are creating a single reference for ch1 (which do you nothing with) and creation of multiple references to ch2 (where at each iteration that you replace the reference in the FGV, so you basically lose the old reference), so instead of having two DVRs, you really N + 1 DVR (where N is the number of iterations of the loop runs).

    For your code works the way you want, you only need to create two digital video recorders (probably before the loop), then bring them inside the loop and use the structure of the International preliminary examination with nodes in R/W DVR to set the value in the DVR.

    For example:

    Other problems with the code, but this deal the DVR issue.

  • Data value of journal - broken?

    Hello

    Is there a known issue with 530 FDMEE pick up the value of data for journals? FDMEE insists on hit method < entity currency > (when loading via 'load reviews').

    I bounded by data values of the indicated such location in the Administrator's guide - < entity currency >; < entity Curr Adjs >

    Default value - < entity Curr Adjs > journal in Application settings target.

    If I put the data values from the location in charge of magazines< entity Curr Adjs >, < entity Curr Adjs >fine, but who will obviously cause other problems.

    Thoughts?

    Well Yes, if you have installed the 1st data value not to be the currency of the entity. FDMEE will load your file txt as newspapers in HFM.

    Test and see :-)

  • Number of days since 31/12/1979 converting a date value?

    Hi all

    I'm not an expert in oracle sql and I hope that someone could help me.  A column of a table is titled BHS_KDTE_SEQU.  This column has 111616 lines and the values stored in these areas are the number of days since 31/12/1979.

    When I write a select statement, how can I convert to get the date value since 31/12/1979 instead of the number of days?

    Thank you in advance!

    Hello

    f429ff94-4133-48E0-AE1C-afcb148d3c2f wrote:

    Hi all

    I'm not an expert in oracle sql and I hope that someone could help me.  A column in a table is called BHS_KDTE_SEQU.  This column has 111616 lines and the values stored in these areas are the number of days since 31/12/1979.

    When I write a select statement, how can I convert to get the date value since 31/12/1979 instead of the number of days?

    Thank you in advance!

    Then

    1 means January 1, 1980,

    2 means January 2, 1980,

    ...

    31 January 31, 1980, means

    32 means February 1, 1980.

    ...

    366 means December 1, 1980,

    367 means January 1, 1981,

    and so on?

    Here's one way:

    SELECT DATE ' 1979-12-31' + bhs_kdte_sequ AS dt

    TABLE;

    When you add a DATE d and a NUMBER n in Oracle, the result is the DATE n days after days.

    I hope that answers your question.

    If not, post a small example of data (CREATE TABLE and INSERT statements) and the exact results you want from these data.

    Check out the Forum FAQ: Re: 2. How can I ask a question on the forums?

  • Display content based on comparable date values

    I hope someone can help with this one.

    I'm used to using something like this:

    <?php if ($row_rsProductA['LastUpdated'] > 0 AND $row_rsProductB['LastUpdated'] > 0) {  ?> Content to display if Product A and Product B have both been updated. <?php } ?>


    But how can I do to display the content according to which the date value is the most recent?

    I tried this:

    <?php if ($row_rsProductA['LastUpdated'] < $row_rsProductB['LastUpdated']){ ?> Content to display if Product A was updated more recently then Product B. <?php } ?>


    But it doesn't seem to work.

    If someone could post how to achieve this goal, which would be very much appreciated.

    Thank you.

    First, your comparison operator is pointing the wrong way. If A is more recent than B, then it is greater than B, no less.

    Other that that, we do not have enough information to see the problem. You can provide more explanation and code.

    Dates are stored in this format? AAAA-MM-JJ

    This is the right way to store dates in the database, and they must be stored using the date data type.

  • How can I set a time stamp for the setCreationDate(Date value)?

    Hi all

    My underlying database column has a DATE data type that needs of the data and the time stamp. When you use the following code to set a date for setCreationDate(Date value) the date is set, but there is no timestamp.

    Here is the code:

    protected void create (AttributeList attributeList) {}

    Super.Create (AttributeList);

    Begin

    Date currentDate = new Date();

    DATE creationDate = currentDate.getCurrentDate ();

    setCreationDate ((Date) creationDate);

    End

    }

    Can't wait to hear.

    James

    java.sql.Timestamp timeStamp = new java.sql.Timestamp (System.currentTimeMillis ());

    dateTime oracle.jbo.domain.Date = new oracle.jbo.domain.Date (timeStamp);

  • Missing data value on the export

    I use FDM v11.1.2.2, and I get an error during the export step. The message export shows that there is no value for the record. I put the data value for the location as < entity currency >, and I don't know why the dimension value is missing from the dat file that is produced. The adapter is FM11X-G6-A. I don't have any scripts in the application.

    Anyone seen this before?


    Range: 2, error: cell invalid for the period Jan.
    Actual; 2012; Jan; YTD; 2891_DIVN; FFS; [ICP no]; [None]; OM; LOAD;-182.49
    > > > > > >


    Error message in the error log
    * FdmFM11XG6A Runtime Error Log entry to start [2013-23 / 01/11: 54:06] *.
    -------------------------------------------------------------
    Error:
    Code of... 10002
    Description... Data loading errors.
    Process... clsHPDataManipulation.fDBLoad
    Component... C:\Oracle\Middleware\EPMSystem11R1\products\FinancialDataQuality\SharedComponents\FM11X-G6-A_1016\AdapterComponents\fdmFM11XG6A\fdmFM11XG6A.dll
    Version... 1116

    Identification:
    ... The user xxxxxxxx
    Name of the computer... XXXXXXXX

    Connection of FINANCIAL MANAGEMENT:
    Name of the application...
    Name of the cluster...
    Field...
    Connect status... Open connection

    Check the .dat itself and see if the value is there. There is a bug where the user HFM error log does not display the data value. The .dat should be printing If it is defined in the location. If it is printed in the .dat, the line can be an invalid intersection.

  • Model of how APEX handles data (values)?

    Reference {: identifier of the thread = 2486655}

    I am trying to get a model of how APEX handles data (values). There are several places (?) data (values) that may exist. Or so it seems. I'm trying to understand how these work - to put all the pieces together.

    Question:
    (A) where data can be?
    (1) in the database
    (2) for the session
    (3) rendering - and then displayed on the screen, if a value displayed - but not in the session
    (4) in perhaps (?) a few (?) memory work pool but different from the rendered page of values, I see on the screen?
    (5) other?

    Why I think that it's relevant?
    Question:
    (B) attended the session different from that made, then when the code runs, the values and values that (rendering or session) if he runs against?

    And maybe the answer is, "You don't understand what is happening." Yes, "exactly!" Where the question.

    Best wishes
    Howard

    Hello

    If you like to have 'default value' in session state, use the calculation.
    And as you've noticed, you need to before calculation of the item is made to get the same "default" session state and the screen.

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Oracle how to assign a date value in a parameter declaration

    How can I assign a date value to a parameter declaration in SQL?

    Here are my existing script.

    CURRENT SITUATION:

    select distinct as summary ' iCash EAD error Summary", count (*).
    AAA. BKS_ICASH_EAD_ERRORS
    where creation_date > to_date (' 26/05/12 08:50 "," mm/dd/yy HH24 ')
    Summary group


    I want to assign the date I'm looking for a parameter and use the setting in my query.


    OBJECTIVE:

    DECLARE
    pCreateDate DATE;

    exec: pCreateDate: = 5/26/12-08:50 ';

    select distinct as summary ' iCash EAD error Summary", count (*).
    AAA. BKS_ICASH_EAD_ERRORS
    where creation_date > to_date (: pCreateDate, "mm/dd/yy HH24 '")
    Summary group

    Hello

    In SQL * Plus, you can do this:

    VARIABLE     pcreatdate     VARCHAR2 (20)
    EXEC           :pcreatedate := '5/26/12 8:50';
    
    SELECT    summary          AS "iCash EAD Error Summary"
    ,       COUNT (*)          AS "Total Count"
    FROM        aaa.bks_icash_ead_errors
    WHERE       creation_date  > TO_DATE (:pcreatedate, 'MM/DD/RRRR HH24:MI')
    GROUP BY  summary
    ;
    

    'GROUP BY summary' means that you will get a line of output for each distinct value of the summary. He has no need of SELECT DISTINCT since the GROUP BY is already ensuring that the lines are separate.

    There is no variable binding DATE in SQL * Plus, so you must use a VARCHAR2.
    If you do something similar in PL/SQL, you can use a DATE variable. Make sure that you do not call TO_DATE on something that is already a DATE.

    Published by: Frank Kulash on June 26, 2012 14:01

  • How can I add days to a Date value in a Script time?

    How can I add days to a Date value in a Script (XPATH) time?

    XPATH:

    Add Date:

    xs:dateTime($yourCurrentDateVar) + xs:dayTimeDuration($yourDuration)
    

    Difference in date:

    move "fn:days-from-duration(xs:dayTimeDuration(xs:date($yourCurrentDateVar) - xs:date($yourPrevDateVar)))" to $diff;
    

    You did not mention the version of the Framework, you can take advantage of the Business Service (BS) to perform Date calculations, for example, for FW2.2.x, you can use BS: C1-DateMath with such options as the 'Resistance' to add to the Date, "DIFF" for Date-Diff and FW4.x, you can use BS: F1-DateMath with options such as "F1AD" to add to the Date etc.

    Find out more about XPATH herefunction.

  • How to validate the Date value in the text column

    Hi all

    I entered DATE value in the element of text field (Char Data Type), now how do I validate, the entered date is valid or not.

    Thanks in advance.

    Well, the easiest would be to make the part of DATE data type.

    Another possibility is to try to convert the value to a date in the WHEN-VALIDATE-POINT-trigger, as

    DECLARE
      dt DATE;
    BEGIN
      dt:=TO_DATE(:BLOCK.ITEM);
      -- if code comes here, the date is valid
    EXCEPTION
      WHEN OTHERS THEN
        -- seems to be no valid date
        MESSAGE('Error');
        RAISE FORM_TRIGGER_FAILURE;
    END;
    

    Published by: Andreas Weiden on 19.12.2010 12:23

  • epubcheck is unable to validate the date value ID CS 5

    Hello

    I applied for an application with Apple to distribute my ebook on their iBookstore. In the specifications of Apple he says my 'Must' epub file past epubcheck 1.0.5. I downloaded epubcheck and run the code in the Terminal. There was a minor hyperlink error, which I fixed, however, I can't get rid of the following error.

    epubcheck 1.0.5

    ERROR: Users/Digital/Desktop/XXXX-eBook.epub/OEBPS/content.opf(2): value date "is invalid, YYYY [-MM [-DD]] should

    Thinking it might be a mistake to epubcheck program I have minimum new version...

    epubcheck 1.1

    ERROR: Users/Digital/Desktop/XXXX-eBook.epub/OEBPS/content.opf(2): date value "is not valid. The date must be in the form YYYY, YYYY-MM or YYYY-MM-DD (e.g., "1993", "1993-05", or "1993-05-01"). See http://www.w3.org/TR/NOTE-datetime.

    I did some research and found this fix:

    Troubleshooting metadata 'date' of the epub

    ()http://ebw.co/kbase/creating-epub-from-indesign/after-indesign-export-to-epub/add-metadata( )

    If you see your epub with epubcheck 1.0.5 version or later, you get this error message:

    ERROR: title.epub/OEBPS/content.opf(2): date value '' is not valid, YYYY[-MM[-DD]] expected

    To set the date: in the section of your content.opf file metadata, replace this code

    <dc:date/>

    with this


    <dc:date>2010-06</dc:date>

    This date is an example, of course. Change that to your release date. (If you have not a < dc:date / > tag, simply add the line.)

    So now the question: why does ID CS 5 export the date correctly, and how to open the opf file to insert the corrected code? Is there another way - or I have missed to insert a date somewhere in my User.ID file. If so, where do do this?

    Thank you.

    You are right. An EPUB of CS5 of the victims of the epubcheck file will always report a failure because InDesign does not write metadata date that is necessary.

    Books like "EPUB Straight to the Point" document methods of Elizabeth Castro to solve this in the EPUB file. I hope that the next version of InDesign will be able to generate a success through epubcheck without manual intervention.

  • Error: Please enter the date value in the correct format DD-MON-RRRR

    Hi all
    First of all, I am 100% not learning financial oracle no technical information. I'm trying to run a report: - the calendar does not appear in order for me to choose the date - not to mention that when I enter the date IE 10/09/2010 or on 09/10/2010 the system gives me this error "" error: Please enter the date value in the correct format DD-MON-RRRR ".
    Please help me to solve this.

    Thank you

    Please enter date in format 12 October 2010.

    Kind regards
    http://www.oraerp.com

  • Fill a table with date values with a fixed increment

    Hello

    I want to fill a table with a date column with the increment of a fixed value date values. The start date is selectable, the increment is selectable and the number of records is adjustable as well.
    For example
    start date is 1905-Jan-02, 15:00 (DD-MON-YYYY, HH24:MI:SS)
    increment is 1 hour and 5 minutes
    None. records is 10
    then the dates in the table must be
    REC 1 1905 - Jan - 02, 15:00
    REC 2 1905 - Jan - 02, 16:05
    REC 3 1905 - Jan - 02, 17:10
    ....
    REC 9 1905 - Jan - 02, 23:40
    REC 10 1905 - Jan - 03, 00:45:00

    We are working on 11 GR 2, the number of records can be between a few hundred and a few million and they must be ordered with Crescent of time (maybe to have a whole id).
    Any ideas how to fill this table (simple and fast?) using sql / plsql are welcome.

    Thanks, Hannes

    Something along the lines of:

    SQL> alter session set nls_date_format = 'YYYY-Mon-DD HH24:MI:SS';
    
    Session altered.
    
    SQL> select trunc(sysdate,'HH')+((rownum-1)*(1/24)*(65/60)) as dt
      2  from dual connect by rownum <= 20;
    
    DT
    --------------------
    2010-Aug-26 16:00:00
    2010-Aug-26 17:05:00
    2010-Aug-26 18:10:00
    2010-Aug-26 19:15:00
    2010-Aug-26 20:20:00
    2010-Aug-26 21:25:00
    2010-Aug-26 22:30:00
    2010-Aug-26 23:35:00
    2010-Aug-27 00:40:00
    2010-Aug-27 01:45:00
    2010-Aug-27 02:50:00
    2010-Aug-27 03:55:00
    2010-Aug-27 05:00:00
    2010-Aug-27 06:05:00
    2010-Aug-27 07:10:00
    2010-Aug-27 08:15:00
    2010-Aug-27 09:20:00
    2010-Aug-27 10:25:00
    2010-Aug-27 11:30:00
    2010-Aug-27 12:35:00
    
    20 rows selected.
    

Maybe you are looking for

  • instead of a Fox, I get a video

    What is an "update" or malware?

  • The search for the best way to transfer data from the iPad 2 iPad Pro 7.2

    I want to forward all the Info/settings of my iPad 2 to a new iPad Pro 7.2

  • Pavilion g602305tx: portable optical drive failure

    When I insert a disc windows says pls insert the disc and then automatically eject the tray. -DVD burner gets power, but not reads any disk.hp g6 2305tx-like pavilion, I need to replace the drive or it's a motherboard problem? where can I buy origina

  • Time Machine crashes after leaving

    My Time Machine crashes after I open and then 'Cancel' to return to the desktop, even without the restoration of a file. The console displays a lot of mistakes for different files like this: 14/01/16 9:49:27.114 AM Finder [325]: layout error: error D

  • Library Syncing problem

    I recently started using music to Apple, and now all the songs I had in my iTunes library are averrable to use "online". It is more will allow me to sync my library on my iPhone, so I can only listen to my library in wifi or data. How can I sync my l