01-04-2007 10:03 AM - edited 01-04-2007 10:03 AM
Message Edited by maximint on 01-04-2007 10:04 AM
01-06-2007 05:37 AM
01-08-2007 12:47 PM
01-10-2007 11:52 AM
01-11-2007 03:31 AM
@maximint wrote:
Hi JLS,
thanks for the answer. I agree with you that closing the references is the best und most stable solution. But it is really slow. I made an exe but this is also slow.
But apart from this, the VI is running well, even with a handing over of variables. I guess this is one of the first VIs in the net which combines LV with
Codesoft from Teklynx.
Thanks, Thomas.
PS: I made a wrong click on the rating of your last post. Sorry. I guess I rated it too bad.
01-11-2007 03:49 AM
01-11-2007 04:34 AM
@maximint wrote:
Hello Rolf,
many thanks for the detailed answer to my Codesoft Problem. I want to try your VIs.
Could you please post the missing VI "file valid path.vi"
Many Thanks, Thomas.
Well it's not a very important VI and quite simple to do yourself. Just combine the output of Not A Path and Is Empty Path nodes from the comparison palette with a NOR function and you got it. You can also download the OpenG libraries where there is that VI in the files package, but then with the OpenG postfix as that VI originally comes from me.
Rolf Kalbermatter
01-12-2007 07:39 AM
01-12-2007 08:43 AM
@maximint wrote:
Hi,
thanks for you Codesoft VI. I tried them now with success, this means, at startup of my program, I run one time the OPEN, INIT etc. and multiple times the PRINT.
But one problem still occurs:
I tried to simulate our future main VI: as described, calling one time the OPEN, INIT etc and then running a while loop where I can start your PRINT VI
by pressing a button. Here I found that the print of the label isn't realized immediately. It takes some seconds. Too long for our production. I guess that the while loop takes too much performance and the activex component doesnt get enough.
Therefore I want to wait for the event "End Printing" and tried to handle this with the attached VIs. But although the printer is ready, I cannot recognize the corresponding event.
Could you have a look, pls. Thanks.
Sorry not for the moment. I'm actually only doing the init at program startup, loading a new template whenever is required, replacing the template variables as needed and then printing it out. Most software has a serious delay from the moment starting the print command until data is actually rendered and passed to the printer driver. I'm not sure you can get sub seconds reaction with standard Windows printing at all. Anyhow for me it is not a problem at all as I print a label only after some more or less lengthy test procedure when the tests have succeeded so printing even if it takes a few seconds is fast in comparison to the rest.
Rolf Kalbermatter
01-12-2007 10:18 AM
ActiveX Event Callback for Codesoft.vi (28 kb) |
end printing event call back.vi (23 kb) |