LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Pass Ansistring Parameter In LabVIEW enviroment

Hello,Everyone. I have encountered a LabVIEW crash problem these days. After analyzing several days, I doubt the problem may exist behind the third function call.In this project an equipment for generating disturbing signal is utilized,and one parameter is " Referenced by address, ansi string.",  I check some information about ansi string 's memory layout(See Attachment for a detail), and find it is quite different from LabVIEW string's memory layout. I used to pass a LabVIEW string constant to the parameter(Referenced by address, ansi string),and everytime I get right result, but later LabVIEW crashed.

 

But I have to initialize ansi string into constant string and pass its pointer to the parameter.  Is there anyone who can help me?

 

I Check vi.lib\Utility\importsl,and tried the pointer VI, and it seems not fit. 

 

0 Kudos
Message 1 of 1
(2,474 Views)