Repeated values in the measure (FPGA, cRio) signals

Hello

I'm seeing repeated in my measurements values and trying to determine the cause

I read a single analog channel from a module NI 9201. In order to eliminate the noise, I averaged several samples by using the ms and RMS measures VI (shown in "FPGA Code.png")

An example of repeated values appear in the "comparison of Signals.png' for both the original signal and mean

The sampling frequency of the NI 9201 module for a single channel is 500 kech. / s, which I also checked by measuring the sampling frequency (the code for this is also reflected in "FPGA Code.png")

On the target of cRIO RT I record these values in a loop timed 500us using 1 MHz of the cRio clock

For the ms and RMS measures VI, I tried several options, for example:
-500 US measurement time, sample rate 500 kech. / s
-450 US measurement time, sample rate 450 kech. / s
-400 US measurement time, sample rate 400 kech. / s
-US 300 measurement time, sample rate 300 kech. / s

Each of them give measurements with repeat values to varying degrees, for both original and average signals

Any suggestions?


Tags: NI Software

Similar Questions

  • LAG function to get the value of the measurement for parent

    Hello

    I'm interested if there is no function in OLAP DML, which is similar to the function of TROLLING. LAG function returns the measured value for the previous dimension member (or a few members of the back dimension). I would like to know if this function exists which does not return a meaningless measurement for the dimension member value, but the measured value for the parent of the live dimension member.

    Thanks in advance

    Peter

    _parentrel relationship identifies the parent of each Member of the dimension of a hierarchy.

    use:
    the time - dimension
    time_parentrel - Member parent expression
    time_parentrel (time_hierlist 'CALENDAR') - expression for parent along the CALENDAR hierarchy

    Sales - measure
    Sales (Time time_parentrel) - expression returning sales for the parent of the current Member along the existing hierarchy.
    sales (time time_parentrel (time_hierlist 'EXERCISE'))-expression returning the sales for the parent of the current Member along the FISCAL hierarchy.

    You can search the user's Guide the OLAP DML for many examples of the use of the OLAP DML commands/functions/objects in expressions.
    All of these objects are automatically created/maintained while retaining the dimension from the front end (MN).

    For example:
    (11g) OLAP DML users guide notions-> about-> OLAP DML objects given OLAP DML-> objects that support the use of hierarchical Dimensions section.

  • Re-read in values in the measurement file when the file is updated

    Hello

    I'm trying to control a power supply with labview and adjust the tension. I currently work reading in a file and measures affecting the value in the file. I now have the question I want to update this value when the file is modified, as read in the file again when it is updated and set the voltage again. I've tried several things, but if I put the file in the while loop, then it plays once and then returns 0 after the first loop. Outside the while loop it reads only the initial value.

    I'm quite new to labview so any help would be appreciated.

    Thank you

    E

    You can use the File Info VI for the time that the file was modified.  If the time has changed, read the new values.

  • See the Null value in the measures

    I need to create a report using the SAP BW query.
    I have columns project, task, level and Hrs (measure)

    Project-> task-> level-> Hrs (measure)
    -----------------------------------------------------------------------------------
    one-> a.1-> 1-> null (no value)
    -> a.2-> 2-> null (no value)
    -------------> a.3 ----------------> 3 --------> 300
    ------------------------------------------------------------------------------------

    "Task" is the structure of distribution, a.1, a.2 are level relative to a.3.

    As we can see the 'h' is the total (cumulative) of the 'Project' = 'a '. When a.3 for value but a.2, obtained a.1 null.

    I can see null values in BEx (Business Explorer, SAP BW) report but not in OBIEE report.

    In short, we can display null values in action.

    Hope I explained it correctly.

    Please, help me in this regard.

    PS the reason why you see the values all here when you have only dimensions, but then they disappear when you've done is because of the way the request is generated. OBIEE don't happen in the fact table to what you actually shoot a column of the table of facts in your report. Once you do this, the generated SQL code using an inner join and causes dimensional Records label.

    -Joe

  • Change the default value for the measure tool

    In Acrobat Xi how can I change the default measurement to 1/4 "tool?  I can't find anywhere in preferences on how to do it?

    With active measurement tool, click anywhere on the document. This will bring up a menu. Here, you can now select 'Change scale Ratio' to set up a new report.

  • What happens to the values of the variables cRIO restarts?

    Hello!

    I am currently developing a software that runs on a cRIO as a start-up program. I encode a production counter to determine how many products passed the tests. A web server will be used sometimes check this counter...

    What happens to the value of the counter if cRIO power supply is turned off? The counter will reset to 0 when you restart? If so, how to avoid this behavior and restart with the last count?

    Hello

    Of course, what happens to your variables and what is happening in your program depends on... your program.

    If you do nothing your variables, they will have their value by default when the program starts.

    A way to change this behavior is for example save the value of variables in a text file and read these values at the beginning of the program.

    Hope this helps,

    Paulo

  • Crash when creating a new project FPGA cRIO

    When I want to create a new project with the wizard FPGA cRIO, Labview freezes and blocks ("development system Labview 8.6 had ceased to function".) The wizard detects my cRIO-9073 integrated controller, but when he tries to discover the CompactRIO chassis, the program hangs and stops automatically.

    In MAX, there is no problem discovering the FPGA chip in the cRIO-chassis (RIO0)...

    I tried to use the new FPGA Project Wizard in Labview 8.5. While searching for the cRIO chassis, the program does not freeze, but he says the cRIO-chassis cannot be found...

    When I want to manually select the chassis, I can only choose for the cRIO-9072 and cRIO-9074. There is no cRIO-9073-icon...?

    What I am doing wrong, or is this a bug?

    Kind regards

    Kenneth


  • OBIEE Gauge - how to limit the decimal values in the footer area?

    Hello

    Is anyone have an idea on limiting decimal values in the foot of the gauge? In fact, I want to display the value of line as well as the value of the measure in the foot. I tried round, truncate etc and none of them actually worked.

    Please suggest some ideas.

    OBIEE Version: 11.1.1.7.0

    Gauge.PNG

    Gauge Achieved.PNG

    Thank you and best regards,
    Clinton

    Hello

    try to use

    Substring (cast (10, 233' tank) OF 1 FOR cast (Locate (',', cast (10, 233' Char)) as int) + 1).

    Change '10 233' by your column formula

    Felipe Idalgo

  • How can I measure the voltage of a signal?

    Well!

    I'm trying to read the voltage of a signal using acquisition data PCI-6229 card.i am giving the signal as an input to the DAQ card and try to read the voltage level. The range of my signal is 4.8 ~ 5.5 VDC but the results are not accurate, such as measured with DMM. My code is as follows:

    1.i m using DAQmx create channel to create an analog input channel

    2. then a sample clock with finite samples, sampels by channel and set the rate of iteratively

    3. then I start the task

    4. analog playback 1 DBL AK1 N sample d

    Pressure readings I am differs widely that the actual.e.g a signal measured with DMM is 5v but when applied to the DAQ hardware and measured gives 6v.also I have to define minimum values and maximum in VI... If I put 4 to 5 maximum and minimum to measure a 5vDC signal it gives good result. , but if I change the maximum setting to 6v then it gives me results.also bad behavior is different for different signals for example when I measure a 6.5 VDC to signal that it shows me the voltage as 7.3V...

    Photo of my code of VI is attached... Please answer... or give me another code that works fine at the voltage of a signal reading.


  • How to use the target FPGA and co. on the same chassis cRIO?

    I have a cRIO system consisting of a master chassis 9074 with several modules IO and EtherCAT 9144 slave unit.

    I want to run a CIE (see: http://zone.ni.com/devzone/cda/epd/p/id/5333) on the chassis of the master, this uses the analytical engine. At the same time I have to do some very urgent measures if I want to use the Board in hybrid mode, using analysis and FPGA engine at the same time (as described here: http://digital.ni.com/public.nsf/allkb/0DB7FEF37C26AF85862575C400531690.)

    But as soon as I add the FPGA target at one of the chassis, the feature of the ice on this chassis stops working. After some research, I found that the CIE can initialize is no longer the modules belonging to the frame that has the target FPGA on it. Error in the method Init of the CIE is: 65700 (indeterminate). This occurs when you try to use "for a more specific class' on the modules configured with a target FPGA on it.

    Someone knows what can cause exactly this problem and perhaps provide a solution/work around?

    Many thanks in advance.

    Hybrid mode requires you to have a bitfile compiled running on the FPGA to be able to read the Scan Interface IO Variables.  Move the target FPGA at the RT target module will allow Interface of scanning for this module, but the frame will always mode Interface of LabVIEW FPGA.

    To get fair access to the scan mode for the frame, right click on the chassis in the project, and choose Properties.  Then, modify the Scan Interface programming.  If you want to continue using the programming of FPGA and the Scan Interface set (hybrid mode), you will need to compile a bitfile (empty if you do not want programs on the FPGA again or containing your FPGA code).  By compiling, the support of the module scan mode for the modules under your RT chassis is compiled in your custom bitfile.  Then, on your VI RT, you need to use reference FPGA VI open to your newly compiled VI.  Once this VI is deployed and ongoing implementation, you get the data from you are the CIE.

    For more information, see this knowledge base article and Reference Interface of Scan CompactRIO and procedures.

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

  • Pass the value to the node e/s in FPGA.vi of Host.vi FPGA

    How to place a different value to the FPGA.vi of I/o of the Host.vi node?  In the FPGA, I made the I/O node 'control', but when I try to use the read/write command in my host none of the e/s appear in the menu dropdown.  All my booleansare it.   See screen capture.

    Thank you...

    That's exactly right.  Don't forget, when you compile an FPGA VI you essentially create the material and directly attributing to IO advanced logic.  You can use a case to transport the data to the channels of e/s suitable for the test that you use if you have a series of assignments of specific channels for each test.

  • Subtract value of the signal of the current value 2 seconds ago

    Hello

    I'm relatively new to LabView, but I went through the Forums and google a lot and have not found a solution. I have this problem:

    I have an analog signal from my USB6009 DAQ of NOR. I want to take the signal I got 2 seconds ago and subtract its value to the current value. And I want to do it countinously.

    My data are acquired 1 sample on request by NIDAQ Deputy in while loop.

    Signal result should be something like:

    Y = y - y(t-2), where there is a result and there is a signal of NIDAQ.

    Can you help me or anything else you need to know to help me? Thank you.

    You must use a ring instead of the shift register buffer.

    Your signal source must be configured to read constantly (take readings more (best would be multiple of line period) and average)

  • How to retrieve the value of a measure over a period determined using VROPS 6.1?

    Hello!

    Is it possible to extract a metric, using supermetrics for example or any other means, the value of a measure over a period of time?

    For example, I will pick up average CPU usage of my VMs during the last hour with VROPS 6.1?

    How could I do that please?


    Concerning

    Unfortunately, you are just such a feature (apply the calculation over a period of time) is not supported.

  • What is the measure of the value "Waiting" in AWR report?

    Event Expected % Time - out Wait total (s) times AVG wait (ms) Waiting for /txn
    SQL * Net more data from dblink406 7474661184.13
    reading of scattered files DB28 6593301212.97
    SQL * Net message from dblink the30 115254813.63
    log file parallel write21 02117789.52

    Hi all

    As the example below, I question what is the measure of the value "Waiting" in the section "event wait" AWR report?

    Because "Expected" the value is high, but "Queue time Total (s)" is low. example "SQL * Net message from dblink the" a 30 115 "expected' but 'Queue time Total (s)' lower 'DB file scattered read' w 28 659 'wait '.

    Could you please explain more about the value "waiting"?

    Thank you

    Hiko

    taohiko wrote:

    Event Waits %Time -outs Wait total (s) times Avg wait (ms) Waits /txn
    SQL * Net more data from dblink 406 747 466 1 184.13
    reading of scattered files DB 28 659 330 12 12.97
    SQL * Net message from dblink the 30 115 254 8 13.63
    log file parallel write 21 021 177 8 9.52

    Hi all

    As the example below, I question what is the measure of the value "Waiting" in the section "event wait" AWR report?

    It is simply a... count the number of times where the system had to "WAIT" on the specified event.

    Because "Expected" the value is high, but "Queue time Total (s)" is low. example "SQL * Net message from dblink the" a 30 115 "expected' but 'Queue time Total (s)' lower 'DB file scattered read' w 28 659 'wait '.

    Watch "AVG time-out.    In one case, there are fewer occurrences of the event, but the average wait by event time was higher.

    If I buy 3 burgers and pay $1000 each

    or I buy 500 burgers and pay $1.00 each.

    Why 3 hamburgers cost more than 500 burgers?

    Could you please explain more about the value "waiting"?

    "Waiting" is the number of times that the system had to wait for the named event, during the sampling period.

    "Total wait time" is the total time (measured in seconds) spent waiting on all occurrences of the specified event, during the sampling period.

    "Avg" wait"is the time (expressed in milliseconds) means spent on each occurrence of the specified event, during the sampling period.

    It seems pretty obvious.  You count how many times it happens something (wait), you measure it, time spent doing this something fracture (total wait time) and tells you the total time spent (total wait time) by the number of times it happened (waits) to find out the average time spent on each occurrence of that something.

    Thank you

    Hiko

Maybe you are looking for

  • HP Split x 2: update Bios for HP split x 2

    I just updated the bios on my x 2 split.  Seemed that everything is fine.  After the reboot, the system will not poen windows 8.  Can't all the apps and the app store ect...  Looks like I'm on windows 7.  What can I do?  Should I just wait until I ge

  • Help the Lenovo thinkpad X 220 Tablet + Windows 8.1

    Hi I have a few problems on my X 220 tablet. I would like to install windows 8.1 on my 830 Samsung ssd. But I have the error code. You can see it here: http://i.imgur.com/VhNgb25l.jpg I actually 1.39 bios and there ar eno other bios on lenovo france

  • Update Flash killed my Xoom!

    The last thing I saw was a Flash update, now my Xoom does not illuminate. When I plug the led does not illuminate. I'm mad! Anyone else having issues? JB

  • How can I configure an outlook express email acct on Windows 8?

    Original title: How can I configure an outlook express e mail acct? I managed to configure my hotmail account, but can not set up my e mail ACCT outlook express. any suggestions? I'm having a lot of trouble with windows 8

  • GREP find/replace + paragraph Styles

    HelloI'm editing a long document and have benefited from the assistance of the community already, but being new GREP Style, find/replace, I need to ask for additional help.Below a screenshot of the script (original). Two blocks of text you see antici