LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TAB CONTROL

Hi everybody!!!

how to create a pdf that contains the image of all the page of the tab control in one pdf?? I've tried by i can'tSmiley Sad....help me please!!!!! 

thanks a lot

gmazza

0 Kudos
Message 1 of 6
(2,722 Views)

hi

 

you can do something like that

 

snippet 7.png

Giuliano Franchetto
Student at the l'Ecole Nationale Supérieure des Mines de Saint-Etienne, cycle ISMIN (FRANCE)
0 Kudos
Message 2 of 6
(2,673 Views)

@GiulianoFranchetto wrote:

hi

 

you can do something like that

 

snippet 7.png


This looks like a potential race condition, because switching the tab and taking the picture is done in parallel. There is no telling what happens first, but the result critically depends on correct order: (1) switch tab...(2) take image.

 

Even if it now works correctly by accident, a recompile or version upgrade could break it easily.

 

(And why do you use two loops? One is sufficient! You are wasting a lot of memory buidling the temporary pink array (unless the compiler combines the two loops behind the scenes... ;)))

0 Kudos
Message 3 of 6
(2,651 Views)

Hi

 

i agree 100% for the race condition. For the 2 loops, they are just there because i don't know if he wants picture or picture data. I'm just highlightning the 2 solutions.

 

But yeah,all you said is very true.

Giuliano Franchetto
Student at the l'Ecole Nationale Supérieure des Mines de Saint-Etienne, cycle ISMIN (FRANCE)
0 Kudos
Message 4 of 6
(2,636 Views)

Can you save it in LW 2011 format? 

Thank you very much

0 Kudos
Message 5 of 6
(2,587 Views)

here it is

Giuliano Franchetto
Student at the l'Ecole Nationale Supérieure des Mines de Saint-Etienne, cycle ISMIN (FRANCE)
0 Kudos
Message 6 of 6
(2,571 Views)