int32 LToCStr(LStrPtr, CStr);
Converts a LabVIEW string to a C string, even if the pointers LStrPtr and CStr refer to the same memory location. If the length of LStrPtr is greater than 255 characters, this function converts only the first 255 characters. The function assumes CStr is large enough to contain LStrPtr.
| Name | Type | Description |
|---|---|---|
| LStrPtr | LStr | Pointer to a LabVIEW string. |
| CStr | CStr | Pointer to a C string. |
The length of the string, truncated to a maximum of 255 characters.