Calibratio​n

Hi.  I'm new to labview 2011, and I need to calubrate a power meter.  I am using an arduino and the Labview Interface for Arduino toolkit to aqcuire the data, then manipuylating it to get voltage, current and calculating power.  How would I     go about calibrating this?  All I want to do is have it Correct the offset if there is any if a button is pressed.  I have absolutely no idea how to do this or what I am doing for that matter.  I am attatching a copy of the labview code I have so far.  This works to my specs, but I just need to incoorperate a calibration algorythm in it.  Thank you in advance.
Attachments:
watthr meter.vi ‏233 KB

It may easier for you to use a state machine. There are lots of examples here on the forums. This is something to get you started. Basically you would have the following states: run, calibrate, wait disconnect, wait connect, get volts, get current, etc. Using a state machine makes it easy for you to do something like veryfy the battery is disconnected when the user says it is. (Of course don't do that if it is not part of your requirements - I'm just using this as an example)
To get user input you can use the prompt user for input express VI. I personally would use a subVI set to run as a dialog under File/VI Properties/Window Appearance. But the express VI might be quicker.
=====================
LabVIEW 2012

Similar Messages

  • Lack of color calibratio​n box in toolbox

    I have a photosmart d7360. It has been printing excessive greens in the grey area and the print quality pattern printout shows Lt Magenta as a magenta color and Magenta as a pale violet. The suggested solution from HP is as follows
    Click Start , point to Programs or All Programs , then HP , and click HP Solution Center . The HP Solution Center screen opens.
    Select the appropriate printer by clicking the corresponding tab at the top of the screen.
    Click Settings , point to Print Settings , and click Printer Toolbox . The Printer Toolbox opens.
    In the Printer Toolbox screen, click Calibrate Color .
    However there is no "calibrate color" box in the printer toolbox. I have downloaded the latest drivers and I run windows XP home.
    Any suggestions?
    JohnS

    Have an eye on this eBook for a crash course on color management:
    http://spyder.datacolor.com/scripts/ebook-en/Spyde​r_eBook_EN_final.pdf
    I use a Spyder4Pro myself and can recommend. It's very easy to calibrate multiple screens with this tool.

  • I am getting error -10086 while doing an external calibratio​n of PCI-MIO-16​E4 board.

    I am using Labview 6.0.2 with ni-daq 6.8.1 on windows 2000.

    I am pasting an answer that was asked a while back that may help answer yours.
    Title:
    Error 10086 When Using Calibate_E_Series Function to do an External Calibration.
    Problem:
    In this particular case, the customer was trying to do an external calibration on his E Series board using the E Series Calibration Fixture to connect a power supply and DMM to the board. He made the following NI-DAQ call, "Calibrate_E_Series(2, nd_ext_calibrate, nd_ni_sw_area, 6.1)", but received error 10086, "Invalid reference voltage".
    Solution :
    This customer was trying to use a power supply to provide the external reference voltage to calibrate the board with. However, a power supply cannot provide a steady enough signal for NI-DAQ to be able to narrow in on a value. A
    source 4 to 10 times more accurate than the board should be used, such as an actual calibrator.

  • Monitor calibratio​n problems after installing windows 8.1

    I have a hp envy m6-1105tx and right after installing windows 8.1 my monitor changed completely.
    When i have a photo open in photoshop tones, colors luminosity, gamma etc are all wrong. Before i never had problems, when i looked at a photo in photoshop and i will see the photo on a different screen it would be basiclally identical but now the photo in photoshop is much different than the actual photo, and this doesn't apply only to photoshop but to everything. I already try to do the calibration through the control panel but it didn't improve the situation, is there a way to get the screen back to the way it was before?
    Thanks

    Wehodancer, welcome to the forum.
    I checked for an updated driver for the video, but there is none for Win 8.1.  Therefore, I suggest installing the original driver for the video to see if it helps.  It may be that it was corrupted during the update process.
    Please click "KUDOS" if I have helped you and click "Accept as Solution" if your problem is solved.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • HP Dreamcolor Calibratio​n Solution (with LP2480zx)

    I've been trying to run the calibration application (version 2.2.0 on a 64 bit Windows 7 machine but have been receiving the same error message "Failed to read the prescriptions" each time the application launches.
    When I click "Ok" to clear the error message, the "Calibrate Display" window appears but the pull-down menu for the "Choose the Display Preset" list is completely empty.
    The LP2480zx's USB cable is properly connected and the monitor is connected to the computer via DVI.
    Has anyone experienced this or know the way around this issue? I wrote to x-rite, the makers of the Colorimeter but they replied that this was a software issue that had to be taken up with HP.
    Would appreciate any advice on this.

    Hello @1deadpixel,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I understand that when trying to calibrate your HP Dreamcolor Monitor you are getting an error stating "Failed to read the prescriptions". I suggest you use the HP Support document: Using HP Support Assistant (Windows 7) and ensure you ensure you REFRESH it. This should download and install any needed updates that you may have.
    Please re-post if you require additional support. Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • Origin location in a corrected image (using calibratio​n data)

    Hi there,
    I am using the vision toolkit to correct deformation in images.
    I am not using the dot grid template to let the software generate the calibration
    map, but instead use a set of points (which I can precisely define
    in the deformed image) and provide their respective "real world"
    coordinates. I can then apply this correction to other images.
    Up to now everything is fine.
    Now I want to overlay two sets of images, which are deformed
    differently (for instance, they represent the same object, but have
    been imaged in slightly different conditions). I
    can correct one set using the approach above, and the other separately, using
    its own separate correction, but I am stuck there.
    Each calibration/correction is characterized by a scaling factor and an
    origin coordinate. I need both to be able to overlay the two sets of images.
    I have chosen non-linear calibrations that preserves area and I figured a
    way to recover the scaling factor by computing the areas of all the square
    pattern in my set of calibration points (as computed in the original image), taking
    the average and then the square root of this average area: this gives the
    spacing between equidistant points in the corrected image.
    However, I can't figure out how to get the location of the origin in the
    corrected image. One of my calibration points is associated with position
    (0, 0) in the real world. However, this is neither its position (in pixel unit)
    in the original image or the corrected image. I need the latter. How can I
    obtain it simply (I can think of sophisticated ways to obtain it, but I suspect
    there might be trivial one).
    Thanks in advance for your answer.
    Sincerely,
    X.
    Solved!
    Go to Solution.

    Dear X,
    I'm not sure if this is the information that you are looking for, but take a look in the Vision Concepts Manual, page 3-10
    start»programs»National Instruments»Vision»Documentation»NI Vision»Concepts_Manual.pdf
    "If you specify a list of points instead of a grid for the calibration process,
    the software defines a default coordinate system, as follows:
    1. The origin is placed at the point in the list with the lowest x-coordinate
    value and then the lowest y-coordinate value.
    2. The angle is set to zero.
    3. The axis direction is set to indirect."
    If not, I don't know of a good way to recover the transformation between an original image and a correct image for a specific pixel. It would be one thing if it were a simple linear calibration, but we don't have access to the algorithm used to apply the nonlinear correction, which changes based on the locations of the distortion in the image.
    What are you looking for in overlaying the images? Are you doing a comparison?
    I don't know the constraints of your project, but one thing you could try is doing a pattern or geometric match for a unique feature in both of the corrected images that you want to overlay (one you know the location of, and that will serve to align the images properly), and then define the coordinate system based on that match.
    Hope that helps!
    ~Nate 

  • How to put in and get out (format and procedure)​the calibratio​n constants to/from EEPROM?

    I am trying to have an 'E-Series Factory Cal' and 'E-Series User Cal'. I want to be able to select/make my own calibration constants (user cal) and use them in the calibrating procedure. Does anyone have an idea on how to do something like that? I need to know how to pass these new calibration contants to a function (and which function), how to get them out, and what format do these constants need to be in.

    Yuliya,
    Consult the E series manuals. I have found them to be very useful for finding information of this sort. Unfortunately for you, it has been a long time since I have used E series cards, and don't remember the calibration procedures offhand. I do know that there are a lot of cal VIs in the DAQ palette that should be VERY helpful.
    Sorry I couldn't be of more direct assistance.
    Good luck

  • NI 4060 Procedure SQL-Error in Calibratio​n Executive 2.0

    hi,
    while trying to calibrate a PXI-4060 DMM module (procedure version 2.0) under calibration executive 2.0 following error is screened and the calibration fails:
    Error executing substep 'Post'. The following SQL command failed: 'SELECT RESISTANCE.ID, RESISTANCE.Resolution, RESISTANCE.Delay, RESISTANCE.AutoZero, RESISTANCE.Range, RESISTANCE.Test_Point, RESISTANCE.Error_24_Hour, RESISTANCE.Offset_24_Hour, RESISTANCE.Error_1_Year, RESISTANCE.Offset_1_Year, RESISTANCE.Error_Temp, RESISTANCE.Offset_Temp, RESISTANCE.TempFactor, RESISTANCE.Lower_Limit_24_Hour, RESISTANCE.Upper_Limit_24_Hour, RESISTANCE.Lower_Limit_1_Year, RESISTANCE.Upper_Limit_1_Year FROM RESISTANCE...'
    Native error code -2147217904 0x80040e10
    Mi
    crosoft OLE DB Provider for ODBC Drivers:
    [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 8.
    NI-DAQ 6.9, IVI-engine 1.83 and Test-Stand 1.0.3 are installed on the system. Even the calibration with an older version (1.1) of the procedure fails (ividmm.dll error message).
    When using calibration executive with E-Series modules the calibration can be performed without any error messages.
    How can we fix this problem? We appreciate your help.
    Best regards,
    Dipl.-Ing. Philip M. Fleischmann - CTO
    esz Elektronik-Service GmbH
    Max-Planck-Str. 16
    D-82223 Eichenau
    Phone: +49-8141-88887-39
    Fax: +49-8141-88887-77
    e-Mail: [email protected]
    http://www.calibration-support.com

    Hi,
    I'll have to research on this problem. I have seen it only once and haven't been able to reproduce it. What version of MDAC (Microsoft Data Access Components) do you have installed?. You can find an utility called Component Checker in the microsoft web site:
    http://support.microsoft.com/default.aspx?scid=KB;​EN-US;Q307255&
    Is this the first time you're trying to run this system?. Or, was it a running system?, if so, What changes were made?. Was LabVIEW or any other program installed?. What OS are you using?
    I did a search for "ividmm.dll" at www.ni.com. Try the solution presented here for the ividmm.dll error.
    http://digital.ni.com/public.nsf/3efedde4322fef198​62567740067f3cc/a22034dca3da035a86256a1b00641e2b?O​penDocument
    I'll let you know wh
    en I get more info.
    DiegoF.
    National Instruments

  • Looking for programmab​le EEPROM to store calibratio​n info

    My company is looking for an EEPROM or similar device that we can read and write to using RS-485.  We intend to store only a few KB worth of calibration information on it. In our benches we have 12 and 24 V power sources to power the device.  Does anyone here have any recommendations or any idea where we can find such a device?  Alternative method suggestions are also welcome.  We've never done anything like this and we're kind of flailing about looking for a solution.
    Tim Elsey
    LabVIEW 2010, 2012
    Certified LabVIEW Architect

    Anyone thinking about EEPROM and Calibration might also consider TEDS:
    What is a Transducer Electronic Data Sheet (TEDS)?
    http://digital.ni.com/public.nsf/allkb/40B522CC297​7D72786256E6A00814585
    Library (VIs)
    http://zone.ni.com/devzone/cda/tut/p/id/3468#toc1
    How Do I Program a DAQmx TEDS Task in LabVIEW?
    http://digital.ni.com/public.nsf/allkb/CE93FAB3AA0​3809686256F7A004AB8B0
    How Do I Create a Virtual TEDS for My Transducer/Sensor?
    http://digital.ni.com/public.nsf/allkb/B0B0FFA7203​ACC168625714300680CA0
    IEEE 1451.4 Sensor Templates Overview
    http://www.ni.com/white-paper/3468/en/
    Certified LabVIEW Architect
    Wait for Flag / Set Flag
    Separate Views from Implementation for Strict Type Defs

  • DAQmx Channel Calibratio​n on PCI-4472

    I am reading Analog Input signals from a PCI-4472 device and I need to calibrate the channels independently of each other.
    I am using DAQmx Create Channel.vi followed by a DAQmx Timing.vi followed by a DAQmx Start Task.vi and then in a while loop I have a DAQmx Read.vi that reads continous samples on a specified amount of time.
    I want to be able for the user to change calibration settings for the different channels before he/she starts the data acquisition process. I want to use the SVL Calibrate Sensor.vi but don't know where to place it on the block diagram. None of the outputs from the SVL Calibrate Sensor.vi can be hooked up to the DAQmx VIs listed above.
    How would I use the SVL Calibrate Sensor.vi to calibrate the different channels? I need to be able to set the coupling, excitation, weighting, and etc. on a channel per channel basis.
    Thank you.

    Hi,
    First of all, The SVL calibrate sensor is a stand alone functional VI and you do not have to connect it with any of the following, DAQmx Create Channel.vi, DAQmx Timing.vi or DAQmx Start Task.vi.
    Just double click on it and open its block diagram. You will understand what i am trying to explain
    I have attached a VI which you can use to perform cal on each channel with seperate config settings
    Just put this part of code inside a case structure and see to it that executes before your DAQ mx create channel to perform SVT calibration before your DAQ process
    Hope this helps
    Regards
    Dev
    Message Edited by devchander on 01-20-2006 11:21 PM
    Attachments:
    svt.vi ‏102 KB

  • IMAQ Copy function does not always copy Calibratio​n Informatio​n

    This only seems to happen on one PC in compiled form- works fine elsewhere. I wrote a trap to check for the existance of calibration information before the copy, and again after the copy to a newly created image. If the two disagree, the program breaks. The program breaks consistantly on one of my machines, but never on other PCs. Does anyone know what conditions can cause this to happen?

    Hello,
    Thank you for contacting National Instruments.
    I don't know of anything in particular that would cause the IMAQ Copy function to not copy the pattern matching information on one particular machine. For troubleshooting purposes, I recommend checking for any and all differences between the working machines and the non-working machine. For instance, check the versions of all software that may be used by the application (especially NI-IMAQ and IMAQ Vision). How do the systems differ in hardware? Are they all the same make/model of PC? Are they all using the same IMAQ board?
    Any differences you uncover may help us figure out what is causing this behavior. Let me know your findings so I can continue to assist you.
    Regards,
    Jesse D.
    Applications En
    gineer
    National Instruments

  • Able to do calibratio​n in labview ?

    i currently doin a temperature control system using labview whereby my thermocouple is connected a thermocouple amplifier, because i connect using breadbord so the value i obtain is quite far from the data sheet given, so i need to do the calibration in order to show the temperature at my control panel accuratey, may i know got the graph function in LabView 8.0 can help to calibrate it without doin the calibration manually . The manually is for example cook the water then take the note down every 10 degree of the temperature that rising and then plot the graph and linearise it. Another question is my temperature function icon shown floating when i inputing the signal voltage to my usb 6008, got anyway to make it constant?

    I think this can be done easily with in Labview it self by using scales. and then using that scale for the input voltage you want to measure. Se attached JPG of Measurement and Automation explorer where I have set scale to measure input from eddy current probes and also changed the scaled units to mm.
    Attachments:
    scale.JPG ‏76 KB

  • Motion calibratio always on (running in background)?

    i have an issue where motion calibration is constantly being used and it's running in the background for no reason.

    The crazy thing here is it will run properly if I allow it to run once, transfer the file and receive it, and let the program complete and teminate.
    If I attempt to set this class in a loop I get the thrown exception. I would really like to have this run in background and continue to run and not terminate after each Send and Receive. Is there a way to do this?
    The diagram for this would be:
    1. Run and wait for sender to send file.
    2. Receive the file and write it out to the local dirve.
    3. Notify the client the send was successful.
    4. Go back to sleep and wait for another file to be sent.

  • Pxi-4071 error on calibratio​n executive

    hi!
    i have this little problem with my NI calibration executive. The error says
    " Error-1071001424 occurred at Error-1071001424 occurred at ***configcalibratorandwait.vi
    Possible reason(s)
    Current Compliant Voltage Exceeded".
    Can you guys help me on this? I am calibrating this NI DMM PXI-4071. Please see attached captured error.
    thanks.
    ating

    popoi,
    Thanks for posting on the NI forums. I have a couple questions for you that should help us get to the bottom of the problem. 
    What version of Calibration Executive are you using?  You should be able to find this by going to the Help Menu >> About Calibration Executive.
    What Equipment are you using to perform the calibration? There is a list of equipment here.
    Is this the only board that you are having difficulty calibrating with Calibration Executive? 
    Thanks!
    Aaron W.
    National Instruments
    CLA, CTA and CPI

  • Signal express tc calibratio​n to daq assistant calibratio​n

    I ran some calibrations in Signal Express for K-type thermocouples. I didn't realize that those calibrations don't carry over to other NI programs. I would like those same calibration values to be used in the DAQ Assistant, rather than completing all my calibrations over again. Is there a way that LabVIEW can grab the Signal Express calibrations and use them?

    Hi Jdezman,
    I will try and help you with this aspect of hardware calibration.
    NI-DAQmx will allow you to do a system calibration. Once creating your task in signal express, there will be a 'Calibration' tab under the 'Thermocouple Setup'. This will direct you to the 'Calibration Wizard'. This Wizard is the same in both Signal Express and the 'Measurement and Automation Explorer' (MAX).
    There is a KnowledgeBased article which will guide you through this process:
    http://zone.ni.com/devzone/cda/tut/p/id/4224
    Hope this helps with your system calibration. Please let me know how you get on,
    Regards,
    Aaron. E
    Applications Engineer Team Lead
    National Instruments
    ni.com/support

Maybe you are looking for

  • SharePoint 2013 (Foundation) and Outlook Web Access WebPart (OWAPart)

    Hi, I've read most MSDN forum threads relating to this topic, however, I haven't seen my issue anywhere. We're running SP 2013 foundation, and I want to use the Outlook Web Access web part.  I followed the steps outlined here: http://blogs.msdn.com/b

  • Relation between Billing  line Item and Accounting doc entries

    Hi all when r line items in Accounting doc gets generated for a billing doc. for ex. if there exists a Billing Doc with 2 lines is there any relation to the item in the Billing Doc to the Accounting doc line items. thanks

  • Cross Company code posting is available for recurring payment setup?

    Hi All, I could not find the cross company code field for recurring payment setup with useing T code FBD1. Vendor is created in paying company code 1000, however, the rent has be booked to cross company code (1001) cost center (2000). So, while tryin

  • SQL: order of WHERE clauses important for performance?

    I wonder if the order of the WHERE clauses does affect performance or if the database optimize each query so that the order is irrelevant? Example: is SELECT * FROM Table1 WHERE (fast condition check) AND (slow condition check) faster than SELECT * F

  • Xdebug 2.1.3-2 and netbeans issue

    After upgrading to 2.1.3-2 I encountered issues with debugging php code in netbeans 7.2 (netbeans kept loosing socket). Downgrading back to 2.1.2-1 saved the day. I am curious if I am just alone and if anybody found the way how to fix it eventually.