Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by Gepponline

  1. Here is my situation. I develop applications with LabVIEW since 2000 in a small manifaturing company. Initially we have a SSP contract. Now we don't have SSP anymore due to its cost and still at 2017version. At the moment I develop a couple of application a year for industry 4.0 machinery. But the most of time is mantaining of old project. I was an enthusistic of labVIEW hoping to see it as an open source software on every PC and I was very happy when i heard about Community version...but it seems clear since the beginning that NI was boicotting it. You should went to a little corner on the bottom of the NI products to discover a free version of labVIEW (now it's a little bit easier but not so clear), but Should i have to pay thousand dollar a year to a couple of app that read and write values from PLCs? If this is the direction...I really don't know If i will continue with labVIEW..even if I really don't want to learn a textual programming language,its syntax etc.. But this will be a company manager decision, not mine and I risk my job for this 'cause I only know LabVIEW as programming language and I use it for every kind of stuff, from data acquisition, to vision application. Motion, Db interfaces, MES and so on...
  2. I solved My problem Using the old Ethernet IP toolkit (the one you can find online without license). REAL and INTEGER datatype are writeable/readble without any problems, BOOLEAN and STRNGS needs a workaraound. You have to read/write them as RAW data and manipulate them.
  3. WOW..such a complicated way...It's not a PLC where I have full control, it is from an external supplier Maybe a CIP communication specific for Omron will be a better way. At the moment I can read variable values using RAW data type so variable names are accepted, but I can't write them.
  4. Ok, Iv'e opened it and the communication seems to be ok, but it's not clear to me how to get values. I know variable names and data type. But in the examples there are no use of variable or tage name or something similar...
  5. Hi, I'm currently communicating with some Rockwell (allen Bradley)PLCs via ethernet IP using an old ethernet IP toolkit. Now I would like to communicate with an OMRON PLC but the toolkit have some problem with it ( I suppose it's due to a specific DLL used to communicate). Does anyone of you know how to communicate with an Omron PLC via Ethernet IP? (no OPC or Modbus) I found ther is an NI official toolkit for ethernet IP but I can't find an evaluation version to know if it allow communication or not. Thank you so much.
  6. OK, summing UP, I found three different solution: 1) Using AcroPDF Activex Object 2) Using Ghostscript 3) Using Sumatra PDF And that's all. Thank you
  7. 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).
  8. 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.
  9. Yes, I've posted my question to both forums 'cause I expect different users use different forums so better possibility to have suggestions.
  10. 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!
  11. 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
  12. At the moment I solved using IMAQFillImage VI. That VI allow, using a binary image as mask to determine which pixels has to be overwritten, to do what I need. Beeing an 8bit grayscale image it allows me only to choose 255 gradients from black to white, but converting the image in a coloured one, it allow to use every color I want.
  13. It's really not clear to me what you said.... At the moment I've used Image To Image vi using the thresholded image as Small Image and as mask as well. It works but it doesn't allow me to choose the color of the overlay. It's always black.
  14. 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.
  15. My fault It was not a strange Offset, it was a specific offest I was setting before using the mask and that I did not disconnect from the offset terminal Now all work fine Thank you!
  16. This is s what I'm trying to do using the Image Mask input of ImagetoImage VI but If I do so, as you can see in attached file, in the result, the inside part of the image has a strange offset... unisci immagini FINALE.vi
  17. 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
  18. 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: 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.
  19. 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. DB_CN35.sdb
  20. 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?
  21. Which example do you refer to? I'm trying using this code to write my image but it seems not to work and I can't understand what I'm doing wrong.
  22. Yes, I know that SQLite needs Binary Blob but not How to do it in labview and pass it to SQLite library using an SQL statement.
  23. Hi, i would like to use your library to save images on a field of a table in SQLite. Is it possible? How should I do? thank you so much.
  24. 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. 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. 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?
  • Create New...

Important Information

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