LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I pass a cluster into an inline C node?

I have a C function that has an argument of a typedef struct (ptr to typedef struct), I have created this struct in LabVIEW as a cluster (strict-type def). How can I pass this into an inline C node?

 

FYI I cannot use a DLL because I will be generating code for VxWorks using Microprocessor SDK. 

0 Kudos
Message 1 of 3
(3,095 Views)
Also, FYI my cluster is contains 100's or 1000's of elements -- I do not want to unbundle and build the cluster in the C node
0 Kudos
Message 2 of 3
(3,086 Views)

bill__ wrote:

I have a C function that has an argument of a typedef struct (ptr to typedef struct), I have created this struct in LabVIEW as a cluster (strict-type def). How can I pass this into an inline C node?

 

FYI I cannot use a DLL because I will be generating code for VxWorks using Microprocessor SDK. 


I'm afraid you can't. And reading that you talk about a cluster with 1000 of elements in it, I really wonder if you should not reconsider your design. This is already HUGE in a normal desktop LabVIEW application, but likely totally unmanagable in an embedded design.

 

Rolf Kalbermatter

Rolf Kalbermatter
My Blog
0 Kudos
Message 3 of 3
(3,075 Views)