Measure ai (current) and ci (puls width) with NI6023 and DAQMX
Hi I need to measure ai (current) and ci (puls width) with NI6023 and DAQMX.
My problem is that I can measure the two by them selves.
But I need to measure both at the same time!
Is it possible?
How does the code look?
J;-)
Hello
DAQmx support multitasking operations and you are therefore able to execute multiple tasks at the same time.
I do not know what software you are writing your code in, but if you are using LabVIEW you should just place the two tasks in parrallel loops and execute them or have both VI's runninng at the same time that are performing the tasks!
Regards
Mohadjer
Similar Messages
-
I need help on measuring current @ anode (emission) and leakage current @ (gate voltage).
Using gpib config.I don't think you'll find any examples that suit, but that's life. It's rare
to find someone doing the same work with the same kit when more than one
instrument is involved.
Keithley should have examples for the electrometer that show you how to set
it up and take readings via the GPIB- that's the harder of the two
instruments because it does more. If they're not shipped, look on
www.keithley.com, since they have a large selection of example Labview
programs for their hardware- though I know nothing about that particular
instrument.
The power supply should be trivial; it should just have commands to set the
voltage (and current limit perhaps) and switch the output on and off. This
may be a good thing to learn to do GPIB programming on since there's
very
little involved. Check out the example
examples\Instr\smplgpib.llb\LabVIEW<->GPIB.vi to see how to send commands
and receive responses. Once you have a program that provides a sequence of
power supply voltages to your device, then start playing with the
electrometer examples and making something to read the current. Then put
them together and write a top level that builds a current/voltage plot for
the device.
I assume there's no problem with the physical connections and how to wire
the test device up to the instruments? That's out of the scope of this group
in any case.
m wrote in message
news:[email protected]..
> I am using the kiethly 619 electrometer and a bertan power supply. -
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 -
Connect RS232 with labview to read current and voltage values.
Hi, I am trying to connect my microcontroller kit which will measure the current and voltage. I was provided with rs232 port to connect with labview to read the voltage and current data that is measured by my controller. How to make it display both current and voltage value by acquirng the data from rs232. I tried some programming but it doesn't work or it was wrong. How to make it work ?
Attachments:
pro.vi 13 KBAs we said in the other thread, you need to talk to whoever is designing the microcontroller and decide on a specific format for it send you the data. Once we have that, then we can start talking about how to program this up.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
Measure pulse width with 4 counter simultaneously
Hello,
I am using NI PCI-6601 measure the pulse width with 4 counter simultaneously, due to only a DMA channel on this card so I selected interrupt data transfer mode to read data from PCI bus for 4 counters, but it working only for few seconds then a error message prompted:
Error -200141 occurred at DAQmx Read (Counter 1D DBL 1Chan NSamp).vi
Measurements: Data was overwritten before it could be read by the system.......(See attached picture: TestUI and Error MSG.bmp)
I know the problem caused due to system is unable to read back data from PCI6601's memory as fast as they card countered. My quesition is:
1. The timebase is 20Mhz(Sample rate), how to change the sample rate slower (like 100Khz) ?
2. Any good solutions can meet my requrement?
Attached is my source code, Test.vi is the main VI.
Thanks for your help.
Steven
Attachments:
Test.zip 557 KBWhat's more, you could include four channels in one task, so you don't need to build four task!
Attachments:
4 counters in one task.png 719 KB -
How to measure current and resistance if i only have DAQ using VB 6 and Measurement Studio
I want to do a remote lab for basic electronic lab. One of the task is to measure current and resistance. How to do it if I only have DAQ card and using Visual Basic 6 and Measurement Studio. Can anyone give me a clue.
If your DAQ device is supported by DAQmx, you can use it with VB6. Here's how: NI-DAQmx Support in Visual Basic 6.0.
Michael P
National Instruments -
Current measurements between 4071 and 2575 sometimes not correct
I'm using PXI-4071 and a PXIe-2575 in handshaking mode with a scan list.
The DMM is measuring current and the MUX is in 1x196 mode.
When running the scan list, I rarely (randomly) get a very small measurement in the nA to uA (when it should be 4-20mA). I'll run the scan list again and that channel will be correct, so it doesn't seem to correspond to a channel.
I've tried increasing the settling time of both the DMM and the MUX, but neither have had any effect.
Any help would be great.
Thanks,
Caleb Swieson
Solved!
Go to Solution.Cswieson,
Is the relay board relatively old? If a board is close to end of life, there is a chance that the relay will sporatically not close and/or open. If the relay is stuck open, the DMM might measure very low current because no current is flowing (and only noise is coming through).
Frank,
National Instruments
Staff Software Project Engineer -
Keithley 2636 measures current and 2400 offers a 3 volt pulse synchronized in a labview program
Hello,
I am not very familiar with labview and I neet a program to realize keithley 2636 measuring current and 2400 offering a 3 volt pulse synchronized.
It means that when 2636 measure one times, 2400 give a pulse. When 2636 measure 100 times, 2400 offers 100 pulses synchronized.
The Channel A of 2636 is used for measuring and Channel B is used for another works.
The attatchment is the labview program I created and it can not be run synchronized.
Thanks for your help!
email:[email protected]
Attachments:
repeat04.vi 38 KBHi Lin,
I did not talk about a GPIB (or similar) cable to connect both devices with a PC, I did talk about the special cable for synchronizing both devices with each other called TriggerLink!
Please read the user manual of your K2400, (chapter 11 on triggers, or figure 1-2 for a view of the rear panel). It describes the TriggerLink capabilities of Keithley devices!
RTFM!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Every time I try to download a free app or even upgrade any of my apps for free it tells me to put my Apple ID I do that then it say there a billing problem with previous purchases. So I click continue and put in my debit card information correctly but still won't work it always declines it and says he's different payment method. what can I do it's been like that for 3 months that's the only card I have.
Hi ..
I replied to you here > Download or upgrade current and free apps says there's a billing problem with previous purchase previous purchase what can I do to fix it -
I received an iPod touch 5th for my birthday. I currently share an iTunes account with my sister. My parents want us to have separate account now that my sister is in college. How do I get my stuff from old iTunes to new account without deleting anything , and ending up keeping old account for her and open new account for me to use with my new touch and my ipad2???
Apple ID purchases/information/downloaded apps/date etc Can Not be transfered to other Apple ID
Whatever was originaly done on the main Apple ID stays on that Apple iD -
My daughter is currently using my Apple ID with her ipod touch. I will be upgrading her to an iPhone 4S and would like to use a different Apple ID and a new computer and still keep all the current music and Apps that she has now. How do I do this?
Make a new Apple ID for her.
Use it on her iPhone 4S for iCloud, iMessage and FaceTime.
Use your ID on her iPhone 4S for iTunes and App Stores.
Sign in with your Apple ID on iTunes Store (on iTunes app of her new computer)
Authorize her new computer with your Apple ID in iTunes (iTunes menu>Store>Authorize this Computer)
Check "Share my Library on my Local Network" in iTunes Preferences in your and her computer
Sign in Home Sharing of her iTunes with your Apple ID.
Copy all the Music she wants from the old computer to the new one. (Must be on the same network)
Copy all the apps she wants from the old computer to the new one. (Must be on the same network)
Export all playlist as xml files from the old computer to the new one.(right click on the playlist to export and "File>Library>Import Playlist to Import)
Sync her iPhone 4S with all content she wants from her new computer (all data from the old computer will be deleted)
Are you sharing Contacts or other data from iCloud?
Be careful or ask for help about moving from iCloud account to another one. -
My iPad2 no longer connects to my home wifi network but there is no problem connecting to other saved wifi networks. Currently using iOS8.0.2. with storage capacity of 12.2Gb but only 147Mb free. Disconnecting the router and rebooting the iPad worked briefly as a temporary fix but not anymore
You could try this
Temporarily disable security on your home network
See if the iPad connects
If it does then reset the security - with the same or different password -
What is wrong with my shipping address? I want to order pictures via apple store with iPhoto. Apple Id and payment seem ok. My current and correct shipping address appears with red letters. Why and what to do?
Maybe this is relevant: I bought iphoto from the German apple store but I now live in Italy. I have tried German credit card with German invoicing address and Italian shipping address. And I have tried Italian credit card with Italian invoicing address and Italian shipping address. The phenomenon is the same: shipping address appears in red and I am asked to fill in the mandatory fields (which turn red whatever I enter).KarinavD,
what is the setting for the Print Products Store in the Advanced Tab of the iPhoto Preferences?
The country you select there has to match the billing address. And your billing address should match the country of your AppleID and credit card used with the AppleID.
Regards
Léonie -
How to measure a current signal with NI 6211?
How to measure a current signal with NI 6211?
Hi Clecio,
This is a charge accelerometer. It is different from the IEPE accelerometers that outputs a voltage signal.
You need a charge amplifier. Then according to the charge amplifier output we can select an appropriate module to measure the signal.
It is not possible to measure charge accelerometers with NI 9234 directly.
Best Regards,
Rodrigo Schneiater
Application Engineering
National Instruments Brazil
If this information was useful, please click in the 'KUDOS!' beside. -
Measure current and voltage in Elvis and labview
Hi! We're setting up a control system setup for class where we need to monitor the current and voltage that we are supplying/drawing from the ELVIS hardware within a LABVIEW setup. So far, we can accurately display voltage input and outputs from the AI and DAO terminals respectively. However, we can't seem to find a direct way measure current draw. I believe that we are supposed to be able to get DMM readings from the AI5 channel, but either we're not doing it correctly, or we still need to place a known resistance across it (which we cannot do, due to variable loads). Any advise please?
Cheers,
GeraldAre you using Elvis I or II? From your post, I will assume it is Elvis I but please correct me if this is not the case. Page 38 of the manual shows that ACH5 is used for capacitor or diode measurements for the DMM. To measure current, use the connectors on the front of the Elvis unit and then route the current HI/LO on the protoboard to either the oscilloscope or an analog input channel. You can use the DMM Soft Front Panel to monitor current as well.
Message Edited by h_baker on 07-09-2009 04:54 PM
Regards,
h_baker
National Instruments
Applications Engineer
Digital Multimeter Resources
Maybe you are looking for
-
Review Widget Error with Portrait Photos
When previewing my review widgets on the iPad, all of the questions with photos in portrait orientation are messed up even though they look fine when viewed in ibooks author. Even when I delete the photo completely and just have the words, it is stil
-
Hi, I want to make a road in flash. You got a road with white stripes on it but it aint moving. I want the stripes to come at you to make it like you are driving the road.... Its not a straigt road but diagonal and dissapearing at the eind of the hor
-
hello all, I am creating an application where there is a provision of uploading media files from any location of local drive into user specified path...and also i want to transmit those files as a zip file over network..if it is possible, then how i
-
Problem creating Refresh Group
Hi there, I try to create a refresh group, but I always get an Error Message: ORA-01858: a non-numeric character found where a digit was expected This is my code for creating the refresh group: BEGIN DBMS_REFRESH.make('refgroup1', 'mv_history', 'mv_s
-
Hi, I am using JDeveloper 11g. I need to create a UI page template that includes some known components as menues and some dynamic components that will be filled at runtime. In Developer Guide I found a section that deals with these issues: "implement