Droite d'équation linéaire établie à partie d'une pente et d'un offset

Salut à tous.
Je précise déjà que je suis débutant sous labview et ayant un besoin de programmation, je me retourne vers vous pour avoir éventuellement des réponses mais aussi pour que vous me donniez vos sentiments sur le programme que j'ai réalisé.
Alors, je souhaiterai tracer une droite d'étalonnage (droite d'équation linéaire - y = ax+ b) à partir d'une valeur de pente et d'un offset (ordonnée à l'origine) rentrés par un opérateur. La droite est éventuellement affichée dans un graphe et ce serait pour corriger une mesure de température d'une PT100.
Merci à tous d'avance pour vos réponses et votre contribution.
Zipplie.

Hi Zipplie,
From what I see, I guess your code is working, so that's a good start!
As you are asking for advices, there are many ways to do what you are doing. As you are just doing an addition and a multiplication, I wouldn't use a calculator for that. Express VIs take a lot of space and you can't actually see what you are doing, you need to double click on it. (But they are useful when you are just starting exploring LabVIEW.) I would rather use basic mathematical function and work directly with arrays as the formula is the same for the two values of X. I have linked an example of what you could do (but as I said many solutions are available).
I hope this helps,
Charlotte F. | CLAD
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> "Du 11 octobre au 17 novembre, 2 sessions en parallèle : bien démarrer - approfondir vos connais...
Attachments:
droite d'équation.vi ‏13 KB

Similar Messages

  • FS that updates several lines in the table-part

    Hi!
    I use 2005A B1..
    Can i make FS that updates several lines in the table-part of the marketing doc? For example, i press Shift+F2 in the "Tax Code" cell of the 1st row of the doc, the rest of the lines in the table will have "Tax Code" also updated?
    Regards,
    David

    Hi,
    You can do this using formatted searches.  Please try the following:
    1.  Create a UDF on the 'Marketing Document - Title' called 'VATCODE'
    2.  Add a FS to the UDF with the following query
    SELECT T0.\[Code\] FROM OVTG T0
    3.  Add the formatted search to the Tax Code field in the lines with the following query
    SELECT $\[ORDR.U_VATCODE\]
    The key thing is when setting up the FS at line level you need to set it so that it Auto Refreshes 'When Field Changes' and not 'When Exiting Altered Column'.  The column will be the VATCODE UDF you set up earlier.
    Now if you add a few lines to your order and then select the VAT Code in your UDF by pressing Shift F2 then it will copy down to all the lines.  The only issue is that it will not automatically copy down to any lines added after you have selected the VATCODE UDF.
    I hope this helps.
    Regards,
    Adrian

  • Update Profit Center Field in CO Line item tables

    Hi,
    We are working on ECC6.0 NewGL with Real-time CO-FI integration for Cross Company Code and Cross Pofit Center.
    For those CO internal documents (like activity confirmation at production order) where there is no cross company code or cross profit center postings, no FI document is generated and hence table FAGLFLEXA is not updated. So, we wanted to take data from CO table COEP / COVP for these internal CO documents. However, there is no Profit Center field in CO line item tables COEP / COVP. We don't want to refer to Object Number (OBJNR) of COEP / COVP tables and take profit center from master table of cost centers, IOs etc..,as Profit center in the cost center, IO masters may get changed latter.
    I tried to generate a new report through report painter from structure CCSS, but Profit center is not defined as Charactericts there. Hence of no use.
    Can we append Profit Center field in CO line item tables COEP / COVP and update tatabase at the time of posting? Is there any risk?
    Please suggest any other alternative...
    Thanks,
    Bijay

    Hi,
    As per the standard process we can't derive PC from CO-internal Object...as per my knowledge.
    Better you can derive from IO-CC master PC ....if your question that it will change frequently then -no control can make.
    Regd,
    Kha

  • End line of table in XML Publsiher Report in EBS

    We report the invoice lines in a table with the row separator (horizontal) lines hidden. When there are more number of lines and this table goes for next page, then bottom line of table border doesn’t appear in the current page. It appears only once in the page where the table ends. We need this in each page. Any help?

    Got the modified template from you Kavipriya. It works.
    The solution is to add <?table-footer:?> at the end of the table.
    Thanks a lot.

  • How to set border lines in table and also in template in the smartforms ?

    How to set border lines in table and also in template in the smartforms ?
    As I have to create table with following detals
    total row = 3
    row1 = 3 column
    row2 = 6 column
    row3 = 9 column
    for 2nd and 3rd row data to be fetched using coding.
    so can anybody explain me what should i use
    Table or Template ?
    and I want the border like excel format.
    Can anybody suggest me ?
    Thanks
    naresh

    if the data is multiple i.e. line items choose table.
    if the data is single i.e. fixed choose template.
    Create table
    >  Draw u r no lines
    > choose option select pattern
    > select display framed patterns
    Choose u r required one.
    out lined, or full lined. u can choose option.
    same procedure to be followed for template also.
    with regards,
    Kiran.G

  • Premiere Pro CC-MediaEncoder : Reglage de sequence (composite en couleur linéaire) ?

    Bonjour, bonjour,
    Quelqu'un serait-il me dire à quoi sert cette option ?
    Reglage de sequence> composite en couleur linéaire (accéleration GPU ou qualité de rendu max, néccessaire) ??
    Je me demande si le fait que mon média encodeur me tape des 6 H d'encodage pour encoder une vidéo de 17mn qui ne comporte pas d'effet ne viendrait pas de là ?
    Vu que je ne sais pas à quoi sert cette option.
    Ahmotiond
    Hello, hello,
    Someone would tell me what is this option?
    Setting sequence> composite linear color (or GPU acceleration rendering quality max neccessary)?
    I wonder if the fact that my media encoder takes me 6 H encoding to make a video of 17mn which has no effect does not come from there?
    Since I do not know what is this option.
    Ahmotiond

  • How to view lines in table control after pressing vertical scroll bar

    Hi Experts, 
    I created table control in MPP, While design my layout I design table control with 12 lines(Fixed),  But I am moving my internal table values to table control. my internal table have more then 12 lines. My problem is I cant view my 13, 14th line in table control.  Could you help me in solve this issue?

    Please make sure that you have used the following code in the PBO
    DESCRIBE TABLE it_tab LINES tab_ctrl-lines.

  • White Lines in Tables

    I don't seem to be able to get rid of white lines between
    tables/cells on my websites. I have the borders set to "0" and no
    "Padding", etc. Does anyone have an idea of how to remove these so
    the cells blend together. You can see an example on the top graphic
    of this website:
    http://www.peterburnett.org/
    Thanks!

    > Looks to me like you have *table* borders set to "0,"
    and cell bordercolor
    > set to "0" (not even sure what that does - pretty sure
    the answer is
    > "nothing").
    It also would make your page fail validation!
    > You need to set the *td* (cell) borders to none.
    >
    > In CSS:
    >
    > td { border:none; }
    Not at all. Adding the cellspacing="0" will do the trick.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Tim G" <[email protected]> wrote in
    message
    news:ggka1n$hsh$[email protected]..
    > "Westsidebill" <[email protected]>
    wrote in message
    > news:ggk89j$fpf$[email protected]..
    >>I don't seem to be able to get rid of white lines
    between tables/cells on
    >>my
    >> websites. I have the borders set to "0" and no
    "Padding", etc. Does
    >> anyone
    >> have an idea of how to remove these so the cells
    blend together. You can
    >> see
    >> an example on the top graphic of this website:
    >>
    http://www.peterburnett.org/
    >
    > Looks to me like you have *table* borders set to "0,"
    and cell bordercolor
    > set to "0" (not even sure what that does - pretty sure
    the answer is
    > "nothing").
    >
    > You need to set the *td* (cell) borders to none.
    >
    > In CSS:
    >
    > td { border:none; }
    >
    >
    >
    > --
    > Tim G.
    >
    http://www.pactumweb.com
    >
    http://www.shortordersite.com
    >

  • White lines in tables after conversion

    RH8 and Word 2007
    I've just done my first successful printed document, and some of the tables (only some) come across with white lines above and below the text that's in them.  If I delete the text, the lines stay there.  I've tried everything in Word I can to get rid of them (these are single-cell tables that contain Tips and such, with shading and a single outside border), but nothing seems to work.  Could it have something to do with the way I'm formatting the tables in RH?  Like I said, it's only some tables, but sometimes I will copy one and paste it into another topic and change the text.  That's the only thing I do that I'm aware of that might be "unusual."
    Thanks!

    > Looks to me like you have *table* borders set to "0,"
    and cell bordercolor
    > set to "0" (not even sure what that does - pretty sure
    the answer is
    > "nothing").
    It also would make your page fail validation!
    > You need to set the *td* (cell) borders to none.
    >
    > In CSS:
    >
    > td { border:none; }
    Not at all. Adding the cellspacing="0" will do the trick.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Tim G" <[email protected]> wrote in
    message
    news:ggka1n$hsh$[email protected]..
    > "Westsidebill" <[email protected]>
    wrote in message
    > news:ggk89j$fpf$[email protected]..
    >>I don't seem to be able to get rid of white lines
    between tables/cells on
    >>my
    >> websites. I have the borders set to "0" and no
    "Padding", etc. Does
    >> anyone
    >> have an idea of how to remove these so the cells
    blend together. You can
    >> see
    >> an example on the top graphic of this website:
    >>
    http://www.peterburnett.org/
    >
    > Looks to me like you have *table* borders set to "0,"
    and cell bordercolor
    > set to "0" (not even sure what that does - pretty sure
    the answer is
    > "nothing").
    >
    > You need to set the *td* (cell) borders to none.
    >
    > In CSS:
    >
    > td { border:none; }
    >
    >
    >
    > --
    > Tim G.
    >
    http://www.pactumweb.com
    >
    http://www.shortordersite.com
    >

  • Not able to view more than two line in table control

    Hi all,
    I am not able to see more than two lines in table control. Although my table control height is 21...
    Please see attached pic and suggest me what to do.

    hi,
    You have to set the LINES property of the table control In the PBO of your screen, to the number of entries in the internal table.
    data: lv_line type i.
    DESCRIBE TABLE  gt_table LINES lv_line.
    table_control-lines = lv_line + 1.
    or else
    You can do two thing in table control properties check horizontal and vertical scroll options plus in PBO you can based on number of lines in internal table assign it to TC_ABC-LINES if no lines are there then add by default 20..10.. any number of lines as you want.

  • No of lines in table control

    Hi,
    I want to set the no of lines in table control as equl to no of rows in the base table.Actually i designed the table control with reference to a table.
    and i am able to display the no of rows of base table in the table control also.
    But the table control is also showing the blank lines,after displaying the complete set of rows of base table.
    I would like to have the no of rows in table control is equal to no of rows of the table.(I.E there should not be any blank lines at the end  of control table).
    If any body has any idea regarding this,Let me know something.
    with Rgds,
    Anil Kumar.

    Hi,
    The statement DESCRIBE TALBE <itabname> LINES <tabctr>-lines is required to adjust/link it with the data available in your program. Creating a table control with reference to a transparent table will only specify the columns and their types. To constantly adjust the table control with your program data, you need to issue statements to inform the screen interpreter about changes carried out by abap interpreter at runtime.
    Please correct me if I am talking out of context and you need to use the control in some other way.
    Regards

  • Invalid pc in line number table

    Hi,
    I try to decompile and recompile the class file and copy it back to the server getting the following error. I am using the latest Jdeveloper with OA , The ARU number is 5455514. I tried with few other classes, it works fine. Getting error for only one class (i.e. RcptTrxFListener). It's a telnet application for mobile devices.
    Can anyone help?
    Thanks
    Lalit
    [Wed Oct 11 05:39:59 CDT 2006] (Thread-10) SM_EXCEPTION: Exception occurred with user LALIT MISHRA
    java.lang.ClassFormatError: oracle/apps/inv/invtxn/server/RcptTrxFListener (Invalid pc in line number table)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
         at oracle.apps.inv.invtxn.server.RcptTrxPage.<init>(RcptTrxPage.java:552)
         at java.lang.reflect.Constructor.newInstance(Native Method)
         at oracle.apps.mwa.container.StateMachine.loadPage(StateMachine.java:1329)
         at oracle.apps.mwa.container.StateMachine.loadMenuItem(StateMachine.java:1541)
         at oracle.apps.mwa.container.StateMachine.handleEvent(StateMachine.java:926)
         at oracle.apps.mwa.presentation.telnet.PresentationManager.handle(PresentationManager.java:690)
         at oracle.apps.mwa.presentation.telnet.ProtocolHandler.run(ProtocolHandler.java:818)

    Hi,
    Have you solved this error? I'm encountering the same error. Please reply ASAP.
    OAF gurus, this is the error i'm getting..
    ## Detail 0 ##
    JBO-30003: The application pool (dev4.devorg.orgDVI21540devorg.oracle.apps.po.createpo.server.CreatePosAM) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ClassFormatError, msg=devorg/oracle/apps/po/createpo/server/CreatePosAMImpl (Invalid pc in line number table)
    Thanks in advance.

  • CCtr line item table

    Hi,
    Apart from CO line item table which is COEP, is there a table which is specific for cost center line items ?
    Thanks for your response

    Hi ,
    Checck for COEJ table apart from COEP which may help you.
    Best Regards,
    Abhisek

  • SPL -  Deactivating Line Item Table - Trx GCL3

    Hi.....
    We currently have SPL ledger line item table activated.
    That table is getting rather large and therefore increasingly costly in terms of performance and database cost.
    We believe it is not strictly necessary given that we have FIGL account line item tables to support the audit trail.
    In terms of deactivating - is it merely deselecting in Trx GCL3? Are there any implications?
    Thanks in advance....

    Hi,
    Yes.  You just need to uncheck the checkbox 'Write Line Items' in transaction code GCL2.

  • Controlling line item table

    Is there a controlling line item table?
    Moderator: Please, respect the rules and search SDN before posting

    Hi
    You can also look at COVP and COSP and COEPR
    Hope it helps
    Regards
    Dawn

Maybe you are looking for

  • Where can I find a tutorial about Show Folders Hierarchy?

    I have Permiere Elements 11 which also has the Elements Organizer as part of the program. And I have Photoshop Elements 10 also. The Elements Organizer with the video editing program is what I'm interested in though. I think my folder hierarchy is no

  • N95 can not sent text messages

    Hi, I have been using my N95 since UK release without a problem but now it is refusing to send texts. When I try to send one, it goes to my outbox with status 'Resend in...', tries a few times then fails telling me that the memory is full. I can stil

  • IPhoto '08 Events list

    What is the best way to obtain a list of names of all the iPhoto Events? Is there an appropriate AppleScript dictionary reference or is the only approach to write a hack script to pass a list of directory names from within the photo library package s

  • Nakisa OrgChart 3.0 SP1- Staged extracting only active employee

    Hi Experts, We have OrgChart 3.0 SP1 Staged environment. It extracts only active employees. Itu2019s not extracting other employee having other employment status (say inactive- employee who are on maternity leave for example). How we can set extracti

  • Create HDR with smart previews

    Currently, to create HDR images I select my images and choose "Edit HDR in Photoshop". Now that we can use smart previews to edit our photos on the go without having to have the full file with us, does this extend to creating HDRs?  I'm going to gues