detect where a threshold crossed a ridge

I want to be able to detect the point at which a threshold crossed a ridge as shown in the figure, I know the threshold VI will give me the point was, but I also want to be able to get the point B, ideas?

I would use two paintings, the original and the negative.  Search (or threshold) the table of origin for the threshold value until the threshold is found then search (or point) reversed the negative table for the value of fhreshold from the index where the first threshold.  The two indexes will be correct and the values are correct except that the value of the second should be reversed to give the correct value.

Tags: NI Software

Similar Questions

  • USB-6525 NiDaqmx how to detect where the device interrupts the communication

    This could be considered a more generic question for NiDaqmx, but I write a custom control for internal use with the USB-6525 and possibly other devices of i/o using c#.  I use DigitalChangeDetectionEvent to warn me when an entry has changed and everything seems to work very well.  In an effort to be complete, I decided to unplug the USB cable and see the result and found that no error has been detected until I tried a writing output.  This is not acceptable because under normal conditions abstraction entry begins a process that will change output - given that admission never happens, the system is basically hung.

    I tried many things and have spent more time on what I want to admit so I would like to hear suggestions on how to address this problem.  Here are my attempts that I am not satisfied:

    (1) periodically switch (pulse) output that allows to detect the problem, but I may not be an available exit, so this isn't a good situation.

    (2) periodically trying to read the input byte with the same entry workflow, this does not work because I believe that the other player is still active with the DigitalChangeDetectionEvent.

    (3) attempted to take the message of Windows to change hardware, but seems too complex.

    (4) I read on the guard dog, but not sure that it is available on the box USB-6525.  So before I start with this I'd hear rather suggestions of others with more experience.

    Any suggestions please?

    THX, Ed

    Hi IntegroEd,

    Those are all very innovative way to potentially address the problem, and I'm sorry you haven't seen success with them.  Fortunately, the typical way to capture a break between a device of data acquisition and monitoring system is indeed a timer, and the 6525 has the innate ability to use the feature, as seen on page 5 of the user manual.  I suggest you go that route, if another user does not post a peripheral solution specific to your case.  This is a documentation on the implementation of the monitoring-

    http://www.NI.com/product-documentation/14616/en/

  • help the optimization of the descent

    Hi all

    I am trying to solve this one equation with an unknown using optimization.  It's a non-linear equation and I was looking around for something that works like excel Solver s.  Optimization of descent seems close to what I want to do, but it is not optimize.  What would someone mind looking at this code and try to determine what I am doing wrong?

    FYI, I checked the answer by 0.02 as the X in my function, and it gives good value.  The service is configured to be like: (X) - real = 0 Calc.  The part "= 0" should be implied (that is perhaps what is wrong?)

    Thank you

    Matt

    I just noticed that... If you try to get the func - measured, then you try to detect the break of it instead of minimum. In this case, you need to f (x) to present the minimum when zero crossing. You can use the reduction function, but you must change of f (x) to be abs (f (x)). Then, find the minimum of means of detection where the function crosses zero.

    If this is not also help, perhaps it would be good to have your initial problem and, if possible, what function you are trying to use in Excel.

  • Ridge detection

    There are mainly 2 peaks of the curve as the subplot in attachment 1. It should detect the point of division as the Red cycle.

    I tried to detect where the second derivative change of polarity to locate the point.

    But sometimes there sub such peak in case 1, so will miss it.

    The duration of each peak can also change as in case 2, so I give up to locate the peak in the window of time constraint.

    I also tried the detection of peak in LV function, but some cases also does not fit.

    But in any case, I can identify the point of my eye.

    Is there a good way to do it, can give all the details, thank you.

    Here's a possible algorithm:

    1 calculate the dydt for data.
    2. apply a threshold for dydt values that are of interest.  Keep the index numbers of each element whose absolute value is greater than the threshold.  It would be to restrict your search to the regions where the value increases or decreases of parachute.
    3. look at the "window" of data around each point of interest.  You will need to decide how many data points compose window.
    4. go to the window where there is both a positive dydt negative dydt in reasonably close.  One way would be to use array max/min function and do a subraction.

    I think it will work if you play with the window sizes and threshold.

  • M4 F1237 error, have crossed the threshold of the sensor

    Hello

    After upgrade from my UCS Manager to, a minor has appeared on one of our b200 M4 blade servers (running 2.2 (5 c)) after the upgrade of the chassis and fabric interconnects to 2.2 (5 c).

    the full message is:

    LED displays error 1/6 server health. Reason: DDR4_P2_H1_ECC:Sensor threshold crossed.

    ID: 712960

    Type: hardware

    Cause: health-led-amber

    Code: F1237

    Everything there suggestions to resolve this error, because I tried to search the forums, documentation and Google search like crazy without success? I hope that this does not only mean that we have a bad memory stick. Also, I rebooted this Blade 2 x just to make sure it wasn't a transient error.

    Yahpri - Maxwell

    Hello

    It seems that you have a bad DIMM. I open a TAC case or have the DIMM replaced in order to clear this error.

    Let me know if you have any questions.

    -Wes

  • Please, where can I change colors horizontal and vertical lifts in Firefox 31.0?

    The color of standard light with which Mozilla Firefox installs vertical elevators and horizontal is that almost the same color beige white or clear to the rest of the browser. This similarity of color makes it somewhat difficult to differentiate the elevators from the browser. So making it very difficult to find "sliders" elevators, to do this, it must look at the screen in different angles to be able to detect where the elevators are. I'd change "sliders" elevators said for a color darker to facilitate their research. Thank you.

    Hello

    A theme is an add-on that changes the visual appearance of Firefox. When several themes are installed, you can switch to another theme as follows:

    1. Click the menu button

      and choose Add-ons.

    2. Switch to the appearance tab. You should find your personas previously used in the list.
    3. Find the one you want to use and click on the Activate button.

    To uninstall the other, you can click on the button Delete on them and they will be uninstalled immediately.

    For more information on the themes of Firefox, see the article use themes to change the appearance of Firefox.

    This has answered your question? Let us know.

  • How to detect the screen off the power of the event

    Is it possible to detect the screen off the power of the event?  I am looking to detect when the screen turns off due to time-out or press the button of the lock screen.  Similarly, I would need to detect where the screen turns back on.  I searched through the API WebWorks and forums but have not found anything relevant.  Maybe I'm looking just the wrong thing. Any help would be appreciated.

    Hi deedubbu,

    I'm certainly not an Expert in Java BB so it might be a good idea to post something on these forums, but a quick search on Google, it seems that you should be able to encapsulate event

    In Exchange for my Google search, I humbly request post you the result on our community API github repo

  • NFC - how to detect the disconnection?

    Repost - it was in the wrong forum. :

    Just get started with the development of the NFC.

    I've been through the examples and am able to read basic NDEF tags.

    The only thing I don't see is how to detect where the NFC tag disappeared.

    Y at - it a reminder or another trigger?

    Or I will just try to do an operation (read, write, etc.) and then capture the execption?

    Thank you

    Richard

    Hi, you are right that there is no reminder of this event (tag moves out of the field). As you suggest, after detecting the tag in the box, you must handle errors that come from reading or writing to it.

  • Server Blade ASYNC / threshold of passage / hardware verification

    Hey people,

    strange things occur yesterday evening. I bypassed about 120 messages "threshold crossed: CAW: etherTxStats...» "and"IO Module Warning.

    I looked in the events of UCSM. Each server blade in our UCS started a WSF. What is a routine of UCS? We do not know what is happening. All the 32 ESXi 5.5 blade server. It has not changed anything.

    Events of WSF see attached file. I have filtered all the events of 'jumps '. To me, it seems that MMIC began the new inventory for all servers? Do you know something about this or have the same events? Is there a scheduled task internal UCS?

    UCS version 2.2 (3f) (all systems = same beam of firmware; UCSM, FIs, blades...)

    Thank you very much

    / Hugo

    It would be interesting to have a look at the audit logs around that time and DME (data base management Enginer) to see what is really happening... You better open a case of TAC and then post the result here for future users faced with the same question it will require a deep investigation of the newspapers before we a tell you what/why he happeed.

    -Kenny

  • Where can I get drivers for my printer for Windows 8 OS iP3300?

    I recently bought a new laptop and it came with the Windows 8 operating system.  I can't find drivers for my iP3300 printer.  Much of what I read insists the drivers for Windows 7 installation in "compatibility" mode should work.  After you follow the instructions to install this way, nothing happened. I need help :)

    Looks like my first answer was a bit premature :(  Unfortunately, the test page was going well, but when I tried to print a Word document with a jpeg it came out weird.  The photo printed several times on the page and in various combinations of colours, shades of blue to shades of yellow!  My printer is in fact a 3300 and I installed the 3600 series I'm sure that's where things went cross-roads.   Can you help me solve this problem?

    Susie

    I would like to buy a new printer that is supported under Windows 8 by its manufacturer.  In view of the possible age of this printer (6 to 7 years possible) and how long the latest drivers were released for it by the manufacturer (March 2010) - it would be cheaper and less frustrating in the long run (and probably in the short term) to buy another cheap, which may equal or faster and perhaps more efficient replacement.

  • Where are content layer?

    I exported an Illustrator document (all CC2014), and a lot of layers is not usefully named "< text >".

    I have toggled the globe eye and hoping to detect where is this layer. But I'm not.

    Is it possible to "zoom in to the content of the layer" (maybe a script?) or some other method to help detect when that layer is on my canvas?

    I tend to use Ctrl-T when I could not find the content. Who will make up the transformation box and it will show outside the canvas if you press ctrl-0 to zoom everything.

  • Make Indesign cross link references to the top/above the point of landing?

    The cross-references in InDesign, create interactive hyperlinks that point to a location in the PDF file where the paragraph of targeted destination is just at the top of the page. Often, it's too far - sometimes the text of the paragraph is actually the top of the page, and usually it's partially on the top of the screen.

    When a person follows a link, the text more in sight in the middle of the page has nothing to do with the link they clicked, and the position that matches what they clicked is often partially on the top of the page as if it were scrolled beyond past. From my experience, that it looks like a mistake - they often do not see where they are supposed to begin to read until, in the confusion, they scroll upward a little.

    Is it possible to control this - to make cross-references jump up to a point with a decent amount of padding in the top, so that what am looking for the user appears in good position on the screen?

    After a few tries, I found something that might help to workaround: the "vertical offset" value for the first character in the paragraph destination determines where the new cross reference scroll will land. This could be the break character and could have (invisible) value of offset of baseline in a previous paragraph.

    • Give that first paragraph a positive base offset value is high, and there will be a corresponding filling above the text amount when the incoming scroll lands.
    • Give that first paragraph a very negative base offset value, and it will be pushed up above the top of the screen an equivalent amount.

    In my problem paragraphs that were not yet on the screen when an incoming link landed, their first character (a tab between the paragraph 'bullets and numbers' number and text) acquired somehow a negative change, one above in unrelated paragraph.

  • Detect an event of parenting

    Hello!

    Is there a way to detect where the user affects parenting on a layer?

    PF_Event maybe?

    Thank you

    François

    Well, if you keep a hidden cursor that has just titles index of the layer of the mother, you'll get a call returned again when the changes in the index, then you can detect if the prent has changed, or the user has just reorganized layers.

  • Build &amp; write to text with different column formatting

    3 days, I just pass on what appears to be a simple problem:

    I have a VI that reads a significant length TDMS file containing data sampled at 1 MHz 2-channel (very large files of course). The VI only runs 1 second at a time and looking for threshold crossing points and calculates the energy at this time there. In any case, I'm writing a text file where a column contains the number of the sample and the second column contains energy, annexed whenever the VI iterates (the number of rows generated by iteration may vary). It's simple by using the function 'Write to Spreasheet', the problem is I want a different format on each column. The sample number must be set to zero decimal and energy must be set on, say, 3 significant digits.

    A typical few lines should look like (delimited by tab characters, commas are there to represent the tabs):

    Time (samples), energy

    267935, 0.0000346

    545227, 0.000298

    1298655, 0.0000000122

    1314522, 0.00854

    'Write to Spreasheet' allows only a single format, so I have either a large number of DPs on my number of sample or energy value is 0.

    If I use 'Table in chain worksheet', I can set the formatting, but I can't seem to be concatenated, to build or to transpose the outputs in the right direction, no matter what I try.

    In the attached image I use Ch1 as my experience; CH2 using the traditional but unsatisfactory method "to write to the spreadsheet. The current VI returns on Ch1:

    Time (samples), energy

    267935

    545227

    0.0000346

    0.000298

    1298655

    1314522

    0.0000000122

    0.00854

    I hope that the image of the relevant part of the VI just go. I can reach the VI if necessary, but it seems unnecessary that I won't be able to share the data files for the tests.

    You can use the 'number of fractional string' primitive to convert data DBL to the chain with the required precesion. Then when you use this string 2D array and write in the file using 'write to the worksheet VI' it should work fine.

    If you still face any question please include the code with the data in a constant and registered in the 2012 version.

  • Combining a circular buffer with dynamic data

    Hello

    I am trying to save data in a test that surrounds an impact event to determine the period during which the acceleration passes a certain threshold. I want to record a second of data before and after the event occurs, I put the threshold crossing. The duration will be about 10-15 ms, so two seconds of data at 10 kHz will be a lot of data. I have my VI written so far to export the data from the buffer to an excel file, but is it possible that I could record an extra second of data and it concatenate into what I already have? I usually use the express VI of data collection for dynamic data collection and report generation specific excel live for static data, but how could combine the two?

    Any kind of conceptual thinking would be much appreciated.

    Thank you!

    What I've done in the past, is to use a queue of fixed size with the queue with loss to store data (is like a circular buffer).  Then, when the threshold is detected, recording a 1 second.  Your queue should now have 2 seconds of stored data that you can then write just to your file (use the status of the queue to get data without emptying the queue).

Maybe you are looking for