selection by tcp/ip and labview 1742 smart camera inspection

Hello everyone!

I m working with two smart cameras NI1742 where I have an inspection for various products, I m try via tcp/ip and view lab 2010 select inspection for each product. I configured the tcp/ip connection and test it with the vision builder ethernet Terminal, this part works fine, but I can´t do this with Labview where I show images of smart cameras via shared variables.

If anyone knows how I can do? Please, I will be grateful.

It's my code, but there is something that's not going to.

Thanks and greetings

Hello! Brad

Thank you, you have all the reason, I ve tested and works but also I need to send a command to run the selected control, isn´t it?

Yes, you´re great Brad, now I have to just organize all my code, thank you very much.

Greetings from the Mexico

Tags: NI Hardware

Similar Questions

  • Save with the smart camera

    Hello

    I have a problem with the help of a 1742 smart camera

    In a while loop I acquire an image, perform a simple blob analysis and I want to save for each acquired image, the coordinates of the blobs.

    The problem is that labview give me an error when I try to save the file

    There is the code used in attachemnt

    can someone help me?

    Thank you

    Paolo

    In addition, you created the folder c:\save on the camera?

    Kind regards

    Lucius

  • How to record images of 8 bits of a TCP connection with a smart camera

    Hello my name is Cris and I try to record images 8-bit generated from a Smart Camera NI 1742, which has a frame rate up to 60 images per second. I want pictures of flow time I need and save each image. I've currently implemented the next VI I found in this article: Images streaming of a Vision Compact to a local AVI system , one of my goals was the next, can save an AVI file and now I can do it. According to this article on the screws flattens the images for data of type string, and sends the data to the local computer (PC) through TCP/IP communication (because data can be stored inside the smart camera).  Then, the Local.vi (shown in the figure), on the computer local Windows, receives the string data, it unflattens back to images and records the images in an AVI file. So my question is how can I proceed to receives the string data and save it directly to files with names like 0001.jpg 0002.jpg, etc., automatically instead of using framework for writing to AVI?. I think to use the IMAQ write string that returns a string that contains the entire contents of the image encoded as an image file and the string can be saved to the file (without unflatten it). How can I change the Local.vi?

    Any help, comments help a lot. Thank you.


  • TCP Read and Write at the same time

    Hello everyone,

    I have a question about parallelism in TCP connections.

    I know that it is possible to read and write on the same connection ID.

    So, if you ReadTCP and WriteTCP block each other, if you use the same TCP connection ID?

    Or to request more precise if I run two while loops, in parallel, with one end by calling WriteTCP and the other called ReadTCP.

    one of the delay of loops (or block) will be the other if both loops call their VI TCP at the same time right?

    The system is Windows 7 and Labview 2012.

    Kind regards

    Sebastian

    They are perfectly parallel.  Just write in one and read it from the other.  There is no conflict.

    See My TCP articles for more details.

  • LCD, extented and Labview controls

    Hello

    I use a LCD series (https://www.sparkfun.com/products/9395) associated with a TTL - USB converter (http://www.miniinthebox.com/fr/cp2102-usb-2-0-vers-uart-ttl-convertisseur-6pin-serie-du-module_p3910... and labview with VI No. 1.) Sending simple commands such as VI No. 1 works well. My problem is that I do not know how to send orders Extended Page 2 here https://www.sparkfun.com/datasheets/LCD/SerLCD_V2_5.PDF.

    For example, as I understand the datasheet, I need to send 124 128 to disable the brightness of the screen. If I type "124 128" in VI n ° 1 the LCD displays "124128.  I get the same result with VI n ° 2.

    If anyone know what I can try next?

    Thanks a lot.

    User1979

    It seems that these values (124 and 128) are the decimal equivalent of the byte to transmit 0x7C and 0x80. It is not possible to say with certainty from your images, but most likely you send the characters of ASCII text for '1' '2' '4' and '1' '2' '8 '. Since then, they appear on the screen that is certainly what is happening.

    In your second pop VI on the string constants and select hexadecimal display in the context menu. Then type the values hex 7 c and 80.

    Lynn

  • RS-232 via TCP/IP with LabView

    Hello

    I have currently a standard equipment is read through a RS232 converter TCP/IP hardware.

    On the computer with labview, I use a third-party serial port virtual that data reads the TCP/IP and converts this COM port data pack

    I then read the port COM normally with VISA.

    I would like to remove the third-party TCP/IP software RS232 and LabView read the TCP/IP port and convert to series.

    How could do?

    More details about the hardware and the 3rd party software;

    thydzik.com/Monitor-cms2000-Inverter-via-tcpip-usr-tcp232-E4-rs232ip-Convertor/

    More information on labview here code;

    thydzik.com/log-Solar-generated-to-pvoutput-with-LabVIEW/

    I don't think it's as complicated as you seem to expect. Try the VISA TCP approach. Create a resource of VISA TCP, in raw mode, as explained in the white paper. Take your existing code, replace the COM resource with the new TCP one, remove the configuration of the port series, and it might work. Make sure to close the resource when you stop the program.

    If you want to go with the TCP functions, look at the examples. You open a connection, read and write strings in it, exactly as you would with a serial port and close it when you are finished.

  • Comparison of c sharp and Labview?

    Can any budy tell me the comparison between C sharp, dot Net and Labview on Non Application of material?

    Please tell me the positive and negative on all three.

    Its Urgent

    Concerning

    Gilles

    Your question is too vague. And besides, there is no need to compare c# to .NET. C# is a language that uses .NET. .NET is a framework, not a programming language. Your question might as well ask "can you tell me the comparison between C++ (version not .NET) and LabVIEW?

    There has been discussions numeous on comparison of LabVIEW with the text-based programs. Please do a search before asking such a vague question.

    How to ask Questions the Smart way

  • BNC-2110, 6023E PCI card and Labview V9.0: is the sensitivity of data acquisition (change more little detectable voltage) 0.002V?

    BNC-2110, 6023E PCI card and Labview V9.0: sensitivity of data acquisition (change more little detectable voltage) is 0.002V

    Hi, I use the software/hardware above to read a voltage of a potentiostat world Precision Instruments No..

    I'm trying to record changes in voltage as low as 0.0003V but using the wizard DAQ, I seem to be limited to a sensitivity of 0.002V.  This is the limit of real sensitivity or have I missed something?

    Any help would be greatly appreciated.

    Hi DCAM77,

    Thanks for joining the forums!

    The PCI or 6023E has a 12-bit ADC.  In other words, it can make the difference between 4096 (2 ^ 12) different levels within the range of cards.  The card you have has a selectable range by ± 10 V, ± 5 V, ± 500 mV or ±50 mV software.

    This means that the minimum detectable variation will be 4 mV, 20 mV, 244 µV or 24, depending on the chosen range µV.

    You should be able to use the ± 500 mV or ±50 mV to get the least significant bit (LSB) value, you need, even if it means that your signal is located between these values.  If not, then you need to consider other materials to the application, or the addition of external circuits across the signal.

  • I'll try to find the distance between a smart camera and object?

    I am using smart camera or 1722, and I'm doing a VI that gives me the distance between the object and the camera of the aquised of the image with the grab module

    Can someone help me please?

    I'm new with labview and I don't have much time to make this project so please help

    You should pass on the IP Reset (on the camera), and then you will be able to make the assignment of intellectual property to a successful conclusion.

    Kind regards

  • In "Général" it allows me to select ' show my windows and tabs from last time '.

    In "General", "Startup", "when Firefox starts:" it does not select ' show my windows and tabs from last time. " It allows you to 'Show my home page' and 'white page '. If it is not resolved, I'm going to change browsers.

    Hello Mozilla12,

    It's sad to hear that you are facing this problem. We would love to hear form you that how long you are facing this problem and what time you have updated your browser.
    Please reply so that we can help you in the best possible way.

    Kind regards
    Gerard sharma.

  • In the United States, I can use selector locale quick to get U.S. locale of Russia but in Russia, it does not work to go the other way or any other premises than elsewhere. After selecting a new language and restarting firefox, it remains on the Russian

    In the United States, I can use selector locale quick to get us to the locale of Russia (ru - RU), but in Russia, it does not work to go the other way or any other premises than elsewhere. After you have selected the local new and restart firefox, it remains on the Russian locale. Y at - it a fix for this problem?

    This has happened

    Each time Firefox opened

    == Looks like it started with a newer version of firefox, but this may have been coicidental

    You have other language packs languages installed?
    Tools > Modules > languages

    There is no module language en-US, to achieve that you must install the version of Firefox en-US and install other languages in the version.
    http://releases.Mozilla.org/pub/mozilla.org/Firefox/releases/3.6.6/Win32/XPI/

    See also http://kb.mozillazine.org/Language_packs

  • Printer all in one HP3520 - how to select the wireless network and enter the WEP key?

    According to print my wireless network is detected.

    How to connect the! @# % printer $ fo the wireless network and enter the WEP key?

    Instructions on the HP site tell me to selet NETWORK on the printer control panel.  Well, there's a way to select the NETWORK from the control panel.  It is not an option for him.

    I downnloaded and installed the latest drivers.

    I have restored the default settings.

    How to select the wireless network and enter the WEP key?

    All of HP's instructions seem to be for a newer printer with a touchscreen.

    I want that the printer is connected to my main computer via the USB port.  I want to be able to print wireless phones and tablets.

    My 3520 is not a 'touch Screen' and it has wifi.

    However, the following work:

    Try to open the HP Deskjet 3520 icon, open the utilities tab, click on convert USB wireless, by following the steps on the screen.

    This leads me to believe that ONLY the wireless doesn't work.  I know now that the part of the sentence "Convert USB to wireless connection" is supposed to mean "works like USB and wireless.

    Thank you for your help

  • Select curve chart WPF and nickname of curve in the ToolTip

    Hello

    How can I do, view the name of curve in the ToolTip, if I moved the mouse over the curve?
    Or view the name of curve staring above the curve?
    And, how can I select a curve with the click of a mouse?
    Possible?

    Kind regards
    Tamas

    P.S.: Community VS2013 & MS2015 Standard

    Using the logic of tool tip of the point value of graphic display WPF overviewand the GetPlotAt function, here's an example that uses mouse clicks to select tracks in a chart:

    partial class MainWindow: Window {}

    _selectedPlot of private land;

    public MainWindow () {}
    InitializeComponent ();

    Tour (option) on the hit test for lines, in addition to the actual data.
    Graph HitTestMode in the Group PlotHitTestMode.RenderedInterpolation;

    Updated tooltips to display quickly and for a long time.
    ToolTipService.SetInitialShowDelay (graph, 0);
    ToolTipService.SetShowDuration (graph, int. MaxValue);

    Fill in the chart with the data and the locations of the example.
    Graph BeginInit ().
    var plotBrushes = new [] {Brushes.Red, Brushes.Orange, Brushes.Green, Brushes.Blue ;}
    < plotbrushes.length;="" ++i="" )="">
    label As String = "Plot" + (i + 1);
    rendering engine of var = new LinePlotRenderer {Stroke = plotBrushes [i]};
    var field = new plot (label) {Renderer = renderer};
    Graph Plots.Add (field);

    Graph data [i] = new [] {i, i + 1};
    }
    Graph EndInit ().

    Monitor the plot area of the chart for mouse clicks.
    Graph. PlotAreaMouseLeftButtonDown += OnPlotAreaMouseLeftButtonDown;
    }

    private void OnPlotAreaMouseLeftButtonDown (object sender, MouseButtonEventArgs e) {}
    Check if a new route has been shown at the current position.
    Point ScreenPosition = e.GetPosition (graph);
    field var graphics = (Plot). GetPlotAt (screenPosition);
    If (plot == null | plot == _selectedPlot)
    return;

    Deselect the previous plot, if it exists.
    If (_selectedPlot! = null) {}
    ((LinePlotRenderer) _selectedPlot.Renderer). StrokeThickness = 1.0;
    (Graph (ToolTip). Tool - tip). IsOpen = false;
    }

    Select the new path and display a ToolTip.
    _selectedPlot = conspiracy;
    ((LinePlotRenderer) plot. Rendering engine). StrokeThickness = 2.0;
    Graph ToolTip = new ToolTip {Content = string. Format ('"{0}' selected', plot. Label), IsOpen = true};
    }
    }

    "Display the name of curve staring above the curve", with respect to the simplest approach would be to use a PointAnnotation to display a label to a particular position (probably hiding the target and arrow).

  • NOR-Fieldpoint supported in Windows 7 and LabView 8.6

    We have a 'classic' with an ethernet controller FieldPoint system. We want to be able to read/write from/to the FieldPoint network using a computer with LabView 8.6 and Windows 7. NOR-FieldPoint is supported in LabView 8.6 and Windows 7?

    Kind regards

    Nate

    Hi natewkidd,

    I feel like some confusion between the operating systems running on a development computer (as Windows 7) and real-time operating systems that run on our real time (such as the PS-2000) controllers. I will do my best to clear up this confusion first answering your questions.

    (1) what is the difference between 2009 LabView real-time and LabView 2009?

    LabVIEW Real-time 2009 is actually a software officially known as 2009 LabVIEW Real-time which is installed after the LabVIEW 2009 development software to allow the user to develop and deploy applications in real time on targets in real time as your PS-2000. You can consider the LabVIEW Real-time 2009 almost as a plug-in for LabVIEW 2009 deployment and development of real-time applications.

    (2) if I have a PS-2000 on the ethernet network and to use a computer that is running Windows 7 and LabView 2009 for record and display data, will I still be able to communicate with the network FieldPoint screws write FieldPoint to my Windows 7 computer?

    If you go just to use the PS-2000 as a network module (NOT to deploy a real-time application to run on the PS 2000 itself), you should be able to communicate with him using just the read/write FieldPoint screw on your Windows 7 with LabVIEW 2009 machine and the driver NOR-FieldPoint 6.0.5. In this case, you actually do not need the Module Time since you do not deploy the application to the target in real time.

    About the PS-2000 unsupported beyond LabVIEW 8.5.1, is because the controller's memory is not large enough to hold the software that is installed on the controller with LabVIEW 8.6.x Module real-time and LabVIEW Real-time Module 2009. For more information on this, you can check this knowledge base article.

    I hope it's useful! Let me know if you have any other questions.

    Thanks for choosing National instruments.

    Aaron Peña

    National Instruments

    Technical sales engineer

    http://www.NI.com/support

  • measure the angular speed, angle and trigger using a gyroscopic sensor breakout board and LabView data acquisition

    How to measure the angular velocity, the angle and trigger using a gyroscopic sensor breakout board and LabView data acquisition?

    There is a single channel data acquisition code which measures the angular velocity, angle and flexibility using a gyroscopic sensor breakout board and acquisition of LabView data attached to this, I need a help to creat two-channel data acquisition code?

    Hello

    Attached is a vi that you can use in order to read the measured angular position of an encoder.

    If you need more examples on the tasks that you can develop with NOR-DAQmx and LabVIEW, you just need to open LabVIEW and click Help > find examples > Input and Output material > DAQmx > entry counter.

    Kind regards

Maybe you are looking for

  • Black screen after startup (no home screen)

    I was just with the Firefox browser, looking for patterns (no piece, first... use airplane mode and not wifi) and when I clicked on the cog icon in Firefox the buggy device. He showed me a message saying that the home screen has crashed. Now the devi

  • Pavilion g6-2284er: processor upgrade

    Hello! I have a laptop HP Pavilion 2284er g6. There are 76 of Intel Express Chipset and Intel Pentium B980 processor.  Is it possible to upgrade to an Intel Core i5 - 3360M proccessor? Thank you

  • Example SynchAI-AO does not work

    Hello! I use a USB 6621 and I tried to run the code example, ANSIC C SynchAI-AO delivered with the equipment. First of all, I got the following error message: DAQmx error: terminal Source routing is not found on the device Make sure that the name of

  • HP Officejet Pro 8000 A809 will not connect wo USB port

    I have a WiFi with a SSID wireless but I would like to change to a different SSID.  This requires a USB connection and my wii printer not connect to my computer with the USB cable.  I tried several cables and different USB ports,

  • Report portal provider problems

    Hello world in the last week or more whenever I try to schedule reports or generate a report download, I get messages like these: "An error occurred during the generation of the report." and "Sorry!" Some technical error occurred during the processin