Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation problem #63

Open
Andre1i opened this issue Jan 27, 2021 · 6 comments
Open

Installation problem #63

Andre1i opened this issue Jan 27, 2021 · 6 comments

Comments

@Andre1i
Copy link

Andre1i commented Jan 27, 2021

Hi. When trying to add UPD-Custom-Device to Veristand, an error occurs:

_Error 7 occurred at Open VI Reference in Custom Devices Storage.lvlib:Initialize New Custom Device.vi
Possible reason(s):

LabVIEW: File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.

Nonexistent GPIB interface.

VI Path: C:\Users\Public\Documents\National Instruments\NI VeriStand 2017\Custom Devices\UDP-Custom-Device\Windows\UDP-Custom-Device Configuration.llb\Initialization VI.vi

Built Application or Shared Library (DLL): Make sure all dynamically loaded VIs were properly included in the build specification for the application or shared library.

LabVIEW Real-Time: VIs built into executables cannot be accessed through VI Server calls. Use Source Distributions to dynamically call VIs on Real-Time targets._

I think I am going wrong with the installation process. Is there an instruction on how to properly perform the installation process and add a custom device?

@ryanvallieres
Copy link
Contributor

Hey Andre1i;

Are you using the NI Packages to install the custom device? From the looks of it, you're using Veristand 2017, which corresponds to this release:

https://github.com/NIVeriStandAdd-Ons/UDP-Data-Link-Custom-Device/releases/tag/2017-1.4.5c.060

If you're using this already, can you verify you have files present in the target directory?

@Andre1i
Copy link
Author

Andre1i commented Jan 27, 2021

Hi ryanvallieres. Thanks for the quick response.
Yes I am using Veristand 2017 and 2017 release. But i can't find these files in the release: UDP-Custom-Device Configuration.llb\Initialization VI.vi
Do I need to use NIPackageManager for the Installation?

@ryanvallieres
Copy link
Contributor

Yes, it is suggested that you use the NI Package Manager for installing the UDP Custom Device. The NI package will place the .llb files in the correct locations on disk.

If you cannot use this, rebuilding the custom device from the source code would also install the UDP Custom Device to the target directory.

@Andre1i
Copy link
Author

Andre1i commented Jan 29, 2021

Hello again.
When I try to use NI Package Manager following happens:
Capture
I couldn't find a solution to this problem on the internet.
So I would be very grateful if you could explain how to rebuild the custom device from source code.

@ryanvallieres
Copy link
Contributor

Wow, that's an exciting new error that I've never seen before. I'm sorry you're having so much trouble working with the packages.

To rebuild from source, I'd suggest the following:

  • Make sure you have all the dependencies required to build the custom device.
  • Run the build specification(s) in the project.

The build specifications have post-build actions that should populate the Veristand directory with the build outputs and support for the custom device.

A note on the dependencies, you're going to need quite a few:

@ryanvallieres
Copy link
Contributor

According to one of my colleagues, the Veristand Development Tools have since moved to here:

https://github.com/ni/niveristand-custom-device-development-tools

Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants