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

Similar Messages

  • Different sample rates from different cameras

    I took some video with my Panasonic video camera which samples at 48kHz. At the same time I was shooting with my Digital camera which samples at 8kHz. I am trying to pan between the two of them but the timing does not match up through the video. The clips are approximately 3 min and 20 seconds. Any idea how I can get these two things to synch up?
    thanks

    Video camera is Panasonic. PV-GS250
    Digital camera is Lumix DMC-LX2
    The Browser in FCE shows me that the video camera's audio format is 16-bit integer and 48kHz, the audio from the digital camera is 8-bit integer and 8kHz. I assumed that was the bit depth and sample rate.
    Good question on the video format of the digital camera. I just assumed it was DV-NTSC, and so thats how I imported it. I will check into that as it seems to be the most likely solution.
    Thanks!

  • Different Depreciation Rate for Different Period

    Hi Sapgurus,
    We have legal requirement which is as follows :
    1) Asset purchase 11/02/2011 for Rs. 10000/= and it can depreciated at fixed Rate on Straight Line Method till it reaches its net book value 30 % (3000)
    For Eg.
    Purchase on 11/02/2011 for Rs. 10000/=
    It should depreciated fixed Rate @ 5% so 500/= per year and it should depreciated upt o 70 % of total value
    so 7000/500 = 14 Years.
    So Net Book Value = 10000 (Minus) 7000 : 3000/=
    2) As soon as it reaches Net Book Value of Rs. 3000/= it will be depreciated at another rate.
    For Eg.
    In 15th year it reaches Net Book Value 3000, now from that period onwards it will be depreciated at 7% Written Down Value not 5% Straight line Method.
    Also what about any old asset which is procured in previous years ?
    Awaiting for feedback
    Thanks in advance

    Hi,
    for this cases we use the following changeover method in the depreciation key:
    7     Changeover when net book value percent less or same as x%
    regards Bernhard

  • 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 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

  • 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."

  • 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

  • Different configurat​ions for each channel

    Hello all,
    I am using Signal Express 3.0. My task is to acquire signals from 6 channels. In my signal processing I am using steps like filtering, tone extraction and data averaging.
    Is it possible to configure each channel with different parameters ?? for example 
    for channel 1 - max 10v, min-10v , filtering lowpass 10KHz, tone extraction-5KHz
    for channel 2-  max 5v ,  min-5v   , filtering highpass 30kHZ, tone extraction 35KHz
    for channel 3-  max 2v, min -2v, filtering lowpass 25KHz, tone extraction 20KHz
    Thanks 
    Vaidhin.

    Your success will depend upon your hardware. The biggest issue is that you want to take the data with different ranges on each channel. If your data acquisition device is simultaneously sampled, this is not a problem, since each channel will have independent amplifiers.  If your data acquisition device is scanned, the range will need to change at each data point, which will require a settling time, reducing the maximum rate you can take data.  If you are taking data slowly enough, and your device is fast enough, this is not a problem.  You can reduce the problem by minimizing the range changes and the amount of range change in your scan order.  Don't forget the finish to start transition.  Let us know what you are using and the parameters you want to run with and we can offer suggestions.  Please include both range and data acquisition rate for each channel.
    Once you have the data, analysis can easily be done on a per channel basis, so that should not be an issue.
    Good luck and let us know if you need more information.
    <shamelessPlug>I would also recommend you upgrade to SignalExpress 2012.  It is our best version yet and includes several features not found in 3.0 (e.g. zero offset).  Full disclosure: I am a National Instruments employee.</shamelessPlug>
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • 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

  • Open Item interest calculation with different exchange rate for each line

    Dear All
    We have a short term loan facility with our Bank. We take short term loan with bank on different terms and condition. Now user has requirement to have different interest rate for each open items depending on the posting date or any other condition. I think in SAP for one bank account only one rate is applicate for validity from date.
    Can someone share his/her experience if got the same requirement from user
    Thanks and Best Regards
    Farhan Qaiser

    Dear Ashwin,
    As of overdue days are concerned there is no standard functionality available whereas there is for amount.
    Better solution is that you get an ABAPer create your own functional module. That will help you in better way.

  • Sample CLASSES for different types of OIM components!!!

    Hi Experts
    Can any one provide me sample classes for different types of OIM components, adapters, scheduled tasks, etc. with your best practices for OIM java development and documentation? It would Help me lot.
    Please let us know Links/Documentations.
    Thanks
    \oim_user

    for schedulers
    1. Create a java class that extends the SchedulerBaseTask (see example below)
    2. Write your business logic
    3. Compile and jar
    4. Place the jar in the ScheduleTask directory in your OIM install
    5. Create a new scheduled task using the OIM developer console
    6. link in the new class into your new scheduled task.
    7. Done!
    Example code for a scheduled task:
    import com.thortech.xl.scheduler.tasks.SchedulerBaseTask;
    public class ScheduledtaskExample extends SchedulerBaseTask {
    public void init()
    //this method is run before execute by the scheduler
    public void execute() {
    //is executed by the scheduler
    runMyBusinessLogic();
    private void runMyBusinessLogic(){
    //place your business logic here
    }

  • How to auto-detect a baud rate on UART or Serial port. and how to handle different baud rates for Transmission and Reception

    Hi,
    Till now i have used only single baud rate for opening a port, writing some stuff and reading back from other end.  This time requirement is little different, can SerialPort class
    be used to have different baud rates for Tx and Rx, I have not seen that in the msdn, but any other ideas also welcome!!!. I am experimenting!!!

    When I look in the Info.plist file for the AppleUSBCDCDriver kext, which is what the driver should be for a USB modem, there are three driver personalities listed: DeviceClass = 2, DeviceProtocol = 0, DeviceSubClass = 0; DeviceClass = 2, DeviceProtocol = 0, DeviceSubClass = 2; DeviceClass = 2, DeviceProtocol = 1, DeviceSubClass = 2. When I look at the info for the Phone with USB Prober, the class, protocol and subclass are all 0 and it is assigned to the AppleUSBComposite driver which appears to be a default when it doesn't know what else to use.
    Does that information come from the phone or is it assigned by the Mac? I'm wondering if the Mac doesn't recognize the phone and is assigning default values, or if the phone is responding with the wrong values causing it not to be assigned to the right driver. Are there other USB utilities out there which could possibly configure the phone's USB port to identify itself correctly?

  • Audition 3 seeing a different sample rate setting than what the device shows

    Hi,
    I have just installed Adobe Audition 3, along with the 3.01 patch, on a brand new system running Windows 7 64 bit. The mother board is an Asus Sabertooth X58 using Realtek High Definition Audio. The device drivers show that the audio sampling rate for line input is set to 24 bit 192K. I wanted to set it to the maximum that the sound card would allow to test performance and audio quality.
    The problem is when I bring up Audition 3 and hit record, I get the message "We do not support recording when your file does not match your hardware sample rate. Your current hardware sample rate is 44100Hz". Clearly this is not the case since the Line In Properties - Advanced tab is displaying "2 channel, 24 bit, 192000 Hz (Studio Quality).
    Under Audition's Audio Hardware Setup it shows only one choice for Audio Driver: Audition 3.0 Windows Sound. It also displays Sample Rate: 44100Hz, Clock Source: Internal, Buffer Size: 2048 samples with no way to change these values.
    If I click on the Control Panel button I get:
    DirectSound Input Ports:
    Device Name: Line In (High Definition Audio Device
    Audio Channels: 2
    Bits per Sample: 16
    Anyone know of how I can change these settings to get Audition to agree with the device settings?
    Thanks
    Dale

    DaleChamberlain wrote: Anyone know of how I can change these settings to get Audition to agree with the device settings?
    I'm afraid that life is nowhere near that simple. The main issue here is that Audition, in common with most audio software, uses a driver system called ASIO to talk to the sound device - this cuts out a lot of the OS and reduces the latency of the system considerably. There are several problems with ASIO though - the first being that it only supports a single device per system (or sometimes multiple identical devices if the manufacturer can make them look like a single device), and with software designed to use this driver, then to use any other driver (like a native Windows one) you have to use a converter stage like ASIO4ALL. This will convert the ASIO streams to WDM, and let you use multiple sound devices - but with increased latency.
    It's the second problem that's really going to stuff you though - and that is that quite reasonably, ASIO is limited by its inventors to run only at three sample rates; 44.1k, 48k and 96k. So there's no way you can run at what you think might be a higher quality setting. All settings above even 48k are making your sound device work much harder, and for what? All that happens is that you increase the potential frequency response to way beyond the human hearing range - to no purpose at all. You don't have sources that can produce useful output at these frequencies, and you certainly don't have the means to reproduce them. This has all been well documented and explained before, so I'm not going over all that again. In a nutshell, Nyquist points out that any digital sampling device has a frequency response limited to a maximum of half of the sample rate, so for 48k that gives us a frequency response up to 24kHz - comfortably higher than any adult can hear by quite a long way. Anything you sample and record beyond this by using even 96k is nothing but noise as far as humans are concerned, and unpercievable noise at that.
    So what the line input properties tab is saying is, if you have a non-ASIO driver designed to support all potential rates, possible. You don't have an ASIO driver available, because it's a built-in sound device, and anyway you've already pointed out that it's using the Audition Windows driver (a cut-down version of ASIO4ALL, effectively), so a conversion is already taking place. What Realtek refer to as 'High Definition Audio' is no such thing - all on-board sound devices of this nature are of universally low quality, and to improve this you'd need an external device - of which there are many available, usually with dedicated ASIO drivers. But none of them will work with ASIO beyond 96k, simply because the standard doesn't support any higher rates.
    If you download and use ASIO4ALL (it's free), then you will get an additional control panel which will show you exactly what your sound device is capable of doing as far as Audition or any other ASIO software is concerned, and this is a useful diagnostic tool anyway, so it's worth doing. You just select this option when installed, instead of the Audition Windows Driver.
    I'm sorry to be the bearer of what seems like bad news, but actually, it isn't. You will percieve no quality difference at all running at anything beyond 48k sample rates; all you will be doing is wasting your computer's resources unnecessarily. You waste both processing resources and hard drive space by processing at ridiculously high sample rates, and there are zero returns.

  • Can't change sample rate for digital input on Mac Pro

    Hello all,
    on my Mac Pro with 10.4.10 I can't change the sample rate for the digital input. Whenever I choose 48000 or 96000 Hz it returns to 44100 Hz after a few seconds. Feeding a 24 bit/96000 Hz signal from an external ADC into the optical input doesn't help. No input signal is available for digital recording software such as Sound Studio or Cubase. After changing the sample rate in audio midi configuration to 96000 Hz the sound can be heard for a few seconds but when the setup returns to 44100 automatically the signal is, of course, lost.
    I've deleted all relevant preferences and restarted with resetting paramter RAM. Still the same. With external hardware such as M-Audio Firewire equipment setting the sample rates works properly.
    Thanks to all for helpful clues.

    Hi,
    when E&M signaling is configured on digital interface like the VWIC is, 2 or 4 wires operation is not applicable because there are no wires at all, and reported only for compatibility with the analog E&M card.
    Consequently, you cannot configure that and it will not make any difference to effect of the connection.
    Please rate post if it helps!

  • Hi I have two questions. I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users? How is the session timeout set? Thanks, YS

     

    <i>I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users?</i>
    Um, there is no such thing as NAS4.1.
    I'm assuming that you mean NAS4.0 (maybe NAS4.0sp1?). If so, then the session timeouts are specified in the session section of the NTV configuration files.
    AFAIK, you can specify session timeouts on a per user basis.

Maybe you are looking for