NI PXIe-4154 Conflicting Measurements -- Smartphone and USB

I am having some problem to calculate power consumption from android smartphone...
First my setup: Android smartphone is connected to PC with USB. Both smartphone and USB do not provide their own power, but instead, I provide power to them via PXIe-4154. To clarify, smartphone's battery is removed and replaced with probes from ch0, and red power wire on USB cable is cut and end going toward smartphone is connected to probes from ch1 (ground wire is connected as well). Also, ch0 is set to 4.1V and ch1 is set to 5V.
My problem now is to try to find right method to calculate power and energy usage in this setup for smartphone alone (without effect of USB). My initial calculation of power and energy (with USB connected) turned to be wrong when I tried to perform same measurements without USB (ch0 only) (which were different by a good degree). I still hope I can try to calculate corrent power that is used by smartphone alone based on current configuration (and current samples that I have). (I am using USB mostly because of convenience, since it allows me to control android smartphone with ADB commands, over USB).
Here are some of my measurements (with USB and without, which conflict): When I have USB connected, idle current from ch0 is -0.28A and active current is -0.1A (when I run my test task). At the same time, idle current on ch0 is 0.37, and active current is 0.405A. When I tried to perform same measurement without USB (I sent command for the task over wireless connection), my idle current on ch0 is 0.022A and active current is 0.28A. What I can't understand is why I seeing difference in delta current (0.17 + 0.035 vs 0.258).
Also, when I turned off the phone, currnet on ch0 is -0.345A and current on ch1 is 0.382A.
I am not sure if my PXIe board is configured incorrectly, or why would I get such conflicting results. Could anything give me some advise what I could try to do to solve this?

Hi armendhz, 
I have a few questions that may help clarify your situation for me. 
1) Where are you getting your current readings?
2) How are you measuring a current when the phone is turned off? 
3) Do you have any other PXI modules? 
4) Can you attach a schematic of your connections for me? 
Hopefully we can get to the bottom of this soon. 
Best Regards,
Thomas B.
National Instruments
Applications Engineer

Similar Messages

  • Internet sharing via smartphone and USB

    Hi,
    I would like to use my smartphone HTC S730 which has a flat fee 3G internet connection to act as modem for my MacBookPro. This way I don't need a seperate datacard for my laptop and, when using USB my smartphone's battery is charged too.
    BUT, Leopard > system preferences > internet sharing doesn't show USB (or Bluetooth) as option(s) for sharing. I have to choose Airport, Ethernet or Firewire. My smartphone cannot connect via one of these three options. iCentre store in Amsterdam couldn't answer my question. Any suggestions?
    thanx,
    Sam van Buuren.

    You're not going about it correctly. You want to use your smart phone as a modem. You need set up System Preferences>Network not to use internet sharing. Contact the manufacturer and/or your service provider. You may need a modem script.

  • How big is PXIe-4154 Measurement Memory/Buffer?

    I am planning to use PXIe-4154 to make multiple measurement, V and I, subsequently using hardware trigger. To minimize software time, I would store each measurement in its memory/buffer, and later after all measurements are taken, do measurements fetch with one command like 
    niDCPower_FetchMultiple().

    Hi juswanto,
    The PXIe-4154 (and most other NI SMUs) have a DMA line that allows the device to create a buffer in the host computer's memory. The size of this buffer is 1 second worth of data at the device's maximum sampling rate. For the 4154, this means that the buffer size is 200k samples. When you fetch the data using this function you will be fetching from this buffer.
    The device itself has a small hardware buffer on it, but the DMA line allows the measurement data to transfer to the host memory much faster than that data fills the hardware buffer. So the effective size of the buffer is 200k samples thanks to the DMA and host memory.
    Hopefully this helps,
    Chris G
    Applications Engineer
    National Instruments

  • How to use niDCPower_ConfigureSoftwareEdgeMeasureTrigger in PXIe-4154 (each vi session has two active channels)?

    I am trying to use this function in my CVI code to configure a PXIe-4154 to make measurement based on software trigger.
    niDCPower_ConfigureSoftwareEdgeMeasureTrigger
    I saw this RUN TIME ERROR when I execute the code. Error code -1074118587 ... the requested function is not available when multiple channels ar present in the same session.
    But this functions is supported by PXIe-4154.
    So how do I go about telling the API that I only need to apply to say channel 0, and get over this problem?

    Hello Juswanto,
    I see that you are getting help from the AE department directly. We will continue with that method of communication. Thank you for contacting National Instruments.
    Regards, 
    National Instruments
    Applications Engineer

  • Triggerring PXI-4110 to measure 1 current value while HSDIO PXI-6552 generating waveform

    Hi,
    Some question about PXI-4110 to measure current while PXI-6552 is generating the waveform. 
    1. Let say, I need to measure 3 points of current values, i.e. while PXI-6552 is generating sample-1000, 2000 and 3500. On the edge of sample 1000,2000 and 3500, the PXI-6552 will send a pulse via PFI line or via PXI backplane trigger line. My question is, is it possible to trigger PXI-4110 (hardware trigger or software trigger) to measure current values at these points ?
    2. Let say I need to measure the current on 0ms (start of waveform generation by PXI-6552) , 1ms, 2ms, 3ms, 4ms... and so on for 1000 points of measurement, code diagram as shown at the figure below. It is possible for the VI "niDCPower Measure Multiple" to measure exactly at 1ms, 2ms, 3ms .. ? How much time will have to spend to complete acquire 1 point of measurement by "niDCPower Measure Multiple" ?
    Thanks for viewing this post. Your advice on hardware used or software method is much appreciated. Thanks in advance.  
    Message Edited by engwei on 02-02-2009 04:24 AM
    Attachments:
    [email protected] ‏46 KB

    Hi engwei,
    1. Unfortunately, the 4110 does not support hardware triggering. Therefore you cannot implement direct triggering through the backplane or anything like that. However, there are a couple of possible workarounds you can try:
    a) Use software triggering: Say your 6552 is generating in one while loop, and your 4110 is to measure in another while loop. You can use a software syncrhonization method like notifiers to send a notification to your 4110 loop when your 6552 has generated the desired sample. This method, however, will not be very deterministic because the delay between the trigger and the response depends on your processor speed and load. Therefore, if you have other applications running in the background (like antivirus) it will increase the delay.
    b) Use hardware triggering on another device: If you have another device that supports hardware triggering (like maybe an M-series multifunction DAQ module), you can configure this device to be triggered by a signal from the 6552, perform a very quick task (like a very short finite acquisition) then immediately execute the DCPower VI to perform the measurement. The trigger can be configured to be re-triggerable for multiple usage. This will most likely have a smaller time delay then the first option, but there will still be a delay (the time it takes to perform the short finite acquisiton on the M-series). Please refer to the attached screenshot for an idea of how to implement this.
    2. To make your 4110 measure at specific time intervals, you can use one of the methods discussed above. As for how long it will take to acquire 1 measurement point, you may find this link helpful: http://zone.ni.com/devzone/cda/tut/p/id/7034
    This article is meant for the PXI-4130 but the 4110 has the same maximum sampling rate (3 kHz) and so the section discussing the speed should apply for both devices.
    Under the Software Measurement Rate section, it is stated that the default behavior of the VI is to take an average of 10 samples. This corresponds to a maximum sampling rate of 300 samples/second. However, if you configure it to not do averaging (take only 1 sample) then the maximum rate of 3000 samples/second can be achieved.
    It is also important to note that your program can only achieve this maximum sampling rate if your software loop takes less time to execute than the actual physical sampling. For example, if you want to sample at 3000 samples/second, that means that taking one sample takes 1/3000 seconds or 333 microseconds. If you software execution time is less than 333 microseconds, then you can achieve this maximum rate (because the speed is limited by the hardware, not the software). However, if your software takes more than 333 microseconds to execute, then the software loop time will define the maximum sampling rate you can get, which will be lower than 3000 samples/second.
    I hope this answers your question.
    Best regards,
    Vern Yew
    Applications Engineer, NI ASEAN
    Best regards,
    Vern Yew
    Applications Engineer
    Attachments:
    untitled.JPG ‏18 KB

  • NI VST Compatibility with RF Measurement Suits and toolkits

    Dear all
    I Hope this message finds you all well
    I need to know more about the compatibility of NI Vector Signal Transceivers (VST) with the available RF Measurement Suits.
    The below information is what I have gathered so far , since there is no compatibility chart available to help : 
    NI WiMAX Measurement suit (Not Compatible with VST):
    In the Datasheet , It is mentioned that the compatibile hardware is 
    RF vector signal generators  : NI PXIe-5673 and NI PXIe-5673E 
    RF vector signal analyzers : NI PXIe-5663  and NI PXIe-5663E )
    NI GSM/EDGE measurement Suit : (Compatible with VST).
    NI WCDMA/HSPA+ Measurement Suit  : (Compatible with VST)
    NI LTE Measurement Suit : (Compatible with VST)
    In the Datasheet of all the 3 measurment suits (they are only one Measurement suit called NI Cellular High performance Test system) , it is mentioned that they are compatible with the NI VST Hardware
    NI Wireless LAN Measurment Suit : (Compatible with VST)
    In The Datasheet of the WLAN Measurement Suit , the VST is mentioned as a compatible hardware.
    NI Bluetooth Measurement Suit : (Not Compatible with VST)
    In it's Datasheet , it is mentioned that "The NI Bluetooth Measurement Suite is a software-defined approach to Bluetooth testing. With this solution, you can generate and acquire Bluetooth signals using vector signal generators (VSGs) and vector signal analyzers (VSAs)." , No VST was mentioned 
    NI GNSS Toolkit : (Not Compatible with VST)
    In it's catalog page , nothing is mentioned but the NI PXIe-5672 RF Vector Signal Generator
    Kindly I need confirmation about the above data , since I am not sure about it . in addition , some white papers are mentioning that the VSTs can be used with the RFSG and RFSA APIs , does that mean that the Measurement suits and toolkits supporting RFSA and RFSGs only will work on the VSTs as well ? 
    Thanks in advance
    Eng. Mohammed Ashraf
    Certified LabVIEW Associated Developer
    InnoVision Systems Founder, RF Test Development Engineer
    www.ivsystems-eg.com

    Hi Mohammed,
    I've spoken with R&D and determined that the NI Bluetooth Measurement Suite is VST compatible.  The NI GNSS Toolkit is also VST compatible, but only through the VST Instrument Design Library and not through the NI-RFSG driver.  The NI WiMAX Measurement Suite is not VST compatible.  
    Hopefully this information is helpful! 
    Josh B
    Applications Engineer
    National Instruments

  • Conflict between VPN and Airport disk

    Hello Folks, I just bought a brand new airport extreme 802n.
    I thought it would be working fine with my Macbook pro, but it doesn't.
    I can't access any externe hard disk or USB Stick through the airport extreme, although the format is FAT32. I checked and checked but found nothing useful. All the settings are default.
    Worth to mention, I always use a cisco VPN client to get connected to the Internet (university student).
    There are few times when I disconnected the VPN Client, the USB Client can be found and read, but not be written.
    I though it is a conflict between VPN and Airport disk. So I tried without VPN, but the USB stick and the extern hard disk still didn't work properly. I have no idea what is happening could somebody help?
    By the way is it possible to set Airport extreme as a VPN router so I don't have to use the cisco VPN client anyway?
    Any reply is appreciated
    Thank you !

    I have an Airport Extreme connected to a cable modem
    with comcast as my isp. The Extreme is connected to
    a G4 dual processor mac via ethernet. I also have 3
    airport expresses around the house to work as range
    extenders. When I had the G4 connect to the Extreme
    via its internal airport card, I had no difficulty
    connecting to any of the Expresses around the house
    with my g4 powerbook. Now that I have the G4 Dual
    directly connected by ethernet to get the fastest
    speed, I cannot get my expresses or my laptop to
    connect through my laptop to the base station. all
    lights are green on the expresses, but running
    network diagnostics on the powerbook shows red or
    yellow for the last two buttons on the right. Do I
    have a configuration problem or an Extreme that won't
    bridge properly?
    Check that the G4 Dual has a location configured with
    only "Built-In Ethernet" activated, and that its
    Ethernet connection isn't shared on AirPort.
    Turn off all your AX and check that your
    PB G4 is able to connect to "your" AirPort network.
    Take advantage of this silence of all your AX
    to run an analysis of your wireless environnement:
    - check that you don't have any neighbor wireless
    network,
    - check that on each of your AX settlement you have a
    very good reception of "your" AirPort network.
    If everything works fine to that point, add one AX to
    your network, and check the reachability of your network
    where you wanted to extend it.
    dan    

  • K9MM-V and USB during Bootup/S3 Resume

    Hi everyone, I'd like to throw my situation out to everyone for any ideas you all might have...
    I've been searching these forums for a while now, as well as the internet.  My system, which I rebuilt with a K9MM-V about 6 months ago has had an issue regarding USB devices being plugged in, while having USB Emulation enabled in the BIOS.  With it enabled, the system would not POST beyond the CPU identification line, no memory etc...  I've been battling it for some time, but eventually gave in, plugged in a PS2 keyboard, and disabled USB emulation, leaving all my USB items plugged in, but they just didn't work outside of Windows. 
    A similar issue follows when I attempt to resume the PC from Sleep/S3.  All of my USB devices will resume both in Windows XP and Windows Vista, except for the keyboard and mouse.  They will not resume at all, you actually have to move them to a different USB port for windows to use them again.  One note, I have not upgraded to the 1.6 bios because there is no mention of a fix to USB.  This problem seems to be well known on the Newegg.com customer comments, as of yet, no one has found a fix there.
    I'd greatly appreciate any ideas anyone might have.
    As for my troublshooting measures thus far... 
          I've removed every other PCI/USB device other than CPU and RAM, and the system will not POST with a USB device and USB emulation enabled.
          I've tried numerous USB keyboards/mice too see if it is my Logitech G15 or G7 causing it.
          The system will POST fine without a USB device plugged in, and Emulation on.
          I've checked the case USB cables for the 10th wire, no change in behaviour.
          I've tried having only a keyboard and mouse, plugged only into the Motherboard's usb ports.
    My system is as follows:
    AMD Athlon X2 3600+
    MSI K9MM-V with 1.5 bios
    2x1Gb of A-Data Ram
    2x WD Raptor 74G drives in RAID 0
    1x Seagate SATA150 320Gb drive on PCI card
    BFGTech 7800GSOC Video card
    Antec TruePower 400 powersupply
    Nvidia NVTV capture card
    SBLive Audigy 2ZS
    Rosewill SATA/IDE RAID PCI Card
    Logitech G15 Keyboard
    Logitech G7 Mouse

    Why not everyone?  I'm not sure to be honest, perhaps issues in motherboard revisions we don't know about or something else BIOS related.  I can attest that it isn't related to my keyboard and mouse type that I have.  I've tested on at least 5 others of various makes and models.  I would suspect that since this board is often used to modernizing an older system, a lot of people are probably using PS/2 devices at first.
    Legacy USB (USB Emulation) is enabled when this error occurs.  When disabled, the system will boot, but if you need to get into the bios, or respond to a prompt prior to Windows booting, you need to have a PS/2 Keyboard/Mouse installed. 
    I've also tried this with the rear usb ports only, and the front only, and with the rear only with the front unplugged from the motherboard.
    It's a very wierd issue.  Though I to remembering getting the system to fully post when I first built it.  It was unstable though, and after a few reboots, it wouldn't boot without USB emulation disabled when a USB keyboard/mouse was plugged in.

  • TS3048 Bluetooth and USB ports aren't working can't connect mouse or keyboard.

    Bluetooth and USB ports aren't working, so am unable to use Imac past turning it on. There's no way to connect mouse or keyboard, it started right after a software update for Maverick (OS X bash Update 1.0 – OS X Mavericks), bluetooth symbol not showing in the task bar at all.    

    Hi SBrwn,
    Thanks for visiting Apple Support Communities.
    The symptom you're describing can be frustrating to troubleshoot as our options are limited. I do suggest resetting the System Management Controller (SMC) if you have not already. This step can help you regain use of USB and Bluetooth.
    Follow these steps to reset the SMC on your iMac:
    Resetting the SMC for Mac Pro, Intel-based iMac, Intel-based Mac mini, or Intel-based Xserve
    Shut down the computer. [by holding down the power button]
    Unplug the computer's power cord.
    Wait fifteen seconds.
    Attach the computer's power cord.
    Wait five seconds, then press the power button to turn on the computer.
    You can find these steps and more information at this link:
    Intel-based Macs: Resetting the System Management Controller (SMC)
    All the best,
    Jeremy

  • HT1688 Hi, just bought my daughter an Iphone 4s and I can't get it to let her on youtube, Facebook etc., keeps saying no internet connection. My husband and I have 3G smartphones and we can get on them on ours, so I'm not sure what I'm doing wrong. Also,

    Hi, just bought my daughter an Iphone 4s and I can't get it to let her on youtube, Facebook etc., keeps saying no internet connection. My husband and I have 3G smartphones and we can get on them on ours, so I'm not sure what I'm doing wrong. Also, my other daughter has the same phone and has no trouble getting on these sites either. Any information to help is greatly appreciated. Thanks

    Well, did you activate this new phone?

  • How to measure current and voltage and rpm with daq device

    i am measuring current and voltage and am wondering should i use shunt resistors or current sensors hall effect sensors. i have a pci 6221 and a scc-68 breakout box. what specifications or size should the shunt resistor/current sensor be or should i use another device to measure the currrent and voltage. do i need any other safety device between the resistors, current sensors and the scc-68 breakout box when measuring the current and voltage. will the daq card pci 6221 pick up a signal from the resistor. what terminals should the wires from the resistors and current sensors be connected to in the scc-68. i am using a proximity switch to measure rpm of a motor. should the proximity switch be 2 or 3wire connection. should it have an analog or digital connection and is a power supply required to power the proximity switch and should it have an npn or pnp connection

    hello,
     i was going to use a 20amp 50mv, or a 20amp 100mv current shunt and connect wires directly into the AI input terminals of the scc-68 from the current shunt would these be suitable. would current shunts such as these be suitable to use http://uk.farnell.com/elc/sh10020/shunt-sh10020-20a-100mv-1-class/dp/1319576 or http://uk.farnell.com/datel/3020-01098-0/shunt-50mv-20a/dp/1339338
    is it ok to use either a current shunt or should a hall effect sensor be used  such as this http://ie.farnell.com/honeywell-s-c/csla2cd/sensor-hall-effect/dp/1082269 . which of them would be more accurate or are both of them fairly accurate.
    when i am measuring voltage can i connect two resistors between the positive and negative of the wires going to the battery and connect two wires from either side of the resistor directly into the analog inputs of the scc-68 and measure the 12-15 volts directly would the pci6221 and scc-68 be able to measure the voltage drop across the resistor.
    i wanted to measure rpm also does it matter whether the proximity switch has 2 or 3 wires and should it have an analog or digital/frequency output for cponnecting to the scc-68

  • HT1476 My iPhone 4S will charge on a laptop but not from a wall plug. I have tried different boxes and different USB cords from the wall but none work. These boxes and USB cords work for other family members with iPhones. I'm stumped :/

    My iPhone 4S will charge on a laptop but not from a wall plug. I have tried different boxes and different USB cords from the wall but none work. These boxes and USB cords work for other family members with iPhones and a USB cord that works from the laptop won't work from 3 or 4 different wall boxes that work for others. I'm stumped :/

    Update: It seems as though the phone will charge if I plug it in and then turn it off.  It will not charge while the phone is on.  Also iTunes will not recognize it, so I can't sync or anything.  I read somewhere that it could be a fuse somewhere?? Or maybe the dock connector. Where is the best place to get this repaired?

  • HT201413 i got a problem on my iPod touch 4 and bought it last month. It has an iTunes and usb port in it's screen. Do i need to have the receipt? because I lost it

    i got a problem on my iPod touch 4 and bought it last month. It has an iTunes and usb port in it's screen. Do i need to have the receipt? because I lost it

    That screen is asking you to connect the device to iTunes to restore it.
    tt2

  • Error while trying to synchronize audio and MIDI.  Sample rate 42804 recognized.  Check conflict between Garageband and external device.

    Sometimes, while playing back my software instrument songs, I get an intermittent pop-up error message, saying "Error while trying to synchronize audio and MIDI.  Sample rate 42804 recognized.  Check conflict between Garageband and external device."
    (Sometimes the five digit number is different, but remains a five-digit number beginning with "4".)
    Simultaneously, the song stops until I press the "Okay" button in the pop-up window.
    When I continue to play the song, the sound is jerky and clipped, and the playhead doesn't keep up with the song, and then suddenly jumps to the part of the song currently being played.
    There's also a sound of static.
    The issue seems to occur whether or not I have my MIDI controller turned on and plugged into my desktop Imac.
    Tony

    Hello,
    open your Audio MIDI Setup utility and set the input to 44100
    https://discussions.apple.com/message/12710638#12710638

  • Airport Extreme - problem with usb printer and usb disk

    I have Airport extreme with firmware 7.1. I try connect usb disk and usb printer with usb-hub to airport. I can't get disk or printer working. Also try connect only disk or printer without usb-hub to airport getting same problem. How I get disk and printer working with wireless network (windows pc computers)?
    1)
    My printer is HP PSC 1210 all-in-one ( http://h10025.www1.hp.com/ewfrf/wc/product?product=90764&lc=fi&cc=fi&dlc=fi&lang =fi&cc=fi&y=0&x=0 )
    - printer seems working fine after installing bonjour printer installing wizard.
    - I get error (in windows) when I try print document from word. Error only says "error printing" in status value.
    - In airport utility all seems ok. Airport see usb printer "Hewlett-Packard psc 1200 series"
    - printer protocol is RAW and driver manufacture HP (also try with microsoft driver)
    2)
    USB disk is Targa Databox II 250
    - Airport utility says "Disk needs repair. Errors were found with a disk connected to your airport base station. please connect the usb disk to your mac or pc and use disk utility or another disk application to repair the disk"
    - I have connected Targa usb disk to windows pc and run scandisk and defreg. No errors found in windows. Result..no help for airport

    I have a similar problem to your second issue. Tried connecting a Netdisk to the USB port of the Airport Extreme and it also said there was a problem with the disk. Have performed a low level format on the disk and Airport Extreme still complained the disk had a problem.
    After unplugging the disk, my route decided to stop allowing wireless connections even after rebooting. Ended up having to hard reset the Airport Extreme and reconfigure it with my old settings to work again.
    FWIW, the first Airport Extreme I purchased today only worked on 802.11a and steadfastly refused to work on b/g so had to get a replacement. I suspect Apple's quality control is not quite as good as it used to be.

Maybe you are looking for

  • Query xml data from a CLOB datatye

    All, I read in an oracle white paper that is is possible to query XML data from CLOB datatype using oracle text index using operators HASPATH() and INPATH(). I am not able to find any example on how to do this. Can someone please post a simple exampl

  • Vendor Commision checks

    hey All I have a scenario where I need to print a reference number on the check Stub ONLY if the payment is a commission type for the vendors or customers. The number range cannot be a criteria here. Is there any thing I can set as criteria when F110

  • Dvd home theatre system

    Will my system allow me to get sound from my speakers while watching tv or will I only get sound went watching a dvd. help. my system is dvd home theatre

  • RAM or Graphics?

    I use a program called WoW Model Viewer through parallels which shows model animations from World of Warcraft. When the animations are bigger / closer to screen, it starts dropping frames and lags. Which is needed to improve the frame rate on animati

  • Can't sync apps - error message says that they can't be identified

    I tried to sync my Itouch this morning and got a message that it couldn't complete because it couldn't identify all the apps.