Writing of signals with different sampling to file rate

Hi all.

I have a somewhat periodic signal, each cycle having his inerference S.A max, min, mean, RMS ect.

I like to write * ALL * these data to a single file, with a scale of absolute time, where the cycle data will be stamped with the maximum of the cycle time.

cycle data columns must be empty at the time as the time of the signal peak value.

Who's asking 2 questions:

1. can I build a 'waveform' with a not constant sampling rate where I just stamp each data point arbitrarily? This will help me to get the result I want?

2. is there a better way to convince labview to write data of the cycle next to the signal, with time stamp correct?

An example is attached.

Thanks for the tips...

10 x Heuter, your example is useful - the problem is resolved.

Tags: NI Software

Similar Questions

  • acquisition of data with different sampling rates high

    I have a few questions on the use of the OMB-DAQ-3005 with different sampling rates high.

    For our application, we have 8 analog inputs. Which two are a quick response and should be sampled frequently.  We have an encoder quadrature (CPR 1000 running at 1800 rpm).  We plan to sample X 4 encoder.  For the analog inputs for the quick response, we want to trigger a sample of each pulse or each a few pulses, thus creating a timestamp with the position of the encoder with respect to position index as well as two fast analog inputs.  We have data correlating the analog inputs with the position of the encoder.   Other analog inputs, we want to measure relatively slowly (for example once every 5 dry or similar).

    How can I go on the configuration of the two (or more) sampling rates different wherein I can taste entered at different frequencies?  Also, is there a way to reset the encoder count after outbreak of the index as I have the position of the encoder with respect to the index?

    Maybe you'll find someone here who uses the OMB-DAQ-3005, but this forum is really more designed for LabVIEW programming issues.

    I've never used the OMB-DAQ-3005, but out of curiosity, I took a glance at the Manual of OMB-DAQ-3005.  The answer to both your questions are:

    1. you cannot run a hardware DQA Multiplex (like this one) at independent rates by channel.

    2. the OMB-DAQ-3005 supports an Index Z feature to reset the counter - look for documentation on how to configure any software interface you are using.  If you get stuck, you can try to discover media appropriate for instrument channel.

    Best regards

  • DataPump with different time zone files

    Hello

    I'm trying to import a schema with datapump to a 12 c in oracle 11.2 instance oracle instance. I got an error cause different time zone files. 11.2 is on version 14 and 12 c is on version 18. So I tried to import a single table, make a new export with that one table (table got no timestamp with time zone column data type) and exported. That has worked well. So I modified my schema export to exclude these tables with columns with data type timestatmp with time zone. When you try to import this new dump, it still does not for the same reason.

    So, to import a table worked, but import a schema failed. Does anyone have a suggestion for me, how can I import this discharge? And no, I can't install a patch with the new zone files.

    sql_coder

    I could solve it myself, had to exclude more tables, not only those with timestamp with time zone, but also excluded arrays with data like AQ types $ _ %.

    sql_coder

  • Synchronization of the inputs and outputs with different sampling frequencies

    I'm relatively new to LabView. I have a NOR-myDAQ, and I am trying to accomplish the following:

    Square wave output 10 kHz, duty cycle 50%.

    Input sampling frequency of 200 kHz, synchronized with the output that I get 20 analog input samples by square wave, and I know what samples align with the high and low output of my square wave.

    So far, I used a counter to create the square wave of 10 kHz, display on a digital output line. I tried to pull the document according to (http://www.ni.com/white-paper/4322/en), but I'm not sure how sample at a different rate than my clock pulse. It seems that this example is intended rather to taste one entry by analog clock pulse. There may be a way to create a faster clock (200 kHz) in the software and use that to synchronize the analog input collection as well as a slower 10 kHz output generation square wave?

    I eventually have to use the analog inputs to obtain data and an analog output to write the data channel, so I need the impetus of the square wave at the exit on a digital PIN.

    How could anyone do this in LabView?

    Hi Eric,.

    All subsystems (, AO, CTR) derive from the STC3 clocks so they don't drift, but in order to align your sample clock HAVE with pulse train that you generate on the counter, you'll want to trigger a task out of the other. I would like to start by a few examples taken from the example Finder > Input and Output material > DAQmx. You can trigger GOT off the train of impulses, start by Gen digital Pulse Train-keep -you probably already use a VI like this to generate 10 k pulse train. AI, start with an example like Acq Cont & chart voltage-Ext Clk - Dig Start.vi-you'll want to use the internal clock so just remove the control of the "Source of the clock" and it uses the internal clock. From there, simply set the "Source of the command" either be the PFI line generates the meter, or ' //Ctr0InternalOutput '-assuming that you are using the counter 0. You'll want to make sure that the start of the task HAVE faced the task of counter I is ready to trigger off the first impulse. They should be aligned at this point.

    For debugging, you can use DAQmx export Signal to export the sample clock - you can then brought the train line and the PFI pulse to make sure that they are aligned.

    Hope this helps,

    Andrew S

  • How configure you synchronous AI AO with different sampling frequencies?

    Synchronous input analog and analog out, changed for example, NOR results in noisy input if the sampling rates are not the same for AO and AI. What alternative will prevent the noise to be added to the AI? I use LV 8.5, PCI6251.

    The sample program is attached and representative screen captures showing the increase in noise when the sampling rates are different.

    Thank you

    Hi stephanie,.

    Unfortunately, because we did a "stutter" generation, seeds will be present as a clock signal is sent to the DAC each sample, despite the fact that it does not change the value it updates. Is it possible to decrease your rate of update to be as slow as the pulse width (or whatever your shorter time should be high or low) to minimize glitches how occur?

    In addition, as I said in my post above, according to what are the rates, there is a property node synchronization you change (THE Convert.Delay of sample clock) to delay exactly when taste you from the edge of clock sample. I placed the program in a loop, loop through different values for delay and sometimes manages to find points where delay has moved the sample I update AO far enough so that the glitch was sampled not, or at least has been reduced to the minimum. Hope this helps,

  • Catalogs with different types of files

    My wife and I travel with one each, and my computer has a larger hard drive.  These last vacation, I downloaded all the pictures we have taken each day on my computer and then converted all RAW photos in JPEG format. She was then able to import the JPEG images in LR on his computer and make the selection of the image, Keywords, etc. (no module to develop work).  I want to now use the catalog, she created but on my computer so that we can work on RAW images to edit.  IS there no way to export the catalog of his computer, import it to mine, and then make the point to appropriate RAW images (the names of the images are the same, the only difference is the file type)?

    For Lr, JPEG and RAW files separate pictures, there is therefore no way to have Lr to associate the raws of jpeg metadata, for example it won't renovate your raws with metadata jpeg of your wife, another a pair at a time, I mean.

    That said, there are ways to synchronize the metadata and/or development settings (all at once), if you are ready to use a plugin, or are sufficiently savvy to develop a batch process of exiftool to do.

    Example plugins:

    * RawPlusJpeg

    * RelativeAntics

    * Syncomatic

    They are easily found via Internet search.

    SoC

  • 672PCI 6723 error when you try to generate a signal with the sample of 20 kHz clock

    I have a piece of code that worked successfully on the PCI-6224 map, but when I tried to implement the same code on the card PCI-6723 I ran into problems.

    Here is the code I use:

    ManchConversion6723();//produces SendIt array of series of 1s/0s
    
    // DAQmx Configure Clock
    DAQmxErrChk (DAQmxCreateTask("",&taskHandleFRQ));
    DAQmxErrChk (DAQmxCreateCOPulseChanFreq(taskHandleFRQ,"Dev3/ctr0","",DAQmx_Val_Hz,DAQmx_Val_Low,0,20000,0.5));
    DAQmxErrChk (DAQmxCfgImplicitTiming(taskHandleFRQ,DAQmx_Val_ContSamps,72));
    
    // DAQmx Configure Digital Output
    DAQmxErrChk (DAQmxCreateTask("",&taskHandle));MessageBox("D");//vj
    DAQmxErrChk (DAQmxCreateDOChan(taskHandle,"Dev3/port0/line0","",DAQmx_Val_ChanPerLine));MessageBox("E");//vj
    DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"/Dev3/Ctr0InternalOutput",20000,DAQmx_Val_Rising,DAQmx_Val_ContSamps,72));
    
    // DAQmx Write Code
    DAQmxErrChk (DAQmxWriteDigitalLines(taskHandle,72,0,10.0,DAQmx_Val_GroupByChannel,SendIt6723,NULL,NULL));
    
    // DAQmx Start Code
    DAQmxErrChk (DAQmxStartTask(taskHandleFRQ));
    DAQmxErrChk (DAQmxStartTask(taskHandle));
    

    When I get on the DAQmxCfgSampClkTiming line, I get an error stating:

    DAQmx error: measurements: request the value is not supported for this property value.

    PropertyAQmx_SampTimingType

    You asked: DAQmx_Val_SampClk

    You can select: DAQmx_Val_OnDemand

    Task name: _unnamedTask<0>

    State code:-200077

    I think that the problem comes from the variable of the source of the function. I'm just tring to send the data to the frequency of 20 kHz.

    Any help would be greatly appreciated. Thanks in advance!

    Too bad. The impression that the PCI-6723 does not contain correlated DIO channels. In other words, examples of clock cannot be linked to the DIO channels allowing the generation of digital waveforms. According to the AO Series user manual, this applies to the NI 6731/6733 only. The mistake was trying to tell me that only a single issue or receive channel has been authorized.

    For this reason, I'll stick right with my card PCI-6224.

    Sorry for the confusion.

  • I can't generate multiple signals with different phases.

    Hello community!

    I created a simple signal generator versatile (see Signal "Generator.vi"). When I try to put two of these generators in the same VI ("testbed non working.vi"), I'm not able to independently change the phase of the two signals. Only one of the two phase buttons actually modifies the two signals, while it has no effect.

    However if I copy and paste the exact schema even twice in the same VI, rather then import VI Builder, everything works fine ("Test Bench working.vi").

    It seems to me that the two generators are sharing anything other than the phase variable. I'm new to LabView and I can't understand what is happening and how to fix it. Can you please help me understand?

    Thank you very much

    Hello

    This is because multiple instances of the basic vi function generator will work regardless - they share information.

    To fix this one true constant wire to signal to reset the basic vi function generator enter your generator of signals vi.

    Best regards

    Florian

  • Different sampling rate with the same connector AIO, Labview FPGA

    Hello

    I use LV 2009 with the new Toolbox FPGA and an NI PXI 7854R. I acquire an analog signal with a sampling frequency of 600kS / s. I need as the sampling rate for the processing of the data, but I also need the signal sampled with a much smaller, variable sampling frequency to a FFT.

    I've attached a picture to clarify, in a simple example, I'm looking for.

    I tried with the structure case only take each ' iht iteration, but did not get the expected results.

    Does anyone have another idea how to solve my problem? Of the, "Resampling" express VI in the funtion FPGA palette does not help me.

    Thanks in advance,

    Concerning

    Hello

    the connector for the analog input is a "shared resource", so you should he alone in your FPGA Code.

    Find attached an example that shows how to perform this task of analysis.

    Concerning

    Ulrich

    AE OR-CER

  • continuous recording of samples in file .lvm with data acquisition

    Hello

    I use DAQ to acquire the analog signal and I'm saving samples k 1 .lvm file using file capable of writing with a sampling frequency = 1 k, samples = 1 k in continuous mode. I am able to see the data stored in the .lvm file like this 1 k samples then a few lines of words (like channels, samples, date etc.) and then other samples of k 1 and so on not worked the .vi stopped but how to save the continually samples placed in without any line of words I mean save continuous samples.

    The sequence is shown it the file attached is .lvm.

    Thank you.

    It would have been preferable to set the code when you set up the Express VI. You just leave the Express VI in its default settings? Have you tried to change the configuration to one header only?

    Your choice of an Express VI means you have limited options. If the options do not match your needs, you will need to use lower entry level file functions.

  • Generating analog output signals 4 with different frequencies

    Hi all

    I was trying to say to generate 4 different signals at different frequencies

    1. first waveform is a sine wave with 5000 Hz,

    2. other with 8000Hz,

    3. third, one is a square with 25 Hz waveform and

    4. fourth one with triangular waveform 50 Hz

    all waveforms must be generated simultanoeusly.

    I tried to generate with the task unique analog output and sample clock (clock rate is 100000). Cross in scope that I see only 5000 and 8000 Hz we generated correctly and the rest two waveforms show the incorrect frequency.

    I guess that's due to the frequency of high clock to sample for more low frequencies for ex 25 Hz and 50 Hz. If I reduce the clock rate to get the lower frequencies properly so I can't generate frequencies higher correctly. (there's a clsh between frequencies and the clock frequency)

    Is it possible to use DAQ board master sample clock and its magnitude downward revision (everywhere where it is necessary for each waveform separately) to generate all the signals at different frequencies at the same time in a single task?


  • 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

  • Distributed replication of file system between servers with different performances

    If the published file system replication is set between servers with different performances. What will happen with the fastest server performance? The performance will shrink to match the performance of the server in the slower string?

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • Displays a text ("sample application") Logo and Description ("this is a sample application") with different font size

    Hello


    I use the universal theme of apex 5.0 and tries to display logo text ("sample application") and description ("This is a sample application") with different font size.


    Type of logo - text

    Logo - sample application - this is a sample application.

    I want to display the description in the smallest font size, so I changed the Logo below

    Logo - < span style = "" are-size: 3.8 rem; ' > Sample App </span > - < span style = "" Dimensions are: 1.8 rem; "> this is a sample application </span >" "

    But I have following problem.

    1 - the font size for both is the same (why the size is not different?, because I gave the size of different font within the span tag)

    2 - the text of the whole logo whose description is displayed twice.

    -Once in place of the actual logo and

    -the second on the left upper tree navigation. (just below the text of the actual logo)

    I tried to use the logo attribute, but what makes the whole logo & its description with the same size. I need size of different font for both, so it is unusable.

    Attribute logo - style = "" are-size: 3.8 rem; ""

    Really appreaciate help.

    Thank you

    Deepak

    DeepakJ wrote:

    I use the universal theme of apex 5.0 and tries to display the text of the logo ("sample application") and description ("this is a sample application") with different font size.


    Type of logo - text

    Logo - sample application - this is a sample application.

    I want to display the description in the smallest font size, so I changed the Logo below

    Logo - application example - This is an example of application.

    But I have following problem.

    1 - the font size for both is the same (why the size is not different?, because I gave the size of different font within the span tag)

    Cannot reproduce. Using the code above results in different format text as expected. (He looks terrible IMO)

    2 - the text of the whole logo whose description is displayed twice.

    -Once in place of the actual logo and

    -the second on the left upper tree navigation. (just below the text of the actual logo)

    Including HTML tags in text in the 5.0/theme 42 APEX logos results in this behavior. I consider this as a bug as (a) it says nowhere that it is not possible to do so; (b) the text of the logo is not HTML - or attribute-escaped when used in the page.

    See How to avoid to show the logo on the navigation bar to get an explanation of the underlying cause and a workaround to allow the common use cases include the text and a picture in the logo. This particular solution is of no use here. The solution to this problem requires a custom with the theme the theme roller style sheet, which is the preferred way and support to customize and extend the universal theme.

    • Click the Thème Roller on the developer toolbar.
    • Expand the CSS custom section.
    • Add this style custom rule:
    .t-Header-logo a span {
      font-size: 3.8rem;
    }
    .t-Header-logo a span:after {
      font-size: 1.8rem;
      content: " - This is a sample application.";
    }
    
    • The page will automatically preview changes.
    • Click on record under and type a name for the style of custom theme.
    • Topic close Roller
    • I hope that decide that it is not a good idea and cancel the mods.
  • Why I get two files with different names but the same image when I save in 2015 CC Photoshop?

    Why I get two files with different names but the same image when I save in 2015 CC Photoshop?

    Try resetting the PS preferences - Preferences in Photoshop

    ~ Rohit

Maybe you are looking for

  • T430 slowly at the stop

    I have multiple T430 in my company who are slow to stop. It takes about 10 minutes to the stop. It is also consistent, as soon as you open a session and stop it take too long. These are all installed with an image. Running windows 7 64 bit. Looked in

  • HPC309a printer all-in-one error A 0004 OXC 19

    I get error 19A 0004 OXC on my HP C309a... what the hell do to fix?

  • Error FFFFFFFE

    I tried everything: got rid of my old Anti Virus program, installed a new one, done many scans with positive results but still Windows won't install my update. I get this message error code: FFFFFFFE. Its been three weeks that I have not been able to

  • BlackBerry Smartphones Bluetooth issues - storm and BlueAnt Z9i

    Hello to all... great forum here and glad I found it. I try to get my Storm to synchronize with bluetooth to my BlueAnt Z9i headset.  When I try and add the device, then search, the storm cannot locate.  Y at - it something I am doing wrong, or is -

  • Blue Screen of Death BSOD KERNEL_SECURITY_CHECK_FAILURE

    Hello community! For about 3 weeks, I am having some problems with my laptop Data sheet: MSI GS70 Stealth Intel Core i7-4700HQ CPU 2 .40GHz RAM: 8 GB Graphics card: Nvidia GeForce GTX 765 M OS: Windows 8 Pro (the PC came with no OS so I cleaned insta