Rate control and return on investment on a ge680 using IMAQdx

Hi all

I work with a camera ge680 and I am trying to write a VI to register my microscope images. I am very new to labview and am still stuck with a few things. First of all, I want to be able to control the frame rate, but I was not able to find an effective way to do it using attributes of my camera. When I used the VI "grab and basic attributes" to play with the settings. The parameter framerateabs is all I could change and it didn't effect my cadence in the end. Also, I'm having the problem that my frame rate will not exceed 66hz on a "capable" of 200 camera. Second, I wish I could save only one area of interest. I got it down to find the "height" "width" "offset X" and the "offset Y" controls. However, I can only use those until the acquisition mode began, which is kind of a pain to use. I was not able to find concerning how to configure it during the acquisition.

I have attached the VI I've worked with, as well as the settings of my camera file if anyone wants to take a look. Thanks for your help!


Tags: NI Hardware

Similar Questions

  • parallel to the process and return on investment?

    Hello

    I have two questions:

    1 how I can run two parallel processes in labview, which a single process is webcam that stream videos, and the other process is instant of the video image

    (I want a snapshot image after selecting a KING in the live camera view and keep the live camera view).

    2. How can I choose the KING will be part of the whole picture?

    Hello

    Below, I have attached a sample program that implements something similar.  It uses a structure of the event to listen to when trigger and records and image while performing a grab IMAQdx.  I'm not sure if you try to extract the KING, however, you should be able to change the structure of the event to perform processing on the image instead of save to file.  If you are looking to extract a return on investment, I recommend that you look at from Example.vi which comes with the Vision Development module.  "" "" You can find by going on Help "find examples... then navigate to Modules and Toolkits ' Vision ' functions ' Example.vi extracted.  It uses a node to invoke to get a last event to listen to when a KING is placed then passes the IMAQ Image extract.  For your application, you could implement something similar to my attachment.  Have one end grasping images then place the node to invoke to get a last event to display the images in a parallel loop to perform the extraction of KING and post-processing.  Probably, you wouldn't need a structure for this event.  Notice a 2nd IMAQ Create.VI is used in both examples to create a space of memory to hold the image of treatment/record.

    If you want to programmatically return on investment to the whole image set, it may be easier to simply identify the KING with the help of a property node and just pass the image as usual for post-processing.  Treatment that you ever want to performwill automatically be applied to the entire image.

  • VBAI 2011: DataLogging and return on investment

    Hello

    I have 2 questions regarding my request for 2011 VBAI, hope to receive assistance from experts.

    1. I set data entry at the end of my inspection I would love to have 2 of my export of variables in the text file. However, even I have only my recording of data to these 2 variables, the Date information, time and iteration connects it (by default I think). How can I remove this information by default and don't have my 2 favortied variables appear?

    2. area of interest. Is it really annoys me when my operator see the green rectangle of the region of interest each time we run the inspection. Is there anyway that we can hide the rectangle in the mode of Inspection?

    Thank you.

    -

    Hoa Huynh

    University of Minnesota, twin cities campus

    If you don't like the default data record format, you can use a LabVIEW execution step to record exactly what you want in the format you want. Provide this type of customization at the stage of Datalogging would make it even more complicated. You can always delete rows if you do not want them.

    Display or hide different parts of the overlay, you can click the button Overlay Configuration to configure the overlays to show for each step in a given State. See the icon below for where to find this button:

    Hope this helps,

    Brad

  • How to save an image from a return on investment and then convert it into an array of pixels?

    I work with a camera CCD USB and LabView 2012 on a project. With the help of some drivers supplied with the instrument (Imaging CCD USB drivers source) that I created a program to display a picture in live stream then grab a picture and select a return on investment. I need to convert this KING of a new image and then save it, but I can't do it. I also have to convert an array of pixels in the image of the KING, and I don't know how to do that either. Any help is appreciated! I have attached my attempt to the program so far.

    Hello Kloram,

    Here are some examples that I found from our pages OR community who perform your desired actions.

    [1] create a picture of KING

    [2] create new Image of user selected KING

    Then simply use the following functions for the Vision Development Module in conjunction with the previous to your application examples:

    -IMAQ ColorImageToArray

    -IMAQ ImageToArray

  • Control and Simulation in a loop / while loop with TCP/IP reading / writing of synchronization

    Hello, I have a problem with reading TCP/IP and written in two loops. The problem is NOT to get the two loops to read and write to and from the other. This has been accomplished. My problem is when I run control and the loop simulation on my laptop and the while on a RTOS remote on the controller on-Board of LabVIEW in a remote PXI chassis, the while loop the remote system running on four 4 times faster than the loop control and simulation on my laptop. In other words, for each iteration of the loop control and simulation on my laptop, there are 4 four iterations of the while loop on the remote system. I need to know how to get a degree of kinship (1:1) with these iterations of the loop. When I run a longer simulation in real time, say 10 seconds, the control and Simulation loop begins to slow, i.e. the simulation time slows down until it is no longer in real time and the "Late Finish"? Parameter is set to true and the LED lights and continues to stay lit. At this point, the system destabilizes due to what I believe is being well sampling rate too discreet and I have to end the simulation. How can I get a ratio of one to one between the loops and also to avoid slowing the loops causing destabilization?

    To give an overview of my application, I implement a control system in a network, seen in "image2.png". This is achieved using my laptop as a subsystem 1. Reference signals are generated from the laptop and the error signal is produced. Control measures taken and the control signals are sent via TCP/IP to the remote system. Position feedback is returned, and the process repeats. My system has Core I7 Procs w / 3 GB of RAM, up to 1 GB/s speed via ethernet and LabVIEW 2011 installed with all necessary modules and networking tools. The attached VI Custom_Wireless_Controller works on my laptop. The remote system I'm working on that has the 7830 NI R Series with FPGA card. OTN runs on the PXI chassis with an enbedded controller that has networking capabilities of up to 100 MB/s via ethernet. I use the FPGA for the acquisition of data and apply control signals to my plant. The plant is the PCE twist connected to the FPGA through the cable of the ECP - RIO of NOR. Subsystem 2 is this side of the CNE. The FPGA collects position, he sends to the controller via the network, receives signals from the network drive and writes signals to the plant power amplifier that operates the plant. This process is repeated and the VI and is titled Custom_Wireless_Plant.

    I appreciate the help really and look forward for her and for any question!

    Well, the first step is to understand what you have set up right now. Your control and Simulation loop on the side of the controller is configured as 'Runga Kutta 4' and you have a loop timed on the other side. In addition, you have the primitives of TCP/IP on the control and the Simulation diagram and means he will perform (a message) on the size of each minor step, which in your case is 4.

    So, you have two options:

    1. replace the Solver side controller Runga Kutta 1 (this must synchronize loops)

    2. hold RK 4, but create a Subvi around two primitives of TCP/IP and configure from the VI to run than the major (continuous) step-size. If you do it right, you should see a 'C' on the upper right part of the VI you have created.

    Please let me know if what I said is not clear...

  • control and simulation Module spring mass

    I'm using Labview 2010, and tasked the simulation module (just 15 days before the date of expiry. trying to see if the program will work before I spend $4 K) and try to calculate the dynamic response of a spring index.

    I was able to complete the program in the simulation section (I think). I now need to feed a sign of acceleration in the module which I have already captured at a sampling rate of 100 k/s.

    Test technician said I should add 500 ms from zero to the front of the track to make sure that the system is stable before the trace of acceteration of power is in the simulation module. I have alreay done reading and adding zeros to the chain.

    I can't feed the trace in the module control and simulation.

    The engineer said he was able to do the math in MatLab and simulink (I think), because I have not used this program and we do not have a copy I am doing it in LabView.

    In addition, I would add that this forum is blocked by my firewall to work.

    If you need more information, I'll have to return to work and get it.


  • Return on investment with known constants

    Hello

    I am very new with vision dev module. Can someone help me please.

    I have this vi that I want to work with the sample.

    I was normally the OVERLAY of the image and draw the oval/lines on the image.

    But I want to draw on the image, but he shoots in the return on investment so that I'm going to save memory?

    With the oval contstants and lines in the CONTROL ARRAY.

    Can someone help me by showing me in the diagrams, how would implement that using the KING?

    Thank you very much.

    Hey krispiekream,

    I took a look at your code and made a few minor changes. When you use the ring to convert IMAQ VI KING data types don't align completely with the oval that you created. In the current configuration, you can do a little math to convert the coordinates of your lines to find the contact information of your ring. You can also add a little math for what I've done here to set up the corner of the ring and the size of the ring. An alternative is to manually create an oval ROI. This would require a bit of manipulation of data type, but it could be done. Take a look at the code, and the attached picture.

  • Several return on investment of the same size

    Hi everyone again. I have questions about the plan KING

    1. they say that you can make several KING by clicking the ctrl button and it works. You can make several KING out of it.

    Question: a. how you can extract one of each KING?

    b. are extracts KING represented by a table of coordinates or coordinates cluster?

    c. is there a such that any part VI of the KING will have the same size and resolution) without resizing the return on investment)?

    d. can you get a return on investment and use the size of this KING as the size of the next KING?

    example: I did a 10 x 10 pixel KING in the first sample, the next King, a box of 10 x 10 will come out just so all I have to do is to move the box to the desired region.

    PS maybe the same problem is already posted so I hope you can post the link of the subject then it is easy for me to find once again.

    Thanks again for all the help I receive.

    BREIN

    A BEGINNER OF LABVIEW

    Hello Brein,

    1. Yes, the Kings are stored in the form of clusters, and you can extract all the information from KING using the description of KING.

    2. you can save description of RIO in the cluster, then reuse them in your program. Here is a link to an example of use of the event structure to display pre-determined KING.

    http://decibel.NI.com/content/docs/doc-4779

  • How to catch the movement of return on investment when the user drags a handful of return on investment?

    Hello, I use VDM2009 with c#. I need to make some manipulations of KING and need to intercept mouse movements, but do not know what to use. For example, suppose I created a KING OvalContour and that it is a circle (width = height). I have to do 2 things: 1) when the user drags one of the 4 handles, I need to check what handle is moved so that I can drag a few adjacent programmatically so that the circle is a circle and does not become an oval.

    (2) when the user clicks/behind the center of the circle, I need prevent the update so that the circle does not move the return on investment. (It would be even better if there was a way to disable the movement of the circle and allow the scale.) I don't know what to use to accomplish this behavior and do not know how to retrieve the KING handles about which is slipped. Any help would be very appreciated. Thank you, Neville

    Hello Ben,

    Thanks again for your help.  I looked up the definitions for the ROILeft, etc., in the reference VB help as you suggest.  While many objects is similar in setting/name, it seems that these objects (ROILeft, etc.) are those who are not easy to find how to use in the c# version.  But thanks for pointing me to the help file in VB Ref.  I wish, in there wasn't one for c#... I can't understand how to search effectively in the Visual c# help file that is integrated into Visual Studio.

    Thanks for your suggestion about the return on investment.  It makes sense, and I'll keep it in mind.

    In the meantime, I found a solution to my problem.  I use c# function public bool PreFilterMessage (ref Message objMessage) for prefilter mousedown and mousemove event messages.  Once I found one, I check if the cursor is on a part of the KING that I care.  If I want to do something special, I'm doing it right here.  If I want to keep the normal behavior of the KING OR on mousedown and mousemove, I trash the message.

    It's a total pain, but it seems that functions NOR are not put in place to do this kind of things in an elegant way.  Thanks again for your help!

    Neville

  • return on investment for the profile line variable

    Hello

    I built a vi with vision assistant, where the profile of a single horizontal line is included. If the acquired image had the X, Y coordinate system, I want to extend the vi so that it updates all possible horizontal lineprofiles (X 1/Y0 to X 1/Yn) line (Y0/Xn to Xn/Yn) in this order. So I have to vary the return on investment (line), but how is this possible? I have no experience in labview, so it's hard for me with the data of different types and functions.

    Thanks for help

    Hi Blue12,

    You may not need to create a return on investment for each line. You can get information on line directly with "IMAQ-profile line. You can directly enter the coordinates of your line and out of the profile.

    Please save yourself frustration and get LabVIEW training before attempting to implement applications.

    Best regards, Topper

  • How do I get the name of a duplicated or created control and add a reminder

    Hi all

    According to the number of entry points I need, I duplicate a digital or an input string to the DuplicateCtrl function. My question is, how do I get the name and id of the control that has been created, and how can I assign a callback to it? Alternatively, it would be better to create a fresh ctrl instead of duplicate?

    Thanks in advance!

    Hi TurboMetrologist,

    Why are you trying to get the name of constant control? Remember that you cannot use this name to address control; control names are in fact simply the macros in the file associated with the UIR, include in other words, the preprocessed compiler code and everywhere where the names of PANEL_CONTROL replaces the digital value as parameters to functions (and therefore 'control' parameter is an int value and not a char *)

    That's why NewCtrl () or DuplicateCtrl () functions return a control ID: this is the handle to the new object, the only way to handle it. You will need to store this handle in a nonvolatile memory so that you can access durng life program.

    In addition, there are other ways to assign a meaning to a control to pass on the name of constant control. For example, you can use the callbackData parameter to differentiate the different copies of a control.

    Let me explain with an example. You said that you need several entries (dynamically created that you don't know in advance how many of them use); a solution could be:

    • Design a master copy of a control in the IUR Editor, where it is easy to customize; also assign a callback function, if it must be common to all copies of the control
    • Assign a value to this control callbackData, programmatically for example SetCtrlAttribute (...,..., ATTR_CALLBACK_DATA, (void *) 1);
    • Duplicate the control, and then assign a different callbackData
      for (i = 2; I have< 5;="" i++)="">
      handle = DuplicateCtrl (...);
      SetCtrlAttribute (..., handle, ATTR_CALLBACK_DATA, (void *) I);
      }

    By operating this way, whenever the reminder of control is triggered by any control, it will receive the callbackData assigned, and you will be able to differentiate your code with a simple switch:

    switch (callbackData (int)) {}

    case 1: / / the master controls

    break;

    case 2: / / first dual control

    break;

    }

  • How can I change the cursor so that I can choose a return on investment?

    Hello

    I work with VDM2009 in c#.  I have an image viewer and have added programmatically a return on investment.  When I go to choose the return on investment to move around, the cursor looks like a helping hand and cannot select anything.  I've tried to set imageViewer1.Cursor = Cursors.Default; but that has no effect.

    How can I select/manipulate my KING created programmatically with the mouse?

    Thank you very much
    Neville

    Hi Neville, according to me, that the default is image Pan, which is handmade. I think you do a right click on the image window you should be able to select another tool. Alternatively, you can programmatically the cursor to one of the values of the correct cursor types.

  • When I put the time, she can use the internet, she changes the time on the computer and returns on the internet. What can I do?

    When I put the time, she can use the internet, she changes the time on the computer and returns on the internet.  What can I do?

    Not enough information.  You have provided no context.  You don't say what version of Windows you are using and you don't really describe the situation in many details.  Reading between the lines, it looks like you have a child who has time on the Internet you want to limit.  You do not tell us what tools you use to control this limit online, so it is difficult to recommend the right forum for your post.  Please update your message with a more detailed description of what is happening and what you want to do.

    One thing that comes to mind is using Live Parental control with a Netgear router.  See http://www.netgear.com/lpc.  LPC uses the service OpenDNS (http://www.opendns.com/)

  • How to change the input descriptor of return on investment?

    I am a beginner of Labview Vision users. I need to convert a RGB image into binary image and superimpose a few lines on the binary image at random and then measure the length of the ordinate at the origin of the image. I came across the problem of changing of return on investment by incorporating a few random coordinates (by this contact information, I can generate random lines.). But I could not find how to change the coordinates or import data from an excel file coordination.

    Any help is appreciated.

    Jian

    If you have the package of Vision, you can use the line to convert to the KING function and the power cable in the KING of the image property.  If you do not, you will need to build your own KING.  Given the coordinates of line (X 1, Y1) and (X 2, Y2) the entries in the return on investment are the following.

    Global rectangle - table of 4 elements with values [X 1, Y1, X 2 + 1, Y2 + 1]

    Countours - single element (table 4 external elements, line [X 1, Y1, X 2, Y2])

  • A return on investment in an array of reading?

    I have existing directories of TIFF with whom I need to only target not follow.  Attached, is an example of the beginning of a VI to read images in a table so that I can deal with them.

    To generate a rectangle for "IMAQ Extract" I need to slide a return on investment in the first picture in the table, so I have a starting point.  BUT I do not see how to then get the parameters of return on investment.  I watched the "Pattern Matching Example.vi" in the 2010\examples\Vision\...... \Labview subdirectory and I think I can sort of see how they make the return on investment with a SINGLE image, but I can't understand how to do the same with the table.

    What I'm missing here?  I figure that a return on investment should depend on the frame size-only and have no reference to array index, but I see nothing in the node of the array property.

    Thanks for any help!

    You must get the reference to the array element and then cast to the specific reference type.  Then, you will be able to read the property KING which will be common to all elements in the array.

    Of course, you must have a return on investment before that the property returns anything.

Maybe you are looking for

  • Cannot open a session in the Appstore on Yosemite

    Hello! I just got back my MacBookAir with recovery of the Internet. Now I tried to install the new beta version of the Sierra (or El Capitan) Yosemite and I can't connect for some reason any... I have active two-factor authentication If I have connec

  • reads the data when I select run

    When I insist on running my program reads the data from the meter power... when I'm not it gives me an error. I tried to put right waiting them etc and nothing seems to be set. Also, when I take the vi that read data from the electricity meter, the c

  • Using the same device

    Hey guys I've migrated my VBAI to labview and it works once I run it. I use a Basler Camera etc, but once I run the labview application use again the portable camera how can I set to constantly select the basler camera. In VBAI he will always choose

  • HP 2000-410us: HP 2000-410us Notebook PC - Maintenance and Service Guide

    I'm trying to find the maintenance and repair manual for HP 2000-410us notebook. The link [ http://h10032.www1.hp.com/ctg/Manual/c03138231] on the product page [ http://support.hp.com/us-en/product/HP-2000-Notebook-PC-series/5186823/model/5218419/man

  • HP Probook 440 G3: Problem installing Win7 Pro on Probook 440 G3 - drivers not found

    The product was delivered with Win 10 installed but I need to run Win7 Pro. I photographed the disk before working on it and can restore to Win 10 without problem. However, when you start the process with a USB or DVD, I am able to choose the country