Acquire 2 signals with different sampling rate?

Hello,
i am using first time labview signal express together with a NI pci 6251 & NI Scc 68 device.
There are 2 signals I wish to acquire over a 2 week time period. They should be saved in several tdms files. One is a dc Voltage.(sampling rate 100Hz) The second is voltage given by an acceleration Sensor. (sampling rate 4kHz)
When I try to acquire them I couldn't figure out how to set the sampling rate for each signal, only for all signals.
When I created two DAQmx assistant acquire tabs. An error occurs always: "the specified resource is reserved".
So my question is is it possible to do this?

hello markus_umd,
no, it is not possible to create different samplingrates for individual channels on one daq device.
if you want to record one channel slower, you must reduce the samples for that channel in your program.
if the channels have a common divisor, you could implement your task. you find more information here:
Sampling Different Channels at Different Rates with NI-DAQmx
kind regards,
robert h
NI germany

Similar Messages

  • Parallel acquire 2 signals with different sampling rate on 2 cards

    Hi NI,
    I have cDAQ-9178 and NI 9221, where sample rate is 10kHz and NI 9219, where I need sample rate about 10Hz, it's possible this confiruration for parallel acquire?
    Thank you.
    Neolker

    Hi Neolker,
    Do the tasks need to be synchronized or are totally independent tasks?
    If the tasks are independent, than you basically have to create two different tasks, even in two different loops that will run with different sampling rate.
    You can have them in the same loop the reading if you assure that the data are transfered in chunks to application memory according to tha sampling rate (Ex. for 10kS/s rate you can transfer data with 1kS chunks and for 10S/s rate with 1S chunk).
    If  you want to synchronize them, you will need a counter that will divde the sample clock from 9221 and route it to 9219.
    Let me know if you need more help.
    Best regards,
    IR

  • What's the best way to sample multiple AI's with different sampling rates under one task?

    I'm using a PCI-6221 card and CVI 7.1.
    I have a tri-axis vibration sensor and two other pressure transducers.
    I want to take 10k samples from each vibration axis at 80 kHz. This is
    possible by configuring the scan rate of the "vibration task" to 240
    kHz. (The card maximum is 250 kHz).
    I want to take 1k samples from each pressure transducer at 250 kHz. This happens very infrequently.
    Each measurement is required by a separate task.
    I thought I could do this by setting up three finite tasks (1
    vibration, 2 pressure), but DAQmx won't let me run more than one AI
    task at a time. I've read other posts here, and I realize I have to
    add/remove physical channels on-demand.
    What is the best way to optimize this setup so that I'm not hogging up system resources?
    Should I do the following?
    1. Stop the task
    2. Remove the vibration channels from the task
    3. Add in a pressure channel
    4. Configure the pressure channel
    5. Start the task
    6. Take the pressure samples
    7. Stop the task
    8. Remove the pressure channel from the task
    9. Add in the vibration channels
    10. Configure the vibration channels
    11. Start the task
    Also, the vibration portion is running in finite mode, but I'm looping
    it. Should I switch it to continuous and run the "DAQmxReadAnalogF64"
    to sample the latest 10k samples. (If the task is continuous, would I
    pull the latest 10k samples, or would I pull some old buffered samples
    instead?)
    Thank you,
    Nobody

    Hello Nobody,
    If you configure your task timing to acquire a finite number of
    samples, then you can only read the number of samples that you
    specified in your configuration.  Once you try to read more
    samples, you will receive the error you are seeing.
    If you configure your task timing for continuous acquisition,k then you
    can read samples indefinitely.  Any given DAQmx Read will read the
    oldest unread samples in the buffer.
    If you are going to be switching between different tasks, you will definitely need to stop one before you start the other one.
    I hope this helps!
    Eric
    DE For Life!

  • How can I add a curve with a different sample rate behind another curve to show it like one in the report

    I saved two curves with different sample rates with signal express in waveform.
    Now I want to add the curves behind and show them in a report. 

    Hello MReizner,
    Both the DIAdem VIEW and REPORT panel use the time information from your Waveform channels (make sure they actually have the waveform symbol, not the numeric data channel symbol in the Data Portal) to plot the data in the same axis system.
    In the example below I have two waveforms, one sampled at 5 Hz and one sampled at 1 Hz, both in the same axis with the same time channel. All I did was drag the data from the Data Portal onto the axis. DIAdem automatically takes care of creating the correct time channel and plotting the data with the correct points if the data is stored as a waveform.
    I hope this answers your question, please let us know if further clarification is required ...
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • How to build a array with high sampling rates 1K

    Hi All:
    Now I am trying to develop a project with CRio.
    But I am not sure how to build a array with high sampling rates signal, like >1K. (Sigle-point data)
    Before, I would like to use "Build Arrary" and "Shift Register" to build a arrary, but I found it is not working for high sampling rates.
    Is there anyother good way to build a data arrary for high sampling rates??
    Thanks
    Attachments:
    Building_Array_high_rates.JPG ‏120 KB

    Can't give a sample of the FPGA right now but here is a sample bit of RT code I recently used. I am acquiring data at 51,200 samples every second. I put the data in a FIFO on the FPGA side, then I read from that FIFO on the RT side and insert the data into a pre-initialized array using "Replace Array subset" NOT "Insert into array". I keep a count of the data I have read/inserted, and once I am at 51,200 samples, I know I have 1 full second of data. At this point, I add it to a queue which sends it to another loop to be processed. Also, I don't use the new index terminal in my subVI because I know I am always adding 6400 elements so I can just multiply my counter by 6400, but if you use the method described further down below , you will want to use the "new index" to return a value because you may not always read the same number of elements using that method.
    The reason I use a timeout of 0 and a wait until next ms multiple is because if you use a timeout wired to the FIFO read node, it spins a loop in the background that polls for data, which rails your processor. Depending on what type of acquisition you are doing, you can also use the method of reading 0 elements, then using the "elements remaining" variable, to wire up another node as is shown below. This was not an option for me because of my programs architecture and needing chunks of 1 second data. Had I used this method it would have overcomplicated things if I read more elements then I had available in my 51,200 buffer.
    Let me knwo if you have more qeustions
    CLA, LabVIEW Versions 2010-2013
    Attachments:
    RT.PNG ‏36 KB
    FIFO read.PNG ‏4 KB

  • Different Sampling rates for different channels in Analog Input

    Hi,
    I would like to acquire data at different sampling rates on different channels say ACH 0, ACH 1 and so on. I have a PCI 6052E board and NI DAQ 6.9.2. Also is it possible to simultaneously perform Analog output on two different channels along with the Analog input? What will be the problems/consequences as far as the system resources are concerned. I am a beginner in this area and would greatly appreciate any help/pointers for my queries.
    Thanking you in advance
    Deepak

    Search the eaxamples that ship with LV.
    Theer is one called simultaneous input and output or something like that.
    It will get you started.
    re: multiple scan rates. This is acoomplished by sampling all channels at the highest rate and throw away the expttra samples you do not need.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Wave form chart for different sampling rate

    Hi
    All,
    I have to use different sampling rate to get  pressure data. Can I use the waveform chart to monitor the pressure data with time?
    If not, what kind of graph should I use?

    Different sampling rate than what? A chart or graph can be used. Depends mostly on how you want to update it.

  • How can I edit multiple clips with different frame rates on the same timeline

    how can I edit multiple clips with different frame rates on the same timeline

    You do not want to edit material from different frame rates on one timeline. You CAN do this, but it is a very bad idea - and this is why.
    Once you establish the sequence frame rate - lets say it is PAL material at 25fps, any material that you drop into the sequence other than 25 fps will have to be changed to play at 25 fps. If the material you add is NTSC (29.97), FCP will DROP 5 frames per sec to bring the frame rate down to 25 fps. Which 5 get thrown away? Every 6th one. This yields a funky cadence that becomes even more complex as as there are also interlaced fields (DV/NTSC is an interlaced format). Oh, and by the way, the image sizes are different as well. DV/PAL has 576 lines of resolution and DV/NTSC has 480. FCP has to scale up the NTSC to fit the PAL frame.
    You do not want FCP adjusting these things on the fly. You want to do a thoughtful (and time consuming) conversion so that you end up with all your material in one format with the best possible image from the conversion process. Compressor can do an adequate job with Frame Controls turned on. The Natress Standards Conversion FCP plugin is another way to go. A third option is to find a post house that can do the conversion for you using a hardware based process.
    The good news is, once everything is in the same format, editing it will be painless and the output process very quick.
    Whatever frame rate/ image size you select, I'd suggest using ProRes for the codec. It is 4:2:2 color and will withstand color correction and composting with much more grace than any variant of DV based codecs.
    Have fun.
    x

  • Acquire a signal with mac osX

    Hello.
    I am a very beginner with LabView. 
    I would like to acquire a signal with a NI-USB 6009. I have LabView 10 on osX 10.8. I already installed the daqmx base driver.
    Could you explain me how to acquire a signal which come from the NI USB 6009 and export it as a list of numbers (the amplitude and the time).
    Thanks!

    Hello matttgic,
    What kind of signal do you want to acquire/generate?
    For exemple, if you want to acquire an analog input, you should use the architecture use in the file "Analog_input attach to this email.
    As Johnsold told you, you can find some code for your device in the "find exemple" section of LabVIEW.
    Hope this help
    Sabri 
    Attachments:
    Analog_input.PNG ‏13 KB

  • How can I continuous​ly streaming data to disk with 1MHz sampling rate with PCI 6110?

    I can only save 3 seconds data with 1MHz sampling rate using PCI 6110. Is it possible to continuously save longer time data (say 1 minute)?
    Many thanks

    if the binary file is big the ASCII file is very very very big.
    1 measurement is coded in a I16 => 2Bytes ( 4bit is not used 611X is 12bit
    card)
    if you use +/-1V range the quantum is (2 * 1V) / 4096 = 0.0004883V or 0.4883
    mV you need to use 8 digits minimum.
    And If your binary file is 1 Mo your ASCII file is 4 Mo.
    You can use this VI for inpiration you need to add the translate I16 to DBl
    to make a real value before saving.
    For Help you can mail inthe newsGroup.
    I'am a french user and my english is not good Sorry..
    Fabien Palencia
    Ingenieur d'etude ICMCB CNRS
    "StephenZhou" a ?crit dans le message de news:
    506500000005000000A5AF0000-1031838699000@exchange.​ni.com...
    > Hi, Fabien Palencia
    >
    > The program is great.
    Do you happen to know how to convert the big
    > binary file to ascii file? Thanks
    [Attachment recup data I16.vi, see below]
    Attachments:
    recup_data_I16.vi ‏57 KB

  • NI 5761 with low sampling rate

    Hi,  is it possible to change the NI 5761 sampling rate without programming FPGA? Thank you very much!

    Hi, as mentioned above you can play with the sample rate by using an external Sample clock. Take a look at the picture attach for the general idea. Simply replace the Boolean buttons for digital input ports. I hope this helps
    Alejandro | Academic Program Engineer | National Instruments
    Attachments:
    Capture.JPG ‏256 KB

  • How to acquire data from 2 chs of the same DAQ card at different sampling rate

    I am using single DAQ card (either 6013 or 6014) in my system i want to acquire data from 2 (or more) channels with following requirements
    1. sampling rate of each channel should be independant of each other (say one is 20 Hz and other is 15 kHz)
    2. data from all the channels should be acquired simultaneously.
    3. coding must be done using DAQmx VIs
    I have tried out following things
    1. I created separate task for each channel: i found out that two tasks can not run simultaneously even though the channels are different
    2. I tried out single task with two channels included in it. and i used 'channels to Read' property to determine from which ch. i want to acquire data: this method works fine if the sampling rates are same. but if i change the sampling rate of one channel it gets reflected in other channels as well.
    can somebody help me out to solve this problem.
    i will appreciate if somebody can post the sample code as my deadline is approaching
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

    Hi Dennis Knutson
    Thanks for your suggestion.
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

  • OMF - Mixing Different Sample Rates

    Hello -
    So, I've got an OMF file from a FCP project that I opened in Logic and have been mixing without any issues. Interestingly, all of the audio files associated with this project are 44.1 kHz, but I am mixing in 48k. But everything is right (sounds right, looks right, syncs with video correctly).
    But... if I open the same files in an external editor or quicktime, they play back incorrectly. And if I save a file in a different program, even if it is still at 44.1, and bring it back into logic, it plays back incorrectly. This is problematic if I need to edit an audio file somewhere other than within logic (say I want to do some noise reduction in soundtrack pro).
    Anyone run into this issue or have any ideas about how this happened?

    There are a few ways to look at this.
    1) Regions in the arrange all play back at the session sample rate. Example: 44k session, 96k audio file in arrange=slower playback
    2) Logic automatically converts output sample rate so you can record independent of CA devices. Example: You have a session recorded at 96k, your interface is not connected, Logic will load Built in Audio, Logic runs tyhe sessions at 96k and converts the SRate of the session to match the supported sample rate. So you can run sessions at unsupported sample rates, this rarely makes sense if you cannot capture your audio at session sample rate (if needed).
    3) There are a few other options for handling this, such as EXS24, which automatically handles SRC.
    4) When Importing Audio Files there is a song preference which you can en/disable to automatically convert SR upon import.
    I think your friend may have referred to point #2 and it was interpreted as point #1...perhaps. Hope this clears things up. J

  • Understanding compositions with different frame rate

    Hey everyone,
    I am working with AVCHD footage with a frame rate of 25.
    If it drop my footage into a new compostion after affects sets everything
    up automatically.
    I'd now like to what happens to my avchd clip if I change the frame rate
    of my compostion from 25 to 24. What excatly happens to the frame
    missing? Does AE just gets rid of it?
    Does it make a difference if I just change my comp settings from 25 to 24
    or if I drop my 25 comp into a new one with 24.
    Thinking of it the other way around, if I change my frame rate from 25 to 50,
    does that mean that AE doubles the frames of my files?
    In general, does the changes have any impact on the speed of my footage?
    I'm looking forward to your reply. Much appreciated.
    Best,
    Alex
    PS: this count for Premier Pro aswell?

    When you create a layer in a composition, and that layer is based on a video footage item, the composition checks at each composition frame to see (sample) the data from the footage item. If there isn't a single frame of data from the footage item that exactly lines up with the frame in the composition, then the composition samples from the footage frames on either side and does one of several things: It can either just pick one of the two frames, or it can just mix them together, or it can do something much smarter and try to reconstruct the image that would have existed between the two frames.What it does depends on what frame blending setting you're using.
    When you're using a footage item that has a higher frame rate than your composition, and both frame rates are relatively high, you don't need to worry about this at all, as the default settings tend to work just fine.
    To sum up, changing the frame rate of the composition just changes how often the composition samples the image data from the footage item. It does nothing to the footage item itslef and doesn't affect how fast the video from that footage item plays in a layer.
    To interpret a footage item as being at another frame rate, or to conform a footage item to a frame rate, you have to use the Interpret Footage dialog box.
    For more information, see "Frame rate".

  • Relink project clips with different frame rate

    Somehow the clips in my project sequence ended up with a different frame rate (25) than the original media files (23.95), and they are no longer linked -- maybe this happened during import from iMovie.  When I try to relink project files to source media, I get an error message saying they cannot be relinked because they have a different frame rate.  I changed the sequence framerate to 23.95 (by creating a new project with 23.95 as the frame rate, then copying and pasting the other timeline into it), but all the clips remain at 25, so the problem remains. 
    How can I change the clip properties to frame rate 23.95 so I can link to the original media?
    Thanks.

    The media got unlinked importing the project and events from iMovie to Final Cut.
    I've attached screen shots with all the specs.

Maybe you are looking for

  • Can I replace a published muse site with one I have been working on?

    I have published a muse site as a holding page on a webasics plan, and while that has been live I have started a new muse file an built a website which I intended to replace the holding page with. I am having trouble figuring out how to replace a alr

  • Cannot connect to iTunes is it down?

    I live in Arkansas have been having trouble connecting to the iTunes store for 3 days now. Ive done everything suggested in all the post nothing working. Is iTunes down? Does anyone k ow how to find out if that is the problem? Is anyone else having t

  • Accordion Issue

    Hi, I have constructed a nav using 3 accordions. To test the code I constructed a new page with only the nav on it. Example at: http://www.flowerssameday.co.uk/accordian.asp Everything works fine in both IE and Firefox. But when I integrate the code

  • Only VAT correction. How possible in SAP?

    Hi, We would like to correct only the VAT amount. Is this possible in SAP? Please give an example with transaction code. Best Regards, Eric van Zundert.

  • Blackberry Application World for South African USE - What a nightmare and a mess!!!

    I am seriously thinking of leaving blackberry with their crappy support service - Since I have updated my blackberry application world about 2 months ago, I have not been able to access any new application updates etc. Somethimes my phone auto-reboot