LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

missing values from printout

I have a top-level VI relay waveform data as well as string and numeric data to a subVI. I use the subVI to print an enlarged graph with header information (within the subVI) once it is executed by selecting 'automatically print front panel every time VI completes execution' from the 'VI properies' menu.

The program works fine; however, some of the data values on the hardcopy are missing. The attached picture shows a scanned portion of the correct printout as well as the same portion with missing values. Any suggestions? Thanks in advance for the help.

Philip
0 Kudos
Message 1 of 5
(2,876 Views)
A lot of the time, the values of indicators don`t get updated unless the front panel is visible. I had a similar problem before, and could craete a work-around by using VI server to show the front panel (After the front panel values have been set) for a very short time, and then hide it again.

I don`t know if this is your problem or not (partially visible values is something I`ve never encountered).

I`m not sure if there`s a more elegant solution to this (in LV 6.1) but it has worked for me, and complaints about front panels flashing up and disappearing again have been rare.

One alternative would be checking the printer driver, or seeing if the same thing happens when you save the front panel to a BMP.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 2 of 5
(2,876 Views)
Well, I tried printing out the front panel manually (opening the front panel so it's visible and selecting print from menu) instead of programmatically (without making the panel visible). I received the same problem with missing values in the same places. I have saved it as a bitmap and the graph looks fine. Initially I was scaling the panel to fit on one page for printing; then I tried without scaling to see if that would remedy the problem. No luck again.

Thanks for the input, but I still remain unable to fix the problem.


Philip
0 Kudos
Message 3 of 5
(2,876 Views)
I`d have a good look at the printer driver. Maybe try printing on a different printer.

If the bmp is good, the problem may not be with LabVIEW.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 4 of 5
(2,876 Views)
new printer did the trick. thank goodness!

Philip
0 Kudos
Message 5 of 5
(2,876 Views)