4 analog signal to read

Hai guyz,
How do I configure my DAQmx or coding so that it would be able to  read four signal at once. Im trying to read 4 analog voltage signal from my sensor. I appreciate any help.
Regards,
Newbie92
Attachments:
FrontpanelCombined.png ‏93 KB
combinedcoding.png ‏267 KB

Here's a quick example.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
Combine1_BD.png ‏31 KB

Similar Messages

  • Why use FIFO to read analog signal?

    Why must we use FIFO to obtain analog signal from FPGA? I can use a normal method of calling the FPGA using Read/Write Control and the results in a waveform chart is much more smoother. 

    I've uploaded 2 real-time VIs with and without FIFO. MQ convert is the subVI in my computer. Do have a look at it...
    My waveform chart is done that way so that I can easily export to excel ( i think) but this is a different problem in a different topic http://forums.ni.com/t5/LabVIEW/3-Waveform-Chart-to-a-Single-Excel-but-in-Different-Spreadsheet/m-p/...
    Attachments:
    Real-Time With FIFO.vi ‏397 KB
    Real-Time without FIFO.vi ‏391 KB
    MQ Convert.vi ‏19 KB

  • Reading analog signal using DAQPad-6016

    I'm trying to read an analog signal using DAQPad-6016.  One input is ground, the other is Vdc.  I can't get it to work in MAX and I'm confused becaue MAX only gives me an option for differential reading, but the pinouts don't give enough information on how to connect differentially.  Is there a reference as well?
    Solved!
    Go to Solution.

    Hello Bernadette,
    This link should have everything you need to get set up correctly: http://www.ni.com/gettingstarted/setuphardware/dataacquisition/analogvoltage.htm
    After you have a task set up, specifically see step 11 to verify the connections to the device. 
    I hope this helps!
    Matthew R.
    Applications Engineer
    National Instruments

  • How to input/output a digital signal and acquire an analog signal at the same time?

    Dasylab, version: 8.0.04
    Acquirement Card: PCI1002L
    When I use DasyLab to acquire the analog signals is no problem without digital inputs and outputs,
    and when I use DasyLab to input or output a digital signal is no problem also, but when I do that at the
     same time, DasyLab tell me the rate is too high and stop.
    so, I searched the manual book1 (user guide) for that, it showed me :
    To internally equalize measurement time and system time in the analog input, digital input and counter
    hardware modules, use the following settings:
       Synchronization: PC Clock
       Sampling rate: <= 5Hz
       Block size: =1
    the problem is, if I set the Sampling rate to 5Hz, the speed of the acquirement datas is not enough for my
    application.
    so, how to improve it? who can give me a example programm for me. thanks!
    by the way, I come from China, my English isn't good, I'm sorry.
    Allen, China.

    Hi,
    Have things changed over the years?
    I need to syncronise a digital output (Modul NI9474) and an analoge input (AI-Modul NI9203) module. I need to measure time intervals from a flank in signal A to a flank in signal B. I would like accuracies of the order of 1 ms. Currently, the signals are not synchronised, with errors of the order of 2 times the block length (block size x sample rate), sometimes much higher. The best I got so far was a block size of around 20 with a sample rate of 1 kHz.
    If I use the master and slave settings on the RTSL settings, my program doesn't run properly.
    If I use digital signals for input and output, I can syncronise them with RTSL settings and everything is good, but I can't always do that.
    Also, if I do anything in the GUI (such as scrollowing something or going to another window), my output gets screwed up properly.
    1. What can be done to synchronise AI with DO?
    2. Is there something that can be done to avoid messing up the output when something happens in the user interface? (I know that I am messing up the outputs as they make some valves switch and that is loud).
    Thanks in advance!

  • How to acquire analog signal and send a TTL pulse at the same time based on PXI 6123

    Hi,
    I am using a PXI-6123 data acquisition card, as the picture show in the attachment ,I want to acquire the analog signal of ai0 through reference analog window and at the same time send a TTL signal to trigger my camera. I have tried two methods, one is using the DAQmx Export signal.vi another is using DAQmx connect terminals, but when the data acquisition card acquire the analog signal, the DAQmx Export signal.vi and the DAQmx connect terminals sometime can send an TTL pulse ,sometime can not.
    I don’t know why?  or some other method that can achieve my arm is appreciated.
    Regards
    chunlei
    Attachments:
    method export signal.vi ‏21 KB
    method connect terminal.vi ‏36 KB
    Send a TTL pulse.JPG ‏288 KB

    Hi,
    Have things changed over the years?
    I need to syncronise a digital output (Modul NI9474) and an analoge input (AI-Modul NI9203) module. I need to measure time intervals from a flank in signal A to a flank in signal B. I would like accuracies of the order of 1 ms. Currently, the signals are not synchronised, with errors of the order of 2 times the block length (block size x sample rate), sometimes much higher. The best I got so far was a block size of around 20 with a sample rate of 1 kHz.
    If I use the master and slave settings on the RTSL settings, my program doesn't run properly.
    If I use digital signals for input and output, I can syncronise them with RTSL settings and everything is good, but I can't always do that.
    Also, if I do anything in the GUI (such as scrollowing something or going to another window), my output gets screwed up properly.
    1. What can be done to synchronise AI with DO?
    2. Is there something that can be done to avoid messing up the output when something happens in the user interface? (I know that I am messing up the outputs as they make some valves switch and that is loud).
    Thanks in advance!

  • Problem when combinning PWM signal and Analog signal TOGETHER!

    Hello everybody,
    first of all i have DAQmx 6212, and i need to run a small water pump (9V-16V) which needs to be driven by a PWM signal; also i have a motor (5V-13V) for a water valve that needs to be driven by a analog signal and it has a built in a force feedback potentiometer, i connected on the extremeties of this potentiometer +5V from the DAQmx and used the output voltage from the third extremety as a diagnose value for knowing the position of the motor.
    my VI shows:
    1. is a normal Counter output to create my PWMout signal.
    2. is an analog input i use it as a PWMin to the LabVIEW to diagnose what is happenning in my water pump through the duty cycle and the frequency.
    3. is an analog input from the third extremety of the potentiometer.
    4. is an analog output which i have used as a power supply for the motor valve and i have used an AC/DC amplifier to aplify the signal from the DAQmx and drive the motor, between (3. and 4.) i have made a feedback with some calculations i had a P-controller to know the actual position of the motor valve.
    My Problem:
    when putting 1. and 2. in the same VI alone, i am getting a clean PWM in/out with no problems mentioned;
    also when putting 3. and 4. in the same VI alone i can control the motor valve without any problems;
    but when i put all these 4 together as found in the attached VI, i have a problem that the motor valve is running continously without stopping even if i change the valve position between 0 and 100 %, i should mention that i am seeing a normal PWM out/in signal on my oscilloscope, one other thing that if i delete one of (1. or 2.)  and run the VI the motor valve is working fine without any problems.
    so this my problem, if you can think of any solution please let me know.
    thanks in advance for your help.
    Regards,
    Alosh
    Solved!
    Go to Solution.
    Attachments:
    pwm.out.in.analog.out.in.vi ‏45 KB

    Dear nathand thanks for your reply,
    i have ran the vi again and i am have error no 50103 from the (AI, number 3. )  but it is not displaying the error message, the VI keeps running without any error notification.
    adding to that,  i have tested the VI again today by placing (1. and 2.for the PWM inout) together in one VI and (3. and 4.for the motor valve) in another VI and ran them one after the other, i had another problem. if i turn the motor valve vi, the motor will run smoothly but in the pwm vi i will have a problem in which the AI did not read any value. also doing this vice versa by running the pwm vi first it will work perfect but the motor vi will have problem in reading the measured voltage in AI during this the motor will keep on running without stopping.
    so i think now the problem is in AI (2. and 3.) readings they are interfering on each other but i am not discovering where is my problem...
    Q: does the AI's seems well build or i can do it in an another way so to get over the interfering?
    Regards,
    Alosh

  • How do i send an analog signal to trigger another program

    I am trying to send out an analog signal from labView that will start Bioware. How can I do this?

    Hi Orbz,
    There are 3 Send modes in Logic:
    • Pre Fader (original signal is sent before it reaches the channel strip's fader etc.
    • Post Fader (sent before volume fader adjustments)
    • Post Pan (send before volume fader and Pan/Balance adjustments).
    Click and hold on the Send slot in your synth channel strip and select Post Pan fro the drop-down menu.
    Funnily enough I've just finished writing a tutorial about this very topic!! It's not published yet, but will appear on the macProVideo.com blog in the coming days...
    http://www.macprovideo.com/blog/

  • Analog signal smoothing

    I have a LVDT analog signal that I need to plot to a waveform chart for a test that is running at 5hz. The signal is very choppy and unreadable. If I slow it down to say 1hz or less the plot looks like a nice sine wave, which is what I am looking for. What can I do to acheive this at 5hz. Thanks in advance for help and advice.

    tavwtby wrote:
    And why should I be converting the Dynamic Data to an array of doubles, I am only reading a sinbgle scalar. I would have to index the array anyway wouldn't I?
    No you're not.  Your DAQ Assistant is getting 1000 samples from 4 different channels.  You are throwing away 999 samples from channel 0 and all of the other channels.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Analog signal from PXI

    Hi everybody,
    I have a problem: I cannot acquire 6 analog signals with a PXIe 8135 with 4MS/s. I use two boards with 4 MS/s, 16 bits and 8 Analog Inputs. I use a subVI of SAMPLE CLOCK for configuration with this parameters, Continuous SIGNAL, SAMPLE RATE = 4MS/s ( see attachment ). With one signal is ok, but with 2 signals, i have an overload Memory Message.
    Where is the problem in the VI?
    Thanks for your help.
    Attachments:
    acq_and_graph.zip ‏165 KB
    acquire&loggdata.png ‏230 KB

    Quickly looking through your code now, try removing the "Number of Samples analog".  Since you are using Continuous Samples, you are just limiting the buffer and also limiting how many samples you can read at a time.
    But you might want to think about using Finite Samples.  You know how long you want to log for and you know your sample rate.  So why not just do the simple math and tell DAQmx to get that many samples?  You can use the DAQmx Task Done? VI to see if it is done.  That would be much simpler than checking the time that has elapsed.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Synchronous acquisition 4 analog signal and independently count TTL impulse

    Hello!
    I'm have NI DAQ board PXI-6115. I have problem:
    Need synchronous acquisition 4 analog signal and independently count TTL impulse. When value counter will, at example, 5000 acquisition must stop. I'm read program in LV 7.1 but have a problem.  In HELP write:"You can create only one counter input channel at a time with this VI because a task can contain only one counter input channel. To read from multiple counters simultaneously, use a separate task for each counter". I make two different task, but error not disappear.
    I don't know how escape this error?
    Program VI with Front panel screen-shot in attach archive.
    Message Edited by _Pavel_ on 05-23-2007 09:06 AM
    Attachments:
    Progr.zip ‏80 KB

    Hey Pavel,
    Thanks for contacting National Instruments support.  Your program, in it's current state, is attempting to generate a finite pule train and count edges on the same card.  Finite pulse generation is a two counter device, where one counter generates the pulse train and the other counter gates the generation, or goes high when the generation is to start and low when it is finishes.  So no matter which counter you select for the count edges task you will get the error you describe. 
    Is it possible to use the pulses that you are counting as an external clock?  If so then you could just generate 5000 pulses and you would only acquire 5000 samples. 
    I have attached a modified example from your code.
    Let me know what you think.  It only acquires 5000 samples as desired.
    Regards,
    Kenn North
    Senior Product Manager - Search, Product Data
    http://ni.com/search
    Attachments:
    Progr.vi ‏58 KB

  • Is PCI-6036E suitable for me to send out analog signal to controll a device?

    Hello
     I need to controll and generate an analog signal to control a nanopositioning stage and I would like to know which one will be better using PCI-7344 board through UMI-7764 or using PCI-6036E board through SCC-68 I/O connector. additional question, I have actualy four wiring pigtailed with LEMO connector, the LEMO connector have two PINs which will be connected to the device, and the 4 wires which will be connected to the signal conditioner, the two pins Ain+ and Ain- with respect to the device, the other 2 wires one is the shield ground and the other one is ground also, the device is CGND, shall I connect the only two differential wires which will be connected in the analog out at the UMI-7764 snd the other one in AOGND at UMI-7764, and the other 2 will be ignored. please may I get any help or advice with full of thanks.
     Aneece
    Message Edited by Aneece on 04-09-2009 10:22 AM

    The XXXXX's means it's recording sys-ex information from somewhere, probably from your Yamaha. It also means you're probably recording onto an audio instrument track, or a MIDI track, not an audio track.
    Without assuming too much on my end, I would suggest, obviously, of course, that you spend a day or two really learning how Logic operates. Learn the terminology, really digest it, and take baby steps.
    Plug in one MOTU interface, and get audio in and out of that. Then plug-in the Yamaha, and do the same. Once you get that under your belt, set up the aggregate device, and by that point, you should be well on your way.
    Focus on the "Getting Started" guide, and after you have a handle on that, try pumping audio in and out of the interfaces, one interface at a time.

  • Filtering Analog Signals

    I am currently using a PXI 6025E board to read an analog signal from a weigh station. The items that are being weighed are in motion so the signal contains some vibration from the item being in motion as it crosses the scale. I would like to be able to filter the analog signal so that I just get the pure weight and not the noise from the vibration. What is the best way to filter the signal using LabView?

    Another method is the store a number of results and calculate the
    average of these points.
    Do sample fast to get more data and you will get a better result.
    The method with the best results depends on the noise expected, on its
    spectrum and amplitude distribution.
    Median is fine if you have a lot of good data and a few wrong ones far
    away from the 'real' result..
    AVG and Lowpass is fine for symetrical noise.
    DC / AC is fine in the same case, but the parameters cannot be chosen by
    yourself.
    Good Luck
    Urs Bögli
    preston johnson schrieb:
    >One method is to use a "median filter" this is a statistical median
    >of the data you have collected over a brief period of time.
    >Presumably, you will have a good number of cycles from the vibratory
    >motion. Use th
    e statistical function for median. This will sort the
    >data from most to least and produce a number in the middle of the
    >list.
    >
    >A second method is to use a low-pass filter to filter all data above
    >say 1hz.
    >
    >A thid method is to use the DC and RMS function and take the DC output
    >of the function.
    >
    >Try all three to see which produces the best result.
    >
    >Sincerely,
    >
    >Preston Johnson
    >
    >

  • Synchronize Motion velocity with DAQ analog signal

    Hi Everybody
    I am acquiring analog signals using hw trigger and external clock with C and A signals of a 1024 counts TTL encoder.
    Now I want to measure the rotation speed of a shaft. I have a Flex-Motion board with which I want to read the velocity (or the same encoder), but I don't know how to synchronize each scan of the analog signals with the velocity signal for that instant.
    I can´t use RTSI bus because my Motion board doesn´t have RTSI connector.
    Software and hardware:
    LabView 6i (v. 6.0.1.b3)
    DAQ-Board: PCI-6023E, NI-DAQ 6.8.1, MAX 2.0
    Motion board: PCI-FlexMotion-6C, NI-FlexMotion 5.0.1
    Thanks a lot for your help.

    Hi chia,
    with the hardware configuration that you have, I think it´s not posible to synchronize both boards due to you cannot share the same clock source (not RTSI on the motion board).
    http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/66e6f4ee7e0848d686256a55006...
    Sorry for the delay :-)
    Regards
    DiegoM.

  • How do create an analog signal from a text or binary file?

    I'm trying to output an analog signal from a file on an NI-DAQ 6251 card using labview 8.5. I've found the examples on building a waveform, but I'm stuck at how to read a text file and make a 1-D array to input my amplitudes into the buildwaveform.vi and I can't find any information on how to do so. Any help or direction is greatly appreciated.
    thanks,
    David
    Solved!
    Go to Solution.

    If all that you want in the file is the Y values, then a text file with a value on each line could be read. The Read From Spreadsheet File can be used. It will return a 2D that you can then use the index array function to get a column or if you select Transpose, the returned 1D array would be used.
    If you want to create an example, use a 1D array constant in a VI and pass it to the Write to Spreadsheet File.

  • Analog signal from Laser Power Meter

    Hello,
    First, I have to say that I am new using Labview.
    Probably for some of you the question I am going to ask is pretty easy, hope you guys can help me solving this.
    I am trying to acquire an analog signal from a Fieldmate Laser Power meter, the specifications from this meter are shown in the link below:
    http://www.coherent.com/downloads/FieldMateDataSheet.pdf
    I need to get the signal and save it in MS Excel files. My big issue is with the acquisition of the signal from the meter to the NI Board. I am using an NI SCB 68.
    Hope you guys can help me.
    Thanks.

    The SCB68 is just a shielded connector block, not a DAQ device.
    Use NI's MAX utility (Measurement & Automation Explorer) to find out what DAQ card you have installed in the PC.
    There are also plenty of analog acquisition examples that ship with LV, Search Examples in Help.
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

Maybe you are looking for

  • Problems setting up email + understanding Pin and BB internet service

    Hi, I've been browsing for answers about my new black berry 9700. When I try to set up my email on the phone it says. "Your email account is already activated for enterprise use." I have no idea what that means. I brought the Blackberry pretty much b

  • Things to try before a HD erase

    Hi everyone-- I'm having a myriad of problems with my iMac G5 (latest pre-iSight) which has never really happened with any Mac I've owned. Problems: ---Freezes (yeah, it's like OS9 or Windows-- its frustrating) This happened three times as I tried to

  • The autosave feature does not work on Pages 5.2

    Since downloading the new version of Pages with Mavericks, the auto save fearure has never worked for me. After initally saving the document to iCloud, giving it a name and folder, every time I make a change I get the 'Edited' label next to the docum

  • I am unable to email pictures help

    my contacts are not receiving the pictures in my emails

  • Handbrake Saving Files in Parallels

    I'm using Handbrake to convert some video files. By default, Handbrake saves the output files to my Mac desktop, which is fine; this way, I can see what I am working on, and then move the files to their appropriate location when I am done. What is st