-
Posts
429 -
Joined
-
Days Won
28
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by X___
-
The software subscription model is the future...says this article of 2013 I wonder whether NI has any idea of the "churn rate" discussed there. I guess the first year will give them a clue. I also wonder whether the same brain who made the NI logo become a green deflated ..NI. is at the origin of this marketing decision? And is now gone, after having made wonders.
-
It turns out that this was a classic case of a spawned VI and orphaned references (and after all, swapping my VI for the 3-button dialog did not change the pattern, although it improved the look), even though I am not quite sure this all makes sense to me... But anyway, the bottom line is that I managed to circumvent the problem by keeping some references alive in a hidden launcher VI which shuts down when no more windows are left open.
-
What happened to By-value OpenCV Library?
X___ replied to X___'s topic in Machine Vision and Imaging
Let me try this @Wiebe@CARYA -
I listened with interest to this presentation by Wiebe Walstra: https://labviewwiki.org/wiki/GLA_Summit_2020/A_By-value_OpenCV_Library Does anyone know what the status of this is?
-
Implementing UNDO in my application UI.
X___ replied to Michael Aivaliotis's topic in Application Design & Architecture
We are working on it. We just need more funding... -
Implementing UNDO in my application UI.
X___ replied to Michael Aivaliotis's topic in Application Design & Architecture
Just reflecting on what some not-to-be-named companies have accustomed us with... But in answer to your question, if you have irreversible actions taking places (that would be the case in the type of stuff I do, which is mostly computational when it is not DAQ - I don't suppose you want to undo drilling or cutting physical parts 🙂, clearly you need to store intermediates states to be able to backtrack to those and since juggling between different cases might be tricky. this might be your best approach... And since even the not-to-be-named company has been unable to find a satisfactory solution despite their elite team of programmers after 20 years (not mentioning that there is no undo in tons of locations in the IDE), this is clearly not a trivial problem. But that might be one sentence too much. Hold on, Musk hasn't bought that site yet, has it? -
Implementing UNDO in my application UI.
X___ replied to Michael Aivaliotis's topic in Application Design & Architecture
I'd just pop up a dialog with a "Please contact our company's support channel and Idea Exchange forum to discuss or request implementation of this feature. Reminder: access to future improvements of our software is reserved to continuing subscribers. Other cheaper and more powerful alternatives may be available". -
Nope. The CORE.vi was called by the 3-buttons dialog VI (the "white" version of the CORE.vi, i.e. a wrapper to the CORE.vi), itself called from a dynamically launched VI. As I said, a pared down test version of the program was working just fine (which is why I was not able to post such an example). I guess I must be getting old, as I have decided to move on without fully understanding what was going on, having solved this issue with a custom dialog VI. This being said, if someone can recreate a situation such as illustrated in my original post (a non-reentrant stopped VI whose icon in a calling (stuck) subVI being debugged shows the "green" arrow), maybe we'll get closer to figuring out what was going on (no need to focus on the CORE.vi).
-
Still don't get how this is my answer, in particular to the "running VI arrow" in the calling VI and the stopped CORE.vi question. I think I do remember indeed that putting a breakpoint in the CORE.vi and stepping through it might have prevented it from "aborting" (for lack of a better understanding of what is happening), but then, when that CORE.vi is/was called from within the main VI, things were working fine, so it doesn't really explain anything for me. But to some extent, this doesn't matter anymore at this point.
-
Follow-up: replacing the 3-button dialog window with my own (working in essentially the same way, if a bit cleaner) solves the issue (for now). I still would like to understand what happened with this VI...
-
I am discussing run time behavior. I am not editing the 3-dialog button VI. The snapshot I showed is the end result of the app running (and getting stuck). The FP of that dialog window opens up via an invoke node in that dialog VI (the first part is formatting, as I mentioned in the previous post - the VI can be checked in vi.lib), and then there is a simple event loop that waits for a button click, which ends the execution and closes the VI. So when that dialog VI is reached in my Notebook VI (at the green arrow location in the original post), the dialog VI executes, formats itself, opens its window, and by some magic, quits the event loop without a click and doesn't close the window. I have put error indicators in that 3-dialog CORE VI to check whether any error was generated, but couldn't see any, which makes that (putative) behavior so puzzling to me.
-
I had to read this to learn something new (about bugs and wasps): http://www.labviewcraftsmen.com/blog/the-root-loop However that post says that the 3-button dialog (which I am using) does not require to run in the root loop... I generally write my own dialogs, but this one is convenient (although style-wise, pretty dated) because of all its fancy formatting. I'll try with my own regardless, just for verification purpose.
-
I am staring at this: which shows a snapshot of 3 VIs, two of them being in vi.lib/Utility/error.lib VIs (visible FP), the other one being a subVI in a library of mine. The snapshot illustrates the puzzling situation that I am encountering: Three Button Dialog.vi, whose state is idle as is clear from the snapshot (but is also confirmed by the LabVIEW Task Manager), is however "running" as indicated by the green arrow in the calling VI (whose BD is shown in the back). The "Close Notebook Dialog Window" is nothing but the Three Button Dialog CORE.vi of the error.lib library, and is also idle. In other words, the calling subVI is never stepping out of this situation and the only way for me to recover is to abort the VI. Question: how is THIS even possible? Background information: First of all, I wished I could boil this down to a simple example that I could share, but I haven't been able to reproduce this yet in a bare bone project. Now, the weird thing is that this situation occurred after what I thought would be a simple refactoring of my application, namely dynamically launching my consumer loop, which itself launches the Notebook VI whose subVI is now unresponsive. Before: Main launches Notebook dynamically. User closes Main. Only Notebook remains live. User clicks Notebook's "close box" which call the 3-button dialog. User clicks "No", Notebook closes. After: Main launches Consumer loop VI dynamically. Consumer opens Notebook dynamically. User closes Main which sends a "Quit" message to the Consumer loop, shutting it down. Only Notebook remains live. User clicks Notebook's "close box" which call the 3-button dialog 3-button dialog is idle, Notebook is stuck waiting for it to finish. Something is going on (or rather is not). What could it be? LabVIEW 2021 SP1 64-bit Windows 10 Edit: I forgot to mention that none of the VIs above are re-entrant and that the 3-button dialog CORE.vi is supposed to run as a modal window.
-
I am taking a sabbatical from LabVIEW and NI R&D
X___ replied to Aristos Queue's topic in LAVA Lounge
As if there were no such personalities on NI forums... -
I am certainly not going to rewrite a Plot Legend, as there are so many functionalities I am relying on (however buggy they are), that this would be way too much work.
- 5 replies
-
- plot legend
- index display
-
(and 1 more)
Tagged with:
-
Another interesting tidbit about the Index Display is that if you edit its Description and Tip, the Tip does show up as expected when hovering over the index (and its description in the Help window), but if you have not set a Description for the array itself, that index's description will show up for the whole array (but not the index's tip). Define both Description and Tip for the array AND its index, and things work as expected. It's tough to write code that does behave properly in all cases...
- 5 replies
-
- plot legend
- index display
-
(and 1 more)
Tagged with:
-
At this point I am just showing the index display at all times and hiding it with a disabled button whenever I don't need it. I am not expecting this to be fixed before 2030 and since I am not planning to upgrade to 2022 and later, that will be it.
- 5 replies
-
- plot legend
- index display
-
(and 1 more)
Tagged with:
-
As the title says, you can show and hide the plot legend index display (it is an array after all) in Edit mode, but there is no property to do that programmatically. Since the NXG style plot legend scrollbar is buggy (see this report and the linked thread), providing this index display as a backup for users to navigate the plot list in the absence of a mouse wheel, is not elegant has its visibility cannot be controlled (AFAIK).
- 5 replies
-
- plot legend
- index display
-
(and 1 more)
Tagged with:
-
The bug has been described a while ago here but might never have been submitted... It is still present in LV 2021 SP1.
-
Let’s make Machine Learning easy with scikit-learn on LabVIEW
X___ replied to Youssef Menjour's topic in LabVIEW General
As described here, I just discovered: https://zone.ni.com/reference/en-XX/help/371361R-01/lvhowto/editing_the_shortcut_menu/- 16 replies
-
- 1
-
-
- labview
- machine learning
-
(and 3 more)
Tagged with:
-
This looks very interesting. I am curious about your mention of HDF5 support. I am using the h5labview wrapper, which is not really updated anymore. Are you developing a complete support (read/write) of the HDF5 format as well? Which version are you going to release it in? I am not planning to upgrade past 2021 due to the new NI licensing scheme (can't pay for the hostage fee with our meager grants if our Department decides to drop LabVIEW from their supported toolkit). Kudos for the project and developers!
- 7 replies
-
- deeplearning
- pytorch
-
(and 3 more)
Tagged with:
-
I am taking a sabbatical from LabVIEW and NI R&D
X___ replied to Aristos Queue's topic in LAVA Lounge
Right... Feels like the 100 flowers campaign to me. They will learn their lesson quickly. -
I am taking a sabbatical from LabVIEW and NI R&D
X___ replied to Aristos Queue's topic in LAVA Lounge
Just to make it clear to those who did not watch the video (or attend the meeting): these were LIVE inputs from the audience, which were fed directly into the presenter's screen. But, yes, I don't think the "distribution and licensing" comment was addressed by NI's new licensing policy. But again, he just laughed all these comments off and went on to the next question. -
I am not using Linux or Mac.
-
Mixing text and graphics, as well as allowing style and color, undo and redo, etc. is precisely why I am using the RTB .NET object. Care to enlighten me how you can do that otherwise in LV?