Skip to content

Support for NI RT Linux with dynamic Paths #15

@Bas-vE

Description

@Bas-vE

Hello,

We've encountered some issues while deploying a VI using the G-Image library on an NI RT Linux target with embedded UI enabled. (missing external function g_image*_*)
My development system operates on Windows (LV2024Q4).

After some investigation, I included the g_image_64.so file in the target's build specification and linked the DLL calls path to the .so file with a custom vi that is shown below in the images. This is a rough version that only works for RT Targets, but maybe this VI should be replaced with some code that searches for the path for specific targets like what is done in the h5labview library as shown below.

we altered the following VIs to make it work on RT Linux:

  • Copy Image To Picture.vi
  • Load Image From File (Core).vi
  • Load Image From Memory (Core).vi
  • Load SVG From File (Core).vi
  • Load SVG Image From Memory (Core).vi
  • Resize Image (WxH).vi

is this something you can add in the next version?

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions