Verification of the Batteries using Labview

I have a lot of batteries I buy and they say that their supposed to last 3 years. I wanted to make a program using a box USB-6009 and labview to test the battery life. Should which direction I go.

word505 wrote:

I just watched your vi. It seems good. I can set the time and Sate I want to test the battery so that I can add entry that would test how long the battery is on.  I'll follow your instructions. Thank you. I guess I'll have to add a few entries that will read the voltage and current of the battery so that it will print on an excel file.

glad I can help, please kudo who helped and mark as solution if resolved to let others know who have similar questions and problems here on the forum...

Yes, you will use the analog input Daq to read the voltage or current (necessary shunt resistance). trail of entry for "format in the file" extra traction and add the date off the coast of the ' get date / time string. I had the time and the tensions of AI related.

Tags: NI Software

Similar Questions

  • Retrieve the names of the measures of the stage using LabVIEW

    How retrieve you the names of the measures a digital multiple of the step using LabVIEW?

    I have built a vi to be called TestStand and will pass the "ThisContext', but the vi is not complie.  That's how far I got.  The vi is attached.  The error message is:

    "The method selected in the invoke node is invalid or no method has been chosen.  Click on the invoke node and select a method. »

    My vi is an attempt to write the code of

    Normal
    0

    fake
    fake
    fake

    MicrosoftInternetExplorer4

    / * Style definitions * /.
    table. MsoNormalTable
    {mso-style-name: "Table Normal";}
    MSO-knew-rowband-size: 0;
    MSO-knew-colband-size: 0;
    MSO-style - noshow:yes;
    "mso-style-parent:" ";" "
    MSO-padding-alt: 0 to 5.4pt 0 to 5.4pt;
    MSO-para-margin: 0;
    MSO-para-margin-bottom: .0001pt;
    MSO-pagination: widow-orphan;
    do-size: 10.0pt;
    do-family: "Times New Roman";
    MSO-ansi-language: #0400;
    mso-fareast-language: #0400;
    mso-bidi-language: #0400 ;}

    message.ID = 10653 in LabVIEW.  More precisely:

    Normal
    0

    fake
    fake
    fake

    MicrosoftInternetExplorer4

    / * Style definitions * /.
    table. MsoNormalTable
    {mso-style-name: "Table Normal";}
    MSO-knew-rowband-size: 0;
    MSO-knew-colband-size: 0;
    MSO-style - noshow:yes;
    "mso-style-parent:" ";" "
    MSO-padding-alt: 0 to 5.4pt 0 to 5.4pt;
    MSO-para-margin: 0;
    MSO-para-margin-bottom: .0001pt;
    MSO-pagination: widow-orphan;
    do-size: 10.0pt;
    do-family: "Times New Roman";
    MSO-ansi-language: #0400;
    mso-fareast-language: #0400;
    mso-bidi-language: #0400 ;}

    Dim MyStep ACE [step]
    Dim MyMeasurement As PropertyObject

    MyStep =
    seqContext.AsPropertyObject.GetPropertyObject ("Step", 0)
    MyMeasurement =
    MyStep.AsPropertyObject.GetPropertyObject ("Result.Measurement [0]", 0 ")

    MsgBox (MyMeasurement.Name)

    Can someone help me complete the vi?

    Thank you

    Thank you very much.

    A small change to the vi required.

  • Open the file using Labview 8.5 traditional NI VI

    Hello

    I want to open this VI I have attached below using the version of labview 8.5

    But when run the VI, the error message pop out as below:

    I suspect this VI to traditional aid OR component.

    How can I run this VI using my latest version of Labview?

    Thanks in advance

    Yes, you're right. This is the traditional DAQ VI.

    Install traditional DAQ 7.4.4 (WXP or W2000) and check that you activate LabVIEW support when configuring the installation program.

    PS: The LabVIEW 8.5 and traditional DAQ are not supported under W7. See here (OS<-->LV) and here (DAQ<-->LV).

  • Can I know how to control the robot using LabVIEW? My PLC is Omron CJ1M-CPU11-ETN21.

    Hello

    I am new to LabVIEW, and I need help with the configuration between LabVIEW and the controller. My PLC is Omron CJ1M-CPU11-ETN21. I have the DSC Module and I have an OPC server as well. I create tags or even used the shared variables to try to write to the output of the PLC, but it does not work. The configuration for the ethernet Powerline had done, and I can control the PLC using CX-program via the Ethernet module. May I know what are the problems?

    Kind regards

    prchin

    Check out this webcast I hope it will be useful. http://zone.NI.com/WV/app/doc/p/ID/WV-263

    Kind regards

    Kuhn.

  • Hide the Excel using LabVIEW Report Generation Toolkit or active chart legend

    Hello Eveyone:

    I'm working on tool report generation in labview and creat excle report. I create the chart in the report, but I can't hide the chart legend or change the font size using the report generation tools.

    I appriciate you guys time.

    Thank you

    Howdy!

    What version of LabVIEW Report Generation Toolkit you use? Did you take a peek at the .vi LabVIEW example column chart (Excel)

    and he looked at using the Excel insert graphical VI and Excel graphic Set do?

  • How to determine the length of the string when the string using LabVIEW MoveBlock pointer dereference

    Hello!

    Calling a DLL that returns a pointer to a structure consisting of a pointer to a string, a 32-bit integer and a pointer to another string.

    I managed to MoveBlock to return a consolidation of these three things, and which works very well.

    But now I need to read the two strings I have pointers to which are not fixed length. MoveBlock has a size of entry, but how to know how long channels are?

    Try this:

    ...\vi.lib\Utility\importsl\GetValueByPointer\GetValueByPointer.XNode

    Wire just a constant string to the Type of entry.  If I remember correctly, the draw of endpoint (assuming that the C strings) will be included.

    Sometimes I have just MoveBlock a byte at a time until I get to a null value or has specified maximum size.

  • Verification of the GB used in my storage

    How can I check how many gigabytes I used in my storage?

    You can easily see it in your desktop CC application.

  • stop the script with labview

    Let's say that I run a script using the "DIAdem"run script.vi"due to the demand of the user.  Later, the user wants to cancel because it took longer than expected.

    How to stop the script using labview tools?

    Jim

    Hi Jim,.

    It is possible, but not in the way I think you hope.  I don't know any way to end a VBScript script running in the DIAdem of the 'outside '.  If you have been watching DIAdem you could hit the key, but a subsequent application of LabVIEW goes in "Script stack" of DIAdem and does not run until the first VBScript happens naturally.

    Of course, you need to run all your calls of LabVIEW to Sophie in an asynchronous way, or does not.

    If you can do is set up each VBScript that you think you might want to abandon to periodically query a global variable of tiara, say "B9" and end of inside the VBScript if B9 = TRUE.  LabVIEW DIAdem (ToCommand) command interface will stack Script tiara, but variable interface of LabVIEW DIAdem (ToDataSheet) does not work.  If you can "poke" during execution of the first VBScript variable B9 of LabVIEW and influence its behavior, but only if and when this VBScript uses this variable (B9) get bitten.

    Of course, none of this helps if your VBScript is busy waiting for a simple VBScript command to run, and it helps only if your VBScript executes several activities, among which it can interrogate the variable (B9).

    Hope that helps,

    Brad Turpin

    Tiara Product Support Engineer

  • Strange behavior when using Labview to collect data from Tektronix oscilloscope tds8200

    I hit a wall in trying to understand this one. The problem I have is that my application will not start the oscilloscope when it should.

    I use an oscilloscope Tektronix TDS8200. My goal is to collect data from the oscilloscope using Labview waveform. First of all, my program initializes and configures the oscilloscope; This part of the program works very well.

    The second part of the program begins the acquisition of data with the function 'Tktds8k Start or Stop Aquisitions.vi', which is to press the button run on the scope. The function "tktds8k to Waveform.vi" is used and should ideally return data, which I connected to a waveform playback graph.

    When I run my program, the first part runs without a problem, but as soon as the program comes to the service get the waveform, the run button in the scope, which is green when running, turns off; the program then expires, and no data is collected.

    Here is where it gets weird. I went through the debugging to try to understand this point, and I put breakpoints on the beginning and get shape wave functions so that I could scroll through the last part of the program. The program continues with the departure function, and the button run in scope is green. The breakpoint for the function get the waveform is reached and when I press on continue, turns the Run button and turns it off then back on almost immediately. data are collected, the waveform graph appears and the program ends without error.

    I thought that the timetable could be the problem, so I did the program wait as long as five seconds between the functions of start and get the waveform and that did not work. I also tried to move the start function to before the configuration functions and remove start completely; no method worked.

    is there any ideas on why, the program works when I enabled breakpoints and isn't when breakpoints are disabled? I'm sure there is an easy solution, but I was not able to find a solution.

    I have attached a pdf that contains information about the functions of the Oscilloscope (tktds8k.pdf), and I have also attached my program.


  • Missing Sub VI during the opening of LabVIEW file

    When I open my main VI it is unable to find several Sub VI, but the missing Sub VI are supposed to be installed with NOR-DAQmx, that is installed. Among the missing Sub VI 'DAQmx Read', 'DAQmx Start Task', 'DAQmx stop mission' as well as a few others. I tried to open the VI using LabView 2013 and 2014 and have had the same problem with both. Any help is appreciated.

    Have you installed DAQmx after LabVIEW installation?

    You have selected LabVIEW support when installing DAQmx?

  • you want to send data using labVIEW to arduino using write visa and the process and to take action using arduino. A

    I want to send data using labVIEW to arduino using write visa and the process and to take action using arduino. After that, I want to arduino to send out necessary via a serial port to labVIEW which should be read using visa read and store in a chain. While I am able to write or read both individually, I can't do it consecutively. I used advanced read and write vi for checking my code, but nothing is helping. The wrong bed 'time delay before execution. " Please let me know where I can go wrong. Also is it possible to write code for hx711 using labVIEW

    1. you need not "\n" on your orders println().  This command adds an end of line character already in the message.

    2. you get the error because you have a loop around your reading.  After the first reading (well technically, the second because of you add an extra line end character), there is nothing left in the port.  As a result, you will get the timeout.

    3. you should really consider using a Structure of the event.  This way you just don't write and read when you press the Write button and you can also use the structure of the event to make the loop to stop.  I also go up to close the port inside the stop-> value Change event.

  • How to check the CPU usage and paging using LabVIEW

    Hi guys,.

    I build an application that is used to check the CPU usage and paging using LabVIEW. How can I do?

    any help, suggestions or advice will be greatly appreciated...

    Kind regards

    Prashant

    Hello

    If you plan to build your app for Windows, you can use .NET classes. (System.PerformanceCounter), there is a simple example with LabVIEW:

    C:\Program NIUninstaller Instruments\LabVIEW 2010\examples\comm\dotnet\SimpleTaskMonitor.llb

    Also, you have several screws that you can use to verify information about the processor.

    Kind regards

  • Go to the PHP website using Labview 8

    Hi people,

    I'm writing a vi LV8 to retrieve data from a Web site. The first site I've played with just had a text output so a simple:

    -OpenTCPConnection (for 'www.hpc.ncep.noaa.gov')

    -WriteTCP:

    -line 1: 'GET heat_index_MEAN/hitable_east.txt '.

    -line 2: "" Host: www.hpc.ncep.noaa.gov".

    -line 3:

    -ReadTCP

    It worked perfectly fine.

    But this isn't really the data I want. I want the data displayed on the Web site:

    http://forecast.weather.gov/MapClick.php?W0=t&W1=TD&W2=Hi&w3=sfcwind&w3u=1&W4=sky&W5=pop&W6=RH&W7=th... 96 & textField2 =-77.48167 & site = all & unit = 0 & dd = 0 & bw = 0

    But, when I try the same calls I get the error messages like:

    Query HTTP/1.0 400 Bad server: AkamaiGHost Mime-Version: 1.0 Content-Type: text/html Content-Length: 216 Expires: Sunday 12 August 2012 17:40:25 GMT Date: Sunday 12 August 2012 17:40:25 GMT connection: closeBad request

    Bad request

    Your browser has requested that this server could not understand.

    Reference #7.9f931160.1344793225.0

    I don't know enough about HTML or PHP to tell if I have a HTML or PHP problem; and what I have to understand to move forward. More precisely:

    -can you tell if it is a PHP or HTML problem in my code?

    -If Yes, which?

    -I can access a Web site (which uses PHP) LabVIEW?

    -what I have to learn more about PHP to proceed?

    -J' tried to send a command "OPTIONS" of HTML, but I received very similar eror messages (not a quesstion)

    -the site has an XML option that displays data as text/XML, but it also seems to use PHP, if I get the same errors with my code (not an issue)

    -any ideas on how to use labview to read data from this site?

    Thank you, in advance...


  • by using labview co-simulation, how to control the PWM market factor in multisim

    I am new to the use of Multisim with LabVIEW using co-simulation. I would like to ask if there is a PWM component in Multisim, which can have its cycle have to be controlled using LabVIEW? I have an algorithm in LabVIEW that returns the duty cycle values between 0 and 1, representing the percentage of duty cycle.

    How can I control the PWM market factor in Multisim using LabVIEW co-simulation?

    Thank you very much

    SPECTRUM

    Hi spectrum,

    In Multisim, find items based on functionality, there are some PWM models in the database.  Take a look at this knowledge base if you don't know how to search for parts:

    http://digital.NI.com/public.nsf/allkb/7309A5CABC677296862577ED006EC99E

    Also, take a look at this knowledge base:

    http://digital.NI.com/public.nsf/allkb/EF391C48CF71AE4F862571B900644F84

    This article shows you how you can get Mutlisim and LabVIEW to co-simiualte:

    http://www.NI.com/white-paper/13663/en

    I hope this helps

  • How to use labview for controlling the HP Network Analyzer

    Hello

    I have a HP network analyzer 8720D connect with my laptop by a USB-Gbspecifications FOR cable. I want to use LABVIEW for control to parser do measurement and data collection. What should I start? Where can I get the labview program to control the parser?

    Thank you.

    Help > find instrument Drivers. Then go to the Instrument Driver Network and read all the links on the use of pilots.

Maybe you are looking for