06-24-2018 02:13 PM
I white-boarded out my DCAF configuration below. Can any of you suggest how I could integrate DeviceNet instruments into my design? I have the NI-9882 module, so it doesn't use the scan-engine, just a handful of VIs to read and write to each device. One requirement I have is that the number of DeviceNet instruments will change, since they are integrated into the DUT under test and various DUTs have different DeviceNet instruments attached. Was thinking of creating a custom module, but not sure.
06-25-2018 10:30 AM
Hi Michael,
From DeviceNet driver version 2.3 to 17.0, the NI 9882 has both Real-Time and FPGA programming APIs.
This would open you up to programming the FPGA and then using the DCAF FPGA module.
Interacting with a changing number of DeviceNet instruments will complicate this...
I think a custom module would probably be the best route. You will need to figure out how to communicate the number of DeviceNet interfaces and each of their associated tags up to the DCAF Engine.
06-25-2018 02:02 PM
So I could create a custom module that has a configuration parameter for all the devicenet instruments. I could setup a table input for the device ID for each device and if it exists or not on the network.
This would allow static configuration via the DCAF editor. But then I could also make a dedicated GUI that edits the config. That would mean redeploying the config file for the various DeviceNet configurations. Is there a programmatic API for deploying a config?