Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by flarn2006

  1. The main reason I'm asking is VIPM for Linux is out of date and requires an old version of the LabVIEW runtime, which it somehow doesn't detect even when I put it in LD_LIBRARY_PATH. I've had issues getting it to work on Windows in the past too, and I'd rather just use a different, less cumbersome tool to install them if possible. Plus it would also be nice in general to have an open-source alternative to such an essential tool.
  2. As a side note, I'm pleased to see that you find my resource editor useful
  3. Fun fact: the Type Specialization structure works in generic VI's. Or at least as much as anything can work with generic VI's.

  4. I'm trying to make a simple, compact, square Boolean constant to put in an array so it looks like a grid of pixels, using XML heap editing black magic. The most significant change I made was converting the multiCosm to a bigMultiCosm so I could color each state separately. It ended up failing to load the block diagram. This isn't a surprise, as I am after all changing data in ways it wasn't necessarily designed to handle, but it did get me curious about what the exact error was, since who knows, maybe it was something I could fix. So I turned on dprintf_logging (in Ned) and tried it again, and this was the output: LoadObjectData error 5, [VI "lvtemporary_436621.vi" (0x000000000a3c9660)], UID 113, tag 'table' (256), dpid 0 LoadObjectData error 8, [VI "lvtemporary_436621.vi" (0x000000000a3c9660)], UID 111, tag 'partsList' (194), dpid 79 LoadObjectData error 8, [VI "lvtemporary_436621.vi" (0x000000000a3c9660)], UID 104, tag 'ddo' (52), dpid 19 LoadObjectData error 6, [VI "lvtemporary_436621.vi" (0x000000000a3c9660)], UID 110, tag 'dco' (48), dpid 21 LoadObjectData error 8, [VI "lvtemporary_436621.vi" (0x000000000a3c9660)], UID 7, tag 'termList' (268), dpid 29 LoadObjectData error 8, [VI "lvtemporary_436621.vi" (0x000000000a3c9660)], UID 3, tag 'nodeList' (164), dpid 27 LoadObjectData error 8, [VI "lvtemporary_436621.vi" (0x000000000a3c9660)], UID 2, tag 'root' (214), dpid 126 I'm guessing the answer is no, but is there any public documentation of those error codes?
  5. 1. I thought references to GObjects didn't need to be closed. 2. I'm not concerned about RTE; my interest is for use alongside VI scripting, e.g. for doing low-level editing operations in a shortcut menu plugin. 3. Noted, thanks. I just copied your icon and didn't really consider what it meant.
  6. Thanks; I'll update it when I get the chance. EDIT: Done. I also wired the error in/error out terminals, since I apparently forgot to do that before.
  7. I'm mainly concerned about LabVIEW's built-in uses of the file dialog, Fileā†’Open for example. Is there a simple way to replace that with a call to a third-party library?
  8. Here's a simple VI I made that does the opposite. This one should be cross-platform, though I've only tested it on Linux. I enabled maximum error checking on the MoveBlock CLFN, but I've found it can still crash LabVIEW if the pointer is invalid, so keep that in mind. Pointer to Refnum.vi
  9. CURSED.viTry that. I added more stuff to it, including that.
  10. Forgot about this! Just gave it a try, and I can confirm it works on LabVIEW 2021 on Arch Linux. At least as far as I can tell from my initial test. Would this work with Conditional Disable Structures so a single version can work in every OS?
  11. Behold, my latest creation...a triangular constant!
  12. I see. Running LabVIEW through padsp appears to fix it, except the express VI's still crash LabVIEW when I click OK. Thanks though
  13. Looks like it; thanks for the link. Guess that one isn't Linux-specific. Though there aren't that many days in January left... When I do, is it okay if I just link to this thread here?
  14. You know, like when you right-click it and select "Open Front Panel", and it asks you if you want to convert it to a standard VI. This seems to do the trick, but since it uses a private method I thought maybe I should ask here in case I'm doing something unsafe.
  15. I love that Community Edition is on Linux now. That said, I've run into a few issues with it and I'm hoping someone can help: LabVIEW has issues with images from other applications in the clipboard. When I have something copied from KolourPaint (an open source MSPaint clone) LabVIEW will often crash, sometimes immediately, sometimes not until I try to paste it. (This happens immediately after launching it as well.) From other applications I've tested, LabVIEW appears to ignore the image entirely. If something other than an image was in the clipboard before the image, it'll paste that; otherwise, Paste will just remain disabled as if the clipboard were empty. A lot of times, I'll select a custom control using the "Select a Control..." right-click menu item, and it'll display the outline of the control for a split second, but then it'll go away as if I pressed Esc. I don't recall whether this has happened with subVI's, but it's possible. (edit: it just did, so yes.) Sometimes, often when I drag something on the block diagram, wires will suddenly move to illogical locations. One place where I've noticed this often is with tunnels on the bottom edge of a structure, where the wire will suddenly arrange itself so it connects from the left instead (while the tunnel remains on the bottom.) The audio input/output VI's don't work, instead saying the selected device is invalid. (This does not include the audio file ones, which work as expected.) Trying to place an "Acquire" or "Play Waveform" Express VI shows no detected devices in the dialog, and if I click OK anyway, LabVIEW crashes. Dragging and dropping files into LabVIEW does not work; instead, the files go to the window behind the LabVIEW window. I'm not sure whether or not this is actually a bug, but whenever LabVIEW opens a file dialog, it uses the crude built-in one, like in the Windows version when you select an LLB, instead of the normal system dialog. (If anyone knows of any way to replace the dialog with a custom VI, that would be great.) I'm using Arch Linux with KDE Plasma, in case it helps.
  16. You just had to say it...
  17. Whoops, not sure how that string constant got there! And no, Basic Object Flags (AFAIK) isn't enough to do this; this was made through manual heap editing. EDIT: https://static.needsmorejpeg.com/i/qaJ20.jpg
  18. When I click "Go" on the YControl wizard, LabVIEW just sits there seemingly forever, all the while logging this error every second: <DEBUG_OUTPUT> 01/27/22 11:52:33.767 PM DWarn 0xFCC058F4: An item recompiled in the final iteration should not still have recompile needed set: [VI "Y Control Isolators and Misc.lvlib:Insert Info In Error.vim" (0x000000000a5b12a0)] /builds/labview/2021/source/compiler/compiler.cpp(643) : DWarn 0xFCC058F4: An item recompiled in the final iteration should not still have recompile needed set: [VI "Y Control Isolators and Misc.lvlib:Insert Info In Error.vim" (0x000000000a5b12a0)] [ExecSys:0; NOT InExec] </DEBUG_OUTPUT> 0x00000000006D9611 - <unknown> + 0 0x00007FFFF6DDB5F5 - _ZNK11DebugStream7ProcessEv + 25 0x000000000064D329 - <unknown> + 0 0x000000000064D991 - <unknown> + 0 0x000000000064E1B8 - <unknown> + 0 0x0000000001D14136 - <unknown> + 0 0x0000000001D15369 - <unknown> + 0 0x0000000001D18333 - <unknown> + 0 0x0000000001D1AC85 - <unknown> + 0 0x0000000001DB393D - <unknown> + 0 0x0000000002032563 - WSendEvent + 253 0x00000000020339A4 - <unknown> + 0 0x0000000001F6BABD - <unknown> + 0 0x0000000001F658F8 - <unknown> + 0 0x0000000000608599 - <unknown> + 0 0x00000000006087A8 - <unknown> + 0 0x00007FFFF6802B25 - __libc_start_main + D5 0x00000000006069F9 - <unknown> + 0 I'm using LabVIEW 2021 Community Edition on Linux.
  19. When is this necessary? FPGA I assume?
  20. CURSED.vi Open the block diagram and see for yourself. (Make sure you have everything saved in case LabVIEW crashes.)
  21. Yes, LabVIEW has operator overloading, or at least a form of it. It's what the matrix typedefs use to override various math operators, where it replaces them with a subVI. Operator overloading, as far as I can tell, is undocumented, and not used anywhere outside the matrix typedefs. It's configured using a "NI.LV.All.OperatorInfo1" tag on the control VI, set using the private method "Tag.Set Tag". I've attached a VI I was using to mess around with; it's supposed to create a string typedef which, when wired to a Multiply node, will replace said node with a Three-Button Dialog subVI, but it seems I haven't gotten it to work yet. I haven't really investigated that much, and I'm sure I can figure out what the issue is, but I thought I'd share my VI anyway. In addition to creating that VI, it also loads the NI.LV.All.OperatorInfo1 tag from the RealMatrix typedef as a working example. It's worth pointing out, for anyone else who feels like experimenting, that there's a "Debug Operator Overloading" toggle in the Ned options, as well as an "Available Implementers" section in Heap Peek which seems to be related. Operator Overloading Test.vi
  22. image.png.4fa29197b7c7abfe1ecb4803cd740fc0.png

    LabVIEW just froze...

  • Create New...

Important Information

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