VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Import Configuration From File into Custom Device

I am preparing a custom device for  PXIe-8431 serial interface module. I am using this module for RS422 communication. I want to get message packages from configuration file. But Custom device runs on Linux x64 controller and my configuration file is on my host PC(Windows 10). Ballard 1553 custom device do this but I don't know how. Is there any way to get message packages from host PC before deploying the system? Ballard 1553 Custom device screenshot and source link in below. I looked through the source code but couldn't see anything in it that would do this.

 

Custom Device.jpg

Ballard 1553 Custom Device 

0 Kudos
Message 1 of 2
(992 Views)

Hi bkakar,

 

The configuration file is not deployed to the RT target. Instead, it is used to script and populate the channels of the custom device in System Explorer. Then the system definition file with the populated channels will be compiled and deployed to the RT target.

For serial communication, NI recommends using Instrument Addon Custom Device. A similar configuration file known as personality is available for Instrument Addon as well. However, you would need to configure the custom device from scratch before you can export the configuration and reuse it later. See Instrument Addon Quick Start Guide.md

Senior Technical Support Engineer | CLD CTA | NI


DISCLAIMER: The attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system, or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

0 Kudos
Message 2 of 2
(961 Views)