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

All Activity

This stream auto-updates     

  1. Today
  2. Yesterday
  3. The context help for the "RemoveXnode" method says "Removes the XNode from the diagram. The contents of the diagram of the XNode are merged with the diagram" However if you try it, it may or may not work. That's because this method just calls the "ReplaceSelf" ability; so if an XNode doesn't have a "ReplaceSelf" ability, the "RemoveXnode" method will do nothing. So if you want your XNode to work with the "RemoveXNode" method, you must create a "ReplaceSelf" ability. Fortunately doing so is very trivial: Your ReplaceSelf ability only has to call the "GenerateCode" Ability; like this: Paul Cardinale P.S. Note that the "ReplaceSelf" ability of some NI Xnodes doesn't work properly. For instance if you call "RemoveXNode" on the "Match Regular Expression" function, it will make a mess, breaking the VI.
  4. Last week
  5. drjdpowell

    How do you model this?

    You're a bit late for this conversation, though the topic is still very relevant today.
  6. paul_cardinale

    Button text selection start end

    There's a similar (and probably related) bug when setting boolean text attributes manually: If you select a portion of the boolean text, then use the Font menu to change something (e.g. the color), it will change all of the text, not just the selected part. This bug showed up sometime around LV2008; it was fixed in one of the later versions; then it was un-fixed, and we still have it today. You can get around it by making floating text and setting it the way you want, then cut-and-paste into the boolean text. (I haven't tried programmatic cut-and-paste; maybe that would work.)
  7. shoneill

    How do you model this?

    Separate out the external Queue from the internal one. If the internal queue has elements in it, ignore the external queue. Only read an element from the external queue when the internal is empty. You can extend this to N layers by maintaining a stack of queues, where element zero is the external queue (should never be destroyed). All internal states which enque further states do so on a newly-created internal queue and pushes all other queues down the stack. This way you get deterministic execution of your states. Guaranteed execution order without interruption and a way of investigating the execution flow (depth of stack and so on). Of course when an internal Queue is empty, it is destroyed and the top-most queue is retrieved from the stack. I keep coming back to the definition of a "Pushdown Automaton" even though it really does not fit, but it helps me to visualise what's going on. Imagine that the input tape and the stack are the same thing. Each input tape is an element of the stack. Pushing and popping input tapes allows you to essentially create subroutines.
  8. Darren

    Programmatically Set a Property Item

    I had no idea this existed. I will look into it.
  9. Rolf Kalbermatter

    Transfer Image from cDAQ-9133 Linux RT to cDAQ-9133 WES7

    Yes I know but the mentioned rule makes even that difficult. First if your target has no physical DIP switch you have to use NI MAX to set it into safe mode. -> Bummer. There is probably some ini file setting somewhere that you could change through SSH and then reboot, so the NI MAX is probably avoidable but: SSH requires a device that can run it, which will be in almost all cases a real computer. Maybe the "No Windows box allowed behind this line" offers an escape by allowing to use a Linux box, but then I would consider that rule even more stupid. Either you ban all computers or none, just excluding Windoze makes no real sense. The more important question is what nisystemformat really does. Does it wipe the disk completely and if so why not just use dd? If not there will be data left on the device, which I'm sure is the entire reason to require it to be wiped before leaving that area.
  10. thanks for all the feedback. its why i love this site.
  11. hooovahh

    Programmatically Set a Property Item

    Wow I never knew about that and the fact that it can handle dotted properties is awesome. Darren is there a reason we shouldn't be using this thing that does exactly what we might want when the proper method lacks this functionality?
  12. paul_cardinale

    Programmatically Set a Property Item

    I found it! Unfortunately it's deprecated. It takes dotted inputs as either names or ID codes.
  13. smithd

    [CR] SQLite Library

    I've used that in the past too, but i was creeped out today when I looked at it and saw that the downloads were http instead of https. The reason I noticed was that windows claimed the 32-bit version had a trojan. I'm assuming it was a false detection, but even if thats the case you shouldn't be serving up installers over an unsecure connection.
  14. drjdpowell

    [CR] SQLite Library

    Tried inserting png, jpg, and bmp images (by solution 1) and they can be viewed by SQLite Expert Personal, which I use.
  15. hippo Th

    OOP - change status of VI in OOP

    Thank you very much :-)
  16. smithd

    [CR] SQLite Library

    DB browser seems to only support png/bmp. I found a video suggesting jpeg support too, but the link said only via nightly builds
  17. Gepponline

    [CR] SQLite Library

    My initial problem was on HOW to store blob data in an SQLite record field using this toolkit. So i thought this was the right place to make my question. I Had no idea about the problem of no standard for storing images on a BLOB field. Now that I know that, i can say: 1)Attached are 2 solution working with SQLite Manager but not with SQLite administrator neither with DB Browser for SQLite 2) Being so, maybe it's better to store images in a specific folder and store the path in the DB. Thank you so much for the support.
  18. Here is an implementation of a queued Mealy State Machine. Updated for 2016: https://forums.ni.com/t5/Reference-Design-Content/Event-Driven-Queued-State-Machine-EDQSM/ta-p/3841938 Original LAVA thread: https://lavag.org/topic/4623-simple-event-driven-queued-state-machine-with-front-panel-events-and-a-timer/
  19. ShaunR

    OOP - change status of VI in OOP

    1. It is a call parent method. 2. Placing the Call Parent Method (located in the cluster, class & variants palette) will adopt the parents method if the criteria in the aforementioned document is satisfied.
  20. Thanks, I'm not a specialist on MIPI. Those information are very useful. Benoit
  21. Just in case anyone is still interested, the source is now available on github: https://github.com/rfporter/SET-Toolkit
  22. Hello, attached/below are two connected VI's. 1. What does the symbol mean in the red square? 2. How can I change the status on the second VI to the first one? In my opinion the both VI's should be the same one - except in one detail. But I don't know these detail. :-( Thomas
  23. 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.
  24. Here is an article to wipe Linux RT controllers using SSH. https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LfbSAE&l=en-US
  25. Rolf Kalbermatter

    Industrial MIPI camera for Raspberry Pi

    From my limited experience with MIPI this is very critical. The differential serial lanes of a MIPI connection need all to be within a few mm of length to guarantee proper signal transmission. That means that if you design a PCB you generally have to use meander microstrips to make sure that every connection has exactly the same length. In addition the MIPI standard is designed as a chip to chip interface and is not meant to be routed through long cables. The D-PHY specification defines the maximum lane flight time to 2 ns. so that means that on an FR-4 PCB using matched microstriplines you get at most 25 to 30 cm of trace length. The typical FPC flex cable used to connect a camera module to a board does have similar electrical characteristics and is therefore not that much different. That includes the traces from the chip to the FPC cable connector, the FPC cable itself and the traces from the FPC connector to the framegrabber chip.
  26. Darren

    Programmatically Set a Property Item

    Correct. Scripting does not support setting dotted properties.
  1. Load more activity
×

Important Information

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