Labview vision connection to a robot

Hello,
We are a group of students of a Dutch university and as a project we have received the task of making a program. The program is made to recognize a small plastic train in a box using National Instruments Vision Builder AI 3.5. We are making use of prosilica EC3050E camera.  After locating the plastic train the program should send a string of information to our robot (Mitsubishi Melfa RV-6SL) and the robot should then pick up the train.
We have made it so far to recognizing the train in the box using labview, but now we are stuck in how to find the location and the angle of the train. The train will be in the same height every time  so we only need x-y coordinates and the rotation around the z-axis.
Then we need to send this location to the robot so it can pick up the train. The problem here is that we do not know how to send the data so it can communicate with our robot (Ethernet, Profibus or serial link).
We hope you can help us.
With kind regards.

We now have come so far that we can recognize our plastic train so we have got all the coordinates we need to locate the train.
Now we are trying to send this information, wich we believe is send in ASCII, so that the robot will move.
Our problem now is that the robot needs a komma (,) between the coordinates wich we can't find out how to do??
The set-up right now is that the camera is in a different room then the robot but is linked using a serial cable.
Our robot only has one communication port wich is normally linked to a computer wich uses Cosirop to make teach-in programs. We believe it is possible to make a program using Cosirop, downloading this to the robot, and then connect it to our camera set-up wich will send out the data. Does anyone have experience with Cosirop on this forum please contact us. We just cannot find out how to read the coordinates!?.

Similar Messages

  • Does labview vision support GigE Vision cameras using H264 compressio​n?

    Does labview vision support GigE Vision cameras using H264 compression?
    I'd like to use a GigE Vision compliant camera that encodes its video data using H.264 compression. Can Imaqdx read this stream, decode the H264 compressed frames and write the frames into an imaq image?
    global variables make robots angry

    I have no info whatsoever on your question, but welcome back from your hiatus!
    Spoiler (Highlight to read)
    Actually I know the answer but it is simply more fun sitting back and watching you figure it out yourself. 
    Actually I know the answer but it is simply more fun sitting back and watching you figure it out yourself. 

  • VBAI vs LabView/Vision?

    I am designing a machine vision system that will use 16 GigE cameras, run on a dedicated PC, and will use standard edge and blob tools to perform a fairly routine set of inspection tasks.  I will not need to code any new special-purpose image algorithms.
    Because of the large number of cameras, I am interested in using parallel processes/threads as much as possible.
    Also, I need to trigger inspections via Ethernet/IP from a Allen Bradley/Rockwell PLC.
    Would there be any obvious advantages to using the Labview Vision Development Module rather than VBAI?

    Here are some things to consider (in addition to what Christophe said).
    1. You had asked about 32 vs. 64 bit OS..even if you're running a 32-bit application, I would always recommend a 64-bit OS. This allows multiple 32-bit applications to each have up to ~4GB of memory, and if you're talking about 16 instances of VBAI running, they can each get up to this limit instead of on a 32-bit OS being limited to the total memory available being 4GB shared between all applications.
    2. Because VBAI only allows 1 instance to run the Ethernet/IP Server, you could use LabVIEW to do the communication over Ethernet/IP and manage triggering/acquiring images in parallel and then use the VBAI API to send the images to the VBAI engines with a set image variable call so the VBAI only has to process the image and send the results back to your LV program. I really liked Christophe's idea of using a network trigger that the PLC controls, but I don't know if your cameras support network triggers or if your PLC would support sending a action command to trigger them...maybe the PLC can just trigger them directly with I/O lines...I assume this isn't an option since you're wanting to use Ethernet/IP to tell another application when to trigger them.
    3. If all your inspections are exactly the same (except for which camera they use), VBAI unfortunately has a restriction that only one engine can open an inspection at a time, so you'd have to make 16 copies of the same inspection and have each VBAI instance load a unique copy of the same inspection.
    4. If this is the case (all your processing is the same), and the inspection is straight forward, I think using LabVIEW to run everything in parallel with a rentrant VI that does the acquisition and vision algorithm might be the simpliest and fastest approach, but it might take longer to develop the code.
    Hope this helps give you some more ideas, and let us know if you have more follow-up questions.
    Brad

  • Labview Vision Assistant Histogramm Problem

    Good Morning,
    i sadly with the Vision Package from Labview. I want to load a picture and interpretation a detail of the picture with black, white and grayvalve. This can i make with the Vision Assistant feature Histogramm. When i build it (the VI with Vision Assistant) comes nothing to the output Histogramm. I have checked the output line Histogramm, but nothing goes out of this.What are my failure?
    Thanks a Lot
    german translation:
    Hallo zusammen,
    ich bin leider noch nicht richtig mit dem Vision Paket vertraut. Ich möchte die Schwarz, Weiß und Grauwerte eines Bildausschnittes auslesen und diese auswerten können. Dank des Vision Assistant, kann ich dies per Mausklicks erzeugen, jedoch erhalte ich am Ende des Vis keine Daten. Selbst wenn ich die Quelle verbinde und ein Anzeigeelement hinzufüge, kommt hinten nichts raus. Was ist mein Fehler?
    Vielen Dank
    -motecpam
    Labview Vision 2011 Servicepack 1
    with Vision Development Modul
    Attachments:
    Screenshot_VI.jpg ‏230 KB
    Screenshot_Vision_Assistant.jpg ‏313 KB

    Hallo Tropper,
    vielen Dank erstmal für die Antwort.
    Leider erhalte ich dennoch keine Ausgabe am Histogramm.
    Das Histogramm wird mir leer angezeigt.
    Ich habe es so erstellt, wie von dir gezeigt.
    Attachments:
    Unbenannt.jpg ‏117 KB

  • Labview Database Connection Toolkit and decimal point

    Hi,
    on my system I use "," (comma) as decimal point.
    In Labview Options I unflagged "Use localized decimal point", and numeric controls and indicators use "." (dot) as decimal point.
    The problem is that Labview Database Connection Toolkit keeps returning floating point numbers as strings with comma as decimal point.
    Has anyone experienced this issue?
    Is this related to Labview or MySQL ODBC Connector (that I'm using to connect to a mySQL DB)?
    Thanks in advance for any help,
    Marco

    You have two or three places to look. First there is the DCT. Second, there's a couple layers there that could cause problems (the mySQL drivers and ADO) and then there's even the posibility that the issue could be in the DBMS itself.
    I would start by burrowing down through all the DCT layers and find the spot where the results are actually being read back fromt he database. If the resutls are read as variants and converted to LV datatypes, the problem is on the LV side. If the values are being read as strings and converted, the problem coiuld be on the other side.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • LabView database connectivity toolkit 1.0.1 compatibility with MS-ACCESS 2010 / Labview report generation toolkit for Office 1.1.3 compatibility with Office 2010

    In the very near future we will be forced to upgrade to Office 2010 Company wide and I am a little concerned with some of our older test platforms that have applications built in LabView 8.2.1.  These applications save data to MS-ACCESS 2000 databases using the LabView database connectivity toolkit 1.0.1.  Office 2003 is also loaded on these test platforms with all test reports generated using the LabView report generation toolkit for Office 1.1.3.
    I have not gotten my hands on a copy of Office 2010 yet to see if there will be any compatibility issues.  Does anyone have any experience in this area?

    The MS-Access part is fairly well isolated through the ADO interface LabVIEW uses. The only possible problems there IMHO are difficulties with possible Acess compatibilities itself such as an example, SQL statement you may have invoked directly through the ADO interface. Maybe you did use a depreciated command back then that has since been removed. As long as the only thing you do are simple INSERT and SELECT statements only, I would expect it to just keep working.
    The Report Generation interface is a different beast. Microsoft manages to change the Automation interface with every version of office in a way that strongly binding applications like LabVIEW break on. There is no good way around that except not changing those methods, but that is a cause that has been lost already. You will certainly have to verify the version dependant Report Generation API VIs to still work with Office 2010 and most likely you will have to make some changes to those VIs to make them work again with the modified ActiveX interface of Office 2010. Note, that I have no experience with porting report generation to Office 2010 but I have had some headaches from porting that between Office 97, 2000, 2003, and 2007.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Storing labview TCP connection in TestStand object reference

    I have a LabVIEW routine (GetFileGlobal) that uses the TestStand SequenceContext->FileGlobals to do a lookupString and determine the GetType if the string 'Exists'.  I have a LabVIEW case statement that captures values of '1' for GetValString, '2' for GetValBoolean, and '3' for GetValNumber.  I have a LabVIEW TCP connection that gets opened that we need to store in TestStand in a FileGlobal.  What type is necessary in TestStand to store a TCP Conn?  AND, given the (tbd) type in TestStand, what is the value I would need in my case statement to capture this new (tbd) type coming out of the GetType?  

    I've asked this on another thread, but I'm just not understanding the exact implementation.  In TestStand, the LabVIEW IO Controls type is made up of a DeviceName and a SessionNumber, but in LabVIEW I have a TCP Network Connection.  I have routines that let me Get/Set TestStand File Globals if they are Boolean, String, or Number.  Now, if I use LabVIEW IO Controls in TestStand, what is the exact way I stuff a TCP Network Connection in there.  I've attached a VI that I use to GET the FileGlobal value from TS.  I need to grow it to allow me to get the TCP connection (i.e. LabVIEW IO Controls), but I'm not sure how to do that.  The types are messing me up.  Also, I'm not sure what the 'GetType' wants to see
    Attachments:
    FTW_ATE_UTIL_GetFileGlobal.vi ‏25 KB

  • LabVIEW OPC Connection

    Hi,
    Could anybody send me an example for LabVIEW to connect to an OPC Server
    to read/write IOs from a plc. I have to connect to a Siemens plc via
    SIMATIC NET OPC Server. Or maby you can post a link for further
    information and/or examples because i couldn't find any at the NI
    Developer zone.
    Thanks,
    Max

    There are examples included with LabVIEW; they are stored in the comm folder:
    Program Files\National Instruments\LabVIEW 7.0\examples\comm\opc.llb
    MTO

  • Problem of security using ADO from Labview to connect to Access 2000 Data Base

    I have a problem using ADO from Labview to connect to Access 2000 Data Base.
    First I open a ADO_DB_Engine and create a Workspace as an ODBCDirect. After I execute the open_data_base using the workspace. Here you can specify the parameter connect with /type of connection / user / password.
    The problem is the following:
    Although you configure a password for the Administrator user in Access, you can read/writte to data base from Labview using ADO without any security and without putting the user and password in the parameter connect. I need to access with security to data base using users and permissions but it seems that the parameter connect does not operate.
    I attach
    you a example of the vis and database. Remember create a ODBC connect with BD3.mdb
    Thanks a lot
    Peter Mst
    Attachments:
    SECURITY.zip ‏70 KB
    BD3.mdb ‏112 KB

    Hi Kahn,
    If you use ADODB_connection -> Connection.Open and set in connection string :
    "Provider=Microsoft.Jet.OLEDB.4.0; Jet OLEDBystem Database=c:\.....\Protegida5.mdw; Password=pepe;user ID=jose; Data Source:c:\......\BD5.mdb";
    and after connection.execute ->
    INSERT INTO tabla1 VALUES (5,'XXX'
    you will be able to access to the database with security using the provider=Microsoft.Jet.OLEDB.4.0. With this provider you have to use the path and the name of the database file c:\.....\mdb file. From this way the problem is solved. (SEE SAMPLE_ADO_W2_JET.VI).
    BD5.mdb have the following administrator user: user:jose / passwordepe (Protegida5.mdw)
    The problem is when you want to
    use ODBC and DSN. The name of this ODBC Provider is MSDASQL;. If you use this type of connection you can not enter to the database I attach you.
    This database has a new administrator owner. I deleted the default administrator. If you support the default administrator you can connect to database by ODBC / DSN but the security disappear because you can always enter to database with any password, user o PC.
    FINALLY I HAVE 3 QUESTIONS FOR Application Engineers of National Instruments or someone who knows these subjects before deciding the best way to connect locally o remotely with security to Access from Labview:
    1.- Is it possible to enter to Database BD5.mdb from ODBC and DSN with this owner?
    2.- I want to connect remotely to Access database too. Is it possible to use Microsoft.Jet.OLEDB.4.0 using the path (.mdb file) without DSN?
    3. Which is the optimal Provider for Microsoft Access?
    I thank you beforehand for your technical support.
    Peter Mst.
    Attachments:
    BD5.mdb ‏116 KB
    Protegida5.mdw ‏112 KB
    sample_ADO_W2_JET.vi ‏45 KB

  • Count pixels labview vision 2013

    hi
    i want to determined percentage of pixels in a region, like function count pixcels in NI Vision Builder AI but in labview vision 2013 

    Brad, thanks for the response. I don't have access to the code anymore, I was more just curious about it. One of my old coworkers has actualy been in contact with me recently because he's the one who inherited my code. I had to walk him through how I implemented the VBAI code in to the main application because he couldn't just change a few setting inputs. It was more of just a inconvenience.
    I guess my suggestion for the future would be for an option to output the VBAI code as LabVIEW code without all of the subVI hierarchy for those who are used to just using the IMAQ VIs. Just a linear set of code that goes from the start to fnish of the VBAI diagram that I could manipulate the way I want would be nice.

  • Labview VISION + webcam + find pattern

    Hi all,
    I'm making a job with pattern recognition. Unfortunately, I'm doing a first steps and don't understand everything.
    I found a video regarding of this question > http://www.youtube.com/watch?v=trgCbKZXyUE - it's what I want to build and extend it then.
    The diagram is finished as on the video, but I cannot catch and follow the necessary pattern. It's showing all the current image instead of requested object.
    I think it's not a big issue to find out the problem, but I don't have enough skills to locate it.
    So, please, if you can, correct the diagram, which you can find in attachment and then I can go on with my goal.
    Thank you in advance.
    Regards,
    Michael
    Attachments:
    Object Detecting and Tracking.vi ‏93 KB

    Hi Michael,
    habe you seen that link if you expand the Youtube comment which starts with something Spanish?: "En este ..."
    Community: LabVIEW VISION - Busqueda de Patrones - National Instruments
    https://decibel.ni.com/content/docs/DOC-31880
    Can you make it work if you follow the detailed screenshots shown on the NI community page?
    Best regards,
    Chris

  • Labview vision - while loop + image + shiftregister = 2 times same image.

    Well I got this problem here at home. 
    I've this .vi 
    I've labview 8.6 + labview vision module + labview vision module for usb webcams.
    Well this .vi is pretty simple but it gives me some strange results...
    When I run this I get the same image on "image1" and "image2"... while in fact "image2" should be the "image1" of the last loop. This should be visible when you set the sleep time of the loop higher. Now the problem is is that on my frontpanel "image1" and "image2" are ALWAYS equal... But then when I click on the two wires of "image2" and "image1" then the difference is visible. But on the frontpanel "image1" equals "image2"...
    A couple of weeks ago when I first was testing with labview + vision on my university there was a visible difference between the two images. This was with the same webcam and software.  
    Anyone got an idea how this is possible? 

    Wetzer wrote:
    You can think of the purple "Image" Wire as a Pointer to the Buffer containing the actual Image data.
    That's what I thought too, but why would it behave differently during execution highlighting? (sorry, I don't have IMAQ, just curious )
    LabVIEW Champion . Do more with less code and in less time .

  • How can I determine the liquid level in a bottle (LabView Vision)?

    How can I determine the liquid level in a bottle (LabView Vision)? Does anybody have an example code? The task is, that if liqid level is between two predetermined level, the program writes, that it is correct else it writes incorrect. Thank you.

    here is a little play with your bad picture:
    used only the small field of interest (here a guess) ,
    used only the red channel ( takes out most of the light reflection)
    grey scale, 3x(blurr, median filter) , played with  contrast -gamma - saturation
    now you need to add the edge detection and some sort of scale.
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Why labview dosnt connect to mysql in this example?

    Hello.
    I have a problem to connect with mysql. can you help me?
    I make a database in my sql and I use ODBC as interface.
    in labview, ADO blocks are used to connect with mysql as example attached. but, when I run this program, it dosn't work. this example is along with ADO pack.
    By the way,, it dosnt get me any ID!
    do you know what is the problem?
    Best Reagards
    Attachments:
    Example - Insert into a Table.vi ‏14 KB

    UDL is very basic and best way to communicate to DB. becasue here you can change the database which you need to connect to any time. I havent seen your VI but first you need to create UDL file and configure it as per your application. For there if you can test the connection that means your configuration is ok.
    Then from VI you need to open the UDL file and check the error message. From there you can easily check what is the problem.
    Here start from page 3-4. Let us know if any issue
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet
    Attachments:
    Database.pdf ‏687 KB

  • LabVIEW Database Connectivity Toolkit Parameterized Query Property Wildcard

    Hi,
    within my LabVIEW application I successfully implemented a SQL statement
    like
    SELECT *
    FROM table_name
    WHERE property 1 = 123
    AND property2 = "abc"
    with help of the Database Connectivity Toolkit. I first created a parameterized
    query, then set each parameter and afterwards executed this query.
    But now I want to use wildcards within this statement. Does anybody know
    how to use wildcards with both integer properties and string properties?
    Is this possible while using the normal parameterized query vi?
    Thanks in advance for your help.
    Regards
    Michael

    Hi Michael
    You can use "LIKE":
    SELECT * FROM table_name WHERE property 1 LIKE '12%'
    % represents multiple characters (e.g. entries with property 1 123 but also 1240 would be selected)
    _ represents one character
    Hope this helps.
    Thomas
    Message Edited by becktho on 09-05-2005 11:57 AM
    Using LV8.0
    Don't be afraid to rate a good answer...

Maybe you are looking for

  • HP Officejet Pro L7780 - Document feeder not grabbing pages. The feeder is not feeding pages through

    I have an Officejet L7780 that is not feeding through the document feeder. It gets stuck with the first page, and tries to roll in the page but it gets stuck with it.  I've not been able to make it feed through, but I can grab a portion of the page t

  • MacBook to HDMI

    I'm probably going to purchase a MacBook and I want to connect it to my HD plasma but i've only got hdmi ports or an RGB port (Which my mini runs through) anyway to connect a MacBook to HDMI i need: Apple Mini-DVI to DVI Adapter: http://store.apple.c

  • TCode: F-30 (Post with Clearing)

    Hi experts, I faced problem when want to post thru transaction code: F-30. I Logon SAP with my User ID: FIN-AAA Transaction Code: F-30 Document Date: 08.12.2009 Posting Date: 08.12.2009 Document Type: DN Currency: USD Doc Header Text: Clearing Cleari

  • Return pl/sql array to C#

    First of all, my goal is to return an array that I've defined back to C#. Here is the type that I've defined: create or replace type EMPARRAY is VARRAY(20) of VARCHAR2(30)here is the function I'm trying to call create or replace function getEmpArray

  • Arch64, still only 3 GB RAM

    I own a Fujitsu Siemens Amilo PI 3540 (which has 4 GB RAM installed). I have Arch64, but the memory available is only 3 GB. $ free -mt total used free shared buffers cached Mem: 3012 252 2759 0 3 52 -/+ buffers/cache: 196 2815 Swap: 0 0 0 Total: 3012