-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for Linux desktop #146
Comments
Hi Antoine,
This is a great idea! I don't think too many of us on the dev team are
using desktop Linux.
Would you be willing to help out by identifying which specific pieces of
code are broken on Linux?
…-Jim
On Thu, Oct 21, 2021 at 1:25 AM Antoine Chalons ***@***.***> wrote:
It would be great if Caraya could be fully functional on LabVIEW for Linux.
A first step would be to "simply" use Conditional Disable Structure to
wrap whatever is not supported on Linux so that at least the Caraya stuff
wouldn't appear as "broken" on Linux.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#146>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC5D6DBFFEDESEZH2FZPSLUH654ZANCNFSM5GNM3BQQ>
.
|
Absolutely! |
Yes, please!
If you're able to do that in LV 2013, that would be great :)
If that's not possible, then just taking inventory of where the fixes
need to be done would be super helpful.
…-Jim
On Thu, Oct 21, 2021 at 7:10 AM Antoine Chalons ***@***.***> wrote:
Absolutely!
If it's ok with you, I can fork the repo, do the fixes and create a pull
request.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#146 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC5D6ASAPTJ3B3XEY3KW7DUIAGOBANCNFSM5GNM3BQQ>
.
|
Ha... I forgot about that. I only have 2017, 2019 and 2020. |
Sure. Thank you!
… |
So it was not too difficult to fix.
Apparently in LabVIEW 2021 the GEH vi is not broken, at least that's what NI support told me. To wrap it up, I think you should assume that GEH works and do nothing about it and simply not try to handle the double clic event on the tree or any "key down?" event when on Linux. |
@AntoineChalons thanks for the report. Can you confirm that "Mouse Down" event is supported on your Linux distro? |
Great ideas Francois.
Also, for what it's worth, Linux is going to become ever more important of
a platform for LabVIEW, since NI is putting a lot of work into Linux
hardware drivers and system configuration tools.
… |
Hi Antoine,
I have some questions:
Is the code broken (broken run arrow) on Linux?
Or, is there simply an error?
If it’s broken, maybe we could dynamically register from the double-click
event and then only have to comment out the Register for Events node, which
would presumably be broken on Linux too, instead of deleting the event case.
Jim
On Fri, Oct 22, 2021 at 2:55 AM Antoine Chalons ***@***.***> wrote:
So it was not too difficult to fix.
But it might be specific to some LV versions, I only tested this on Ubuntu
20 with LabVIEW 2020-64bit.
I had to fix 2 things :
1.
~/vi.lib/addons/_JKI Toolkits/Caraya/classes/Basic Test
Manager/Process.vi
in this one I remove the Event Structure case that handle "double clic
on the tree"
2.
wrap all the "General Error Handler.vi" into a conditional disable
structure, make default case no nothing and target=windows use the GEH vi
why? because a subVI of GEH vi is broken due to the fact that on Linux
the Event Structure handles "key down" events differently than on Windows
(not sure about the details tough.
Carefull here because in the OpenG dependencies of Caraya "some" VIs
call the GEH vi (only List Directory Recursive I think).
Apparently in LabVIEW 2021 the GEH vi is not broken, at least that's what
NI support told me.
So now I'm wandering if the issue isn't specific to LabVIEW on Ubuntu
which is not - yet - officially supported by NI
To wrap it up, I think you should assume that GEH works and do nothing
about it and simply not try to handle the double clic event on the tree or
any "key down?" event when on Linux.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#146 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC5D6CLKDDCKWPAX7FNA5DUIERILANCNFSM5GNM3BQQ>
.
--
Jim Sent from my mobile.
|
|
@AntoineChalons Thanks. We'll wait for your confirmation. |
So... I got an OpenSuse Leap 15.1 VM with LabVIEW 2020-64-bit directly from NI Tech support, and there everything works. |
Quick update : working hard with a colleague to build an Ubuntu VM with LabVIEW 2020 SP1 and VIPM 2017 and Caraya without all the issues described above. |
It would be great if Caraya could be fully functional on LabVIEW for Linux.
A first step would be to "simply" use Conditional Disable Structure to wrap whatever is not supported on Linux so that at least the Caraya stuff wouldn't appear as "broken" on Linux.
The text was updated successfully, but these errors were encountered: