VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

passing model data via pointers

Maybe you have some problems in the initialization of the queue. I have a custom device that is a driver for two CAN channels hardware. This is the code of the model

imagen.png

0 Kudos
Message 11 of 12
(495 Views)

An update on this:

 

ARLROB, myself, and two other colleagues were able to get this working, at least a proof-of-concept. We had previously had success passing array data via pointer between a LabVIEW Model and UDP Custom Device (that was mostly unmodified from the Open Source version on github).

 

This week, we were able to pass data (a single byte, read and write) from a Simulink model to an RTI DDS Custom Device that we have been working on. We will continue to work to scale it up.

 

Currently the pointer must be generated by the Custom Device, regardless of which direction the data is going into or out of the model. We are working on a concept to get the the Simulink model to generate the pointer and pass to the Custom Device.

0 Kudos
Message 12 of 12
(428 Views)