Sample rate Max USB-4065

Currently, I am trying to log readings of DC voltage with an AA battery in an ASCII using LabVIEW 2009 of SingalExpress file and the USB-4065 digital multimeter (DMM). I have two stages:

(1) acquisition of Signal > voltage DC using DMM

-resolution 4.5 with 3.333333E the value-5 sampling period

2) save in ASCII

-The value to add to the file, delete the file after each race

Faster reading, I can get is a data point written in the ASCII file every eighth of a second.

Furthermore, I am new and software OR LabVIEW, the LabVIEW SignalExpress software I have is only for evaluation as it was included in the CD of the driver for the USB 4065 DMM.

  1. Max (30 000 samples per second) sampling rate is only achievable by a LabVIEW VI?

  2. Don't I have the wrong settings for DMM step?

  3. Is it because I haven't activated SignalExpress and am only using the evaluation version?

Thanks in advance for any help!

Hello Lukos,

You are assuming that you need access to lower level functions in order to obtain the higher sampling rates. In order to get these speeds, we need to disable some settings that are not accessible via Signal Express. You can create a VI and then use a step VI call in Signal Express to stay in the same environment.

Kind regards

-Travis E

Tags: NI Products

Similar Questions

  • Sample rate Max in ConfigureSampleClock on a PICe-6323

    Hello

    I use c# in Visual Studio to program a PCIe-6323. I was wondering what is the maximum sampling rate, which is the 2nd parameter in ConfigureSampleClock(), that the map can handel?

    The maximum sampling frequency for an analog input is 250000 samples per second. I don't know where you see 5000 is the maximum.

  • PCI 5154 sampling rate

    Hello

    What is the sample rate max 5154 PCI for two channel inputs? The manual States the 2GS/s is for one channel only. So, am I not able to get a bandwidth of 1 GHz for the simultaneous measurement of two channels? Thank you!

    Hi gbhaha,

    First of all, TIS mode up to 20 GECH. / s using an ADC, while your real time sampling uses two converters a/n at the same time to a single channel.  Take a look at these diagrams that I linked in my first post for more details on this architects.

    About the difference in the bandwidth between the 5153 and 5154 - the 5153 has 500 MHz of bandwidth in its circuits, even when acquiring at faster sampling rates.  The 5154 1 GHz of bandwidth, this is why it is more expensive.

    Kind regards

  • On the NI PCI-6221 fast sampling rate question

    Hi I was wondering if someone can answer a question of sampling rate on this card to PCI-6221 (http://sine.ni.com/nips/cds/view/p/lang/en/nid/14132).

    Especially if I wanted to transmit simultaneously (analog output) and data acquisition (analog input), what is the sample rate max I could use. Kind regards.

    Since the 6221 is multiplexing the analog input, your question for I / simultaneous ao is possible for one channel of the only. If your "simlutaneously" can include delays (e.g., 100us), you may be able to work with several AI channels as well...

    HAVE the multiplexes, workable sample rate given that the total sample (250 kHz) frequency divided by the number of channels that you use. AO is faster than HAVE it, so it does not reduce this number.

    hope this helps,

    Norbert

  • Sampling rate - USB NI 6259

    Hello.

    I have problem with maximum sampling on USB - 6259 of NOR. I measure the hearts of rabbits EKG and I need to know, what maximum frequency can I sample this signal. I use 10 channels and I don't know if the maximum sampling frequency is for each channel or one.  I know, I use the sampling rate 1 MECH. / s, but I don't know if MECH. / s means MHz I do need knowledge rate (frequency) Hz sampling. I know that USB - 6259 OR maximum sampling rate 1 ms/s, and 16 bits of resolution. This means 2 MB/s, but it is for each channel, but only one? Can I sample my signal with sampling rate 1 MHz theorist?

    Thak much for your answers.

    Since you have only a clock unique convert and the channels are multiplexed, by channel sampling frequency is the rate divided by the number of channels max. In your case, you would be sampling each 100kS/dry.

  • How to get the rate max one sampling NOR 9263 and other cards?

    Hello!

    I'm using a NI 9263 map and a chassis cDAQ-9172 proyect and im he 8.0 whit CVI programming. IM generating a sine and square waves to do some tests on a radio.

    I want my program to be functional for all cards of this type, and we know that most of the cards have different specifications, for example sampling max tariff, in this case the Pentecost of work NI 9263 100 kech. / s as the maximum. IM generating waves based on the sampling frequency.

    If my program must be compatible with most of the cards, my need to program to acquire max sampling rate using a specific function of NIDAQmx.h.

    Do you know if theres a function or attribute that can return this value?

    I tried this function with different attributes, with no results:

    DAQmxGetTimingAttribute (taskHandle, DAQmx_SampQuant_SampPerChan, & MaxSamp);
    DAQmxGetTimingAttribute (taskHandle, DAQmx_SampClk_Rate, & MaxSamp);
    DAQmxGetTimingAttribute (taskHandle, DAQmx_SampQuant_SampPerChan, & MaxSamp);
    DAQmxGetTimingAttribute (taskHandle, DAQmx_SampClk_TimebaseDiv, & MaxSamp);
    DAQmxGetTimingAttribute (taskHandle, DAQmx_SampClk_Timebase_Rate, & MaxSamp);

    The three first atribbutes gives me the rate real samp which is 1Ks/s (according to me, is the rate of samp set to the default value for all cards you before be initialized for the user), but do not give me samp (100Ks/s) max flow.

    The rest of the attributes only gives me the value of the clk, which is 20 MHz and the divisor of the clk (20000). Also I tried with a card 9264 (max samp rate is 25 ksps / s) and the function returns the same results.

    Any idea?

    Thank you!!

    Hey Areg22,

    I think I've found the service you're looking for:

    http://zone.NI.com/reference/en-XX/help/370471W-01/mxcprop/func22c8/

    This link gives just the syntax for the function, but the following gives you more information about the function:

    http://zone.NI.com/reference/en-XX/help/370471W-01/mxcprop/attr22c8/

    When I used the property of this function node output was 100,000 for the NI 9263. Which is consistent with the plug. I would like to know if it works for you.

    Thank you

    -KP

  • With the NI 9205 module Max sampling rate - problems

    Dear friends,

    I develop a project of lv, which makes and control system of engine dyno. The material is CRio-9022 with other cards and also 9205 for AI. There is an encoder for angle attached to the motor shaft with 3600 chatted by Tower as well as an index to indicate the end of a revolution. the output of the encoder is measured by card 9411. The speed of the motor is 1500 rpm. I measure pressure data and couple when I receive a 'tick' of the wheel. This means my sampling rate for pressure and torque each is 90KO/s.

    but I was not successful to lead it. The program is great and I can show them, but I believe that there is a problem in the choice of material for the task. With the data of pressure and torque of the 9205, I also measure other channels for the controller output mass flow and temperatures. So in all I use 8 channels of the 32 available. But only the pressure and torque are acquired at the wheel-driven sampling rate. the rest are acquired about 5 times per second.

    Since the 9025 is a multiplexing ADC, 250K sampling frequency is divided by the number of channels accessed = 250 K/8 = 31 K samples/channel. With this in mind, I decided to acquire data of pressure and torque with each beat 3rd rotary encoder, essentially on 30K samples/s sampling. However, I see a large amount of noise.

    So I decide to average more than 1 second cycles (so the engine runs at about 25 cycles/sec, I averaged over this issue). The resulting pressure and torque graphics do not match with those measured by an oscilloscope in terms of amplitude but the frequency and shape is correct.

    I noticed an interesting feature in the charts. When I pass interpolation between the points, I see several curves made by points instead of a continuous locus of points. Accordingly, I find that the acquisition is slower than necessary, and so there are less number of points sampled as required. These points are not synchronized 25 cycles I have on average and therefore the separate "curves". It is because of the possibility that some points receive a higher number of 'contributions' several times (when you add), the neighbouring points.

    so I conculde that the 9205 is not fast enough to do the job. also noise, perhaps due to crosstalk or gosting when the mux changes channels. the impdences output pressure and the couple are of the order of 10 K ohms.

    the Labview code outline: well, there is a vi FPGA, which takes the rotary encoder ticks and sends a signal to the case of each 3rd tick. The signal contains a 16-bit integer, indicating the number of ticks. This signal is sent to a 1 element FIFO. This fifo is read in a parallel while loop, where it remains awaiting a new element. The while loop bed fifo, where data are available, takes a measure of pressure channel. A node memory of the method is called to provide data according to contained in the index number equal to the number of ticks to signal fifo. Then he adds the current pressure reading to the reading of the memory and stores the sum in the same memory location.  Thus, an array of elements of 1200 is formed, where each elemnt is a sum of the values taken of more than 25 cycles. This memory is transferd to a dma fifo and reading side host. is done similarly to involved couple. host-side the fifo is read and divided by 25 to get the average. This average is displayed on a waveform graph.

    Please check the attached file to get an idea of the problem. Sorry for the long post.

    Please suggest if you understand the problem and suggesstions or solutions.


  • 6255 sampling rate causes the dc offset

    I see a dc offset in the measures of analog input I select different sampling frequencies.

    I have USB-6255 (mass termination) multifunction data acquisition and I use measurement and Automation Explorer to put in place my entries.

    My raw analog input is-0, 6250 volts dc, I have set up a task that uses 4 differential channels with no custom scale.

    I have defined the scope of the input signal to +/-0 .8v for you sure I get good resolution.

    Acquisition mode is continuous, samples of read is 1 k and I play with the order of 10kS/s rates 50kS/s.

    While this task runs in the MAX, I can put my cursor in the rate field and use the top and down arrow keys to change the sampling frequency. As I do, I can see the light changes reported as much as 150 MV rate from one to the other.

    It is a significant change when the total time of entry is lower to +/-1v.

    The direction of movement is independent of the increase or decrease of the sampling frequency.

    For example,.

    23kS/s, the declared value is - 0.540v,

    24kS/s, she moves to-0.620v.

    25kS/s, she moves to-0.690v.

    26kS/s, she moves back to-0665v.

    27kS/s, she moves back to-0.625v.

    and 28kS/s, she moves to - 0.535v.

    At first, I thought that the sampling change made a change of the input impedance and change the load on my source, however, all the time, my dc signal source remained at the - 0.625v (as measured with a multimeter fluke at the connection point to data acquisition).

    Why this is happening and what can I do about it? I want to give my users the ability to choose their desired sampling frequency.

    My guess is that I need to add an amplifier to fixed gain with a gain of 5 to 10 to make the input signal to use the maximum of the analog input level (+ / 10v).

    I use MAX version 5.0.0f1

    Thanks for any help,

    Tobin

    Hi Tobin,

    What do you use to generate the signal-. 625 volt? If you are using a switching power supply, you can experience aliasing where the power supply is turned on and stop.

    In addition, are see you the same tensions at the same sampling rate? See you always - .540v to 23kS/s or vary over time?

    Finally, you have a second 6255 you can try to replicate this on? It could be that the unit is defective.

    N

  • fast sampling rate question...

    Hello

    I use USB-6009 and max sampling rate is about 48 K samples/s according to

    the specification...

    Question 1.

    48 K samples/s means... only when you receive 1 analog input?

    If I have 2 analog inputs then forge would be just half of the 48K?

    Question 2.

    using the daq assistant.

    I would like to get about 50 samples between 10ms

    If I do the math I get 5 K samples/s, which is enough for me

    However, I played with samples to read and throughout the day, the sampling rate,

    do not get this rate... (I'm outputing in file with LVM)

    I searched on the sampling frequency, and people here said

    samples read and sample rate do not havea correlation...

    but I see clearly that they are relevant. When I change a setting

    I get a different number of acquisition... I do N smaples.

    Please help:)

    Q1. Yes, except that the switching of channels takes awhile so the net price per channel is slightly less than half the rate of single channel.  The USB-6009 specification document does not indicate what is the switching time.  You should be able to get 5 kHz on both channels.  20 kHz might be close to the upper limit, but that's just a guess.

    Q2. The DAQ Assistant is often not the best choice for maximum performance.  I do not have the DAQ Assistant, so I can't be more specific. If you get the data as an array of DBL, rather than dynamic data type, it can be recorded directly, without conversion.  The other thing that can make a big difference is a loop two architecture of producer/consumer.  This allows the acquisition of data and save it to the file to run it at different speeds so that each can be optimized separately.  If you are trying to acquire 50 ms of data at a time and then, he writes to the file, you write to the file twenty times per second.  The first time, the operating system must reallocate some file space or do something else what delays write the file, your timing loop is disrupted.

    Lynn

  • Why the following code causes a time-out when you try to read a finite number of samples of the USB-6216?

    I do not have Measurement Studio, but I use the 4 available with DAQmx .NET support.

    The following code throws a timeout when calling ReadMultiSample(). Can someone please tell me what I'm doing wrong? I would get 40 000 samples with a sampling rate of 20 kHz. I've renamed by device USB-6216 of 'Meas1' by using MAX.

    [edit] I want to emphasize that I use AnalogMultiChannelReader because I intend to grab more than one channel once I understand that.

    Thanks in advance!

                using (task task = new Task()) {}
    task. AIChannels.CreateVoltageChannel ("Meas1/ai1", "", AITerminalConfiguration.Differential, -0.2, 0.2, AIVoltageUnits.Volts);
    task. Timing.SampleQuantityMode = SampleQuantityMode.FiniteSamples;
    task. Timing.SampleClockRate = 20000;
    task. Timing.SamplesPerChannel = 40000;
    AnalogMultiChannelReader reader = new AnalogMultiChannelReader (task. Stream);
    task. Start();
    samples is reader. ReadMultiSample (40000); // <-- timeout="" occurs="" during="" this="">
    task. Stop();
    }

    I forgot to put the SampleTimingType:

    task. Timing.SampleTimingType = SampleTimingType.SampleClock;

  • Trouble using NI USB-4065 with virtual machine VMWare

    Hello

    I'll be working with a virtual machine (windows xp) and I need to use an NI USB-4065 DMM.

    When I connect the USB-4065 to the PC, the virtual windows xp recognizes the new HW and also MAX display the new device on the list DAQmx.

    It seems ok, but if I try to use the USB-4065 (open the soft cover or in a LabView VI), the device does not work.

    If I use the frontpanel app, when I click a botton, the Group seems to work but doesn't measure anything; If I try to reboot the softpanel, it works and 'freeze' of the screen.

    If I use LabView, the VI returns an error on a maximum duration of the measure.

    I'm trying to use the device on the real machine (not with VMware) USB-4065 works, whith flexible Panel and whith VI.

    I update the driver of the DMM on the virtual machine, beats the device still doesn't work.

    ... I don't have any other idea, can anyone help me with this problem?

    Thanks, SEM.

    Hi John,.

    This isn't good news for my project but peronny for more information.

    You see, by SEM.

  • DMM (NI 4070), how to correctly set AC Freq (bandwidth) by the sampling rate

    using a NI4070 multimeter and I see the max connection is 300 kHz by respect it.  But I don't understand how to set the min and max, acFrequency according to the sampling frequency or speed reading.

    6 1/2 digits resolution, the speed can vary from 0.25 s/s to 100 s/s and this range corresponds to a lower end on the connection (minimum acFreq) from 1 Hz to 400 Hz.

    (Q1a) - is the playback speed, controlled by the minimum setting of IviDmm_ConfigureACBandwidth?   or vice versa?

    Otherwise, I do not see how to control the rate of reading or the sampling frequency.   IviDmm_ConfigureMeasurement only allows you to control the range and resolution.

    (Q1b) - is there a way to directly control the sample rate (digitizer) or playback speed (dmm)?

    (T2) - the upper limit of the bandwidth of AC always seems to be at 300 kHz... is there still a reason to reduce this maximum value?

    (T3) - Finally, unlike the traditional niDmm function, the resolution via the IVI configuration should be passed as absolute value; does directly when number of digits and the beach?   For example if I want to 6 1/2 digit to 300V range, I guess that by the specifications that the resolution should be set at 0.001 V... followign, if I want 5 1/2 digits to 1V range, the resolution should be set to 0.00001 V?

    Hi Rjohnson,

    I'll try to answer your questions as best as I can:

    Q1A.  The ConfigurACBandwidth function is used by the driver OR DMM to calculate the good aperautre for the measure.  So yes, by adjusting your minimum frequency, you will affect your reading speed.

    Q1B.  Your reading rate will depend largely on your measuring cycle.  To get a fast measuring cycle, there are a few things that you can adjust.  You can programmatically control your time aperature, as well as your time to settle.

    Q2. I can't find a reason to change. This parameter is only used for error-checking and verifies that the value of
    This setting is less than the maximum frequency of the device.

    Q2B.  I think what you say is right, but I'll need to check on that - I'll let know you as soon as.

    Hope that helps.  "" "I would recommend checking the explanation of the Cycle of the DMM measurement in DMM help' devices ' NI 4070" DMM Measuments "DMM measurement Cycle.

    Take care!!

  • sample rate real vs min sampling rate

    I'm sure it's an obvious answer, but here goes.

    I have a USB-5132 ' scope and using niScope horizontal configuration Timing.vi I put, among other things, the minimum sampling rate. In my case, I chose 20 MHz, which of course gives a sampling of 50 ns period.

    I use niScope reading (poly) .vi with the WDT variant to read waveform data.  I noticed something very strange - waveform limit testing throw error 1802 "signals have a dt of different values '-if I put a waveform components unclusterizer Get on the wire of waveform and looked at the value of dt of the wave." He told me that my dt is 40 ns, which of course is of 25 MHz. I also plead for only 2000 samples.

    So what causes this shift? Why the digitizer does not accept everything just my desired sampling frequency?

    Austin Walton wrote:

    Andy,

    The setting of minimum sampling frequency is the frequency at which digitized
    the samples are stored, expressed in samples per second. This setting is rounded
    up to and including the next legal collection that supports your device.  Ownership of the actual sampling rate calculates the actual sample used for the acquisition rate.

    Unless you specify another source of the clock, the digitizer uses an internal oscillator as clock source.  For the 5132, this oscillator is clocked at 50 Mhz.  When using the oscillator internal as the sample, the digitizer clock source can use versions split to the bottom of this clock, for certain sampling frequencies are not possible.

  • Is it possible to get the value of the resistance of a circuit with NI USB-4065 USB without using studio measure?

    Hi, I'm working on a project where there partly to measure resistance values in different parts of the circuit. Now, the company where I work currently at wants to get the NI USB-4065 USB. I use visual studio 2005 c# to develop applications and I need to know if I needed measurement studio or are there drivers (dll) just to get the values of resistance and General measures of circuit. I have need the controls or anything, just to programatically read the NI USB-4065 USB key values when I need the application.

    Any help would be appreciated. Thank you.

    Yes, you can have several NI 4065 DMM in your system. When you use the API OR-DMM, you open the handles separately for each DMM by using its name. His name can be configured inside the measurement and Automation Explorer (MAX).

    In addition, you can go ahead and install OR DMM today. It is downloadable for free on ni.com. NOR-DMM (and most of the pilots NOR) supports the simulation. You go to MAX and create your simulated three 4065 s. Then you can start writing your program now. Since these devices are simulated, they will not return the real tensions (obviously) and that it won't react realistic hardware triggers if you use (obviously), but they are pretty close to the real deal to allow you to write a lot of code and become familiar with the API. No need to wait until you get the material - you can be really ready for it by using the simulation.

  • Aggregate sampling rate

    Hello

    I'm looking at possible solutions for data acquisition. I use 4 or 5 entries analog and two digital inputs. During the analogue entered most of them will not need sampling extremely quick rate except for one who needs the least 100ks/s. I noticed solutions cost-effective have overalls sampling rate (eg. 250 ksps / s) which extends on all channels. For these products, such that the NOR-9205 compactRIO module, is possible to distribute unevenly sampling rate between channels (ie. could I give up 100ks/s for a single channel and spread the 150ks/s rest between the remaining channels in use)? Thanks in advance for any help,

    Adam

    Hello Adam,.

    To answer your question on the sharing of the sampling rate, it is not possible to have a single module different sampling frequencies, as described in this KB: here (http://forums.ni.com/t5/Multifunction-DAQ/Aggregate-sampling-rate-and-Multichannel-Scanning-Rate/td-....)

    In the case of the 9205 this module multiplexes between all channels (32 cases set up in single ended mode or 16 in differential) this means that the sampling rate of 250 kech. / s matches total on all channels.

    If you are using the differential mode then the samples per second on each channel will be 250 kech. / s divided by 16, IE 15KS/sec. However if you only specify 4 channels max sampling frequency will be 250 kech. / s divided by 4, IE 62.5 kech. / s.

    One way around this is to use 2 x 9205 in one of our new CompactDAQ chassis, which has 3 engines of timing to HAVE. This allows to set different timings in 3 different modules. What is described in this KB: here (http://digital.ni.com/public.nsf/allkb/E7036C1870F6605686257528007F7A72)

    I'm sorry of this reply took so long, and I hope the above information helps.

    Please do not hesitate to answer questions.

    If you want I could get one of our technical sales engineers to give you a call to discuss further with you data acquisition system?

    Kind regards

Maybe you are looking for

  • Satellite A500-138 - warmer on the left side of the touchpad

    Got a Toshiba Satellite A500-138 and it get hot in the left side of the touch pad. Can some help me?

  • Sony SVT11215SG wireless keyboard does not.

    Hello I recently bought a SVT11215SG - http://www.sony.com.my/product/svt11215sgEverything was working fine, no problem, upgraded to 8.1 Windows smoothly. But a few months later, all of a sudden the wireless keyboard doesn't work. I have tried almost

  • 2014 iphone 6 and camera back will not focus

    Back the camera on my iphone 6 more suddenly stopped to focus properly. The front camera is absolutely perfect, but the back can't take a decent picture more. I tried to tap on the screen to force him to focus and also a complete reset, but nothing h

  • 11 PhotoshopElements editor refuses to close properly

    Editor launches from the start screen, works ok, but re-no will organize once I have shut down--UNLESS I have restart or FINISH the process of the editor who insists on running after output - little matter how I quit the program. Clean, re - install,

  • Apex 5.0 and State of Session with mobile apps

    HelloHow to display the value of the session state of page to the Apex 5 elements using a mobile applicationWhen I run the page, there is no toolbar down unlike the version 4.2ConcerningGus