Can not measure temperature and voltage simultaneously

I am a beginner with labview. I want to measre temperature and voltage simultaneously. When I run
the VI, I can get temperature or voltage, but not togther. I attach my VI, please give me suggestion on
how to make it work. 3X
Attachments:
heatflux.vi ‏1069 KB

Since I don't know your exact configuration I will make some basic assumptions based on how it appears that you have configured the DAQ Assistant Express VIs.
Assumptions:
1. You have only one DAQ board in your system.
2. You want to scan continously
3. You want to acquire 3 temperature channels at a rate of 1000S/s and take 100 readings at a time
4. You want to acquire 2 voltage channels at a rate of 1000S/s and take 1000 readings at a time.
Based on this configuration your first problem is that you have configured the DAQ board to acquire continously in the first call to the DAQ Assistant (your first frame of the sequence structure). This ties up all the analog acquisition resources without releasing them. When you make your second call to the DAQ Assistant (your second frame of the sequence structure) you are creating a conflict because the DAQ board is already busy running your first request. At this point you are probably receiving an error but you might not see this since you are not doing error checking in your code. This is also why you are only getting one set of data. Next iteration of the while loop the first call to the DAQ Assistance reconfigures the board and executes again and so the cycle repeats itself.
I don't have a DAQ board installed so I can't confirm with certainty if I am correct but you can do this by simply changing the DAQ Assistant properties. In the 'Task Timing' tab change from 'Acquire Continuosly' to 'Acquire N Samples'.
Assuming this works all you have done is confirmed that my assumptions are correct and technically your program should work. So now some programming advice.
It's ok to scan all channels at once even though they might not be of the same type so go ahead and configure all your channels in one DAQ Assistant call and get rid of the sequence structure. Decide on one set of parameters for Scan Rate and Samples to Read, in your case I doubt this will be a problem. Since you are performing the same analysis on all channels you don't need to parse your data simply pass the 'data' from your DAQ Assistant into a single 'Amplitude and Level Measurements' Express VI. You will now have a single array with all your Mean values based on the order the channels are configured. If you want to plot the data in different graphs all you need to do is parse your channels using the 'Split Signals' or 'Select Signals' Express VI.
Hope this makes some sense.
-Christer

Similar Messages

  • Measuring temperature and acceleration simultaneously

    Hi,
    I am having problems getting a correct and stable temperature measurement, I think the acceleration measurements are correct. I am using a daq PCI 61110 and the temp sensor is a type-k thermocouple I tried switching the thermocouple with a probe but the result did not change and I have checked the examples to see if I have gotten something wrong in my code but I can't seem to find it. Please could somebody help me and the vi is attached below.
    Solved!
    Go to Solution.
    Attachments:
    MultipleChannels_Created.vi ‏70 KB

    I don't know your DAQ card, but I assume you are measuring in the voltage range for the accelerometer and them try to measure in the µV  from the TC.
    If you have channel crosstalk, your weak signal from the TC gets buried in noise. 
    Try to have some input channels connected to GND inbetween, maybe that helps.
    Wait, I took a look into the spec (BTW 6111 or 6110??) your minimum resolution is 98µV, that would equal around 2K resolution, accuracy is 353µV (around 8K with type K TC ... not quite the right card for a thermocouple reading!!)  Well and you don't have a CJ compensation....in other words: You don't have the right DAQ for thermocouple readings.
    NI has a USB thermocouple device that woul fit your needs and is not too costly... or use a B5 module or other thermocouple signal conditioner with a 10V output.
    Depending on your needs maybe a small NTC with a resistor as an voltage divider can be used to measure temperatur ...
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Recording Temperature and Voltage measurements using Keithley 2182 Nanovoltmeter

    Hello all,
    I am relatively new to LabView and looking to extend a vi I am currently using.
    I am trying to record voltage and temperature measurements from a Keithley 2182 nano voltmeter using a GPIB cable. I have a vi that can do this for either voltage or temperature not both. At the moment I only record what is shown on the display of the nano voltmeter.
    Could somebody explain how I could get labview either to change between voltage and temperature on the nano voltmeter or whether it is possible to have two simultaneous measurements of temperature and voltage and how I would achieve this.
    Thanks
    Mike

    Hi,
    For each read, no matter Temperature or Voltage there is a certain command that is send to the voltmeter.
    I don't think (actually I'm pretty sure) you cannot read it in parallel but you can do it successively: One read Voltage, one read Temperature and so on.
    There should be something like:
    while not STOP do
      1. send GPIB command for changing Keithley to Voltage Measurement
      2. send GPIB command for Voltage Read
      3. read GPIB -> Voltage
      4. send GPIB command for changing Keithley to Temperature Measurement
      5. send GPIB command for Temperature Read
      6. read GPIB -> Temperature
    end
    You can take a look in VI to see which are the commands send for Voltage and Temperature reads and to mixed them like I described it above.
    If you don't manage it share your VIs (for temp and volt.) maybe it will be easier for me (or something else) to give you some additional advices.
    Paul

  • 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

  • These i7 4770K Temperatures And Voltage Values Are Normal With Z87-G43?

    Hello everyone,
    I recently upgraded my good old Core2Duo rig and bought a new cpu-motherboard-ram trio. My new specs is as follows:
    - i7 4770K @ stock speed + Coolermaster 212Evo cpu cooler
    - MSI z87 g43 motherboard
    - 2x4 GB G-Skill Ripjaws X 1866Mhz
    - Case: Corsair Carbide 400R
    The problem is I wasn't aware of that new Haswell cpus are running slightly hotter and now I'm little bit worried about my temperatures. Since I was also planning to overclock my cpu a bit and trying to find a point that doesn't need a vast voltage increase, I'm losing my sleeps over this situation at the moment.
    Anyways. I'm using softwares like HWmonitor, Coretemp, Realtemp and Intel Extreme Tuning Utility. Turbo Boost is also active. So the cpu is going up until 3.9 GHz. Other than that I'm on stock speeds, and motherboard's default values. Here are my temperatures:
    Ambient room temp: Varies between 23-25 °C
    Idle: 28-30 °C
    While playing demanding games like Battlefield 4: Max 58-65°C
    With Intel Extreme Tuning's stress test for 15 mins: max 65-70 °C
    With Prime 95 Blend and OCCT burn tests for 15 mins: max 78-82 °C
    I also run realtemp's sensor test and the values are identical since it's using Prime95 too.
    I also noticed that Prime 95 and OCCT is increasing my cpu voltage value from 1.156 to 1.21 while Intel Extreme Tuning's stress test and BurnInTest is using 1.156v. All these test are using %100 of the cores. Couldn't understand why there's a voltage increase on certain tests which leads my temps go even higher and higher. Will I encounter these kinds of random voltage increases during normal tasks? Like playing games, rendering some stuff etc..?
    On the other hand I tried motherboard's OC Genie future to see what happens. It overclocked the cpu automatically to 4.0 GHz @1.10v. With this setting I've seen max of 70 °C for a second and mostly 65-68°C under OCCT stress test. And also my voltage didn't increase at all and sit at 1.10. I'm a bit confused about these values. Since with default settings I'm getting hotter values and my voltage is going up to 1.21 with Turbo Boost under Prime95/OCCT burn tests. I also found out that my BIOS is v1.0. I don't really have a performance or a stability issue for now except this voltage thing. Does a BIOS update help on that situation? I don't really like to touch something already working OK and end up with a dead board.
    Also I'm wondering if my temperature values are normal with the cpu cooler i have (Coolermaster 212evo)?
    I also could buy some extra fans for my case (1 exhaust to top & 1 intake to side) and maybe a second fan for the cpu cooler if you guys think that these would help a bit.
    Sorry for my English by the way. I'm not a native speaker.
    Thanks for all your comments and suggestions already.

    Thanks for the reply Nichrome,
    I will follow your suggestions for the fans. Currently I don't have any fans on top. But I'm considering to buy some fans to top and side. So you get better results with top fans being exhaust right?
    Also which fan are you using as the second fan for the cpu heatsink? I would buy one of these as well since we have the same heatsink.
    I'm also using the default/auto voltages and settings at the moment. Just Turbo Boost is enabled and when it kicks in voltage is going up to 1.156. Which seems normal and doesnt produce dangerous level of heat. The thing is if I start running Prime95&OCCT the voltages going up to 1.21+ level at the same turbo boost speed (which is 3.9 GHz). And that produces a lot more heat than usual. But if I use BurnInTest or Intel Extreme Tuning Utility stress test the voltages sit at 1.156 and under full load on all cores. I'm wondering what's the reason of this difference and if it is software or motherboard related. Even with using the OC Genie @ 4.1 GHz temperatures and voltages seem lower than the stock&auto settings (idle 35-38 / stress test with OCCT 70C max, gaming 60-65C max). I'm not sure if a BIOS update would fix this. Since the whole BIOS flashing process is creeping me out. I don't like to bother with something that is already working OK. Don't want to end up with a dead board in the end :P Maybe I'm becoming a bit paranoid though, since this is a really hard earned upgrade after 6 years. :P

  • Can I measure temperature using 6013 & 68LPR?

    Hello, from hardware I've got Multifunction DAQ (6013) and Therminal Block (68LPR). From software I've got VI Logger (1.0.1) and NI-DAQ (6.9.3). Using this, can I measure temperature with K-Type therminals? (Everything is installed and ready to go)
    If yes, how can I connect K-Type therminal to thermal block? Are there any instructions on how to use VI Logger to perform similar task to this one?
    Also what I want is, the temperature that has been read (for an hour, every 5mins) to be written in a file. Is it possible to write to a file using VI Logger?
    Thank you!
    Regards Slav.

    Hello:
    I answered this questions over here:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000041CA0000&UCATEGORY_0=_30_%24_12_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=%2B6013+%2Btemperature&USEARCHCONTEXT_QUESTION_S=0
    Sincerely,
    Brooks B
    Applications Engineer
    National Instruments

  • I downloaded the adobe XI software and it shows in my Adobe download assistant as downloaded but I can not open it and it is not a part of my applications. Very frustrating download process as I just want to convert a PDF file to an editable word document

    I downloaded the adobe XI software and it shows in my Adobe download assistant as downloaded but I can not open it and it is not a part of my applications. Very frustrating download process as I just want to convert a PDF file to an editable word document...

    Odonnells52 you will still need to install Adobe Acrobat Professional prior to being able to make edits to PDF or utilize Acrobat.   By default the installation files have been saved to your download folder.
    If you continue to face difficulties with the Adobe Download Assistant then please see Troubleshoot Adobe Download Assistant.
    You can also download the installation files directly from Download Acrobat products | Standard, Pro | XI, X if you are unable to locate the downloaded installation files.

  • I have an iMac OS 10.9.5 - Every time I turn on my system I get the message that it can not access icloud and to fix it using iCloud preferences. I do not want to access or use iCloud, how do I get the message to discontinue?

    I have an iMac OS 10.9.5 - Every time I turn on my system I get the message that it can not access icloud and to fix it using iCloud preferences. I do not want to access or use iCloud, how do I get the message to discontinue?

    Hello mrmacjohn,
    Verifying that any iCloud account that may be signed in is signed out should resolve this error.
    On your Mac, open iCloud preferences, then click Sign Out.
    iCloud: Change iCloud feature settings
    http://support.apple.com/kb/PH2613
    Cheers,
    Allen

  • I upgraded my iphone to 5.0.1 and can not find carrier and can not make a call freezed.

    I upgraded my iphone 4 to ios 5.0.1 yesterday. Today the device can not find carrier and if finds than it freezes when I tap call. I swictched on and off but no change.

    No.  There is no legit way to go back at all.
    It seems that you had a hacked iphone that was locked back to the rightful carrier when you updated as it should.

  • I can not get iPhone and iPad calendar to sync.  Help

    Help. I can not get iPad and iPhone calendar to sync

    Please also check, if the appointments you already have entered on one device are stored in a iCloud calendar or only local or in another account. Therefor just open the calendar app, then open an existing appointment, click on "Calendar" and then check, if it is really an iCloud calendar where the appointment is stored.

  • HT1923 When I try to uninstall iTunes I get a message saying iTunes 64 msi can not be located and I should enter an alternate path. How would I know where it it is? I get the same message when trying to install the update to iTunes 10.6.1.

    When I try to uninstall iTunes I get a message saying iTunes 64 msi can not be located and I should enter an alternate path. How would I know where it it is? I get the same message when trying to install the update to iTunes 10.6.1.

    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Flash Player that auto appeared on my screen. Ever since I can not play video, and my system has become painfully slow. I have Mac OS Lion 10.7.5 and software is up to date. Before this everything was running beautifully. Can you please provide a link so

    Dear Adobe.
    Yesterday I installed the latest version of Flash Player that auto appeared on my screen. Ever since I can not play video, and my system has become painfully slow. I have Mac OS Lion 10.7.5 and software is up to date. Before this everything was running beautifully. Can you please provide a link so I can uninstall the latest version only. Thank you. Stephen Kress. Melbourne. Australia

    When you run the uninstaller, it will uninstall all Flash Player versions.
    If you want to revert to an older version after that, get it from http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html

  • I can not upgrade from 10.2 to 10.6 because of missing "itunes.msi" file.  How do I repair it? I can not remove itunes and start over.

    I can not upgrade from 10.2 to 10.6 because of missing "itunes.msi" file.  I can not delete ITunes and start over either.

    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • HT1657 after renting a move and starting viewing I can not stop it and come back to in within the time frame. If i stop it it goes away not able to find it. Just like I did not rent it at all.

    after renting a move and starting viewing I can not stop it and come back to in within the time frame. If i stop it it goes away not able to find it. Just like I did not rent it at all.

    Hi,
    We have rolled out a fix for this issue.
    Please log off and log back in to your machine and the issue should be resolved automatically. In case that does not work, please manually run the msi installer posted here (may require reboot).
    For details, please refer to the KB article here: Multiple RunOnce keys created 11.0.10 and 10.1.13 Acrobat | Reader
    Please let us know if you still face any issues.
    Thanks,
    Ashu Mittal

  • Everything is very small, text, pics, programs dont even fill 1/4 of a page I can not read it and if i click apple plus things overlap each other so now what???

    everything is very small, text, pics, programs dont even fill 1/4 of a page I can not read it and if i click apple plus things overlap each other so now what???

    Can you think of any recent changes on your computer or in Firefox, new programs, add-ons, etc.?
    Have any cats walked across your keyboard recently?
    My first guess is the same as yours, which is a "zoom" issue. Holding down the Command key and pressing 0 (zero) should reset the zoom level of the current site to the standard level. Is that still too small?
    Regarding content overlapping, this can occur for a few different reasons. Please check on these:
    (1) "Text Only" zoom
    If View menu > Zoom > Zoom Text Only has a checkmark, click it again to unselect it.
    (2) Manually setting font sizes
    In the Preferences dialog (either the "3-bar" menu button or the Firefox menu) > Content > "Advanced" button
    If the Minimum font size is set to a number larger than 9, change it to 9 or None. A large minimum font size often will wreck the layout.
    At the top, there is "Fonts for" drop-down that usually will say Latin or Other Writing Systems. You will want to make the same change for both of those, so select whichever one isn't currently displayed.
    Finally, make sure the checkbox for "Allow pages to choose their own fonts" is checked and OK out of the dialog.
    Any difference so far?

Maybe you are looking for