Jump to content

X___

Members
  • Posts

    415
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by X___

  1. I am trying to understand what you are staying but I am obtuse. In the snippet above, if I connect a constant path whose length is longer than 260 characters (path length not file name, the file name of course needs to be <260 characters), I get an error 6 as @thols mentioned below (but that is not what I am doing, I am using the native file dialog, which results in the file name to be silently truncated). If I try to save a file with the same extra-long path in Word, it works just fine, as it does in Notepad++, for example. I do have LongPathsEnabled set to 1 on my Windows 10 Pro system: I have read some mentions of this failing in Notepad++ for instance, but this turned out to be related to people having the wrong registry settings. Anyway, I guess I have my question answered: LabVIEW 2021 manages some wire kinks better than before, but as far as file paths, it is still stuck in the past.
  2. The KB says: Disclaimer: LabVIEW does not support long path names on Windows. Although Windows includes support to enable LongPaths in the Registry Editor, each individual application must have this support included in the code. I am reading this as "LabVIEW does not have this support included in the code". Maybe I am reading this wrong. I don't think so, see below. As for being silent, try the following snippet: When prompted for a path, just navigate down a deep folder hierarchy and enter a name long enough such that the sum "folder path" + "file name" is larger than 259 characters (1). There is NO error. The file is saved with a truncated file name (so that the path remains smaller than 260 characters) (2). Note 1: if you type a FILE NAME longer than 259 characters in the file dialog box, Windows will beep and prevent you from typing a longer name, so you would know that something is wrong. Note 2: you can edit the file name in Windows Explorer (as long as the NAME remains below 260 characters), such that the file PATH length is LONGER than 260 characters, so yes, Windows does support path name than are longer than 260 characters.
  3. Just curious whether anyone can check whether the 255 character file path limitation is still a thing in LV 2021: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000015AHaSAM&l=en-US I just got bitten by it again in LV 2019 and it is a silent killer, as it will truncate the input file path to 255 characters without the slightest warning...
  4. Most relaxing Q&A session of all... 15 minutes of background music. That was necessary to let the breadth and depth of the new features which were crammed within the first 30 min sink in. I was actually quite impressed that NI finally was on the right track as to what an autowire tool is supposed to do. Not that I am planning to turn it on, but pleasantly surprised nonetheless. The important link is this: https://www.ni.com/en-us/support/documentation/bugs/21/labview-2021-known-issues.html 1135156 is nasty... 1555422 is sort of amusing for that new functionality. But I guess that is what happens when the feature is not advertised in the public beta site (https://forums.ni.com/t5/LabVIEW-2021-Public-Beta/LabVIEW-2021-Beta-Now-Available/td-p/4144143) I believe the "Final Time issued" section is new?
  5. Let's clarify: if you develop in LV 2020 and use the released standalone with LV/Vision 2020 RTE, I am assuming there is indeed no problem (I haven't tried) If you develop in LV 2019 and use the released standalone with LV/Vision 2019 RTE, things work fine (I have tried, box checked or unchecked). It is only when you release in LV 2019 with checkbox checked AND use the released standalone with LV/Vision 2020 RTE that things go South (my experience of that is indirect: a user reported a problem that sounds related, but I can't verify that it was that specific problem, as it was subsequently solved by using LV 2019 RTE - I think. However there have been two other reports above that seem to confirm this pattern. It would be nice to have NI look into it in order to move from the anecdote level to the bug tracking one).
  6. I am not sure I understand the reasoning. The DMC image display control is just a cosmetic modification of the original control. It doesn't change anything to the underlying coding. It seems to become a consensus that checking that box sounded like a good idea, but turned out to be a very bad one in some cases. I have stopped checking it when releasing a standalone app, as I don't have the bandwidth for testing all corner cases. Again, as long as nobody reports the issue with NI, nothing is going to be done about it. I won't because of the above sentence, but someone making his or her living from products developed with these tools might want to send a wake up message to NI. You can't engineer ambitiously if you dread every single checkbox in the application builder.
  7. Sorry, I didn't realize that I was trying to "steal" diagrams. Thanks for clarifying.
  8. So NI knows that their password protection is a joke, but they are still using it. No comment.
  9. Well, I presented a clear business case against locked diagrams: they prevent the Analyzer (a NI product) from working correctly. Following your logic, I wonder why nobody has thought of preventing people from using pointers in C because they could crash their software? Providing detailed documentation is not a NI priority, we know that. Fine. Their market share is plummeting in the software development arena, especially in academia. Are the two correlated? Maybe. I am certainly not at war with NI, and my leaving NI forums a few years ago is due to the fact that I felt that my inputs had zero value for me (no practical influence on NI's development). I am stating my opinion, and you are free to dislike it. As for my own code, I have released some of the source code of my "lighter" programs. Releasing and documenting 1,000s of VIs that nobody will ever look at is not something that I can afford as a single developer. But truly, I wished this was all made easy and natural by NI, and there was a striving community of LV developers in academia that could vet and pinpoint bugs in some of my code. I am lamenting the fact that 25+ years of investment in this development environment are going down the drain and will leave no legacy because what was a truly brilliant concept got killed by corporate miscalculation ($2.5K annual single license originally - or maybe more -, no mechanism for forward compatibility from version to version). Time for a python fork with graphical IDE?
  10. My ignorance amazes me, sometimes most of the time...
  11. Then we agree that it would be best to release the source code, since this would point directly to another culprit. And BTW, as we discussed in another thread, I believe that there are still some "native" (as in NI brewed) implementations of some of the analysis routines (with their associated corner case bugs). This being said, regarding password protected VIs, I just ran into a LV Analyzer error due to one of the VIs calling one of the User Tags VIs (which are protected because they probably use some super-secret call which are not supposed to be left in the hands of peons). Which is pretty ironic, considering that both are written by the same NI developer...
  12. Easy and we'll know what we are using. It's an academia thing, I guess, where a mistake haunts you for the remainder of your career, unlike in industry. You know, miles vs kilometers... I suppose we need to "follow the rules about filling out the form to document our concerns" too!
  13. Let's start with unlocking all VIs and documenting Math DLLs...
  14. I don't know about the future, but seeing how dynamic the first public beta is, the present is not particularly bright ๐Ÿ™‚
  15. Following this post, I installed 2019 SP1 in the hope that what I was experiencing was what was described as Bug number 217468 here: Right-Click Menu Commands Fail Intermittently Some right-click commands fail intermittently. For example, the VI Analyzer command Create ยป #via_ignore bookmark creates the bookmark but then erroneously deletes it. Workaround: Fixed in the LabVIEW 2019 SP1 f4 Patch. I don't use VI Analyzer (that much) so this is not what I have been experiencing (see post above), but 2019 SP1 f4 certainly did not fix it. I guess this is a bug indeed, but I am surprised that none of the power users around here have experienced it. Maybe they are all heavy Quick Drop users.
  16. OK, I'll blame MS...again: https://forums.ni.com/t5/LabVIEW/Create-Folder-Buggy-Dialog/m-p/1504232
  17. I am trying to understand an odd behavior of the File Dialog Express VI which I tend to use in most of my UIs. The snippet below provides an illustration of what I am discussing next: Generally, I will pick an existing file path for start path and either a default name, or one that makes sense in the context for name or relative path. Here an hdf5 file extension is added to/replaced in that template (but this is irrelevant) and the resulting (generally) non-existing file path is fed to the File Dialog Express VI (configured to accept single file path, new or existing files) as a two part input: - start path defined in the Help as: Path of the directory (my emphasis) whose contents LabVIEW initially displays in the dialog box. If start path is valid, but does not refer to an existing directory, LabVIEW strips names from the end of the path until the path is a valid directory path or an empty path. If start path is invalid or unwired, the last directory viewed in a file dialog box initially appears in the dialog box. - default name defined in the Help as: Name you want to appear as the initial file or directory name (my emphasis) in the dialog box. The default is an empty string. The strange behavior I am observing is that: (i) if the user accepts the proposed path, it is passed along right away (that is not the strange part), but (ii) if she/he/they move up one folder and press OK, the dialog will pop-up again and essentially refuse the proposed path (this is the strange part). If the user presses OK, the path is of course accepted as we are back in case (i). (iii) The only way to achieve what step (ii) is supposed to do is to move up TWO folders, then press OK once (which brings the dialog back up) and then once again. Any idea why this would make any sense or whether this qualifies as a bug? PS: obviously the above are just preliminary steps to creating/opening a file and saving data in it, but this is irrelevant to the discussion.
  18. Thanks for the heads up. Still using f3. I am surprised that I haven't been nagged by NIPM yet... Is that patch even documented anywhere?
  19. Could be useful, especially since I do not store the LV code in the VM but on the host machine, so essentially, there is only the development environment in it. It is backed up with the rest of my machine though.
  20. I just spent a whole day setting up a VM and installing an older version of LV with the right toolkits and driver versions needed on my deployment machine because... versions and toolkits are incompatible and exclusive from one another. 10s of GB most of them useless for my purpose. Awesome.
  21. I am thrilled already ๐Ÿ™‚
  22. I followed @dadreamer's advice and now get verbose logs every time I get this. There are a few Insane object warnings I need to investigate in my main VI (some cluster constants), and some bizarre DSDisposeHandle errors pointing to that non-existing penguin path, a load of messages regarding references that couldn't be found in a cookie jar, some "this is dangerous" warnings, and tons of weird internal self-addressed warnings... I may contact NI support at some point, but since it is not killing me, I have put that on the "to do" pile.
  23. As a note, a quick performance test comparing dropping a constant or an error ring in a case and running this over and over doesn't seem show much of a difference in terms of CPU (but benchmarking could probably done more carefully), so I may have just used up bandwidth for not much, as usual... ๐Ÿ™‚
  24. That's good advice, which could be added to the Help for the Error Ring, for instance...
×
×
  • Create New...

Important Information

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