Setting the sampling rate in SignalExpress

I am using a cDAQ-9172 with a strain gauge module and a thermocouple module and using SignalExpress.  I want to acquire data at a pretty low frequency rate (2Hz), but I am unable to use 1 sample on demand in the acquisition setup.  I get the following error.
Error -201087 occurred at DAQ Assistant
Possible Reason(s):
Measurements: Task contains physical channels on one or more devices that require you to specify the Sample Clock Rate.
Specify a Sample Clock Rate.
Device: cDAQ1
I am unable to setup a sample clock rate as it is 'blacked' out by the software in the 1 sample on demand mode.
When I try to use continuous or 'N' sample mode, the cDaq is sampling at a rate of around 1600 Hz, even though I am putting in a value of 1Hz on the seti[ screen.  The large amount of data will prevent me from downloading the data to Excel for further reporting.  I obviouisly don't need to sample my TC module at that rate either.   
Is there anything I can 'easily' do to decrease the sampling rate down to a low level?  Everything I have tried doesn't seem to work and I don't really want to go away from SignalExpress.
Jay 

Hi Jay
I am assuming that you are using the NI-9237.  This strain module has only a specific set of sampling rates.  If you specify a rate that is not supported it will corers the rate to the next higher sampling rate.  Also since you are using the cDAQ chassis, there is only sample clock so it must choose the highest sampling rate.  So it is not possible to sample at a lower rate.  Please see the following link.
 If you have access to LabVIEW then I would suggest taking your readings at the fast rate and then average the samples before you write them to your file.  The following link has some more information on this. 
If you are limited to Signal Express, this task is tricky.  If you select a N-Sample acquisition, set the samples to read to greater than two, and set the post acquisition delay  under the execution control tab to 1000, you acquisition will acquire the two samples at the very fast rate, but it will wait 1000mS between each acquisition.  This will slow the overall sample rate.
Chris_K
National Instruments
Applications Engineer

Similar Messages

  • [Q] How to set the sampling rate separately?

    Hello,
    I'm using LV5.1 in Windows98 with SCXI-1200.
    I want to set different sampling rate in each input channel.
    I've ever used "AI acquire waveforms.vi" only.
    Anybody can help me?
    Example codes are highly appreciated.
    Regards,
    Hyun-ho Lee
    [email protected]

    The inputs of the SCXI-1200 are multiplexed to a single Analog-to-Digital converter. Because of this, the only difference in sampling rates that are achievable would be integer divisions of a common high frequency. This is functionally identical to acquiring all channels at the highest rate, and decimating (throwing away) data from channels that need lower data rates.

  • FMLE won't let me set the sample rate with Blackmagic Decklink Studio 2 (Windows)

    Hi,
    I am trying to set the audio device on FMLE to the Decklink Studio 2's audio inputs. However,
    the sample rate sticks to 44.1k and I can't change it to the 48kHz sample rate that
    the Decklink defaults to (standard for broadcast is 48k).
    Try as I may, it isn't changeable. I seem to remember a similar problem where the
    sample rate defaults to the system audio card (on the motherboard) which is at
    44.1.
      Any ideas on a work-around? The audio from the Decklink is *much* better than
    the built in card.....
    thanks
    jeff

    One thing you might try doing is trashing the preference file in your user directory:
    ~/Library/Preferences/com.apple.compressor.Compressor.plist
    Like repairing permissions, this is a bit of a "catch-all" fix, not something specific to this particular problem.
    Also, have you tried different file types like: TIFF or JPEG, there could be an issue with output from Fireworks. You could use QT Pro to transcode the file. Sometimes that can work to fix funky problems.
    Does the Text Overlay filter work?
    BG

  • How to coerce the sampling rate??

    I think I found my problem with sampling rate.
    I'm using a PCI-5122 scope card, and in many of my aquisitions, I'm setting the sample rate to 40MS/s. Apparently, this is not a valid number and the scope reverts to 50 MS/s
    Later when I try to calculate cycles per second based on cycles per sample, I need the actual sample rate, and 40 MS/s ain't it.
    I'm trying to coerce sampling rate.
    please,.

    The digitizer coerces the sample rate because of how the sample clock is derrived from the Reference Clock.  The following information is on page 13 of the specifications:
    http://digital.ni.com/manuals.nsf/websearch/C6B059C1BDD70101862574C8005567F1
    The sample clock is created by dividing down the Reference clock (internal reference clock is 100MS/s) by decimation, and it divides it by N, which is an integer between 2 and 65530.  
    Thus 50MS/s uses a decimation factor of 2, and 33.3MS/s is the next valid sample rate with a decimation factor of 3.  So when you specify a sample rate that is not possible, the driver automatically coerces the requested sample rate up to the next valid rate.  You can obtain the actual sample rate used in an acquisition using the NI-SCOPE property "Actual Sample Rate", or the LabVIEW VI "niScope Sample Rate.vi".  Using this property, you can get the values you need for your calculations.
    I hope this helps!
    Nathan
    Product Support Engineer
    National Instruments

  • How to set the sampling interval using DAQ device?

    Now I have a capacity sensor and a 24 bit DAQ device (http://www.mccdaq.com/usb-data-acquisition/USB-2404-10.aspx).
    The DAQ device has the maximum sampling rate of 50kS/s . My question is how to set the interval of data collection. For example, if I set the sampling rate to 2000, in continuous sampling mode, I use DAQmx read.vi in a while loop and set the 'number of samples per channel' to 100. I want to plot these data as a function of time by using a XY graph and also save these data. So I add a 'Mean' function to get the average of the 100 samples per each loop (than means, there are 20 data output per second). But when I set the 'number of samples per channel' much smaller (to get more data per second), there are some problems. It seems that the program cannot read so many data and get the average at a higher frequency. I don't know where the problem is. All in all, how to collect data more frequently?Maybe I didn't express my question clearly. I'll upload a simple program later if necessary. Thanks.
    Solved!
    Go to Solution.

    Another question is in continuous mode, NI DAQmx uses Samples per channel to determine the buffer size. But according to the website you specified, it says if the acquisition is continuous (sample mode on the DAQmx Timing.vi is set to Continuous Samples), NI-DAQmx will allocate a buffer according to the following table. And for sample rate between 100 - 10,000 S/s, the buffer size is 10 kS. So if I set the sample rate to be 5000 S/s, and set the Samples per channel to be 20000, then what exactly the buffer size is? 20 kS or 10 kS?
    Thanks.

  • CS6 will not accept my condensed mic stating; 'the sampole rates of the audio input and output do not match.  Audio cannot be recorded until this is corrected.  Use the appropriate operating system or audio device control panel to adjust the sample rates

    !

    The first things we need to know in order to be able to help are what are your operating system and audio device?
    Also the FAQ Setting the Sample Rate in Windows Vista and 7 may help.

  • The sample rates of the audio input and output devices do not match.

    I am trying to record line-in audio and keep getting this error.  have a realtek sound card.  I have tried everything I know but cannot record.  please help if you can, thanks.

    Setting the Sample Rate in Windows Vista and 7

  • Sampling Rate- How do I check and adjust the sampling rate on my Laptop?

    For the purposes of matching the sampling rates on my laptop to my usb microphone, (recording in garageband) how do I find out what the sampling rates are on my 2009 macbook?  Many thanks!

    GarageBand '11: Set the audio resolution: http://support.apple.com/kb/PH1873

  • IPhone: AudioQueue - is it possible to change the sample rate?

    I've been playing around with the AudioQueue stuff for a few days and it's all working fine.
    I was trying to build a low-latency playback system by making the streaming buffers the same size as the audio file and pre-loading the buffers (which works fine) but I've hit a snag.
    I've been trying to get the streaming to work at different sample rates so that I can play back the same sample at different pitches. I managed to do it by modifying the sample rate in the AudioStreamBasicDescription structure but in order to actually make the stream playback at the new rate it seems you have to create a new output, reload the audio file into the buffers and re-enqueue the output queue before starting playback again, otherwise the sample rate change has no effect.
    There is a method to set queue properties; AudoQueueSetProperty() but unfortunately the sample rate Property (kAudioQueueDeviceProperty_SampleRate) is read-only
    Can anyone suggest a way to achieve this with AudioQueue or do I need to move over to OpenAL?
    Thanks,
    Neil

    Dan,
    there is one point in your understanding, which i am not sure what you think about when talking about it: I understand E-series devices do not support this property change while the VI is running.
    infact, you cannot change the sample clock rate during acquisition. but
    this does not mean that you cannot change it while the VI is running.
    you have only to interrupt the acquisition. since you want to acquire
    continuous, this would have the same effect as stopping the vi, i asume.
    so the best way to accomplish this task is to use an external clock.
    this is e.g. often used for acquistion on rotating shafts. the
    acquistionrate is always e.g. 24 points per revolution regardless of
    the rotational speed of the shaft, except for a maximum frequency of
    course.
    Norbert B.
    NI - Germany
    Message Edited by Norbert B on 09-14-2005 04:16 AM
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Changing the Sampling rate

    Hi,
       May I know how do I change the sampling rate on a Thermocouple node dynamically through a VI on the host ? 
       I notice there is a Config node in the "Start" case where I can set the "Sample Interval Mode" to "Host Driven" but I do not know how to continue after that...
       Thank you very much !
    Regards,
    Xinke

    A user message is created by simply right-clicking on the node and selecting "Create User-Defined Variable."  Once you set it up, that variable will update over the network automatically.
    Once you've got that setup, you need to figure out how you are going to use that variable.  You should probably start here: The LabVIEW Wireless Sensor Network Module - Under the Hood
    Note: User-defined variables are only available in LabVIEW 2011 for WSN.
    Chris
    Certified LabVIEW Architect
    Certified TestStand Architect

  • ADjusting the sampling rate on a FIR filter?

    How do I adjust the sampling rate on a digital FIR filter? Thanks in advance.
    -David

    You should really start a new thread instead of posting to one that is 5 years old.
    To answer your question, it depends on your data. I don't use the DFD but with the filter functions in LabVIEW, if you pass a waveform data type to the function, then the waveform data type contains a dt value. So, set the DAQmx Read to return waveform data. If you are using low level filter functions where the input is a 1D DBL array, then the filter has to be configured. With the low level functions in LabVIEW, you use the various coefficients functions that have a sampling frequency input.

  • The sampling rate of FP-AI-110

    How can I change the sampling rate of cFP-AI-110 in Labview 8.5?
    And the filter settings of cFP-AI-110 (50,60 and 500Hz) is equal to the sampling rate?

    Hi!
       I've found this on cFP-AI-110 Operating Instructions, pag. 8:
       "The filter setting determines the rate at which the [c]FP-AI-110
       samples the inputs. The [c]FP-AI-110 resamples all of the channels
       at the same rate. If you set all of the channels to the 50 or 60 Hz
       filter, the [c]FP-AI-110 samples each channel every 1.470 s or
       every 1.230 s, respectively. If you set all of the channels to 500 Hz
       filters, the module samples each channel every 0.173 s. When you
       select different filter settings for different channels, use the
       following formula to determine the sampling rate.
       (number of channels with 50 Hz filter) ×184 ms +
       (number of channels with 60 Hz filter) ×154 ms +
       (number of channels with 500 Hz filter) × 21.6 ms =
       Update Rate"
    graziano

  • I need to increase the sample rate to 50KHz to allow for arc detection

    In an effort to get our arc detection software running we need to
    capture data with a sampling rate greater than 10kHz. Would setting the 'samples per cycle'
    to 512 (as opposed to 192) would allow us to use your re-sampled data at the
    RT-Controller (permitting us to use the FPGA VI un-altered) at a sample rate greater than 50KHz?

    The number of samples per cycle can be specified from 128 to 512 without having to recompiling the FPGA VI. But even with 512 samples per cycle, the sampling rate after resampling is about 512*50 or 512*60, still less than 50k Hz.
    Could that meet your arc detection requirement?

  • Is the sample rate half with the snd read waveform.vi?

    Hi Guys,
    I plan to use the PC soundcard for data acquiring with the standard LV "snd read waveform" vi. During programming  I found that the sample rate is the half of the adjusted value. For example when I set
      - the format to 8bit mono
      - the buffer size to 11025 byte
      - and the sample rate to 11025
    then the operation takes 2000ms. I would expect 1sec.
    Used system: LV7.0,  WinXP  SP2.
    Does anybody know the reason? I have to use 44100Hz sample rate (44100 "individual" sample per secundum) in my application.
     Thanks,     
        Tomi
    Attachments:
    Panel.jpg ‏18 KB
    Block.jpg ‏15 KB

    To be more precise, that's the time take for the below mentioned finite cycle
    SI config>> SI start>> SI read >> SI clear.
    Its this 'entire' process which takes 1997 milli Sec
    Now, what you really have to check is wheather your 'SI read' function is living up to the sampling rate you have set!
    Check that by putting your 'time elapsed' check for SI Read function alone!
    Hope this helps
    Regards
    Dev

  • Conflict between the saved data and the sampling rate and samples to read using PXI 6070e

    Hello, I am using PXI 6070e to read an analog voltage. I was sampling at 6.6 MHz and the samples to read were 10. So, that means it should sample 10 points every 1.5 um. The x-axis of the graph on the control panel was showing ns and us scale, which I think because of the fast sampling and acquiring data. I use "write to measurement file" block to save the data. However, the data was saved every 0.4 second and as 35 points data at the beginning of each cycle (e.g. 35 points at 0.4 sec and 35 at 0.8 sec, and so on) and there was no data in between. Can anyone help me how there are 35 reading points every cycle? I could not find the relation between the sampling rate and samples to read, to 35 points every 0.4 second!
    Another thing, do I need to add a filter after acquiring the data (after the DAQ assistant block)? Is there anti-aliasing filter is built in PXI 6070e?
    Thanks for the help in advance,
    Alaeddin

    I'm not seeing anything that points to this issue.  Your DAQ is set to continuous acquire.  I'm not sure if this is really what you want because your DAQ buffer will keep overwriting.  You probably just want to set to Read N Samples.
    I'm not a fan of using the express VIs.  And since you are writing to a TDMS file, I would use the Stream to TDMS option in DAQmx.  If you use the LabVIEW Example Finder, search for "TDMS Log" for a list of some good examples.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for

  • Premiere Elements 12- Can't open the application

    When I attempt to open the newl;y installed Adobe Premiere Elements 12 I get the following error message "The application was unable to start correctly (0xc000007b).  Click OK to close the application"

  • Apex 4.1 IR: $.datepicker._curInst' is null or not an object

    Funniest thing after upgrade from 4.0 to 4.1 - Getting page error on IR when trying to create filters: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .N

  • Can't get Apple Remote to work

    Please help - I received my new Apple TV yesterday and have been trying to set up but cannot get the remote to work. Whatever I press there is no response from the status light. I have tried Menu and right for 6 secs to pair -> nothing. I've tried Me

  • Changing Sender's Display Name?

    Hey everyone, I've been looking around for an answer to this, but I haven't had any luck. I am wanting to change the display name of a sender's email to match that sender's details in my address book. I know that the sender's display name is somethin

  • Reflection function is not working, unable to click on it at all. Need help! Setting problem?

    Hi all, I seek for your kind expertise advise on my Keynote. Once I've chosen a slide to open, any type of slide at all, my Reflection button or function is unable to be clicked on to perform that function. However, Shadow function facing no problem.