Jump to content

Antoine Chalons

Members
  • Posts

    955
  • Joined

  • Last visited

  • Days Won

    34

Posts posted by Antoine Chalons

  1. Hi all,

    I'm planning to expose metrics for Prometheus to collect (scrap) them.

    I saw the PromVIEW VIP on GitHub and vipm.io which works in the default Prometheus way : your app runs an HTTP server and Prometheus is configured to connect to it to collect your metrics.

    My issue is that I run my app on Linux (Ubuntu) and the NI Web Server is not supported on Linux.

    I've seen that Prometheus can also be configured to collect metrics from a file as long as we follow the correct format, so I will most probably follow this path.

     

    As anyone done this or anything similar?

  2. The 'App Directory' primitive returns a wrong output when ran from a Shared Library on Linux Desktop (*.so), I have tried on Windows.

    I reported this to NI, the bug was confirmed in LV2020 and all more recent versions (could also affect older versions)
    As building Shared libraries for Linux is not too common, I'm not expecting NI to fix this anytime soon, and anyway I wouldn't be surprised if they argued that it's now the admitted behaviour (if people rely on it, it's a feature - not a bug).

    My work-around is :
    image.png.69f0d9bf7ef0fed4595887d8c55e02c7.png

    image.png.85870137d342f512ef6c2cbc9b30009e.png

  3. Emerson's catch phrase seems to be 'be bold', NI's was 'engineer ambitiously'

    Maybe someone misunderstandood and NI went to 'be bald'

    Is it just me or today's webcast was desperately empty?

  4. Yeah... LabVIEW everywhere was a slogan when LabVIEW RT was released. It was cool at time!

    I don't think NI's focus is to make it possible to deploy your LabVIEW code to some cheap hardware that generates no revenue for them...

    As for your question about the repo, if I understand correctly, it's the source of the OS called 'NI Linux RT' fork for RT targets (cRIO, PXIs, IC, etc.) , I once heard there was a way to install NI Linux RT on some Intel PCs, never actually seen it though.

    Edit : you might want to read this : https://www.ni.com/en/shop/linux/introduction-to-ni-linux-real-time.html

  5. Thanks for trying!
    I did try with LabVIEW 2022 and get the same result on CentOS 8

    On Ubuntu 20 I never had this issue with LabVIEW 2020 SP1 or 2022

     

    Also I saw this old post from Mickael who had a similar issue back in 2014 :

    and interestingly, on the second start of LabVIEW 2022, the system exec.vi works BUT compiling still fails with the same feedback :(

  6. We have a LabVIEW 2020 SP1 project on Linux that compiles well on Ubuntu 20 (not officially supported)

    We compile as an application and also as a shared library
    We use the application (with UI) for test and debug and in production we run the shared library as a service

    We do not use any DAQ or any other NI driver

     

    We moved to CentOS 8 (officially supported), fresh install of LabVIEW 2020 SP1 and here the application compiles well but the compiling as a shared library fails, the compilation process runs till the end (or seems to) and then returns the following error :

    Error 42 occurred at System Exec.vi. Command was "gcc -m64 -shared -g  -O2 -fPIC -Wl,-Bsymbolic -I/usr/local/natinst/LabVIEW-2020-64/cintools "synchrohub.c" /usr/local/natinst/LabVIEW-2020-64/AppLibs/lvdll.a  -o "synchrohub.so" -lstdc++ -ldl"

    Any one has any idea what the issue could be?


    cross-posted to NI forum

  7. Hi Thomas,

    In the ComboBox, you can't have string items that correspond to the same 'sting value'

    In you file, many Macchina have the same limit value (789), so the ComboBox property node returns an error.

    My suggestion is to build a map, when the user selects a string, you look in the map (look up table) the corresponding limit.

     

    see attached VI

    forum.vi

  8. I agree with Hooovahh, a couple of times I was happy to find some unfinished project to use as a starting point (toml, zeromq, rabbitmq, redis)

    I also respect your opinion, not wanting to publish in your name some half-finished project that you do not want to support is understandable.

    I find this project interesting but I don't do much UI stuff these days.

    Still I think it would be cool if somehow, this could be published.

    • Like 1
  9. The community version is free (with some restrictions) and is available on windows and linux, so you simply need to create an account on NI's website and download it, activation is needed but should work anyway.

    There is a project that might be a nice starting point for you if you want it in Linux : the LabVIEW Community Training, it's at an early stage but it provides an OpenSuse VM with LabVIEW Community installed, you can get it from GCentral : https://downloads.gcentral.org/vm/20231021_OpenSUSE_CTIBase.ova

     

    Hope this helps

    • Thanks 1
  10. 5 hours ago, X___ said:

    What is a record number of attendees in metric units?

    That I don't know

    5 hours ago, X___ said:

    BTW, the program looks interesting. Will it ever get online and will code be shared?

    They've shared the videos of the first 3 editions, so it's reasonable to hope they'll do the same for the 4th : https://www.youtube.com/@GDevCon/playlists

    Follow on LinkedIn or search on GitHub, some (most?) presenters publish what they present.

×
×
  • Create New...

Important Information

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