Jump to content
News about the LabVIEW Wiki! Read more... ×

infinitenothing

Members
  • Content Count

    255
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by infinitenothing

  1. infinitenothing

    LabView Memory Full Error

    Nothing sticks out to me. Have you tried the memory profiler to see what subVI is giving you problems? http://zone.ni.com/reference/en-XX/help/371361P-01/lvdialog/profile/
  2. infinitenothing

    LabVIEW snippet PNGs are being sanitized

    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.
  3. infinitenothing

    LabVIEW snippet PNGs are being sanitized

    This snippet works for me: So does this one:
  4. infinitenothing

    [CR] SQLite Library

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

    X-Control : Data Changed? Event not happening

    The "Data Changed?" property of the action output doesn't trigger the data change event. You have to do that manually. The data change event is triggered when the control is accessed as an indicator, property node, local, etc.
  6. infinitenothing

    LabVIEW snippet PNGs are being sanitized

    I can't get snippets working. Did they die in the recent site update? Example: I use the editor that shows up at the bottom of the thread and the "choose files" link. Using Chrome.
  7. infinitenothing

    [CR] SQLite Library

    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.
  8. infinitenothing

    [CR] SQLite Library

    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?
  9. I believe they are in the reference array according to the tab order You either have to know the names in advance or carry their names with their values.
  10. infinitenothing

    generating prime number

  11. infinitenothing

    Making Coerce To Type a little safer

    No, it will break if you try and convert a U8 into U16 so it's a little conservative in that manner. The programmer would be expected to do the U8 to U16 upstream to "get rid of the broken arrow". It would be really cool if there was a way to allow all the "safe cooerces".
  12. infinitenothing

    Making Coerce To Type a little safer

    Coerce to type is useful for getting nontypedeffed data into a typedef form but there's a small problem of type safety. For example, if you try and coerce an I32 to a U8, the value will silently wrap without even so much as a coercion dot. But in recent versions of LV, we have something to ensure a little safety— "Assert Structural Type Match" And fortunately, for this use case, it's not so sensitive as to disallow typedeffed data from matching it's plain counterpart so we can use it to enforce a runtime error if someone wires an I32 up. And, to make this new function more convenient, you can wrap it up in a VIM.
  13. infinitenothing

    LabVIEW 2018 and sbRIO-9626

    Search the downloads page on their site or try this: http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/ssnav:dwl/q/vivado/
  14. infinitenothing

    LabVIEW 2018 and sbRIO-9626

    Cross posted: https://forums.ni.com/t5/Real-Time-Measurement-and/LabVIEW-2018-and-SbRIO-9626/td-p/3830776
  15. infinitenothing

    cRIO voltage from NI 9264 is wrong

    No, by current spec I mean: By "how are you connecting", I meant connecting to the analog side of the module. For example do you have one of these: http://sine.ni.com/nips/cds/view/p/lang/en/nid/210164 I see that you have the module setup for differential, that's a little more tricky right? Can you try single ended? maybe with a battery or a potentiometer. Otherwise you have to watch out for things like common mode voltages and such.
  16. infinitenothing

    Tree Data Structures In LabVIEW

    Many people use variant attributes for trees. I'm a little curious about your time sensitive use cases, it almost sounds like you want a sorted list instead of a tree which, I think there are some examples of using maleables in 2018. I think being able to use variants in the in place structure may have opened some doors: This is pre 2012 but it's a implementation of some data structures using DVRs and OOP
  17. infinitenothing

    cRIO voltage from NI 9264 is wrong

    I assume you've configured the 9205 for single ended vs differential correctly? Are you within the current spec of the 9264? How are you connecting the modules? A cable or one of NI's breakout boards? Try and simplify things as much as possible. For example, use a battery as a voltage source directly to the input and disconnect the outputs to rule out loading issues.
  18. infinitenothing

    NI Driver Critical Vunerablity

    Does this only affect users that get updates from the repositories? because that seems like a fairly small minority.
  19. infinitenothing

    Ring Control: event for the current value?

    If you make an idea on the exchange, I'll vote for it.
  20. infinitenothing

    IMAQdx session "Attribute updated" event

    I made a snippet to illustrate what I was thinking. I have a Basler dart camera that I was able to test with and it looked OK in theory. You'll notice it is in continuous mode. I'm hoping that since trigger and the exposure both go through property nodes, the settings will apply in that order. There might be a theoretical race condition that would apply the new exposure to a capture in progress, I guess for that, you could capture the exposure before and after and have some sort of indeterminate case but I think it would be nearly impossible.
  21. infinitenothing

    IMAQdx session "Attribute updated" event

    Many cameras have a soft trigger function. Maybe you could count images vs soft triggers before the exposure change to figure out the exposure of each image.
  22. I'd like it if my test stations sent their test results to a web server. I'm wondering if anyone has done this. As I see it, I can probably do some port forwarding and expose a Maria/MySQL database over the internet or I could give that database a thin web interface and send the data over PUSH http requests. Are there pro/cons to one over the other? TLS is an option for either. Do you think HTTP would be more firewall friendly?
  23. OK, I'm hearing overwhelming support for a web interface. Is anyone familiar with existing test data web services? I'm surprised I don't hear about this more often. Lacking other input, I'll probably try and go with a django server since I like its database coupling.
  24. infinitenothing

    Lossless Seconds To Date/Time

    How about this:
  25. It's always a project by project decision for me. If I need the flexibility, I'll go TS. Otherwise, it's not worth the deployment licensing hassle. Another advantage to rolling your own is you get to use LabVIEW's block diagram representation of the sequence. It's a great visual—things in parallel execute in parallel. Data flows on wires. What can I say?
×

Important Information

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