Samples and sample FREQ. / Chan

Use of LV7.1 with Win_XP.

In a DAS code, using digital dashboard counter to pull a loop timed. (See attached diagram)

Initially I was acquiring only one channel and required a loop timed with a timing of 50ms. So to set the sampling at 200 Hz frequency (period of 5 ms) and took 10 samples / Chan. So I got exactly 5ms x 10 = 50ms.

Later, I gained 5 channels @ the same 200 Hz and 10 samples / c. To my surprise, I got the same timed loop triggers 50ms. I don't think I'm clear whats happening? The number of channels that I receive does not seem to change the triggers of 50ms.

Thanks for any clarification on above.

Has released this disk VI (should have gotten the forums earlier) and who had an answer for all my doubts!

Tags: NI Software

Similar Questions

  • Motorcycle G 2nd Gen global and French freq.

    I plan to use a soon-to-be purchased Moto G 2nd gen Global and leave me puzzled the frequency and speed of the network are compatible (I watch but my sources seem to be mixed).

    My main goal is he reliable use 3G and may choose to wait for a 4G Unit...

  • 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

  • 6036E PCMCIA + DAQmx (analog input) seems to only read in blocks of 512 samples of data

    Hello people,

    I ask this question before I post any code or software versions etc to see if there is a simple answer.

    I use a PCMCIA card 6036E to read an analog input channel (DAQmx... i. e create task, create the channel, set the altimeter (continuous samples), task, read in a programmed software loop while (ASAP)).  No matter how I put my sample rate, number of samples per channel (i.e. size of buffer), or the number of samples to be read, it looks like I can get multiples of 512 samples.

    Here are some samples freq (Fs), the 'number of samples to read' asked and the actual number of samples read:

    FS numberOfSamplesRequested numberOfSamplesActuallyRead

    200Hz   20                                                 512

    1000 1024 5000Hz

    2000 2048 5000Hz

    QUESTIONS RELATING TO THE:

    1 is this 'normal' behavior a 6036E PCMCIA card?

    2. in the case, has anyone who may have seen this problem determined the cause and how to "fix it"?

    Best regards

    Chris

    chassan wrote:

    Hello people,

    QUESTIONS RELATING TO THE:

    1 is this 'normal' behavior a 6036E PCMCIA card?

    Sort of.

    2. in the case, has anyone who may have seen this problem determined the cause and how to "fix it"?

    Best regards

    Chris

    Systems PCI DMA is used to transfer
    the data, daqmx and receive messages when the number of samples are
    acquis. Now on PC-card that does not work and the data is transferred
    When the edge buffer is full (after 2 k of data) to 2 channels
    10 Hz, it can take some time.
    There is a work-around, there is a property where you can set the transfer mechanism (I have not daqmx on this PC), or the daqmx polling mechanism. Try these.

    Found a document KB.

    Tone

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

  • Cross spectral power and consistency of the 2 signals

    Hello

    I try to get the cross-spectral power and consistency of the two signals. I should be able to get this:

    "The cross-spectral power and consistency of these 2 signals have been calculated on a window (8.5 minutes) 1024-sample using the fast Fourier transform applied to the 3 overlapping of the panes of 512-sample in the window of 1024 consistency." In each pane, the data were the first linear straightened and with windows by using the Hanning (cosine) function before the calculation of the Fourier transform. The 1024 coherence window was so advanced by 256 samples (2.1 minutes), and the calculation repeated until all BDUS/interval of N - N series have been analyzed.

    We used the product of consistency and the cross-spectral energy to weight these 2 effects in order to quantify the degree of the hitch.

    I should get this chart type

    The RR signal I straightened before that trying to get the power crossed with sampling freq = 2. And I put 2 ways to get it.

    consistency too and later the product of the two. Im trying to get the spectrogram and watch later 3d like picture.

    I have attached the vi.

    Consistency is perhaps badly fixed.

    Thanks for the help, guys.

    Kind regards.

    you made a few mistakes, example en by overhauling it you can't do the segments overlap, that's why you should go with a loop and the creation of a subset (and this is why I suggested para window ASD)

    You must also set the indexing of the product release and do not concatenate, penny you released 2d end that you can use for 3d graphics

    FS in the mathscipt should also be in hz, not in seconds, I told you the last time (he is shown in the help)

  • Analysis and generation of a signal

    Hello

    I am using NI Multisim 13.0.I want to generate a signal similar to that illustrated in the accessories acquired using labview that is the output of a phototransistor. The output image contains 10 signals each containing each acquired using 1 k samples and below freq images shows signal components only 1 freq 1 k sample. From the images, it can be analyzed that she has a volatge of 2 DC, 6V, but I'm confused because it contains different frequenices and most (many) frequencies is lying under approximately 1 Hz and some are lying about 135 and 275 to 300 number and very less other frequency components.

    What things to take to generate this kind of freq and how to add these types of frequencies to the component continues to generate the signal that will be the same as in the picture shown.

    I want to genearte this signal in multisim as this will be used as an input for the design of the filtering step in multisim.

    Thank you.

    Hi Patangova,

    Save your data in a file .lvm in LabVIEW.  In Multisim, select square > component, go to the Group of 'Sources', select the 'Signal sources of tension' family, there should be a source of tension of LVM.  Drop this part on the workspace, double-click it, and then click the Browse button to load you the file .lvm.

  • Graphics refresh rate and the writing of text problem - error 5

    Hi guys,.

    I'm new to labview and have encountered some problems when I try to write to the file.  I use USB-6259 with Labview 2009 to acquire a number of channels I want to analyze later in MATLAB, all at the same time providing some limited analysis in real time.  The experience is to use lasers to calculate the position of a rotating cylinder.  I wrote a quick vi using the DAQ assistant to acquire channels and provide a polar diagrams showing the counterclockwise movement as it turns what is ideal.  The problem is that, because the cylinder rotates at up to 6 Hz, graphical needs updated very quickly I realized by using a buffer size lower compared to the sampling freq (sampling freq between 5 k and 10 k, buffer around 200).  This does not seem the best solution.  Also, when I try to write in the text, the following error is displayed after a few seconds:

    Error 5 has occurred writing to measure file-> Displacement_Rig.vi, or the possible reasons:

    LabVIEW: File already open.
    =========================
    NOR-488: Command requires GPIB controller system controller.

    Can someone point me in the right direction?  I tried to create a loop of producer/consumer, but I'm not convinced that it works with my limited expertise.  I attatched my vi, although I warn you, I'm new to labview...

    See you soon

    Hello Ipaza,

    I watched your VI and found that there are has some problems in the architecture of your consumer producer loops.

    You can get a pre built loop producer consumer using the templates on the start screen.

    I copied the majority of your code in such a model. Could you test this and let me know if this solves some of the question.

    With regrads,.

  • Spooler Subsystem App stopped working and was closed. Only for pdf files?

    I tried the system restore, delete the registry files, and then reinstall, the utility hp diagnostic tool and solution of chan, but none have worked. It seems to print ordinary web pages fine, but I get this error when I try to print a pdf file, if its open in firefox or adobe reader. Kind of become crazy here >: O

    The answers would be greatly appreciated.

    The printer is a HP Laserjet 1018.
    Running vista Home premium 32-bit.

    EDIT: A single specific pdf seems to hang there, other pdfs seem to print correctly.

    Hi Sbao26975,

    Are you able to print this PDF from another computer?

    Try the following steps.

    1. click on start > Control Panel > programs and features in Control Panel.

    2. click on Turn Windows features on or off.

    2. click on + sign of printing services

    3. Select LPD and LPR. You must remove the Internet printing Client. > restart your PC to ensure there is no error in the spooler service.
    4. Add once again your printer driver.

    If the problem persists after you follow the steps above, and then run the Microsoft Fixit to correct errors: http://support.microsoft.com/gp/printing_problems

    You can also post your questions to http://forums.adobe.com/index.jspa

    You can use the link as a reference below: http://social.technet.microsoft.com/Forums/en/itprovistaprinting/thread/460f297a-dd66-4476-a176-542e1519ca3e

    Try this and let us know the result.

    Kind regards
    Bindu S - Microsoft Support
    Visit our Microsoft answers feedback Forum and let us know what you think

  • How to get a regular clock (100 MHz, 10 MHz to 20 MHz) of the NI 4462 PCI?

    Is it possible to extract a regular clock, high frequency of the 4462 OR?

    I need to synchronize with another card (a PulseBlaster), which requires a 100 MHz clock: every card can be the main source, but they must stay perfectly synchronized.

    (Both cards have on-board crystal oscillator modules of 100 MHz; one of the PulseBlaster is nested, would be so easy to connect a source external intead)

    I use the PCI version, so the star PXI 10 MHz clock is not available. The 10 MHz or 20 MHz clocks that DAQmx usually exports seem not to be available for routing on this device.

    I can't use the Sampleclock, because it is variable (~ 25.6 MHz, changing with sample-freq) and because it is not active when the 4462 is actually measurements.

    In addition, this clock must be either 100 MHz, or a whole simple fraction of it (e.g. 10 MHz, so that a PLL can re - generate the 100 MHz).

    At the present time, the best option seems to be to solder on the 4462 output pin quartz oscillator - but it's a really ugly way do... has anyone had an experience to make relevant changes?

    Is there a better place to connect to? I would prefer to use the RTSI bus connector, but despite tempting advice in the documentation, it seems not possible to get out of the 10/20 MHz master time base: there is

    an axis called RTSI7/RTSI_OSC, but it is a permanent decline.

    Thanks for your help.

    Nick Dear,

    Thanks a lot for your help. As you say, this confirms what I already knew.

    But we really need keep everything in harmony. So, here is what I did, which should hopefully help someone else in the same position.

    The circuit is very simple, using a FIN1001 LVDS line driver. It is a SOT-23 package. Connections are the following:

    * Din connects to the output of oscillator 100 MHz (TC0-2104, pin 4).

    * Gnd connects to the Earth (C210, lower)

    * + 3v3 connects to the more accessible place, that TCO-2104, PIN 6.  [The 3V3 regulator is on the back of the map]

    * FIN1001 food is decoupled with a 0.1uF adjacent capacitor.

    * Dout + and Dout-are connected to a short (30cm long) of the unshielded, twisted pair made of wire 0.7 mm PTFE. (Z ~ 110 ohms)

    Photograph is attached. The SOT-23 package is physically secure, with a tiny drop of cyano, C210 and mounted on his back.

    The receiver uses a FIN1002 receiver, finished with 100 ohm twisted pair and uses a 74VHC04 to convert 3.3V 5V TTL.

    It is mounted on a 14 pin DIL socket, to plug directly into the socket on the other card PCI which normally has its own oscillator module.

    Result: everything works, and I have a 100 MHz clock available to drive the other timing card.

  • Playback options

    I connected a signal Signal Express. The recorded signal was acquired of sound spectrum of a NI DAQ system. I want to select only part of the spectrum, do a mean quadratic value and then create a snapshot of that part of the sound spectrum medium to export to Excel. This is the step I did:

    1. Add step--> analysis-->--> measures areas of frequency power spectrum.
    2. In the average label--> with an average of Mode--> mean quadratic value.
    3. In the playback Options label--> for example: Start time-> 12 000 stop time: 16 700
    4. Scan of the spectrum to the data view

    My question is: what do I have to pulse 'play' buttons to make an average of these 4 700 seconds, then create and snapshot to export to Excel? If I push "play" it does not and the average of this time interval, the signal continues to scroll. Y at - it any othe for this option?

    Thank you

    Aitor Aramburu

    The following equation can help you understand your FFT resolution.

    Delta-f - resolution FFT

    FS - sampling freq

    N - length of FFT

    So if you re - sample at the same sampling freq relative to the length of the FFT, you get the same resolution. Note that you must always respect the theorem of niquest to maintain the validity of the results.

    More of the subject can be found here

  • Average of ADC signal

    Can someone help me find the way to a signal. I used simulate the signal function of sine wave with the freq of 100 kHz, sampling FREQ 500kHz and 1250 samples. I spent this signal to a 16-bit adc and found the digital waveforms. Now, I want this signal for 1250 samples on average. Can someone tell me how to proceed?

    Hi sanju,.

    have you noticed the message #2?

    Define the "D" in "ADC"! Generally, you will get a 'value' number of bits of the ADC (12/08/16 by value bits). The SimulateSignal will also give you values - and these values are averaged in my example...

  • I need help! Analysis of the components of the accelerometer Vibration frequency

    Hello

    I'm trying to analyze a signal voltage output of an analog accelerometer using Labview Full Development System.

    I have no Sound and Vibration Toolkit, I am new to Labview and also new for the treatment of the Signal and analysis. It would be useful if someone could tell me if I'm doing it wrong. (or right... )

    My goal is to identify the components of the vibration frequency.

    I enclose a file .doc showing the block-scheme of the code and sample readings I get. Could you please look and tell me if there is something wrong with the way I did?

    Sincerely,

    Ray I. Jason Crispo

    jyang72211 wrote:

    1. to increase the resolution, you look at the formula of resoluation, Delta f = (sampling freq) / (number of sample read).  For you, the result is 1 k / 20 k = 20.  You can increase the number of samples read to increase the resolution.

    2. Yes, you must rename the axis.

    3. I think it's just an artifact of the FFT.  Tent to subtract the mean of your data and see you always get the point or not.  Maybe someone can share more about this?

    @jyang, thank you very much for this. I didn't know the formula for resolution. That's why I like forums. I would have never thought than mine.

    I'll try what you say on #3 and post back the result here.

  • Cannot hear sound on Adobe Audition CS5.5

    Hi all, I am having trouble with Adobe Audition CS5.5.

    The first time I ran it, it said that of the inputs and outputs audio frequencies were not the same, so the hearing could not save.

    I fixed that and I do not know I did because everything I try to save is saved in fact, the problem is that I can't control what I record (with the 'I' switch IT) and I can't hear anything when I try to play something I recorded. I don't know that my sound card works because I can hear all the sounds of windows and if I export an mp3 file with hearing and then I try to open it with windows, I can hear this medication I recorded... There is my system info:

    ASUS P8P67 PRO

    Intel i7 [email protected]

    8 GB DDR3 dual channel RAM@825MHz

    Realtek High Definition Audio Card with ALC892 Codec

    Can someone help me?

    Thank you, bye!

    EDIT:

    I forgot, my Audio hardware settings are the following:

    The default entry: entry line (Realtek High Definition Audio)

    Output by default: Realtek Digital Output (Realtek High Definition Audio)

    Master clock: output: Realtek Digital Output (Realtek High Definition Audio)

    Latency: 200ms

    Sampling freq: 44100 Hz

    Post edited by: Harlandraka94

    Harlandraka94 wrote:

    I don't know that my sound card works because I can hear all the sounds windows

    This is almost certainly the root of your problem. Whenever Windows plays a sound, it resets the audio device to its own ridiculous parameters and does not return them later. As it says in the installation instructions very clearly - turn Windows all sounds OFF firmly.

    You must then set the default rate for the audio device is the same as the rate you want to use in Audition, in the control panel of machine. This should not be necessary, but if you do not, you are still likely to end up with the resampling BONE your output and you really don't want to what is happening, because the operating system is crap at it.

    Record monitoring, it is something better left of your audio device using its loop mode (assuming he has a)-ideally do not by hearing, because you will end by with latency delays.

  • Research of two different elements of excel

    Hi all

    I have an excel file and its voltage Freq, DOA, -1, 2, 3 & 4.

    FREQ & DOA are entries to discover the tensions. But here a single frequency corresponding to set values of DOA. This means that the two values (Freq & DOA) repeated in excel.

    For clarity, please find sheet excellent the closed.

    If it is not to repeat the means we can easily find but here the value repeat and I am not capable of matching the two line markings.

    Please provide the solution for this case.

    Thank you best regards &,.

    Chick S

    Your data consists of 6 columns laid out like a header line and the lines of several 'data', where all data are numbers (integers, in fact).

    You can easily read all tier 2 on in a 2D array.  To simplify sorting and research you need to do, I counsel created a Cluster of 6 I32s (or slna), called Freq, DOA, 1 Chan, Chan, Chan 3, 2and 4 Chan, then (in a loop For), make it a TypeDef ('My Data') and change the I32s 2D array in a 1 d of my table data.

    Now your problem simplifies easily - gave a pair of Freq and DOA, locate the my data record that matches and return four Chan X values.

    The answer to the first part (reading of the spreadsheet) has been taken several times, and there are examples, I believe, in LabVIEW.  If you get stuck, your postal code (like screws, please) and we will help you.

    Bob Schor

Maybe you are looking for

  • OS Sierra: Cannot play audio via bluetooth are involved during airtime

    Cannot play audio via bluetooth speakers during airtime to my TV. Has been able to do before the OS Sierra update. Now if I switch to my bluetooth receiver in the system prefs-> sound-> menu "exit" it disconnects completely airplay. This happens both

  • Symbols of the keyboard do not match what is typed, for example type / but displays

    When I use the keyboard the symbols appearing on the screen are different for keys, that I press. For example the € shows like ' and the symbols @ watch that... Can someone help, this happened while I was typing a letter.

  • Html printing problem

    I have a problem in the documentation for VI. I print the VI (the block diagram is much larger than one screen) in html format, then choose documentation vi. I got an error of "failure to save the xxx.html file. I'm using LabVIEW 8.6 and winxp. Ryan

  • Brand new dv6t - install Win 7 Ultimate Clean - error "no hard drive found."

    Just shot my new w dv6t quad edition / WSSD 32 GB out of the box. Goes for a clean format and install of Win 7 Ultimate. Once started from the bootable DVD, I get an error 'no drives were found. No disks/partitions won't show. When I start in the exi

  • Used to synchronize contacts with Yahoo

    I can't get the Contacts on my Pre to sync with my Yahoo account.  The contacts that I have on Yahoo will be downloaded to the phone, but brand-new I created on the phone will not download to Yahoo, no matter how many times I try to sync.  In fact, w