Multiple Key Names

4 posts / 0 new
Last post
johnk's picture
Offline
Last seen: 8 years 11 months ago
Joined: 09/10/2013
Posts: 4
Multiple Key Names

LabVIEW 2012; LabVIEW Integration 1.0.0.86; Windows 7 AGM

Greetings,

When the publisher and my labview VI use the same single key, I can receive data; however, when the publisher adds another key, for a total of two, not only do I NOT receive any data, but the Match Analysis  reports that "Reader topic is not keyed but writer topic is keyed."

I have tried separating the Key Names with comma "," and space " ", but to no avail.

Is there a special consideration for using multiple keys with the LabVIEW Integration?

Regards,

JohnK!

 

 

Offline
Last seen: 1 year 10 months ago
Joined: 06/13/2013
Posts: 16

John,

The current implementation of the LabView integration supports single key only. 

Andre

 

sara's picture
Offline
Last seen: 1 year 3 months ago
Joined: 01/16/2013
Posts: 128

John,

As Andre mentioned, the current LabVIEW integration supports single key only. However we plan to fix this in future releases. Keep posted :)

I might have a workaround for you though. You can use our experimental RTI Prototyper with Lua and create a translator from multiple-key to one-key data. With Prototyper+Lua you can easily create a datareader for the multiple-key type and transform it into a different type (or types) that only have one key. Then you create a datawriter in Lua to send the transformed type to LabVIEW and read it with our toolkit. Finally, you can repeat the process the other way around.
This solution, however, might not work for your system. It will depend on the specific data type and what you want to do with it.

I used that for a demo a couple weeks ago and worked quite fine, so let me know if you need any help with it :)

All the best,

Sara

sara's picture
Offline
Last seen: 1 year 3 months ago
Joined: 01/16/2013
Posts: 128

Hi again,

This feature is already available in the latest release of the RTI DDS Toolkit for LabVIEW (version 1.1.0.88), compatible with RTI Connext 5.1. In this release multiple keys can been provided to the Create subVIs. See the GSG (found in <LabVIEW folder>/help) for more details.

You can download the new version using the VIPM.

Thanks,

Sara