Can I measure the analog USB supply voltage using Labview?

I'm basically powering a sensor from the 5V (nominal) USB supply but the full scale output depends upon the actual input voltage for any particular measurement- what I want to do is get labview to measure the voltage at the USB port at the same time it samples the sensor voltage output then from that the full scale output for that instant in time can be calculated and thus give a more accurate measurement. Can this be done in labview? Thanks very much.
Haydn Barker
Solved!
Go to Solution.

There is no such hardware feature that is universal to all motherboards. Additionally, depending on the current being used, the length of the usb cable, etc. the voltage present at your sensor would also vary, probably a lot more than the 1% accuracy. I know that some motherboards have onboard monitoring of key voltages, but think it more at the the "main 5V" level, not individual usb ports.A USB DQ device may be the only way to actually measure the supply voltage at the sensor.
Putnam
Certified LabVIEW Developer
Senior Test Engineer
Currently using LV 6.1-LabVIEW 2012, RT8.5
LabVIEW Champion

Similar Messages

  • Battery management system design for EV to monitor and to balance the Li-Ion cells' voltages using LabView, NI myRIO-1900 and LTC6804-2 IC

    Hello,
    I have NI myRIO-1900 and LabView 2014. I need to design a Bettary management system to monitor and balance the rechargable Lithium-Ion battery packs' voltages and charges using LTC6804-2 IC. I am facing some problems to program the IC for monitoring and balancing the cells' voltages and charges using LabView via NI myRIO. Can anyone help me to design this by giving some references and technques.
    Thanks in advance.
    Mohammad Hoque
    [email protected]

    Hi Mohammad,
    I believe with EPS you can monitor the cells' voldates and charging. I'm not sure what you mean by balancing, though. Can you elaborate a bit more?
    Thanks.

  • Can we acquire the Analog input and Digital Input at

    Can we acquire the Analog input and Digital Input at
    the same time? My sensor data include Analog and
    digital signals.

    Hi Chenchen,
    It usually simplifies things greatly if you use analog inputs to monitor both the analog signals AND the digital signals.
    If you abosulutely HAVE to use digital lines, then the answer is, DEPENDS....
    With the correct hardware and depending on how fast you want to collect data and how closely the measurements have to be syncronized in time, it can be done.
    But first, concider using analog inputs to monitor all signals.
    If you need to move forward with both analog and digital acquisitions, then post a new quesion and give us details on the hardware you are using and the other details we will need to advise you.
    Trying to help,
    Ben
    Ben Rayner
    Certified LabVIEW Developer
    www.DSAutomation.com
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can I measure the copy speed of my compact flashcard to folder?

    how can I measure the copy speed of my compact flashcard to folder?
    I dont have a stop watch.

    Hi Steve Zavodny;
    Generally compact flash cards or basically slow because of them being flash memory and USB. What are you after here?
    Allan

  • How can I measure the hertz in a wave form?

    How can I measure the hertz in a wave form?

    As an example, this is from BBC Technical Requirements for HD material:
    3.1.1 Stereo line-up tones
    All stereo tracks must use EBU 1KHz tone (left ident). All tones must be sinusoidal, free of distortion and phase coherent between channels.
    Digital Audio Reference level is defined as 18dB below the maximum coding value (-18dBFS) as per EBU recommended practice R68.
    See also:
    http://www.bbc.co.uk/guidelines/dq/pdf/tv/tv_delivery_to_network_programmes_v1.2-2011.pdf
    for full document.
    And for BBC Radio:
    Not every Network requires tone. Check the delivery requirements with the commissioning network or click here.
    Reference tone, where used, should be at -18dBFS or PPM 4 on A, B and/or M.
    If submitting material with reference tone, tone and programme material must be have been monitored and measured through the same technical chain. The level of the tone must be equivalent to 0dBu and no less than 8dB below peak audio level for the programme material.
    THE LEVEL OF TONE MUST HAVE A KNOWN RELATIONSHIP WITH THE LEVEL OF THE PROGRAMME MATERIAL AND THIS MUST BE STATED; for example: “Tone at 8dB below peak programme level”.
    As a newcomer to digital sound (my background is camera) I confess to being somewhat confused. We are normally told to record at the highest level possible. So for voice podcasts I tend to record at about -6dB below peak for maximum volume, distributeds on MP3 files.
    But I can underatand that televison and radio especially for analogue transmission) may have limited headroom, hence the requirement for -18dB peak = 0dBM.
    I remember when we first rented out Digital Betacam cameras, some recordists were recording almost everything OVER -18dBM.
    I suspect that until we have an all-digital world, these requiremnents will still be in place.
    Many thanks to all. It's a ghreat community!
    Brian Rose

  • Can't Find the fixed days supply in the collected items.

    Dear All,
    after running the collection process , i can't find the fixed days supply item attribute in the collected data (from the table MSC_SYSTEM_ITEMS).
    Regards.
    Ahmad.

    Ensure that you have defined fixed_days_supply at the org-item level.
    If you have, then check if the collection is working properly by making some other change to an item (such as description change and change of the fixed lot multiplier).
    If those changes are not coming over, the problem may be with your Data collection. Can you run a full DC? Make sure that the snapshots have been refreshed properly.
    Hope this helps,
    Sandeep Gandhi

  • How can I syncronize the analog input?

    The signal coming from the microphone input of the DSP module, displayed on Waveform Graph, is "slipping".
    How can I syncronize the analog input?
    Thank you!

    Ahh!  You are doing this on the DSP itself.  That would explain the Express VI problem, since you probably do not have floating point available.  A simple level trigger is not hard to code using integer math.  You can use the VIs I mentioned above as a guide (the algorithms should work well with integers as well as floating point) or just do it yourself.  A possible algorithm for a positive going edge trigger is the following:
    Search array until first point is less than level and second is greater than or equal to level (use In Range and Coerce to search).
    Extract array subset from your data starting at the point you just found.
    If you need a particular length of data and are continously acquiring, append data from the next scan onto your data until required length is met.
    If you run into issues, let us know.  Remember that shift registers are your friend.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • I can't open the micro usb cover in my smartwatch 2

    I can't open the micro usb cover in my smartwatch 2.
    Somebody can help me ?

    It can be a bit tricky to open the USB-cover, but there is a small slit over the USB-cover where you can put in your nail and pull it out.
    You could also use a paperclip to get out the cap a little so you can easily open it your finger, just be careful so you don't harm the gasket which is on the inside of the USB-cap.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • How can I measure the Graphics Card usage? I.e. percent load

    Hello,
    How can I measure the Graphics Card usage, like with the processor in Task Manager, but instead giving a percentage usage for the graphics card instead? Is there an easy way to do this, or would it require a lot of code? Is it even possible?

    Ah, so It's unlikely that Java3D will include anything for reading this data then? I was really aiming at measuring the GPU usage under this API which although i have limited knowledge using, I do at least have some knowledge - I wouldn't have a clue how to access any other API's!
    I'm using an NVidia TNT2 card at the moment, which is quite old.

  • Can the Apple USB charger be used to charge other non-Apple USB devices?

    Can the Apple USB charger be used to charge other non-Apple USB devices?  I just purchased an electric toothbrush that uses a USB port to charge.  If I'm traveling, I would like to consolidate and take only one charger.  Would it be ok to use the apple charger for both items?

    Yes, as long as your toothbrush doesn't require more than 5W power draw.

  • How can I write the analogous code to the logic:iterate tag functionality

    Hai This is Rayalu .And I am very new to the Java World. I have a doubt?.How can I write the analogous code to the<logic:iterate> tag functionality using the JSP Tag Libraries . Pleae Send me some examples .

    Hi,
    SELECT objnr objid aufnr
            from afih
            into table t_afih.
    SELECT objnr
            from JEST
            into table t_JEST
            where stat = 'A0045'
               OR stat = 'A0046'
               AND inact 'X'.
    SELECT objnr
            from COBRB
            into table t_cobrb.
    SELECT arbpl werks objid objty
          from crhd
          INTO table it_crhd
          FOR ALL ENTRIES IN it_afih
          WHERE objty eq 'D'
          AND gewrk = it_afih-objid.
    SELECT aufnr objnr auart txjcd pspel gstrp werks aufnr
            FROM caufv
            INTO table t_caufv
            FOR ALL ENTRIES IN it_afih
            WHERE aufnr = it_afih-aufnr
              And pspel = ' '
              AND txjcd = ' '
             ANd objnr ne it_crhd-objnr
              AND auart in s_wtype
              AND werks in s_plant.
             AND objnr ne it_jest-objnr.
    dont use NE in the select statements, it may effect performance also. Instead use if statements inside
    loops.
    loop at t_caufv.
    read table it_chrd............
      if t_caufv-objnr ne it_chrd-objnr.
      read table it_jest..........
       if   if t_caufv-objnr ne it_jest-objnr.
        (proceed further).
       endif.
      endif.
    endloop.
    hope this helps.
    Reward if useful.
    Regards,
    Anu

  • How can i measure the speed of the fan in sound and vibration signal simulator box

    how can i measure the speed of the fan in sound and vibration signal simulator box
    provided the values  tach out:2 pulses/revolution and  maximum speed = 6000rpm

    Hi. I tried your suggestion and I could not get it to work well. In
    fact it worked better without the running average (which suprised me).
    I also played with the number of data points but still could not get it
    to work well.
    Do you have any other suggestions on how I could sort this problem out?
    I
    have attached a screen shot of the signal. To recap, I'm trying to
    measure the'y' position of the flat regions of the signal. The signal
    does not have a constant level, so this 'y' position varies with time
    in a non-unform manner.
    I am currently differentiating
    the signal and selecting the y position when the differential is equal
    to zero (within a tolerance band).
    In the screenshot, the
    signal has been zeroed using the method I have described above.
    However, it occasionally has glitches which may be caused when the code
    picks up a zero gradient at a peak or valley in the signal.
    I therefore need some kind of algorithm that only measures the position of the flat regions.
    Many thanks
     John
    Attachments:
    screenshot.gif ‏121 KB

  • How can you utilise the 30 pin VGA adapter used on the iPad 3 and iPhone 4S on the iPad 4 which uses a lightning connector?

    How can you utilise the 30 pin VGA adapter used on the iPad 3 and iPhone 4S on the iPad 4 which uses a lightning connector?

    See the following. Also take note below and from the linked page above that video mode is NOT supported:
    http://store.apple.com/us/product/MD823ZM/A/lightning-to-30-pin-adapter
    *Note below and from the linked page above that video mode is NOT supported*
    "This adapter lets you connect devices with a Lightning connector to many of your 30-pin accessories.* Supports analog audio output, USB audio, as well as syncing and charging. Video output not supported."

  • How can I measure how much Data I am using?

    As the headline say:-
    How can I measure how much data I am using?
    Thanks in advance.

    Not a problem at all - without wishing to push the point at all, the manual really is very good and worth a read ! although I must admit I have never read it all
    http://manuals.info.apple.com/en/iphoneuserguide.pdf

  • Can I trace when my USB slot was used on my MacBook Air ?

    can I trace when my USB slot was used on my MacBook Air ?

    You may get a prompt answer  if you post the question in the Developer forum.
    https://discussions.apple.com/community/developer_forums
    Best.

Maybe you are looking for

  • Need Best Practice for creating BE in ZFS boot environment with zones

    Good Afternoon - I have a Sparc system with ZFS Root File System and Zones. I need to create a BE for whenever we do patching or upgrades to the O/S. I have run into issues when testing booting off of the newBE where the zones did not show up. I trie

  • DOMParser halts when parse ServletInputStream

    Hello everyone, I am building a system with Web servlet and many clients. Since the clients can be written in C/C++, or Java applet, or simple HTML browser, I use XML to format the data so that the servelt can communicate with any types of clients. H

  • Unable to login to Ebusiness suite.

    We experienced a login issue today. The login page hangs after we enter the username and password. None of the users were able to login. Restarted the application and the issue went away. I am unable to determine what caused this issue. reveiwed the

  • Does more iPhone memory speed processing?

    Does buying an iPhone with more memory speed processing?

  • Microsoft Exchange CAS Reports blank

    Hi , We are facing issues in our Exchange 2010 reports where Reports are coming blank. We had an DWH aggregation issue in the past with the Exchange dataset. With the help of Microsoft we had caught up the aggregation manually. Post that the Exchange