Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

CToLStr (CIN Function)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

int32 CToLStr(ConstCStr, LStrPtr);

Purpose

Converts a C string to a LabVIEW string, even if the pointers ConstCStr and LStrPtr refer to the same memory location. If the length of ConstCStr is greater than 255 characters, this function converts only the first 255 characters. The function assumes LStrPtr is large enough to contain ConstCStr.

Parameters

Name Type Description
ConstCStr CStr Pointer to a C string.
LStrPtr LStr Pointer to a LabVIEW string.

Return Value

The length of the string, truncated to a maximum of 255 characters.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit