LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Report Convert CVI Table

Hi,

 

I have a problem with the NIReport_ConvertCVITable function:

 

while converting the Column widths are wrong , I saw at the help that there is a limitation for "Column widths might not correspond"is there any way to bypass it and control the width ?

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 1 of 4
(2,998 Views)

You could gather the widths of the LabWindows/CVI table columns, then set them in the NIReports table after the conversion using the NIReport_TableSetColWidth function.

National Instruments
0 Kudos
Message 2 of 4
(2,989 Views)

Nevermind. I went back and tried this. You can't modify the table after NIReport_ConvertCVITable because it closes the table before exiting the function. You would have to implement your own verson of ConvertCVITable.

National Instruments
0 Kudos
Message 3 of 4
(2,986 Views)

Hi i tried it and it doesn't works as you said...

 

I will implement the table.

 

Thanks for the help.

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 4 of 4
(2,974 Views)