LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

label printing through dymo printer

Hello guys,

I am able to print already saved label through vi as given below
1.png
But I want to change text of label programmatically through labview and then print it . How can I do this ?
 
Thanks: Soumya
 
0 Kudos
Message 1 of 7
(3,443 Views)

You can just write a different file using LabVIEW, then print that wit the same code. Is this a subVI? Is the filename a subVI connector? Hard to judge from a picture. We prefer to see the actual VI.

 

(you can crop your screenshot to the important part. We don't need to see the entre desktop)

0 Kudos
Message 2 of 7
(3,437 Views)

Please find the attached file.

 

thanks,

soumya

0 Kudos
Message 3 of 7
(3,428 Views)

Sorry, I am not familiar with your printer.

 

This is just flat code and no subVI connectors are assigned (and you also fail to close the reference!).

 

As a first step you need to make it into a subVI and assign the various connectors needed, then call it from your main VI after writing a new label file. Do you know the required file structure?

How does it know about the full path of the file? Does it expect just a file name or a full path?

 

0 Kudos
Message 4 of 7
(3,416 Views)

Hey ,

 

Now the attached vi can be used as sub vi. I have label. which is a xml file with extension .label . I am not  able to attach label file here . Currently I am changing this label file in labview and then printing it through this subvi . but it doesn't seem right . hoping for some other approach to do this

 

Thanks,

Soumya

0 Kudos
Message 5 of 7
(3,352 Views)

Would you mind please converting both your VI to LabVIEW 2017 ?

 

Thanks,

Steve

0 Kudos
Message 6 of 7
(3,181 Views)

Never mind converting.  Already been done.

0 Kudos
Message 7 of 7
(3,134 Views)