Jump to content

Gepponline

Members
  • Posts

    56
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Gepponline

  1. 14 hours ago, GolzioAC said:

    If you need only to print PDF without any further action another option should be use Report Generation Toolkit, at the same way you can save a word document you can also save the file as PDF.

    As I already told to others, I don't nett to print TO PDF but print A PDF, so an already existing PDF document has to be printed on paper (label in my specific case).

     

  2. I use 2017 so i can't open VI in 2018.
    But as i can imagine from the VI name, you are printing TO PDF,  I need to print A PDF instead, send a PDF file to a printer.

  3. Hi,

        I'd like to print a PDF File.
    No need to manipulate it, only print.
    I found some suggestion about using command line via System Exec VI like this:
    "<Path to AcroRd32.exe>" /t "<Path to document>" "Printer name"

    But it doesn't seems to work. It opens acrobat reader but it doesn't print.
    Any solution can be accepted, even using firefox or chrome or whatever else.
    thank you!

  4. Hi,

     is it possible to create and resize a button in a running vi's front panel?
    I would like for example to place a square button where I press mouse down and then, if I drag left and right borders, resize it.
    I've done something similar in the past using images, but this time I need buttons to be single objects I can move in a second time
     

  5. Hi,
      I would like to threshold a binaty image showing to the user the original Image overlayed by the thershold result like the Vision Assistand does.
    I've tried with the Keep/Replace Value input in the threshold VI but it does the exact opposite of what I need (it replace or not the thresholded image leaving BLACK the rest)
    I need to replace the thresholded values with a user color and leave the rest of image as it is.

    Any suggestion on How to do it?

    thank you so much.

     

  6. Hi,
       I have an application where I need to extract a portion of an Image, binarize with different threshold the two part of the original image and then merge them back.
    To do so, at the moment, I trace a rectangle on the original Image, use two Mask from ROI VI to extract the inside and outside portions of the image and then I use the IMAQ ImagetoImage 2 VI  to merge the two parts.
    This procedure works only with rectangular ROI, But I need to do the same with a define by user Polygon.
    Any suggestion on How to do it?
    In the attached example If you rotate the rectangle you can see my problem. The rotated rectangle seems to become a bigger rectangle. It seems to me that I need something like transparency to solve it....

    Thank you so much!
     

     

    Main.zip

  7. My initial problem was on HOW to store blob data in an SQLite record field using this toolkit.
    So i thought this was the right place to make my question.
    I Had no idea about the problem of no standard for storing images on a BLOB field.
    Now that I know that, i can say:
    snippet_SQLITE.thumb.png.8536839ba188087f3e2ecf5e9e4cf130.png

    1)Attached  are 2 solution working with SQLite Manager but not with SQLite administrator neither with DB Browser for SQLite

    2) Being so, maybe it's better to store images in a specific folder and store the path in the DB.

    Thank you so much for the support.


     

  8. As you suggested, I've made an example using Vision Library, starting from a previously stored image but nothing change.
    Or better, I don't get any error executing the VI and in the DB I can see the new record but using SQLite Administrator I'm not able to see the picture inside the DB.
    SQLite Administrator has a specific function that should show the image.
    I attach even the DB with 4 records with that should have the same image on it but I can't see it.

     

    snippet_SQLITE.thumb.png.ddb15761a4e9b8eb559641219dcaedca.png

    DB_CN35.sdb

  9. 2 hours ago, drjdpowell said:

    "but I wonder why you aren't just saving your bmp image as a blob, rather than turning it into a LabVIEW image format (and then only storing part of that)."

    As I told in my previous message, Because I Don't Know How to save my image as a blob in labview!
    The image is not originally stored in my PC but is acquired with Vision Libraries.

    So once acquired, Hwo to save it as a blob?
    And then How to pass it to SQLite library to store it into my DB?

  10. Hi,

     I'm trying to insert some NULL values in a datetime field.

    In the example, the DATA_INSERIMENTO field has a non empty value and it works correctly but DATA_INTERVENTO doesn't accept NULL.
    If I use an empty string instead of null, the VI run without any errors but it fill the database field with a 1900-01-01 and it's not what I want.


    nullstring1.png

     

    If I use the DB Tools NULL VI it gives me another type of error, maybe 'cause I'm connecting a variant to a cluster of string.
    If i use a Variant to Data VI for the NULL value it returns an empty string so not the result I need.

     

    nullstring2.png

    If use the string you see in the label at the bottom of my diagram in SQL Server manager, it works correctly.
    How can I obtain the same result with labview?

  11. Is there a way to display a DXF or a DWG file?
    Not an interactive control, I need to display them as they are Images.
    Is to avoid to export bitmap form dxf files only to show the user a reference layout...

    something like a preview...

     

    Is there a way to do it?

     

     

  12. Hi!

      i need to check an integer string, but if i use Scan from string with a %d as format string, and I have a string that contains 12A13 for example, it don't return me an error 'cause it recognize a 12 before A.

    SHould i use a different format string to consider the whole string?

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.