11-03-2005 02:00 AM
11-03-2005 09:33 AM
LV FPGA does include the Cluster to Array and Array to Cluster functions which allow you to convert between these two data types assuming that all elements of the cluster are of the same data type.
The CAN message cluster does contain elements of different data types (one array and a number of scalars) so it can not be converted directly using the Cluster to Array function.
Using basic data handling functions you can build a subVI to convert from the CAN cluster to an array. I have attached an example of such a VI.
11-03-2005 09:34 AM
LV FPGA does include the Cluster to Array and Array to Cluster functions which allow you to convert between these two data types assuming that all elements of the cluster are of the same data type.
The CAN message cluster does contain elements of different data types (one array and a number of scalars) so it can not be converted directly using the Cluster to Array function.
Using basic data handling functions you can build a subVI to convert from the CAN cluster to an array. I have attached an example of such a VI.
11-03-2005 02:48 PM
11-07-2005 10:17 AM
The CAN Module can return the data from the channel as an array directly. See the following tutorial for description of using arrays or clusters in FPGA with CAN as the example.
http://zone.ni.com/devzone/conceptd.nsf/webmain/2bf2813a4beb80c38625700b007da74a#4
Regards,
Joseph D.