LToPStr (LabVIEW Manager Function)
- Updated2025-01-28
- 1 minute(s) read
LToPStr (LabVIEW Manager Function)
int32 LToPStr(lstrp, pstr);
Purpose
Converts a LabVIEW string to a Pascal string. If the LabVIEW string is more than 255 characters, this function converts only the first 255 characters. The function works even if the pointers lstrp and pstr refer to the same memory location. The function assumes pstr is large enough to contain lstrp.
Parameters
Name | Type | Description |
---|---|---|
lstrp | LStrPtr | Pointer to a LabVIEW string. |
pstr | PStr | Pointer to a Pascal string. |
Return Value
The length of the string, truncated to a maximum of 255 characters.