ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting a C String to a LStrHandle

Hi All,

I have a CIN which is currently inputting/outputting an error cluster. The Source message in that error cluster is a LStrHandle. I have a C String which is being passed back from a function that I want to insert into this Source message in the error cluster being passed back to LabVIEW. Is there any easy way of doing this 🙂 ?
0 Kudos
Message 1 of 2
(2,752 Views)
Yep - take a look at LStrPrintf(). The documentation for the method is in "Using External Code in LabVIEW"
0 Kudos
Message 2 of 2
(2,745 Views)