Using the C SDK to read String Properties from thingworx
Hi everyone,
I am trying to use the C SDK to get the thingname from the Generic thing property. The problem I am having is that my C SDK application connects using an identifier so I can bind it to different things on thingworx so that I do not have to re-build my program. I want to use the Thingname that my application has binded to in my code.
When I use the TW_GET_STRING_PROPERTY like this it returns null.
printf("The Name of the thing is%s\n", TW_GET_STRING_PROPERTY(thingName,"name"));
Can anyone please give advice on how I can get the thingName that my application is bound to thanks.

