09-26-2022 02:08 AM
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.
09-26-2022 06:32 PM
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
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