07-27-2018 08:00 PM
I am fairly new to the X-Net API and programming for RT targets, so I apologize in advance if this is an amateurish question. However, I've combed through the forum, knowledge base, and getting-started guides multiple times without much luck.
I have a 9862 module in a cRIO 9045, with which I am trying to record CAN signals. For prototyping and ease of logging, I elected to use the signal input waveform session mode. I have also created a database, which I have successfully (as far as I can tell) deployed to the RT target using the database editor.
My question has two parts, corresponding to the two ways in which I've tried creating the session.
I apologize again if these are dumb questions, and thanks in advance for any help.
Solved! Go to Solution.
07-30-2018 10:01 AM
XNET uses a unique "Alias" for the database to connect the API with the specific database file on disk. When you select a signal with a IO control on the front panel or block diagram, the control will first ask you to select an alias. Once the alias is selected, the control is populated with the available options from that database.
We also have a programatic database API that allows you to use an alias string as an input and pull any information you want out of the database through property nodes. For example, this approach can also be used to pull out the specific signals you want and they can be used as inputs to the create session VIs.