Jump to content

Antoine Chalons

Members
  • Posts

    980
  • Joined

  • Last visited

  • Days Won

    37

Posts posted by Antoine Chalons

  1. what is the size of you images and what's the max duration you need to save for?

    180FPS is not that much, you could just save images to a SSD or if needed to a RAID drive

    just make put acquisition in parallel of save and pre-allocate enough buffers to store the acquired images.

    in 2007 (before SSD existed) I worked on an image streaming to disk system, up to 8000fps (images were tiny and monochrome), max duration was 30 seconds, but with a ggod SSD this is nothing.

  2. I fully agree that anything, even smoke signals in the wind, are better that NSVs.

    I'm using Redis, I also started from an existing lib found on the interweb, tweaked a bit for my needs.

    We now have multiple golang services as well as LabVIEW services connecting to Redis for cache and using RabbitMq for messaging.

    For some small tests on my Windows machine I've used Redis on WSL, easy to use.

    At the next local user group meeting I might do a short presentation about it, if you have faced any issues, I'd be interested in your feedback.

    Cheers

    • Like 1
  3. 8 hours ago, Rolf Kalbermatter said:

    Seems VIPM 2022 got picky about interpreting Linux as a valid platform indication for anything but 32-bit LabVIEW for Linux? That would be in fact a bug.

    Does the zero-mqtt toolkit also show as disabled in the VIPM 2022 version?

    Indeed, in VIPM 2022.1 zeromq doesn't even show in the list as the default config is "only show installable packages"

    If I disable this, I see zeromq in the package list but can't install. Clearly a bug.

    On the VIPM discord Jim said that a lot of work is being done to release a new VIPM for Linux "soon" so I'll make sure to bring this to his attention.

     

    8 hours ago, Rolf Kalbermatter said:

    Error 8 is a permission error. In that Post Install VI I try to clear the write protection on the 32-bit shared library file to be able to delete it so I can copy the 64-bit DLL over it. Does the user under which you are logged in and run VIPM have admin privileges?

    I guess there is no (easy) way to see the permissions of the lvzlip.so right before that Post Install VI executes.

    99% of my issues on Linux are privileges issues.

    - on the VM with VIPM 2017, i need sudo to launch VIPM and after installing a package I always run a `chown user:user` on the installed package ; surely there is a way to fix this but I got used to it.

    - on my Linux runner VM (for CI) it's the same, VIPM 2017 with sudo needed, as I rarely change the packages, it's a tolerable pain.

    - on the other VM with VIPM 2022.1 I don't need sudo.


    Actually for zeromq, we have modified the package and rebuilt it, online version 3.6.2 is "Linux and Windows", the one we built is "all OS"

    so that's a work-around for the bug in VIPM 2022.1, set "all OS" and then you can install on Linux.

  4. Indeed, on Linux (Ubuntu 20 and 22) wuse use LabVIEW 2021 (therefore 64-bit)

    And on Windows 10, we use LabVIEW 2021 32-bit, about 5 years ago we made that choice because of some toolkit that was 32-bit only, but now we only deploy our LabVIEW built apps NI Linux RT or in Ubuntu containers.

    I don't have LabVIEW 64-bit installed on any Windows, one of my colleagues might, I'll ask around tomorrow.

     

    one thing I didn't mention is that I was using VIPM 2022.1 on Linux

    I've tried with VIPM 2017, here it looks more "friendly" :1737917893_Screenshot2024-09-06at00_10_00.png.c33c2e34d7fe9cdbcf4b47ecc8f6e9a9.png

    but when trying to install 5.0.3 I get an error :

    1887497419_Screenshot2024-09-06at00_09_38.png.3bb2b9ea752ff220d34ab21bcb5cc263.png

     

    I do use zeromq Library on Linux, installed with VIPM 2017

    And I've just installed opendss 1.0.0.7 semi-successfully with both VIPM 2017 and 2022 (on 2 different Ubuntu VMs).

    I say semi-successfully because in both cases the multicore analysis and sparse matrix dependency failed to install with error 5000

    119302014_Screenshot2024-09-06at00_19_14.png.03048e37e285f3358e1ab7f96a2b7877.png

  5. in 4.0.0 the CLFN had an absolute path to the shared lib that was like /C/Work/OpenG/....
    and I couldn't find the actual so file under ~/user.lib and didn't feel like relinking all the CLFNs anyway as I knew that 4.2 would work.

     

    The size of the lvappimage I tested with is ~360 MB

  6. VIPM 2022 keeps giving an error when trying to install version 5.0.0

    image.png.ec0b3b9afdcacff4b06e113a35d25ed8.png

    I could install 4.0.0 but it seems the so file is not installed by VIPM

    more recent version seem to not be supported on Linux (at least they are disable in the VIPM ring menu)

    image.png.852eaf6bfc98450946e6338dc7811e9a.png

    So I installed 4.2.0b1-1 found on LAVA and now I can test : no luck on Linux

    image.png.dd325783997e67ea6edde7ff212b6ee0.png

  7. On Windows I use the NI_Unzip.lvlib:Unzip.vi to unzip normal zip files as well as lvappimg file (cRIO image file created by MAX or RAD) and it works.


    On Linux NI_Unzip.lvlib:Unzip.vi can unzip normal zip files but always return error 42 when I try to unzip a lvappimg file.

    I've reported this as a bug to NI

     

    Anyone knows another way to unzip a lvappimg file?

    cross-posted to NI Forums

×
×
  • Create New...

Important Information

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