I need to acquire 6 channels (voltages) on a PDA with DAQCard AI-16E-4

Hello all,
This may be an elementary task, but I can't figure it out. I recently upgraded to a PDA collection system. My first task is to collect 6 voltages, at approx. 200 HZ per channel, for about 2-3 minutes. I have noticed that in DAQmx Base I can only set up three channels per task. Can I use two tasks at the same time? Will this cause a time delay between collecting each of the 2 channel groups? Maybe there is a way to collect all 6 with one task?
Also, I would like to either dump these voltages to a file (.txt, or something that can be read in Matlab or Excel). I have not seen an example that does this, is it because it's not possible? I could also send the info via bluetooth to a laptop during the tests, but that seem like it might be complicated. any suggestions?
Thanks, these forums have helped me a lot in setting up this system.

Tom,
Thanks for the reply. Since this post I have figured a few things out. I am now collecting 6 channels and storing them in a txt file readable with Excel. So that is good.
The one thing I'm trying to confirm is that I am not losing any information due to overwriting memory. I need to acquire continuously until I hit the "stop" button, and once stop is hit I need to be sure that I have stored all acquisitions, i.e. the card buffer is empty and no data lost. I'll attach the VI that I am using. How should I set up my channels in the config utility?
As far as software, I'm using DAQmx Base 1.0 and the LabView PDA Module 7.1 to work on the VI and build it. If there is an easier way to do this task, i.e. another VI that is simpler, or a different program (you mentioned DAQ assistant) I am interested.
Thanks much!!
Josh
Attachments:
ISL in PDA.vi ‏69 KB

Similar Messages

  • Acquiring 4 channels at 10kHz using PCI-6070E card and Labview 7.0. I need to average a signal that is time-locked to an analog trigger. Is their an available vi to accomplish this?

    I am acquiring 4 channels of data, sampling at 10 kHz. I am using a PCI-6070E board. I need to average a biological signal time-locked to an analog trigger that occurs at about 3/second. Is there a vi that will accomplish this?

    If you are looking for a way to do a "retriggerable" acquisition, there is a shipping example called Acquire N - Multi-Analog Hardware Trig.vi that accomplishes this. However, please note that this example achieves this effect by reconfiguring the task for each trigger in software. This means there is a delay between reconfigurations. If a trigger signal comes during this reconfiguration, it will be missed. This delay is system dependent on how fast your computer can execute the reconfiguration code. The 6070E does not support hardware retriggerable acquisitions.
    However, if you are wanting to acquire continuously and then do some post-acquisition analysis, I couldn't find any examples that accomplish this, but it wouldn't be too hard to build one yourself. Y
    ou would probably want to include your trigger signal as an additional input channel. Then once you've acquired all of your data, in software you can scan through the data acquired for the 5th channel and then segment your data according to that signal. I hope this information helps.

  • How to read frequency channel & voltage channels at the same time with different rates?

    I am using a DAQCARD 6036E with a SCXI-1000 chassis.  I have a SCXI-1100 & a SCXI-1126 modules, along with a SCXI-1124 AO module for voltage output.  I am acquiring several voltage input channels with the SCXI-1100 & one frequency channel (frequency signal upto 12000Hz) with the SCXI-1126.  I want to configure all the channels in the Measurement & Automation so that I can use the Scale function to setup all the channels.  I am using a higher acquisition rate for the frequency channel than the voltage channels.  I had the block diagram as attached.  When I run the vi, I had the resource problem.  The err. msg. is: the specified resource is reserved..  Any suggestions as how to acquire a frequency signal & several voltage signals with this system setup using the DAQ-mx?
    Attachments:
    Document.rtf ‏4727 KB

    Since a common ADC is shared with all your SCXI analog input channels , you will have to sample all channels in a scan list at same sampling rate.
    However, you can set up frequency and voltage virtual channels using different instances of "create DAQmx Virtual channel" function in the same task as shown in attached pic, set scan rate and read them using a single DAQmx read
    Attachments:
    vi.PNG ‏6 KB

  • Acquiring multiple channels programatically

    Hi Am using SCXI 1125 with 1328 terminal blocks to acquire temperature values from thermocouple's. My problem is that i need to select the channels to acquire programatically, and create a task dynamically with the channels to acquire the data. the virtual channels should include data such as noise filtering, if i pass a string to create task function with all the channels i want to acquire, i cannot set the noise filtering in the task i created. but if i create a task previously then unnessesary channels will be scanned, which is not fisieble. should i create global channel for each physical channel with information regarding filtering in it and then create task with these global channels, or is there any better way?.

    It's really more a matter of preference. I prefer to set things in my program just because I can see what's going on and change it. If you want to create a global channel with the properties already set that shouldn't be a problem either.
    If I was making it, everything would be set programmatically. But either method will work, and you should do whichever you think would be best for your overall application and future users.
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • HELP! (how to acquire two channels via gpib?)

    Hi,
    I have the following problem:
    I have a LeCroy 4 channel OS connected via GPIB to my PC.
    I need to acquire 100ms of data from two channels simultaneously, triggering
    the event with a third channel.
    I have installed the Labview-IVI drivers for my OS, but looking at the
    application's example I find only a one-channel acquisition example, and I
    don't know how to change them in order to do a two-channel acquisition.
    (I' m able only to make sequential acquisitions....).
    How can I syncronize the read waveform blocks?
    Please help me,
    Many thanks
    Andrew

    Since you have an IVI driver for the scope, you can use the IVI Oscilloscope class driver. Do all of the initialization and configuration for acquisition, channel, and trigger (under the configuration palette). Under the measurement palette, you can do an IVI Scope Read Waveform for one channel, and then do a an IVI Scope Fetch Waveform. The read initiates an acquisition and the fetch returns a waveform for any other enabled channel without doing another acquisition. Both the read and fetch return an initial x relative to the trigger and x increment in seconds so its easy to get the data you need from the waveform arrays. Good luck.

  • What software do i need to acquire image from a camera and 1407 board

    I need to acquire an image and measure thickness of a needle. I have labview 6.0.2 and have installed NI-IMAQ 2.5.1. What other software do i need to install? Do i need Advanced IMAQ Vision?

    With NI-IMAQ (now up to version 2.6) you are able to acquire, display, and save images. With IMAQ Vision, you'll be able to very accurately measure the thickness of the needle. If you attach an image to this post, I should be able to tell you just how accurate IMAQ Vison can be. You can find out more about IMAQ Vision (which is a component of the Vision Development Module for LabVIEW) here, http://sine.ni.com/apps/we/nioc.vp?cid=2881〈=US
    The other route (aka, the free one) is to convert the image into a 2D array of pixel values. From this array, you may be able to measure the thickness of the needed by writing your own algorithm. It most likely won't be as precise as the IMAQ Vision tools (which give you real world measurements down to the 0.1 pixels).
    The Vision Development Module will work with LabVIEW 6i, so there is no requirement to upgrade to LabVIEW 7 Express. But in case you're curious, the new LabVIEW is really something. www.ni.com/labview is the place for more info.
    Kyle V.

  • Do I really need to create virtual channels in data neighborhood in order to access my pci 6034E?

    Hello all,
    This may sound a little weird, but I would like to know how to configure my 6034E without having to create virtual channels in data neighborhood. Reason being, the data is often lost when users update or search for new instruments in Measurement and Automation.
    I have tried using the AI CONFIG.VI, which gives me all the attributes I need...set channel name, device name, device channel, input mode, sensor/actuator type ect..  When I connect the AI READ.VI the value read back is incorrect. Matter of fact as an exapmle, the power supply could be off and I still read 10 Volts. But when I have created a virtual channel in data neighborhood, the data read back is correct.
    Is there another way to read back data but not have a virtual channel in the data neighborhood?
    Thanking you in advance,
    Demo

    Duplicate post

  • With single trigger, I want to acquire two channel in sequence

    I wanted to observe the sequence of  effects on more than two channels with respect to a single trigger input. And also I wanted to measure each channels with different " number of samples". For example Firstt channel with 10 samples and second with 500 samples. How I can implement this on PCI 6034 and USB 6008 DAQs 

    The 6008 has only very basic functionality.
    I would say to achieve the results you want you will need to add multiple channels to a single task, all at the same rate, and only extract the data you need.
    That way all channels will be synchronized.
    I don't think the 6008 can even do correlated digital-analog I/O or trigger off an input channel.
    I don't have any experience with the PCI 6034, but if you only need 500 samples then the method I mentioned above should work regardless.
    Troy
    CLDEach snowflake in an avalanche pleads not guilty. - Stanislaw J. Lec
    I haven't failed, I've found 10,000 ways that don't work - Thomas Edison
    Beware of the man who won't be bothered with details. - William Feather
    The greatest of faults is to be conscious of none. - Thomas Carlyle

  • Need to output 8 channels using double buffer

    Hi,
    I need to ouput 8 channels to the DAQ card.
    I am getting an array 8 bytes of data every 10 milliseconds.
    Each byte corresponds to a channel.
    I am using your WFMDoubleBuffer.c code.
    The changes I have made are :
    1. Changed the buffer from 32K to 16 bytes. I am assuming 8 bytes with double buffer = 16 bytes
    2. I'm not sure about updateRate, so I set it to 1.0
    Result : I get an error from WFM_Group_Control(). It says "The operation could not complete within the time limit", error = -10800
    I have attached the file for your reference.
    Please help me.
    Thanking you in anticipation
    Chandra
    Attachments:
    WFMdoubleBuf.C ‏8 KB

    Chandra,
    The timeout error here is slightly misleading. The reason this is happening is caused by a few things. By default, the card to setup to transfer data when the onboard FIFO is full, and so your half buffer must be the same size or large than your FIFO unless you have regeneration turned on. Regeneration will cause your buffer to be copied as many times as possible into the FIFO until it is full. Your 6713 has an AO FIFO size of 16,384. So your buffer size must be twice this, so that your half buffer is >= 16384. Where is your data coming from at these 10 ms intervals, from a program or another device? This could affect what method would be the best solution.
    If you want to keep working on this, let�s stick to one channel, I sent you an email, did you get
    it?
    Kevin R
    Applications Engineer
    National Instruments

  • Unable to acquire 4 channels (2048 samples to be read).PCI 7030/6040E

    I am using the PCI 7030/6040E DaQ card (Labview 6.1, Windows 2000,Pentium).I want to acquire 4 channel data (2048 samples from each channel)at 6.5kS/s Sampling Rate.When I do this using AI Acquire Waveforms.vi the program gets stuck.When I use continuous buffered acquisition using intermediate VIs, then data over write error occurs.(I am taking FFT of the data and plotting the data as four Waterfalls using Intensity Chart.).It says that you are not reading data from the buffer as fast and so overwriting occurs.How can I solve this problem.Can I get data at this rate using this card ?If so,what should be the buffer size etc? (I want continuous acquisition).

    thanks.i am attaching the code,Buffered.vi and non_buffered_ni.vi.both does not work.the second one gets stuck and the first one gives some overwrite error.Actually what I want is the first one,buffered.vi,because I want continuous acquisition.the second one i have tried to see whether it will work.as i have told,i want a sampling rate of 6500 samples/sec and i want to take 2048 samples from each channel to take FFT and plot waterfall.hope this gives a clear picture.
    Attachments:
    Buffered.vi ‏183 KB
    non_buffered_ni.vi ‏148 KB

  • 64 channel 1450 Hz data logging with PCI-6033E card, on-line averaging and viewing the raw and averaged signal in CWGraphs.

    I'm acquiring 64 channels at sampling rate of about 1450kHz continuously and showing the data second by second in a CWGraph. Now, I would like to add an on-line averaging for all of those 64 channels and show it in another CWGraph. The averaging should occur with respect of external trigger and the sample should consist of about 100ms prestimulus and 500ms poststimulus period. Has anybody been handling this sort of things? How it's solved with ComponentWorks and Visual Basic?
    I'm using double Pentium 700MHz processors and NI-DAQ PCI-6033E card.

    1. To get started with external triggering check out the examples in the Triggering folder that install with CW under MeasurementStudio\VB\Samples\DAQ\Triggering.
    2. Create a prestimulus buffer that always contains the latest 100 ms of data. Just modify the CWAI1_AcquiredData event to transfer ScaledData (the data acquired) to your prestimulus buffer. See how there will always be a prestimulus buffer of data regardless of trigger state?
    3. On the trigger, you can use the same CWAI1_AcquiredData event to route the data into poststimulus buffer and average the 2.
    I see something like this:
    if no trigger
    100 ms of data to prestimulus buffer
    if trigger
    500 ms of data to poststimulus buffer
    averaging and display function
    reset trigger and buffers
    good luck
    ben schulte
    application engineer
    national instruments
    www.ni.com/ask

  • How do I sync my new ipad mini with my old ipad 2, without losing any apps or data in notes?  I need step by step instructions for first-time sync with ipad mini.  Thanks.

    How do I sync my new ipad mini with my old ipad 2, without losing any apps or data in notes?  I need step by step instructions for first-time sync with ipad mini.  Thanks.

    If you synced it many times, you have to have a backup. It's just a question of how old that backup is now. When did you last sync?
    First of all launch iTunes on your computer and go to Edit>Preferences>Devices. Do you see any backups for you iPad in that window? If so, how new is the newest backup? That will be the backup that you will want to use. But remember that if you use that backup and it is one month old, you can only restore from that date back in time. Anything that you did on the iPad in the past month will not be in that backup.
    Turn on the new iPad Minin and start activating OTA via WiFi. You will get to a certain point in the process where you will be given the choice to Set up as new, Restore from iCloud - or Restore from iTunes. You will want to select Restore from iTunes.
    That is the short and sweet version. There are step by step instructions in this article. This applies to the mini as well as the iPad 4 or the iPad 3 for that matter.
    http://www.everythingicafe.com/how-to-set-up-new-ipad/2012/03/16/

  • I have a Apple imax only about 9 months old. I need a new printer. I am looking at a Canon MX926 PIXMA. Do I have Airprint or do I need to purchase it? I am a novice with Apple and any assistance would be greatly appreciated.

    I have a Apple imax only about 9 months old. I need a new printer. I am looking at a Canon MX926 PIXMA. Do I have Airprint or do I need to purchase it? I am a novice with Apple and any assistance would be greatly appreciated.

    Welcome to Apple Support Communities
    If your iMac is only 9 months old, it probably comes with OS X Mountain Lion, and it includes AirPrint, so you do not need to purchase anything else apart from the printer (which is compatible with AirPrint).
    Once you have purchased the printer, you need to follow the steps of the manufacturer. To add the printer to OS X, see > http://support.apple.com/kb/HT4670

  • Have an older 17 MacBook Pro, running OS 10.5.8. Software update says everyting is current. Just bought new iPhone 5S. Mac won't recognize phone, says I need newer version of iTunes. Have no problem with computer recognizing old phone or iPad.

    Have an older 17 MacBook Pro, running OS 10.5.8. Software update says everyting is current. Mac doesn't have iCloud, preferences still shows MobileMe. Just bought new iPhone 5S. Mac won't recognize phone, says I need newer version of iTunes. Have no problem with computer recognizing old phone 3 or 1-1/2 year old iPad. I suspect I need to update OS, but as software update isn't telling me to do so, can I? What version would I need to go to?

    Your MacBook Pro can be updated to run Mac OS X "Snow Leopard". Buy it. That will enable you to run the latest iTunes version.
    Online (US): http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    Online (UK): http://store.apple.com/uk/product/MC573/mac-os-x-106-snow-leopard
    Germany: http://store.apple.com/de/product/MC573/mac-os-x-106-snow-leopard
    Elsewhere: call the phone number in the Apple Online Store
    Apple's price is $19.99, £14.00, €18.

  • I need any help i can get, im having trouble with the app find my iphone. I have lost my iphone, checked on the computer, and somehow, took it away so how do i get it back??

    Help
    I need any help i can get, im having trouble with the app find my iphone. I have lost my iphone, checked on the computer, and somehow, took it away so how do i get it back??

    If you are saying that after signing into iCloud it is telling you device is not found, it could be for any number of reasons. If the battery is dead, if the SIM has been removed, or if someone else has the phone and they have restored it, it will not be shown. Also, if you located it once and then sent a remote wipe, it disables the abililty to locate the phone with Find My iPhone.

Maybe you are looking for