Sampling frequency of HAVE is incorrect for simulated ENET-9213, WLS-9213, and USB-9213

Hello

ENET-9213, WLS-9213 simulation and devices USB-9213, I'm able to correctly get the sampling frequency of I = 1351 samples/s using DAQmxGetDevAIMaxSingleChanRate, which is incidentally on the value of spec'ed of 1200 s/s.

However, when I create a task and add a voltage channel and then HAVE the sampling frequency of the task of query, I get a sampling rate of only 9 samples/s. I tried the same code with other devices and I get the sampling frequency corresponding to the device data sheet, it seems THST this problem is limited to 9213 devices.

Why sampling returned by the task using DAQmxGetSampClkMaxRate rate returns than 9 s/s.

And why the rate of conversion of DAQmxGetAIConvRate only 18 s/s.

I enclose the test code which may be used to reproduce this problem.

Kind regards

whemdan

The MathWorks

Hello

When I tried this with a USB-9213 simulation, I used the Sample clock Max Rate, as well as the Rate.vi of AIConvert:Max property node.  I could see that for 1 channel, I could spend up to 675.67/s, and I couldn't for 16-channel get79.49S/s (which total is equal to 1271 S/s, which is in the specifications).  The multichannel and single channel, I could get an AIConvert Max Rate of 1351.35.

Something that could happen is that you do not explicitly set this device runs in mode high speed.  You'll want to set the property Get/Set/rest AI_ADCTimingMode channel at high speed, and you should see much better results in this way.

Something else to note - I use DAQmx 9.0

Tags: NI Hardware

Similar Questions

  • HAVE sampling frequency is divided by the number of channels + 1 for simulated ENET-9213, WLS-9213 and USB-9213

    Hello

    In the code in the example attached, I create a task with a single channel of AI.

    I get the maximum sampling frequency using DAQmxGetDevAIMaxSingleChanRate (or DAQmxGetDevAIMaxMultiChanRate), both return the same value of 1351 s/s.

    When I try to configure the sample calendar using DAQmxCfgSampClkTiming at the maximum sampling frequency clock he does not accept the rate and returns the following error. Note that the error message shows 2 channels, even if only a channel has been added.

    OUTPUT:
    DAQmx error:
    Sampling frequency is greater than the maximum sampling frequency for the number of specified channels.
    Reduce the sampling frequency or the number of channels. The increase in the conversion rate or
    reduce the time of the sample can also mitigate the problem, if you define one of them.
    Number of channels: 2
    Sampling rate: 1.351351e3
    Maximum sampling frequency: 675.675676

    Why the device driver thinks I have 2 channels in the task, when a channel has been added?

    Please find the code to reproduce this problem attached.

    Kind regards

    whemdan

    The MathWorks

    Hello w,

    By default, the ENET/WLS/USB-9213 in NOR-DAQmx module has the AI. AutoZeroMode the value of the DAQmx_Val_EverySample property. This causes NOR-DAQmx acquire the channel of the internal path of the unit (_aignd_vs_aignd) on each sample to return more specific measures, even if the operating temperature of the device moves over time. If you need the sampling frequencies higher than this allows, you can call DAQmxSetAIAutoZeroMode(..., DAQmx_Val_Once) (who acquires the formatting string when you start the task) or DAQmxSetAIAutoZeroMode(..., DAQmx_Val_None) (which disables the setting entirely).

    Note that for measures by thermocouple with cold junction compensation sensor of the 9213 NOR, NOR-DAQmx acquires channel built-in CJC (_cjtemp) on each sample as well, for the same reason.

    Brad

  • HP Pavilion P2-1140 does not have a way to connect to a Firewire port and USB transfer is not supported by Windows 7 to connect the Sony HC20 Handycam.

    Original title: Sony Hanycam HC20

    I just bought a HP Pavilion P2 - 1140 W7 64 bit and may not know how to download video from my Sony Handycam HC-20 who

    using a Firewire connection. P2-1140 does not have a way to connect to a Firewire port and USB transfer is not supported by Windows 7.

    I looked in the spec of my card mother HP and there is no additional slots to add adapters, no PCI, PCI-e or anything that looks like

    as if you can add anything. I know that the Firewire to USB converters cable do NOT work, any suggestions please

    There are USB firewire converters, but I think it will be a situation of hit or miss--they are unable to work or perform very well.

    The only option I can think of that would work would be to use AV out on the camera and a USB capture card that records on the computer.
    You can also consider going back to the computer and get a different model that is built in firewire support or at least an extension connector in order to get an expansion card.
  • I have a macbook pro that you have installed Silverlight for tv/movie through Amazon prime and it does not work... It used to work before - someone ' one knows why?

    I have a MacBook Pro and have installed Silverlight to watch TV / movies on Amazon, but it does not work... I uninstalled and reinstalled but still no luck. He previously worked, so not sure as to why it does not work. Does anyone know a solution to this? I have searched and tried several options...

    Thank you!

    Click on safari, security, preferences and settings of plug-in, then turn on plug in bright silver.  has worked for me

  • Sampling frequency for two different routes for acquisition of data USB-6009

    Hello

    I use a box USB-6009 and incorporating the "daq assistant" to change the sampling frequency.  I'm trying to find a way to set the sampling frequency to two unique values for the two separate channels.  I tried implementing two assistants daq and different for each channel sampling frequency setting, although it does not work.  Is it possible to set the sampling frequency for all channels, and then reduce the rate for another channel - or an alternative?  I would be recognizing any input on this matter, thank you!

    -Anthony

    All tasks on a DAQ card using the sample clock should use the same clock.  Therefore, you cannot have two tasks on the same sample of DAQ card at different rates.

    Alternatives would be:

    1. to combine all channels in a single task and to accept additional data

    2 get an additional DAQ card to use at the same time

  • Incorrect port sampling frequency 0 on USB6356

    I am constantly sampling port on a USB6356 0 and save the data in an array of 1 d Raw U8. I put a sampling frequency of 1 Mhz, but for some reason, the number of samples in the table is about 3 times larger, so there is no way I can represent data on a time scale.

    No idea why this is happening?

    Although your USB-6356 has only 8 HW timed digital lines, the device returns 32-bit data for each sample.  If you read raw data, you read this, and I'm not surprised, it appears as zeroes interleaved with the data that you are interested in.

    Dan

  • Alternating - Signal Express sampling frequency

    Hi, Im trying to get data using Signal Express + NOR USB-6211, I put the sample rate to 44100 Hz. and everything seems to be ok, but when I checked the data I realized this time column does not increase in a period time constant (ie. sample FREQ not fixed).

    For example:

    1 / (Time (1) - Time (2)) = 43478,26 Hz.

    1 / (Time (2) - Time (3)) = 45454,54 Hz.

    and it constantly alternates between the two frequencies. I have to perform an FFT and Im not sure what is the actual frequency and which continues.

    I appreciate any help on this issue.

    Kind regards.

    This seems to be a bug that NEITHER should be aware of if they are not already.

    If you set the frequency of sampling to 44100, the actual sampling frequency will be (20 MHz / 453) or ~44.150 kHz.  The USB-6211 case has a basis of TIME 20 MHz (±50 ppm) and this clock is divided by an integer to derive the sample clock.  The sampling frequency is always be forced to match to the top if you choose a rate that can only be achieved with a wide divider.  Regardless of what the file shows, map DAQ itself samples at a uniform rate (unless you use an external clock, or something like that...).

    As for the behavior in the column duration... I know exactly how you look at it but I get the same behavior is written my data using 'absolute time' for the time column to an ASCII file (or by using a file LVM, which always uses the absolute time).  With the help of 'on time' however gives me a correct result.  I can't speculate on the cause... it seems likely to me that there is a comma floating rounding error (absolute time is in terms of seconds since 1904, so the software works with a large number at the same time requiring great precision).

    Best regards

  • Change the value to trigger record data for 1 s sampling frequency of 50 KHz

    Hello

    I have a VI with NI9215 and cDAQ-9178 chassis hardware. The function of the VI came out an instruction to RS232 interface and record 1 second of data every time that the set point is changed.

    The procedure is

    (1) modify the policy to the flow regulator

    (2) wait 2 seconds.

    (3) record of 4 channels for one second to the sampling frequency of 50 KHz.

    At present, the problem is for the first edition of this program, two seconds (rather than) data was saved and corn, the error message 200279.

    II. I revised for the second edition of the structure of the producer and the consumer who can increase the speed of the buffer.

    The question is how to configure the trigger to start the backup of data and limit data save for one second whenever the set point value changes.

    (1) which edition is best for my application?

    (2) how to trigger the data record?

    (3) how to record only a second of data?

    I also checked this announcement and the elapsed time seems not to work for this case.

    Any help would be greatly appreciated!

    Melody

    Hello

    you have not used properly the nodes property.

    1. replace the case structure in the first loop, with DAQmx features, with a structure of the event. Change the event fires for a worth of control of the setpoint change.

    Edit: as stated in your first post, use the structure of the event, but put inside the while loop.

    2. DO NOT connect error output from the stop command property node. Replace it with a local variable for the stop button.

    Try these and let me know.

  • Sampling frequency for digital sampling (cDAQ-9172 & NI 9401)

    Hello!

    I have a cDAQ-9172 with NI 9401 C-series (digital) module. I would like to taste the digital inputs with a sampling frequency of e.g. 400 or 200 kHz. My problem is that I can only choose a clock 100kHzTimebase and therefore only get a sampling rate of 100 kHz. The 20MHzTimebase clock is too fast, as it gives me a sampling rate of 20 MHz). Is it possible to get a defined user e.g. 200 kHz sampling frequency, dividing for example down the clock of 20MHzTimebase?

    Thank you! Last post and this article using the internal one or cDAQ chassis counters has solved my problem.

  • Sampling frequency of adjustment for the analog output of sine

    Hello

    I tried to do something very simple: using an analog output card PCI 6221 to produce a frequency 50 Hz sine curve. For this I used a Vi to create a curve sinus and different screws DAQmx. But I have trouble understanding the principle of virtual channel and I think I do an error of adjustment of the sampling frequency and number of samples: once for the vi, second time sine "DAQmx - synchronization. Can I use the same values for both of these screws?

    On my oscilloscope, with frequency = 50 Hz and the sampling frequency = 1 kHz, I get a null signal. Then according to two values, I'm differently evaluated signals. For example, with f = 1 Hz and sr = 10 kHz, a frequency 0.7 Hz sinus.

    Make sure that the start for the analog input task occurs after the analog output.  By plugging in the wrong thread to an analogue output start task first, and then to the start task, you guarantee that the AI cannot start until after the startup of the AO.

  • I have a problem with the simulation in Matlab 6.5 and LabVIEW for PID controllers

    I have a problem with the simulation in Matlab 6.5 and LabVIEW. I have a few methods for granting regulators PID in MATLAB to go but not of LabVIEW. Degree of international teams of two transfer but when I passed to the fourth degree is no longer working. We have changed the formula to calculate the parameters for the fourth year and gave me some good values for assignment of Matlab, but when I put on LabVIEW are not resolved. the formulas are available in PDF format and are. Please help me and me someone if possible. Thank you
    Lim.4 generation in comparison methods and the MATLAB program settings are for the service of transfer to the second degree.

    Hello Lascarica,

    I noticed that you are using the screw of PID. Gains on these screws are based on TIME instead of GAIN. You should be able to build a PID regulator and vary the gains and then compare the results.

  • Hello, I have a license of acrobat standard, but acrobat standard is not available only acrobat pro and my license code is incorrect for this version

    Hello someone can help me.

    Hello, I have a license of acrobat standard, but acrobat standard is not available only acrobat pro and my license code is incorrect for this version.

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • Should I have the APN settings for Simulator?

    Hello

    Im having problem when I run the Simulator application. IM using sybase platform for the development of BB and store when something in the im database get this error:

    Local port: 19780
    APN: "rim.net.gprs."
    APN username: 'null '.
    APN password: 'null '.
    There is no connection
    Information detected for 1 GPAK connections

    My question is what do I APN settings for Simulator?

    « ; deviceside = true' is a URL parameter - it is added to your URL.  Please search the forum, you will find 1 million references.

    Like this:

    www.Google.com;deviceside=true

    The AFN is defined either as a parameter added to the URL, or it is defined in the device options.

    Read this:

    http://supportforums.BlackBerry.com/T5/Java-development/different-ways-to-make-an-HTTP-or-socket-con...

  • effects of sampling frequency on the convolution of waveforms (need feedback from a GURU of signal processing)

    I have included my code as version 8.5 for those who have not yet upgraded to 8.6.  I have also included some screenshots so that you can replicate the results I got.  I hope that some signal processing guru can shed light on what I mention it further.

    This VI convolves the signal of impulse response of a simulated servomotor which is essentially a damped sine the input pulse which is a step function.  The signal resulting convolved should be IDENTICAL to that of the step response of the engine which is RED on the display 1.  As you can see the convolution that results in table 2 shows the same structure of frequency, but its magnitude is INCORRECT.  As you can see in the catches of 2 screen sizes differ by a factor of 2 & done the sampling frequency of the wave.  Why the sampling frequency, impact on the scale is also very strange & disturbing.

    Would appreciate any corrections & explanations so that I trust the convolution of the other wave forms of entry than just the step function.

    OK, I think I have it working now.  Your premise on the effect of sampling on the derivative is not the issue.  Does it affect what the FREQ of levy is the basis of time of convolution.  As the convolution product is not continuous but discrete the length of the array should be taken into account & the sampling frequency must be consistent with this length of array as well as 1 second corresponds to 1 second.  If sampling freq is 2 kHz & the length of the array is 1000 then to get the correct time base by a factor of 2 must be taken into account.  In addition, to take account of the DC, shift of the ZERO gain factor must be added to the convolved signal to get the correct size.

    Thanks for making me think more deeply.

  • How to acquire with NiScope at different sampling frequencies and lengths Records?

    I need to acquire the data of 2 channels of the NI PXI-5114 map two different sampling frequencies high, at the same time. Also, I put 2 different record length. Is this possible?

    I understand that 'Vertical' settings can be configured for individual chains because the function 'Vertical niScope Configure' has 'channels of entry with which we can assign the desired channel. But for horizontal settings such as "min sampling rate" and the record min length, I could not find such an option to specify the channel. Would it not common to both channels?

    I hope that the device is capable of simultaneous sampling and therefore channels can be configured individually to different sampling rate.

    Hi AJ_CS,

    Why do you have to be distinct from sampling frequencies on channels separated from the digitizer even?  What different sampling rate do you want?

    But for horizontal settings such as "min sampling rate" and the record min length, I could not find such an option to specify the channel. Would it not common to both channels?

    You do not have an option to configure the settings of hoirizontal on a channel by channel basis because this concept does not exist in the traditional sense of the use of a scope.  Compatible with the concept of IVI, an oscilloscope traditional benchtop will have only a button or a set of buttons for setting the parameters of synchronization of the unit.  There is therefore no horizontal configuration to separate channels on the scanners NOR.

    I hope that the device is capable of simultaneous sampling and therefore channels can be configured individually to different sampling rate.

    Similar to a traditional benchtop oscilloscpe, the device is capable of simultaneous sampling.  But as mentioned above, the channels can not be configured for different sampling frequencies high.

    However, you can ignore data that you think is not relevant.  For example, if you assign 100MS/s CH0 and CH1 to 50 MS/s, then you throw all other samples.

    Alternatively, you can use separate scanners (a channel on each digitizer) and configure them to taste at different rates.  You can set frequencies of sampling on scanners NOR separated and even synchronize them with TClk.

    -Andrew

Maybe you are looking for