10-26-2022 10:56 AM
I recently found a bug in LabVIEW, and was fortunately able to reproduce it following a few simple steps.
These are:
5. Closing this, you'll then get a series of "Resolve Load Conflict" dialogs. The desired files (the ones in the export folder) will be selected by default, so you only have to click "Load with Selected" on each dialog:
6. After the last conflict is "dealt with," the Project Explorer window will open. If you open the tree at the RT Compact RIO Target -->Dependencies, you'll see the following conflicts, highlighted yellow:
7. Right-click on either conflict and select "Resolve Conflicts..." from the context menu, and you'll get this dialog:
8. At this point, the bug is revealed: Clicking "Use Selected Item" on the copied Type Def shows the dialog flash for a second and revert back to the pre-click display, still showing both Conflicts. Nothing I've tried can get past this.
I note the following:
Now, this example has two conflicts that can't be resolved. The project I was working on upon which I first experienced this error with had 58.
Note the LabVIEW Version was 2019 32-bit, (19.0.1f5), and had the Real Time and FPGA modules installed.
Thanks,
Erik Ledding
10-29-2022 09:45 AM
I stopped using Network Shared Variables a while (7-8 years?) ago. They "seem simple", but (in my hands) were slow and unreliable, often causing "mysterious errors" that disappeared when I stopped using them.
For communication with a remote Target, I use Network Streams.
Bob Schor
10-31-2022 08:39 AM
Hi Bob,
I've not worked with network streams as I'm interfacing to the cRIO with the PC acting as a "remote control" for it, and this connection is only rarely made - 99% of the time the cRIO is running on its own with no connection, and the device connecting to not always the same PC. From what I'm reading, the network stream requires declaring the URL you wish to communicate to, and this isn't known in my application. Is there a workaround to this? Then again, I'm reluctant to spend time working around what is likely an easy bug to fix, that should be fixed.
Thanks,
Erik