Jump to content

infinitenothing

Members
  • Posts

    372
  • Joined

  • Last visited

  • Days Won

    16

Posts posted by infinitenothing

  1. 5 hours ago, ShaunR said:

    I know you are looking for the most precise method for this type of waveform, but is there a reason you can't do a peak detect to remove the lead-in?  

    At this point, AutoCorr is working well enough and I'm just curious about the advantages and disadvantages of different methods. My signals are rather noisy so it's not always super clear how far back the "start" is from the trigger.

  2. On 2/9/2019 at 7:45 AM, Francois Normandin said:

    If you need to track frequency in a noisy realtime environment, I've seen Kalman-based filtering being used. 
    Unfortunately, I don't have an implementation example to provide. NI has this discrete filter in the Control Design and Simulation toolkit... which does not come cheap.

    Interesting. I've seen its use in things like GPS. Actually, in my particular application, I'm not tracking a frequency. There's some "dead air" which I simulated above with the zeros and then the signal which is unrelated to the previous signal. Does that rule out Kalman or am I misunderstanding how you'd use it. I have the platform suite so I think I have the control design toolkit.

    On 2/9/2019 at 9:05 AM, ShaunR said:

    Mhmm..yeah... I know some of these words. 😉 I'll take a look at some of the algorithms they mention.

  3. To clarify the second image was posted before the forum update. Here's the thread:

    https://lavag.org/topic/20671-programmatically-select-all-boolean-best-way-to-avoid-race-condition/?tab=comments#comment-125949

    So, I'm guessing the forum is stripping the metadata on upload now. I reposted that image in this thread by copying the link into the editor box. The box "embedded" the image for me automatically.

  4. I want to clarify that as far as I know there's no standard way to store an image in a SQLite database. That is, @Gepponline, your question has nothing to do with SQLite much less this toolkit. As far as we know, SQLite Administrator uses a proprietary binary format for storing the images as blobs. You should really go to that community to determine what that format is. Unfortunately, that project looks like it was abandoned with no source code available so you might just be out of luck.

  5. I suggest you break your question down into parts as different threads and forums will be able to answer each part better. It looks like your SQLite stuff is correct and your issue is just flattening and unflattening so the machine vision forum might be a better place to ask for help. In the interim, here's one way to do your flatten unflatten using the IMAQ toolkit.

     

    Store in blob.png

  6. The attached code shows how SQLite will interpret various types into an integer. It makes me a little nervous that there's no warnings or other way to determine that a value might not match what was requested. I guess I could check every value for its column type. Is there an easier way that I'm missing?

    Test type handling.png

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.