Analog input voltage fluctuatio​n in myDAQ
-Hello !
I have a turbine blade rotation sensing and measuring device (i.e. picoturn) connected to AI4 pin of BNC 2110 I/O board. I am using a PXI-1033 chassis with PCI-6251 M series card in it. I have programmed an algorithm which acquires voltage from AI4 channel through DAQ Assistant and converts voltage into RPM.
Picoturn is connected to DC power supply (ranges 9 - 36V)
These are the following problems:
1. I will get error voltage readings if picoturn is connected to other channels except AI4 (i.e AI0,AI1,etc)
2. The reading of the voltage keeps on fluctuating between 0.49 and 0.51, in both the cases of when turbine is stationary and rotating.
3. If the power supply to picoturn is removed, even then I could see the fluctuations in the voltage reading from -0.0005 to 0.1 and above till I stopped running the program.
Could you please help me to solve these problems?
Attached is the VI of the program and manual of the instrument Picoturn.
Attachments:
Picoturn.pdf 515 KB
Analog_ RPM.vi 64 KB
Hello
What Error Voltages do you read when the picoturn is connected to other AI Inputs than AI4?
What are you using for the ground reference of your measurement?
Checkout this White-paper: http://www.ni.com/white-paper/3344/en/
Are you able to measure other analog input voltages from a different voltage source? e.g. a 1V DC signal from a power supply or a sinusoidal voltage from a frequency generator?
Regards
Corinne
Similar Messages
-
I'm not able to set Analog Input voltages, etc
ok,
so i have an NI DAQ I/O card (NI PCI 6723, or something to that effect) and i'm trying to configure the channels for Analog Input signals.
when i try to choose any kind of setting for Anolog signal by:
>>drop DAQ Assistant vi onto the block diagram
>>>>choose Analog Input
>>>>>>>Voltage
i get this message "No supported devices found"
i thought since I have the I/O card, i should be able to configure channels for both input/output.
i also have ADAC card (from IOTECH) installed but when i look at MAX, i only see the DAQ card.
i'm really confused at this point. can anyone break things down for me ... what i'm doing wrong?
-rstuartG,
you were right. so what i'm using for the input is a ADAC 5501MF from IOTECH
following their manual (http://www.iotech.com/productmanuals/adac_lvi.pdf) it says that the ADAC-LVi libraries can be located at "Functions->User Libraries" palette of labview.
does this mean that i have to install the ADAC-LVi driver in LabView->User Libraries directory?
if that's not the case then i don't see why the ADAC-LVi is not showing up in the LabView User Libraries since i've installed the driver correctly (in C\Program File\ADAC )
do you have any idea why?
thanks
-r -
How to write a VI to measure the difference between two analog inputs (voltage)
I'd like to measure the difference voltage between two analog inputs.
Could someone write me a VI for it, please?
I'm new with Labview....
Thanks a lot!!!On the numeric palette, there is a function called subtract. As the
help for it says, it 'Computes the difference of the inputs.'.
Since
this is such a simple process, you need to provide some details on why
you can't do this. You can wire just about any data type into the
inputs. Post your code if you need further help.
Message Edited by Dennis Knutson on 04-05-2009 08:23 AM
Attachments:
Subtract.PNG 1 KB -
NI DAQmx Digital Output Trigger To Start Analog Input Task
Hi everyone. I am using the NI DAQmx VIs to set a digital output line low (boolean '0'). I want to begin reading an Analog Input voltage (Start Analog Input Voltage reading task) right after the digital output line is set low. I am using the DAQmx Start Trigger (Digital Edge).vi to try and do this. I have the digital edge to trigger off a falling edge since the digital output line is being set low. I am using "do/SampleClock" as the source into the DAQmx Start Trigger (Digital Edge).vi.
I don't have the DAQ card (PXI 6229) since someone else is using it but I wanted to write up the SW so that when it becomes available I can have SW to try out.
I have attached the VI. Am I setting up this VI correctly?
Thanks!
Attachments:
Trigger AI Task Off DO Edge.vi 32 KBI think you are going to have to wire that Digital Output to a PFI line on the card with the Analog Input(s). You then trigger on that PFI line.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
How to use shared variables to measure analog input
Dear All,
I am using Real time remote system. I am using PXI-6259 card, PXI-8184RT controller and PXI-1031 Chassis.
I want to use shared variable to measure and analog Input(voltage) from
an analog input Channel. I tried attaching it with the physical
channel using the bind to source option but it idoes not seem to work,
can any one give me any suggestions?
Screen shot of this is available.
I tried using the Acq and graph example and deployed it to the RT but
the Sine wave I input in the measurement channel becomes highly
distorted when I see it in the host.vi, there is also a Screen shot of
this also. Is there any other option.
What am I doing wrong? all suggestion are highly welcome.
Thank you.
Sincerely,
Munir Afzal Bhatti.
Attachments:
SV2.jpg 2305 KB
SV3.jpg 2305 KBYou will have to give us the whole picture. What is your client computer; a PAC, desktop etc? What are you running on the client computer; a VI or an executable? Where are you going to deploy your library? On the host machine or the client machine?
If I assume that you are running a VI on the client machine and are depolying the library on the host, all you have to do is to create another shared variable and bind it to the variable on the host machine. You can do this by checking the Bind to Source option when creating the variable and browsing to the network item in options. Be sure to have the library deployed on the host side before you attempt to do this otherwise you won't be able to find the variable.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies -
Hi guys,
I am a beginner in Labview and have been dealing with this problem for a couple of weeks now and just can't seem to get it completely right, I have a feeling there are a few small bugs in my code/hardware setup.
I am running an scxi-1000 chassis with a 1600 module and 1302C along with a 1303 accesory for temperature measurements, this is connected to four thermoucouples. Unfortunately I have a limited number of modules available so I am also using a PCI-6221 DAQ card with an scb-68 breakout box used for a digital output and analog input voltage channel. Attached is my labview program. When I run the code at a 50 Hz sampling rate it runs with no errors but the data file comes out extremely wrong, this is also attached. When I run the code at 100 Hz I get error-200279 after a few loops. I used to have 2 daqmx timing VIs (one for each input), but the same error would eventually happen, I have also tried increasing the buffer size on said timing VI. I am also using an old computer (Pentium IV) could this effect the program?
I have learned a lot going through forms for similar problems to mine but I just can't get it to for an extended period of time, I have posted my simplest code.
Thanks in advance,
Luca
Attachments:
tc_2.txt 1102 KB
FinalCombined_2.vi 128 KBOk this makes sense. I have made the suggested modifications but still getting the same error with sampling rates of 100 Hz or higher. Could you check that I have implemented the queue VIs properly (new file attached)? Also when running at 50 Hz in debug mode it does not look like the second while loop (with the dequeue element) comes into play until I hit the stop button, once I hit the stop button I get the following error:
Error 1 occurred at Dequeue Element in FinalCombined_2.vi
Possible reason(s):
LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
=========================
NI-488: Command requires GPIB Controller to be Controller-In-Charge.
This leads me to believe I have programmed the queue elements incorrectly.
Thanks for your help, any suggestions are greatly appreciated.
Luca
Attachments:
FinalCombined_2.vi 102 KB -
Can I read more than 2 analog inputs from myDAQ?
Hello,
I am trying to read 3 voltage values. However, the myDAQ only has 2 analog inputs.
There are multi-meter ports in the myDAQ as well. Could I read the 3rd value via this port?
How would I read these values via the DAQ assit on labVIEW?
Thanks in advance.
YzhiHello Yzhi,
You can acquire from the DMM and the analog inputs using two parallel tasks. The simplest way is to configure one DAQ Assistant for the AI channels, and another DAQ Assistant for the DMM channel. Be aware that the DMM is a software-timed single-point measurement (no hardware waveform acquisition), so you can't tightly synchronize the DMM with the Analog Inputs.
Here is a screenshot demonstrating how to acquire from all three channels. You could also run the DMM in a separate loop so it doesn't slow down AI.
Good luck and let us know if you have any other questions.
Charles Y.
National Instruments
Attachments:
myDAQ acquire two AI and DMM.jpg 196 KB -
Can the analog inputs be daisy chained to measure higher voltages?
Can the analog inputs of a PXI-6289 be connected in series to measure higher voltages than normally allowed at the analog inputs of the PXI-6289 (i.e. 10 VDC)? For example, let's say I wanted to measure 18 VDC using an analog input channel of the PXI-6289. I would then pick two AI channels and connect the positive of one to the negative of the other and then the two remaining leads would be placed across the 18 VDC. Resistors could also be placed across the 18 VDC to form a votage divide. One AI would measure the voltage across one resistor and the other AI would measure the voltage across the remaining resistor. I have tried this and the voltage measurements appear to loose accuracy. Thank you for your help.
Hello Rafi,
You may want to invest in a high voltage attenuator for signal conditioning prior to reading the signal. The documents below may also be helpful:
High Voltage and Isolated Measurements
http://zone.ni.com/devzone/cda/tut/p/id/10693
High-Voltage Measurements and Isolation
http://zone.ni.com/devzone/cda/tut/p/id/3410
Regards,
Roman Sandoval | National Instruments | RF Systems Engineer -
how can i synchronize analog output and analog input timings to generate and measure voltage at the same time.
Read this Tutorial
http://zone.ni.com/devzone/cda/tut/p/id/3615#toc3
And also refer to this link where You have repeated this question.
PS: Please stick to one thread. That way, its easier to keep track of your query and answers -
I am using the PCI-7344 to control my system. The analog inputs are connected to the output of my system while the analog outputs serve as feedback to the system. The system is a servo. I want to know what is the conversion between the voltage read at the input, to card counts, and finally to the voltage output to the system.
Carole,
If you are trying to do analog feedback with a servo motor, Chapter 14 of the manual talks about how to set up the torque feedback. Also linked below is a LabVIEW example of analog feedback.
Chapter 14
NI-Motion User Manual
Automatic Analog Feedback with FlexMotion example
A. Talley
National Instruments -
Hi everyone,
i am new to labview and using arduino uno board for measuring microwave analysis in my project. i want to measure the refflection coefficient by dividing two analog input received to arduino (Vref and Vin) to obtain so. problems come where i just can analyze only one analog input pin only. please, kindly helped to figure it out.i've try the others solution where i create two while loops for different analog pin. u can refer to my circuit in the attachment below.i really2 appreciate ur help, thank you.=)
Attachments:
reflection coefficient and Vswr.vi 665 KB
front panel.PNG 66 KB
block diagram.PNG 40 KBTry this if you have a POT around hook it up to the arduino than use the AnalogInSerial.pde and load it to your arduino exit out of the arduino platform and than try my VI see if this helps you.
Harold Timmis
[email protected]
Orlando,Fl
*Kudos always welcome
Attachments:
TalkToArduino.vi 28 KB -
How do I use the analog input (ADC) to drive a motion profile in MAX
We are trying to use an anolog input signal from a DAQ card to control the motion contol axis. For now, we want the motor speed to follow a sinusoidal voltage waveform, and later on, we will be using a more complex velocity profile.
In order to accomplish this task, we have searched the user forum, and found information suggesting to operate the servo motor in 'slave' mode under the 'gearing' option. Therefore, we have set the Gear Master to 'ADC Channel-1', Mode set to 'absolute', Gear ratio 1:1, and provided the sinusoidal voltage (+/- 5V, 3 Hz) to the AIN1 connector on the MID-7654 controller. When using the 1-D Interacitve 'single axis' control panel, the motor runs at constant speed in one direction only. It does not react to the sinusoidal speed profile request as we expected.
How do we 'turn on' the 'slave' mode in MAX? Please talk us through the necessary steps and settings? Thanks.
StaffanStaffan,
you can configure and enablethe Gearing mode in MAX and it should be activated after saving the settings and initializing the board. In 1D-Interactive you can't use Gearing. For better flexibility I recommend not using MAX for configuring and enbling Gearing. You better should do this in your application.
In fact there is a perfect LabVIEW-example that ships with the NI-Motion driver (Master Analog Input - Slave Axis Gearing.vi)
I hope this helps,
Jochen Klier
National Instruments
Message Edited by Jochen on 10-02-2007 08:37 AM
Attachments:
gearing.jpg 162 KB -
I am getting a -50101 error when trying to get analog input from a compact rio
I am just doing the initial setup of my compactRIO system and have been able to successfully add the cRio in Max and then into a new project. I created a very simple VI with analog input that I am trying to read into an indicator, following one of teh tutorials. The module I am reading the input from is a cRio-9201. The input is voltage. I have already added the module to teh project under the FPGA, which is under the RIO in the project tree. Any ideas what I may be missing would be greatly appreciated!
ThanksThe 9201 C Series module needs to be created under the FPGA Target
(cRIO-910x) in the LabVIEW Project. You can either discover the module
or create it by type. In case you haven't created the FPGA Target
(cRIO-910x) under the cRIO Controller (cRIO-900x), you must do that
first. You also have the option of discovering the cRIO-910x or to
create it by type. I suggest you do it through discovery, so you don't
need to manually configure the addresses.
As how to create the items, that's done through right-click on the
cRIO-900x and select New>>Targets and Devices.... It will pop up
a dialog in which you expand FPGA Target and it will discover the FPGA
Target. Similar steps are followed to create the 9201 module.
If you don't see the FPGA Target and C Series module options, then you
need to make sure NI-RIO 2.0 is installed in you computer.
JMota -
How to measure CompactRIO system input voltage
Hello,
I would like to measure the voltage of the two 9-35V DC inputs going to the CompactRIO RT controller. I am using the 4-slot chassis due to space considerations and do not have a 24V analog input module on-board to be able to do this via a module. On the 9205 analog input module there is a hook for "chassis temperature" that works perfectly. I am trying to find a similar hook to read the voltage that the CompactRIO is running on.
I will be running this CompactRIO on two 24V batteries and wanted to be able to detect when the battery levels were too low to continue operation. When this state is reached, or hopefully prior to, I want to offload the data I have collected before running out of power to do so.
Any ideas?
Thanks,
Ryan
Senior Systems Manager, CIMIT
Massachusetts General Hospital
Cambridge, MA
www.cimit.orgHi Eric,
I am not an electrical engineer, so trying to figure out a clever way to split the voltage and measure it on three different inputs would be a job for one of the other researchers here. This seems like a straightforward feature though. We are using the CompactRIO as an onboard controller for a robot, but I would imagine that other more "mission-critical" applications would benefit from knowing the voltage that is powering the C-RIO. Much like the on-board chassis temperature reading, it seems like an important piece that is missing from the basic feature list. I don't know if we even have the 3 inputs free on the AI module as they are used to control everything else.
Hmm.
Thanks,
Ryan
Senior Systems Manager, CIMIT
Massachusetts General Hospital
Cambridge, MA
www.cimit.org -
Can I get four inputs voltage reading from four sources at a time from NI USB 6009 DAQ
I had a photoquadrant detector with four quadrants . each quadrant have a positive lead. If i connect each lead to the DAQ's a0, a1, a2, a3 terminals and common ground to one of the ground of DAQ. Is it able to read four voltages from four quadrants at a time . And how to take the data through labview. In the manuals it's not shown can you provide me an example program.when i configure daq i'am selecting acquire signals--->analog input--> selecting a0,a1,a2,a3---> then configuring each channel with voltage limits all. then ok. Afetr that on the DAQ VI how can I read these four values. Is it by giving add inputs and put number indicator to each data like that or any other way is there. If you help me it's a kind job
Use the DAQmx Read. Choose a polymorphic case of N channels. It is up to you whether you want multiple samples as a array, multiple samples as waveforms, or single samples. The multiple samples as an array will give you a 2D array, the rows being the channel. The other options will give you an array, an index for each channel.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Maybe you are looking for
-
Why is firefox 13.1 in safe-mode slow running on windows 2008 R2?
Issue I connect to a large company support site and it takes forever to down load the site information. I do not have this problem with IE.
-
Unable to upload .pdf files to iCloud through Pages
Apple advertises that iPages allows you to share .pdf, .doc, .rtf files, but whenever I try to upload a .pdf file to Pages in iCloud I receive this message: "**** Can't be uploaded because the file format isn't supported. Supported formats include P
-
My movie rental did not download. I can't find it to try again.
I rented two movies via my iPad. The first did not download because of insufficient space. I freed up space, but I don't know how much it needs. The second movie started to download, but did not finish. Now neither is downloaded and I can't find a wa
-
How to post invoice through idoc?
how to send invoice to customers through idoc? what is the message type and idoc type for invoice? please explain me step by step in sending and receiving invoice through idoc? regards, pavan reddy
-
Hi there, I am trying to embed a link into a swf file so that when the user clicks on the movie, they are directed to the main page. As of now, I have drawn a rectangle over the entire movie, dropped the alpha to 0%, converted it into a button, and t