Skip to content

ISISNeutronMuon/pvaccess-labview

Repository files navigation

PVAccess for LabVIEW

An EPICS PVAccess library for LabVIEW.

⚠️ This software is in the alpha stage of development and does not have a stable interface.

image

Requirements

The VIPM package is compatible with LabVIEW 2020 or above.

Real-time targets running NI Linux RT 2023 Q1 or above should be compatible.

Installation

LabVIEW library (VIPM)

Download the latest .vip file from releases and open it with VIPM.

NI Linux Real-Time

SSH into the target and run this command, replace <VERSION>with the version of the VIP file you have installed.

wget https://github.com/ISISNeutronMuon/pvaccess-labview/releases/download/v<VERSION>/pva_labview_<VERSION>.ipk
opkg install pva_labview_<VERSION>.ipk

Development

Prerequisits

Windows

Linux

  • Install Make, CMake, Perl and libevent using your distribution's package manager
    sudo apt install make cmake perl libevent-dev

Building dependencies

Windows

  • Build EPICS Base

    set EPICS_HOST_ARCH=windows-x64-static
    make -C epics-base
  • Build PVXS

    echo EPICS_BASE = $(TOP)/../epics-base > pvxs/configure/RELEASE.local
    make -C pvxs/bundle libevent
    make -C pvxs

    See the PVXS docs for more details

Linux

  • Build EPICS Base

    make -C epics-base
  • Build PVXS

    cat <<EOF > pvxs/configure/RELEASE.local
    EPICS_BASE = \$(TOP)/../epics-base
    EOF
    make -C pvxs

Building this library

  • Windows
    cmake --preset=windows-x64
    cmake --build --preset=windows-x64
  • Linux
    cmake --preset=linux-x86_64
    cmake --build --preset=linux-x86_64

Packaging NI Linux RT Package

These command must be run on an NI Linux RT target

cmake --preset=nilrt
cmake --build --preset=nilrt
cpack --preset=nilrt

About

An EPICS PVAccess library for LabVIEW

Resources

License

Stars

Watchers

Forks

Contributors