Get system power status with labview 8.6

can i get the system power status of my laptop with labview 8.6? i have a system that can send alarm when loss the system power and tha battery percentage is lower 30%. 
Solved!
Go to Solution.

Try this VI
Attachments:
Power status.vi ‏7 KB

Similar Messages

  • System Power Status.vi

    Hi, I have found the VI : System Power Status.vi, but this is written in
    LabVIEW 5.1 and saved without diagram. I need this VI in LabVIEW 6.1. Can
    someone help me?
    In the description I find :
    Get system power status for notebook computer.
    George Zou
    Copyrights (c) - 2000
    All rights reserved.
    thanks, Geert

    That's part of George Zou's G Toolbox. His web site is http://gtoolbox.yeah.net/.

  • Help!!! How to get the recovery time of transient response of a power supply with Labview basic package without analysis option?

    How to get the recovery time of transient response of a power supply with Labview basic package without analysis option? Does anyone have any idea or some similar function SUBVIs?
    Recovery time of transient response is defined as the time from the beginning of the transient to the voltage point on the waveform fallen into 10percent of the overshoot. Well, the waveform is something like a pulse with a soft slope.

    I recommend plotting your data on a graph on paper. Take a look at the data, and determine what is unique about the point you are looking for. Look for how you can teach your program to look for this point.
    I have written several algorithms that do similar, one in fact being for a power supply, the other being for RPM. Neither algorithm used any advanced analysis tools. They are just a matter of determining, mathematically, when you achieve what you are looking for. Just sit down with your graph (I recommend multiple copies) and draw horizontal and vertical lines that determine when you get to the point you are looking for. You are probably going to have to reverse the array and start from the end, so think in those terms.
    If you have trouble, emai
    l me a bitmap of the graph, and what you are looking for and I will try to be of further assistance. Don't do that however; until you you have given this a few tries. Your solution should be involve a lot of logic on analog levels.
    Good luck

  • Best books to get up to speed with LabView 7?

    I am presently looking for advice as to the best book(s) to get up to
    speed with LabView 7 (Best beginner's book, best intermediate book,
    best advanced book). Any books to advoid? While I prefer hardcopy, I
    would be open to the best online resources as well.
    Art

    I would suggest if you have the opportunity to take the basics 1 and 2 classes offered by NI and select integrators. Otherwise there are books by Bishop and Johnson that will give you a great start with LV. If you need any info on classes please let me know. hope this helps.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor

  • Calling a VI which uses "system exec.vi" with LabVIEW run-time engine as adapter

    Hi,
    My TestStand sequence calls a VI which includes a call to "system exec.vi". When I try to load it in TestStand and if LabVIEW adapter is set to run-time engine, I get an error message "Unable to load Vi...". If I switch the adapter to "Development system", then it works fine.
    Is there any way to use "system exec.vi" in a VI which is called in TestStand with LabVIEW run-time ?
    Thanks,
    Alex
    Solved!
    Go to Solution.

    Hi Alex,
    In you case, you are getting a -18002 error.
    The reason is explained in the following link:
    -18002 Errors in TestStand
    http://digital.ni.com/public.nsf/allkb/D82FEAF0B4BA293A862575710053E252?OpenDocument
    Please have a look at the 2nd reason. This is your case.
    Hope it helps,
    Regrads
    Julien De Freitas / Applications Engineer / Certified LabVIEW Developer (CLD)
    National Instruments Switzerland

  • What changes are needed in Server Operating system using OPC with Labview

    I am a novice trying to connect Labview into KepwareEX OPC server. I am using MS Windos XP on both sides. at first I could see no OPC server I checked with the Kepware and they suggested me to fix the DCOM configuration on the Server. at last I saw the OPC Server and their client connected to it.
    When I try to assign a Datasocket connected to a control on Front panel in to OPC. System Browses and see the OPC server but after selecting the tag. when I run the software, connection Lamp gets red and this Error comes up ""Can't connect to OPC server. Registery Access denied" . the Kepware  quick client is working OK. and Labview got connected when I tested it on the same server. I think there is something wrong with Server OS configuration cause I can not See the Labview OPC Server too, which is installed but I am not using it, Can anybody help me ?

    Hello:
         When you try creating a new I/O server and when you select OPC, you should be able to see the list of OPC servers installed in the system. You can select LabVIEW OPC and select a I/O item from the configure OPC client instance.
    From what I understand you are able to connect from LabVIEW just fine. Are you able to use server explorer and connect to kepware? The following tutorial will step you through using OPC servers with LabVIEW.
    http://zone.ni.com/devzone/cda/tut/p/id/3742
    DSC is LabVIEW add-on for developing your HMI/SCADA or high-channel-count data-logging applications. With the DSC Module, you can interactively develop a distributed monitoring and control system with tags ranging from a few dozen to tens of thousands. The following link has a TCP modbus presentation that you will find useful.
    http://www.ni.com/labview/labviewdsc/upgrade.htm
    Please let us know the steps you are following to configure the OPC connections and post some snapshots. This will help in better understanding.
    Thanks and hope this helps
    Regards
    Avi Harjani

  • Getting the Latest status with respect to DATE entered

    Hi guyz, kindly help me in this scenario:
    I have a DSO and a CUBE....
    DSO:
    cust
    status code
    status date
    RAW DATA
    cust               status code               status date
    payer1                    1                      12/31/2013
    payer1                    3                       1/3/2014
    payer2                    4                       12/15/2013
    payer2                    2                        1/10/2014
    CUBE:
    cust
    0calday
    qty (KF)
    RAW DATA
    cust                    0calday                    qty
    payer1                1/1/2014                    10
    payer1                1/2/2014                    20
    payer1                1/3/2014                    30
    payer1                1/4/2014                    40
    payer1                1/5/2014                    50
    payer2                1/1/2014                    60
    payer2                1/2/2014                    70
    payer2                1/3/2014                    80
    payer2                1/4/2014                    90
    payer2                1/5/2014                    100
    I need to have this report: (for example I entered 1/1/2014 - 1/5/2014)
    cust               status code               0calday              qty
    payer1                   1                       1/1/2014              10
    payer1                   1                       1/2/2014              20
    payer1                   3                       1/3/2014              30
    payer1                   3                       1/4/2014              40
    payer1                   3                       1/5/2014              50
    payer2                   4                       1/1/2014              60
    payer2                   4                       1/2/2014              70
    payer2                   4                       1/3/2014              80
    payer2                   4                       1/4/2014              90
    payer2                   4                       1/5/2014              100
    Is this possible in query? Or do I need to do this in start routine?
    By the way, I can already show the QTY figures, I used CONSTANT SELECTION..My problem now is how to the STATUS CODE..How will I do this?
    Thank you!
    Loed

    Loed,If you are flexible with modeling level changes then i would suggest to stamp the values of status and status date against payer in cube.
    Add the two objects ion cube.Do a lookup on the DSO from cube in End routine and based on payer fetch the value of status and status date against each payer.
    Now once you have the complete data in the cube then at reporting level to get the correct status based on the validity dates you can refer my blog.
    Status of Tickets based on their Dates
    PS:If you need assistance in the coding part then let me know.
    Regards,
    AL

  • Looking for software driver for HP 6655A Power Supply with Labview 5.1

    Hi, trying to control an HP 6655a Power Supply but the version of Labview in the PC is the old Labview 5.1.
    I don't want to upgrade it for fear that the program will no longer function. Does anyone have the driver for the HP6655a that will work with labview 5.1?

    Hi demo,
    Try the drivers directly from Agilent.
    Here is a couple of links:
    http://we.home.agilent.com/cgi-bin/bvpub/agilent/editorial/cp_MiscEditorial.jsp?OID=536913992&NAV_ID=-536891584.536882066.03&LANGUAGE_CODE=eng&COUNTRY_CODE=ZZ
    Click on> Driver: 665xA Series Instrument Drivers
    Maybe this one is better... it's older...
    http://we.home.agilent.com/cgi-bin/bvpub/agilent/editorial/cp_MiscEditorial.jsp?OID=536917365&NAV_ID=-536891585.536880265.03&LANGUAGE_CODE=eng&COUNTRY_CODE=ZZ
    Click On > Driver: DC Power Supply Instrument Driver (1.13 MB)
    You may have to import the instrument driver after you install the libraries. This is done by selecting from the pull down menu:
    Tools > Instrumentation > Import CVI Instrument Driver
    JLV

  • HT4623 cannot get to the screen to upload itunes, the only screen I get is power cord with arrow going toward itunes symbol

    cannot get the screen to upload itunes, the only screen i get is the power cord with an arrow pointing towards itunes symbol

    hi i didnt understand . if are telling like your phone has the symbol to connect itunes right ??

  • Trouble getting consistent voltage readings with LabVIEW using a 1102/B

    Here's the situation:
    I have an optical sensor with reflector that I'm using these to determine the velocity of a rotating wheel. (actually it's a spool of cable)
    no beam reflection = 0 Vdc (actually it's floating from 0 - 2 volts)
    beam reflection = 10Vdc
    This is hooked up to an 1102/B channel configured for reading voltage in MAX
    Now, everything is fine at slower speeds.  The trouble is when the velocity increases...
    I'm using a DAQmx read VI in LV 7.1 to read the virtual channel I set.  It's in a while loop, outputting to a chart.
    The reads are missing reflections at higher speeds, but only seems to happen in LabVIEW.  The cable needs to be letting out at 2 ft/sec.
    Now, the sensor has an indicator light that says when it's seeing the reflected beam.  When I spin the wheel by hand (faster than the necessary speed) the sensor says it's picking up the reflectors (2 at 180 deg apart).  When I open MAX, and the test panel for that channel, I see that I have to increase the "sampes to read" to about 5k and the "rate" to 5kHz.   At that point, MAX  sees every beam reflection as well.
    Within LV, it still misses...  even with the loop delay set to 5ms.   I'm hesitant to go much lower with the delay... 
    The final destination for this reading function will be in a fairly large VI with a lot of serial communication to external instruments.
    Anyone have any advice?
    Thanks!
    Chuck

    Hi Chuck,
    Looks like you are configuring a DAQmx task/global channel
    My suggestion would be why not use any continous voltage read examples you will find in the examples shipped with LabVIEW?
    Go to examples>>Hardware input output>>DAQmx>>Analog measurements>>Voltage in this folder find and use the example VI cont-acq-volt-int-clk.VI ( named something like that ) read its documentation to know how to use it
    Or find the VI here
    any doubts, do get back

  • USB to 232 how to get device instance id with labview

    I'm using chip CP2102(UART to USB) to communicate my board with PC.
    On PC, i installed the USB to UART Bridge Virtual COM Port driver so it shows a virtual COM Port on the PC.
    In the device manager of the PC, it can read the Device Instance ID(USB\VID_10C4&PIC_EA60\0001) of the usb port as well as the virtual COM port number(COM11).
    But in labview, i can only get the COM port number when i try to find the resource. Even if in MAX, i can only get the COM port number.
    I need to use one PC to control several boards, so i need to recongnize the boards with the Device Instance ID.
    Is there some way to get the Device Instance ID of the virtual COM port in my labview program?
    Thanks a lot.
    Jason

    We did similar sort of thing with FT232 chip based devices.
    But we used our PC Port as the basis of detecting the devices rather than the device itself.
    FTDI has drivers to address devices based on PC USB port number.
    This could be of bit help as well.
    http://www.ftdichip.com/Support/Documents/ProgramGuides/D2XX_Programmer's_Guide(FT_000071).pdf
    The LabVIEW Drivers are available on their website.
    You might want to do something similar if you don't want to go ahead with FTDI chip.

  • Where can I found hardware to get analog signal from VCR and work with labview and then sample this signal in very high frequency?

    I am trying to build a Digital Video Recorder using Labview. The problem is that I found that Labview sample the signal in the order of milisecond. I wanted it to be in the order of microseconds. Also I am looking for a cheap Hardware solution if it is possible

    Your question does not make a lot of sense to me, so I will just point out a few things.
    1. The PCI-1411 works well with VCR signals. It has a BNC connector as well as a S-Video connector. The price is under $1000, so it is fairly reasonable. The amount of time you save getting it to work with LabVIEW is worth any extra cost.
    2. The PCI-1411 is sampling three colors at 30 frames per second, with an image resolution of 640x480. This is the best resolution you are likely to get from a VCR signal. The sampling rate for each byte in the image is about 28 MB/sec. This is in the microsecond range that you are looking for, I think. If you are only interested in the raw signal instead of the image, you could look at the high speed digitizing boards NI sell
    s that acquire at higher rates.
    If this information isn't really what you were looking for, perhaps you could clarify your question.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Is it possible to get 2-ch signals from TDS2012 oscilloscope at the same time with LabVIEW "7.0"?

    Hi, everyone.
    I've been trying to get the signals from 2-ch of Tektronix TDS2012 oscilloscope at the same time using IVI connection with LabVIEW "7.0"
    I've already searched this developer zone for the answer.
    I've tried the famous example: "IviScope - Acq Dual Wfm Edge Triggered.vi"
    and it gave me the error message like:
    Error -1074110451 occurred at IviScope Initialize With Options.vi
    Possible reason(s):
    Driver Status:  (Hex 0xBFFA600D) Primary Error: (Hex 0xBFFA600D) The Config Server module is not present on the system.
    I think I've installed all~ the required softwares for IVI. For example, ICP 2.2, IVI engine 2.0.46, and tktds1k2k ivi (instrument driver for tds2012, in fact this one is for LabVIEW "7.1"... :-P)
    TDS2012 and my computer is connected through HPIB(GPIB) and it is shown on the MAX (a GPIB instrument as well as an IVI hardware asset)
    I've tried GPIB connection but it gives me asynchronous signals...
    Is it possible to get 2 signals at the same time with LabVIEW 7.0(not 7.1 or higher) by any means?
    What in the earth is the "Config Server" in this case?
    I don't need to sticking to IVI and any method to achieve my goal will be welcome.
    Could anyone give me the hint for this problem, plz?

    I think your problem is that the instrument specific driver is version 7.1 and you are using the class driver with 7.0. You can create your own 7.0 driver by downloading the LabWindows driver and using the Import CVI Instrument Driver under the Tools>Instrumentation menu.
    Since you don't seem to have a good reason to use IVI, why don't you try the native LabVIEW driver at http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E9139659CE034080020E748.... I believe you have all of the functions to setup each channel and then when you trigger the scope, both channels will be captured. You would then transfer each waveform separately. The data is always read sequentially but that's not important as long as both channels are triggered at the same time.

  • Problems with getting accurate power readings during sweep

    Ok, so I have an Agilent N1912A power meter with N1921A power sensors on Ch A & B. I have RF power (from signal generator/ amplifier) going into input of a coupler, then Ch A connected to the coupling  and Ch B connected to the coupler output. I am trying to measure the loss of the coupling (nominally 20 dB)  by just taking the difference in power readings (Ch B- Ch A).  I  have a VI  to read the power from both channels as a signal generator sweeps through different power levels. For the most part it works, except the problem is I am a getting strange "kink" in power reading whenever the power sensor reading is around -10 dBm...see first image attached. Because of this, i get over 0.5 dB change in the coupling loss i am trying to measure, which is unacceptable.
    Now with extensive troubleshooting I have ruled out things like amplifier having unstable gain, or faulty sensors. One interesting thing I have noticed - it tends to improve significantly when i change sweepintervals to be much smaller (e.g. 0.1 dB intervals instead of 0.5 dB), which makes me think it is something I'm not setting properly in my VI when I am reading the power from each channel. If i use 0.1 dB intervals the kink is much smaller..resulting in a more stable measurement of coupling loss. See second image attached.
    Anyway, wondering if there are any ideas what could be the source of the issue.  As you can see from the images, this always happens at -10 dBm..dont' know what's so special about  -10 dBm  (where's the shrug emoticon?? ) Anyway,  I know can greatly alleviate this problem by always using really small intervals of 0.05 dB or something, but that is just so not practical for my application...(would be too slow). I want to be able to use 0.5 dB intervals and have smooth power readings.
    Attachments:
    power sweep with kink.jpg ‏88 KB
    coupling loss.jpg ‏39 KB

    neets wrote:
    Ok, so I have an Agilent N1912A power meter with N1921A power sensors on Ch A & B. I have RF power (from signal generator/ amplifier) going into input of a coupler, then Ch A connected to the coupling  and Ch B connected to the coupler output. I am trying to measure the loss of the coupling (nominally 20 dB)  by just taking the difference in power readings (Ch B- Ch A).  I  have a VI  to read the power from both channels as a signal generator sweeps through different power levels. For the most part it works, except the problem is I am a getting strange "kink" in power reading whenever the power sensor reading is around -10 dBm...see first image attached. Because of this, i get over 0.5 dB change in the coupling loss i am trying to measure, which is unacceptable.
    Now with extensive troubleshooting I have ruled out things like amplifier having unstable gain, or faulty sensors. One interesting thing I have noticed - it tends to improve significantly when i change sweepintervals to be much smaller (e.g. 0.1 dB intervals instead of 0.5 dB), which makes me think it is something I'm not setting properly in my VI when I am reading the power from each channel. If i use 0.1 dB intervals the kink is much smaller..resulting in a more stable measurement of coupling loss. See second image attached.
    Anyway, wondering if there are any ideas what could be the source of the issue.  As you can see from the images, this always happens at -10 dBm..dont' know what's so special about  -10 dBm  (where's the shrug emoticon?? ) Anyway,  I know can greatly alleviate this problem by always using really small intervals of 0.05 dB or something, but that is just so not practical for my application...(would be too slow). I want to be able to use 0.5 dB intervals and have smooth power readings.
    So what are you trying to accomplish here?  I would be more interested in a coupler's response over frequency.  Usually if you're talking about gain/loss over power, you are measuring the characteristics of an amplifier.  (Which I understand you aren't doing, as the DUT is the coupler.)
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • I have got a 1500 Kinetic Systems CAMAC crate and 3922 controller. I want to use it with LabView inst

    alled in PCI-bus IBM PC, which does not have GPIB interface. Which way would be easier for developing my own instrument driver: a new GPIB controller + interface or 2915 Kinetic Sys. PCI-bus in-slot interface? Can the latter interface be used with LabView?
    Many thanks.
    Victor. I have got a 1500 Kinetic Systems CAMAC crate and 3932 controller. I want to use it with LabView installed in PCI-bus IBM PC, which does not have GPIB interface. Which way would be easier for developing my own instrument driver: a new GPIB controller + interface or 2915 Kinetic Sys. PCI-bus in-slot interface? Thanks

    alled in PCI-bus IBM PC, which does not have GPIB interface. Which way would be easier for developing my own instrument driver: a new GPIB controller + interface or 2915 Kinetic Sys. PCI-bus in-slot interface? Can the latter interface be used with LabView?Victor,
    I couldn't find an Instrument Driver for the 3932 crate controler. There is a driver for the 3988: http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/045f8392cc4d1b01862568ab005fbb49?OpenDocument
    If you look at the driver it isn't too complex. Well ... actaully there are certain differences when using the 3988 GPIB controller that the driver takes care of that relate to correctly passing commands (FAN).
    If the 3922 controller is similar then maybe you can use the 3988 driver and modify it to meet your needs. I'm not familar with the 2915 Kinetic system so I'm not sure what would be easier.
    If you have a GPIB board, then you could try using the 3988 driver with your 3922 controller and see if you can modify the driver to get things to work.
    I
    've only used the 3988 and that was quite three years ago but it might be worth a try.
    Best of luck,
    Kamran - NI

Maybe you are looking for

  • How to fix yahoo mail going to trash folder and not inbox?

    Incoming email to my yahoo account (through Rogers) ends up in my trash folder and not my inbox. I do not have the same problem with my gmail account and email addressed there goes to the gmail inbox. Any advice on how to fix this problem? Thanks

  • Can rs.last() be used after calling the stored procedure?

    Can rs.last() be used after calling the stored procedure? If yes what should be the CURSOR types?

  • DNS? error preventing fileshare over WiFi

    I have a WRT54G connected to a cable modem, a NAS, a Wireless Print Server and a new WHS. I am able to access the internet and each of the other networked devices when connected to the WRT54G via Ethernet.  However, when connected to the WRT54G via W

  • Page Ins vs Page Outs question

    Hi Guys, Could someone please explain... I have 4GB ram installed and when I look at Activity Monitor I see I have in the region of 38200 page ins and 0 page outs {when surfing the web as I am now} and a VM of 10.56GB. I just opened iMovie, iDVD, Pho

  • How to retrieve latest date column comparing with rest of the date columns ??

    Hi Friends, I have 6 Date columns (some of col has Null data)  I need to compare all 6 columns date, how can I produce recent date to new Column! can you please help me Tsql Code or Function. Thanks for advance.