LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

NON FATAL RUN TIME ERROR

HI,
 
I"m running TS 3.5 + CVI8.01 in debug mode.
 
I get a window with the above message on the first line.
 
2nd line - Unkown source position, thread id 0x00000A20
3rd line - Uninitialized string
 
I don't see
0 Kudos
Message 1 of 5
(4,000 Views)

(continued)

sorry about this.....

 

I don't see anything suspecious and I'm looking for a hint as to where the problem is. 

Can anybody suggest how to do that?

 

Thanks

Rafi

0 Kudos
Message 2 of 5
(3,999 Views)
Hi Rafi,

When do you see this error? Do you see it when compiling, building a dll, calling from TestStand, or something else?  Are there any circumstances under which the program will run? Any more detailed information you can give will be helpful.  Thanks!

NickB
National Instruments
Applications Engineering
0 Kudos
Message 3 of 5
(3,972 Views)

Thanks Nick,

I found the source for the trouble.  There was a mismatch in parameters types between the code (CVI) and TestStand.

I still would like to ask....if there's a buffer in CVI (12K bytes), and I want to transfer it to TestStand as a parameter.  Shall I define in TS a c-type buffer buf1[12000], or shall I use a pointer  *buf.  Taking the first choice solved the problem but I wonder if this is the way to go....(TS parameters like ReportText are transfered like this....).

 

Thanks

Rafi

0 Kudos
Message 4 of 5
(3,952 Views)
Rafi,

Yes, the first method you mentioned is the best way to pass a string/buffer as a parameter to TestStand.

NickB
National Instruments
Applications Engineering
0 Kudos
Message 5 of 5
(3,882 Views)