Hello
I'm testing the connection between a C# and a LabVIEW application. I have defined a sequence of integers in my idl file, as the topic (in my C# application) and an array of integers in my LabVIEW app. They have the same Topic Name and Type Name, but they still cannot communicate.
What could be the reason?
Thanks a lot for your assistance
Hi Randy,
With arrays, several things may be wrong. If you could provide more information about this issue (IDL, LabVIEW cluster, errors... ), I could be more accurate in my answer. Anyway, the commonest issues with arrays are:
Then, you can create your example files for this type using the ComplexType Generator (version 2.0.0.104), or connecting the type directly to the CLF template for previous versions. Note: a guide of the ComplexType Generator can be found in the section "6.2 RTI DDS ComplexType Generator" "4.2 Lesson 2—Using ComplexType Generator to Publish and Subscribe to Complex Data (Clusters)" and
I attach here this LabVIEW array as well as the IDL which it generates.
I hope the above is useful for you. Let me know whether this fixed your issue.
Angel.
Hi Angel,
Thanks a lot for the great explanation.
I couldn't run the Admin Console tool on my PC when I posted this topic. The problem with the Admin Console has been solved in technical questions forum with the help of your team, so I could debug the problem.
The topics mismatched not because of the array itself. I had 2 other booleans in my idl file and the order of them in the corresponding LabVIEW control was different. It was solved by reordering them, as simple as that.
Thanks again
Nice to hear that the application is working as well as Admin Console :)
Angel.