11-16-2011 08:31 PM
1. I've downloaded most of all product manual, but i can't find the descriptions regarding programming task such as
a. tips & tricks regarding combining c++ code within labview (which i have seen at one of the training)
b. detail explanation regarding individual library functions inside the labview software
c. also detail about creating sub-vi / own library function (labview fundamental only explains basic application)
2. I need to modify an existing machine with labview printing some data. My task is to grab what labview prints, and store it into my database.
a. Where to find examples of labview printing data
b. what library function to use
11-17-2011 09:16 AM
1. a. Look in the help for the Call Library Function Node. b. Each function has detailed information in the help file. Always run with Context Help enabled. Click on the detailed help link in the window. c. What sort of details do you need? Creating a subVI isn't that difficult.
2. Assuming that you have the source code, what you would want to do is grab the data before it is printed. There are different ways to print. One option is with the Report Generation function 'Print Report' that come with LabVIEW. There are shipping examples but the best example would be the code you need to modify
11-17-2011 09:56 AM
Thanks Dennis for the reply.
3. The print data is barcode. Any function able to print barcode data?
thanks
11-17-2011 10:11 AM
LabVIEW will use whatever printer driver is installed and there are bar code fonts. Sometimes you simply have to set the VI properties to print upon completion. Sometimes bar code printers are directly controlled with their api. Sometimes the Report funciton is used to print a string indicator. Your original post implies that the existing program is already printing. Do you not have access to the program?