while trying to create a CAN-Bus signal out of Labview with the help of X-Net I observe a peculiar behaviour. For some reason, after generating a database in the "Database Editor" the associated signal list does not appear in the dropdown menu in Labview. So I proceed to create it programmatically. First a database is generated in "memory". A Cluster0 is added, then inside it a Frame0 and finally a Signal0. However, when I read the "Frame0" property "Sigs", there is no signal listed in the Indicator.
Any ideas on that?
Have a look at the example "CAN Dynamic Database Creation.vi" from the NI example finder (search for keywords XNET).
I strongly assume that you need to define all the properties of your frames and signals (like Frame ID, start bit, bit length, ...) before it is a valid object.
I hadn't yet deployed the database on the Target, that's why it didn't work. I will nevertheless have a look at the dynamic database creation