npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@obinexusltd/labview-polycall

v1.0.0

Published

LabVIEW Call Library Function Node source binding for libpolycall 1.5

Readme

@obinexusltd/labview-polycall

LabVIEW Call Library Function Node binding for libpolycall 1.5. The adapter exports one stable C function:

int32_t labview_polycall_run_config(const char *config_path);

That function forwards directly to:

polycall_ffi_run_config(config_path, 1)

Configuration parsing, validation, networking, and runtime policy remain in libpolycall. This package contains no language-specific parser or duplicated runtime logic.

Install the source package

npm install @obinexusltd/labview-polycall

The npm package publishes the complete adapter source, headers, build files, Call Library Function Node metadata, configuration, examples, and tests. In Node.js, require('@obinexusltd/labview-polycall') returns absolute paths to those packaged files.

LabVIEW .vi files are binary and version-specific, so this source package ships a reproducible node configuration rather than an opaque generated VI.

Requirements

  • LabVIEW with the same architecture as the adapter library
  • libpolycall 1.5 development library and headers
  • a C11 compiler and GNU Make

Build

Build the standalone adapter archive without linking libpolycall:

make

Build the shared library by supplying the linker flags for libpolycall:

export POLYCALL_LDFLAGS='-L/path/to/lib -lpolycall'
make native

PowerShell uses the same variable:

$env:POLYCALL_LDFLAGS = '-LC:\path\to\lib -lpolycall'
make native

The result is one of:

  • lib/labview_polycall.dll
  • lib/liblabview_polycall.so
  • lib/liblabview_polycall.dylib

The compiler target and LabVIEW process must both be 32-bit or both be 64-bit.

Configure LabVIEW

Add a Call Library Function Node and use these settings:

  • Function: labview_polycall_run_config
  • Calling convention: C
  • Return: Numeric → Signed 32-bit Integer
  • Input: config_path, String → C String Pointer
  • Thread: Run in UI thread as the conservative default

The complete wiring procedure is in examples/CALL_LIBRARY_FUNCTION_NODE.md. The same settings are available as machine-readable metadata in labview-interface.json.

Wire an I32 zero status as success. Every non-zero value is returned unchanged from libpolycall and can be mapped into your application's error cluster.

Verification

npm test

The suite verifies exact path forwarding, the required validation flag, status propagation, ABI types, Call Library Function Node metadata, thin-adapter constraints, and npm package completeness.

Package layout

  • src/ — LabVIEW-safe C adapter and Windows export definition
  • include/ — public adapter C header
  • generated/polycall/ — minimal generated core FFI declaration
  • examples/ — node wiring guide and sample configuration
  • tests/ — core mock, ABI forwarding test, and npm package test
  • labview-interface.json — exact Call Library Function Node settings

Author and license

Copyright © 2026 Nnamdi Michael Okpala [email protected].

Released under the MIT License.