Vision of nor - strain measure with "tight".

Hello!

I'm trying to measure the diametral nothced specimens subjected to axial deformation strain. Due to the size of the samples, I use a CCD camera to capture the deformation. The device is set to capture 2 images per second, and so I get a huge batch of image files (~ 5000).

I want to use OR vision to process the images and found option 'clamp' suites my needs. However, when I want to execute a batch with my script, the process stops until I press OK in the "clamp" editing window. I want to be automated so that I can start the process, go home and get the results the next morning. The only result that I am interested in is the measured distance from the tool "clamp." If anyone has any idea how I can extract the data of each image in a text file (or similar), I would be very grateful.

Thank you

Jeem79

Specimen

If you know what works for you, the next step is quite easy.  Set up the measure in Vision Assistant, then select tool-> batch.  Select the directory that has all your images in it and tell him what you want to record.  Once you have configured, click the run button.  I would test it on a small number of images until you get what you want, then run on your set of images.

Bruce

Tags: NI Hardware

Similar Questions

  • How to speed up loop DAQ triggered using NOR cDAQ-9174 with NOR-9215 and NOR-9402

    Hello

    I use LV2010 and NOR-DAQmx 9.2.2. I have a NOR cDAQ-9174 with a NEITHER-9215 4 channel 100 k simultaneous ADC and NOR-9402 4 channel DIO module trigger and reset.

    We run WinXP sp3 on a Dell M4400 core 2 duo @2. 26 Ghz.

    I used the code example NI DAQmx for acquisition of tension with trigger HW. My goal is to try all 4 channels on the 9215 simultaneously when a trigger is received on channel 0 of the 9402, after data is read, I use channel 1 on the 9402 to reset the trigger of the target material.  I have a version of this work, however the maximum event rate is ~ 16/second. I have the Setup 9215 for finite samples / 10 samples per channel which is ~ 400uSec of conversion time and I realize he is above in the appeal of vi, but ~ 50mSeconds worth?

    The target detector can put out up to 1 k / event triggers / seconds.  Only, I received a rate of 8 per second and I added the NOR-DAQmx control vi driver and chose "commit" this did double the rate.

    My question is what is the maximum rate of loop for these devices (trigger/conversion/reading device / reset) and start over? I noticed that just let free the 9215, carried out using the 'Acq & chart internal strain Clk' raised only the rate of events up to 20 Hz.

    Thank you

    normbo663

    Hi normbo663,

    You can get this works far better assuming you have an available counter (there are 4 on the backplane of the 9174).

    DAQ Compact supports the tasks of meter output "redeclenchables" that can be used to generate a finite pulse train.  You can set a task of finished meter redeclenchables output to be used as sample for your task of analog clock.  The task of the meter output will be re-Army (less than 12, 5-25 ns) as soon as it's finished out the last pulse.  The task of analog input would be configured to run continuously, but it would only sample based on the output of the meter triggered.  For an example, see here.

    You can reference the internal counters on the cDAQ without signals through a routing module using: cDAQ1/_ctr0 (right click on the chain counter control, then select i/o name of filtering and check channels internal to add these options to the drop down).

    Thus, with the tips above, you should be able to immediately re - arming your analog acquisition on the 9215 using one background basket counters.  It seems that the second half of the application is to use a second channel on the 9402 to reset the trigger of your DUT.  You can deterministically generate this signal so by configuring a 2nd redeclenchables meter out task (single pulse, but this time).  All you need to do is the initial delay on the appropriate value for your analog acquisition.  Trigger this counter on the same PFI line that trigger you your analog task from.

    Using counters to generate the signals you need in a deterministic way, the loop becomes is no longer a problem (as long as your input buffer does not overflow).  You may need to re-read several triggers at the same time for the loop to keep (for example to read 1000 samples each, which would correspond to 100 triggers 10 samples).

    Best regards

  • NOR-7344 interface with IP M-415. DG possible steps?

    Hello

    I would like to know if it is possible to interface a SMU with a controller of NOR-7344 axes with a configuration in 3 axes (x, y, z) with stadiums FT M-415 model. CGI

    Hello Alex,.

    Yes, I can confirm all points. The only point that is not entirely clear is the last of them, as I don't know the old C - 860.10.

    I wish you every success for your application,

    Kind regards

    Gabriela

  • Analog inputs measures with NI6229 using the DAQmx driver

    Hello

    I have four different analog inputs connected to ai0 to HW 6220 ai3. I read these values with a single task, all 4 channels assigned to this task. When ai0 reads 7V, I see 0.8 V ai1 too, but I expect to be measured 0V. If I just assign ai1 to the task and measure all 4 channels, then I measured 0V as expected (although ai1 contains 7V, I just don't measure it).

    Another comment 'funny', is that if I change the order in which I add channels to the task, measurement errors are different.

    However, when measured with a multimeter 4-channel show tensions as expected.

    Given that my calling task is can not block, I call the function

    DAQmxReadAnalogF64 with timeout = 0 and numSampsPerChan = 1.

    Any help is appreciated.

    Thank you

    Kind regards

    Deepa

    Deepa,

    Thanks for the code snippet.

    When you call DAQmxReadAnalogF64 the first time and you set a value of timeout of 0, there is a chance that the acquisition is not yet initialized. This is the expected behavior and should not be a problem. If the timeout error died at the first call, you might ignore it or set a different expiration time for the first call only. In all cases, you should drop the first value and start with the second value.

    Jochen

  • Measures with the date Conference

    Hello

    I have to make an application, as part of my end of study project, which allows to calculate heat flow. Pour this, I have data measured with thermocouples. These data are stored on a data recorder that record these data on a .txt, .xls or .csv file (it is to be chosen by user).

    I'm not very chiseled with LabVIEW.

    In a Prime Minister, I tried to read the .txt file data. I can read the 1st line as I wish but not others.

    So I decided to work with a .xls file. The temperatures Conference goes smoothly. For time is the date, it's more complicated. Indeed, I would like to USE date and time corresponding to each measure to plot a graph XY with the date and time X and Y the temperature of the thermocouple.

    Kind regards

    Here's an example (VI from LV2011 but attached VI en LV2010) made on the basis of your code. Comment by watch it extract the news date and time of the string and generate the the from graph XY time in seconds in X. realized very quickly, it is without doubt room for improvement but you will serve as a basis for work at least.

    To define 'Structure box' serving at first as far as being 0 and calculate relative time to the following samples. Thus the x-axis of the graph starts at 0.

    My time is short, I renounce other comments but I happy to answer specific questions.

  • Measure with DAQmx

    Hello:
    I am able accelerometers signals in a module of 9234, using DAQmx (I leave the joint scheme), which will be part of a program that will include other stages. When the acquisition is stopped by the "stop" button, I measure with a voltmeter between terminals connector BNC, reading 21 volts, which is the excitement of the sensor. My question is: How can I do to cut the excitement of sensors once the samples are acquired?

    Best regards

    Jaime

    Hi Jaime,

    You can disable released the 9324 excitement by setting the AI. Excitation.Value property to 0.0 (see the following KB: http://digital.ni.com/public.nsf/allkb/3AD6CCE935192B4086256F6B0079CB1F).

    Then, once you have set the attribute, you will incur the task to actually push this setting material (normally DAQmx will automatically engage when you start the job, but in this case, we do not want to start the task).  Between your VI DAQmx stop task and your VI DAQmx clear task , you must add the following:

    • GOT it node DAQmx channel property to set. Excit.Val = 0.0
    • DAQmx controls Task.vi to validate your new task settings

  • HorizontalFieldManager Fix width automatic measurement with height

    Hi all

    I would like to make a HorizontalFieldManager with a fixed width, but automatic measurement with height. Do anyone with a good idea about it. Thanks for the help!

    Thanks for your help!

    Although your idea is a solution is not complete, it gives me a good idea to solve the problem.
    My solution is to change my coding over a part of the first horizontalfieldmanger:

    HorizontalFieldManager hfm1 = new HorizontalFieldManager()

    {

    public int getPreferredWidth()

    {

    Returns the value 100;

    }

    protected void sublayout (int maxWidth, maxHeight int) {}

    Super.sublayout (getPreferredWidth(), maxHeight);

    LeftField RadioButtonField = getLeftButton();

    If (leftField! = null & is equal to (leftField.getManager ())) {}

    int x = 0;

    int y = 0;

    setPositionChild (leftField, x, y);

    }

    }

    };

  • Since the installation of EL CAPITAN, I can't open pictures and iPhotos with photoshop, CS6, nor my mails with Office Word

    Since the installation of EL CAPITAN, I can't open pictures and iPhotos with PHOTOSHOP CS6, nor my mails with office Word

    Hi denisb,

    If you are not able to open the Photos App images directly in Photoshop then, this is the expected behavior as App Photos does not allow for any third-party application interact with it directly.

    You must export images from the Photos App and then open in Photoshop.

    Refer to this link: How to use an external editor with Photos for OSX | IVous

  • NI Vision Run - Time Engine (incompatible with already installed products)

    Hi people - I created an installer for a simple application using LabVIEW and Vision 2010 SP1 64-bit.  The application works fine in Win7/64-bit OS development environment.  Failed to install on another computer with the same operating system, which gives the following message is displayed.

    The additional setup only I checked is the Vision Run-time Engine 2010 SP1.  I've completely updated all my products OR with the last set level DVD, which is for 32-bit products.  I can send the LLB from the source code if someone from NI Vision support staff needs this.

    Help!

    Thank you

    Don

    In prior OR components unistalling and then put it back, we have able to install this application.

    NOR can give a message more informative than the screenshot, I showed, as try uninstalling some components OR already residing on the machine, so we know where to start.

    Thank you

    Don

  • Frequency of measurement with cDAQ NI 9402 chopper

    Hello world

    I'm new in the world of the cDAQ and try now just get a frequency of a TTL signal output chopper.  I confirmed 23 Hz frequency on an oscilloscope.  It's a nice clean 5V square wave, but when I try to measure the frequency in labview using a VI (dig frequency of continuous measurement) example, it comes to expire.  Trying to look at the entrance of the signal in express shows signal an incompatible digital signal that is around 3 Hz and clearly the result of the port being interviewed for entry too rarely.  The final objective is to get this work with the labview vi PLL is a detector lock in the amplifier, but first of all, I have to be able to measure and to read correctly this frequency.

    My hardware is a cDAQ-9174 with a 9402 OR for use with the digital input.  I don't know it's important, but the 9402 module is in slot 3 and I'm on channel 0.  The software is labview 8.2 with DAQmx 9.1.  Is there some timing issue material or the definition of I'm missing here?  Any help is greatly appreciated, thank you!

    Hi Skaboss,

    Counters have multiple terminals (source, the door in and out), which map to separate on your NI 9402 PFI lines. For the measurement of the frequency, the default input terminal depends on the method of measurement (low frequency, high frequency, wide range). Here's the relevant section of the NOR-DAQmx help (which is on the Start Menu):

    Connections of signals C series for counters

    The following table lists the default input for various measures of meter terminals. You can use a different line of the PFI for one of the input terminals. To edit the entry PFI for a measurement, use channel NOR-DAQmx attributes/properties.

    NEITHER 9402 and NI 9435 (4 channels)

    Measure Ctr0 Ctr1 Ctr2 Ctr3
    Number of edges Edges: PFI 0
    County Executive: PFI 2
    Edges: PFI 3
    Branch Count: PFI 1
    Edges: PFI 1
    Branch Count: PFI 0
    Edges: PFI 2
    County Executive: PFI 3
    Pulse width measurement PFI 1 PFI 2 PFI 3 PFI 0
    Duration/frequency measurement (low frequencies with a meter) PFI 1 PFI 2 PFI 3 PFI 0
    Measure of duration/frequency (frequency with two counters) PFI 0 PFI 3 PFI 1 PFI 2
    Duration/frequency measurement (wide range with two counters) PFI 0 PFI 3 PFI 1 PFI 2
    Measure semiperiod PFI 1 PFI 2 PFI 3 PFI 0
    Measurement of two-Edge separation Departure: PFI 2
    Stop: PFI 1
    Departure: PFI 1
    Stop: PFI 2
    Departure: PFI 0
    Stop: PFI 3
    Departure: PFI 3
    Stop: PFI 0
    Measure of position A: PFI 0
    B: PFI 2
    Z: PFI 1
    A: PFI 3
    B: PFI 1
    Z: PFI 2
    A: PFI 1
    B: PFI 0
    Z: PFI 3
    A: PFI 2
    B: PFI 3
    Z: PFI 0

    Alternatively, you can override the default with the CI. Freq.Term channel property.

    Brad

  • Scaling of NI 9236 strain measurement

    I'll put up several strain gauges in a quarter bridge configuration. I'm confused about the output of the measurement range. I set up the channels with all the features of the gauge (GF = 2, resist = 350 etc..) The measure returns values ~ 5 x 10 ^-3. I don't know the units of this measure. It's 10 ^-3 microstrains or 10 ^-3 strain. I wouldn't believe 10 ^-3 strain. 10 ^-3 microstrains are too low. I expect microstrains 1-5 in this measure. Because I enter all the scaling in the measurement task, I expect an output correctly to scale, but it is difficult to interpret. Change the GF is going to change the output in response, once again this points to the fact that the output is indeed scaling my input parameters and should represent the strain.

    Any help would be greatly appreciated.

    Hi ludhaber,

    If you use a task sequence, the values returned must just be in units of strain. So, you should see values with either a me ' (representing milli-) or a 'u' (representing Mike) - next to the value such as "2 m". A good method of checking scale is to use the task type "Custom with excitement of tension." This type is very similar to a task sequence, except that it does not return a value in terms of voltage (it is indeed volts by the voltage, change the excitement value of a template will change its output voltage, even if the amount of strain cannot be changed). The value returned here must match the equation for a strain gauge quarter-bridge for a value given in the series, shown below. For example, a strain of 5u value, you should see a flow of 0.0025mV / V being returned using the voltage custom with reading excitement. If you read a strain of 5 m in the task of the strain, you should read a value of about 2.4876mV / V to the tension with the task of excitement. Hope this helps,

  • measure with the two channels of the virtual bench simultaneously in labview, error 375903

    Hi, I am trying two measurements simultaneously using two channels of analog input of the virtual bench. I chose the channel MSO 1 and 2 for the measures but I get error 375903 returned evewry time say the requested resource is reserved. I'm not under any other software which should use the virtual bench. The error occurs when I'm initializing the session, even before a measurement was made. Can someone tell me how to call each channel so that I don't get this conflict of resource reservation?

    I have included the VI and a screenshot of the error.

    Thank you!

    NGKai wrote:

    Hi, I am trying two measurements simultaneously using two channels of analog input of the virtual bench. I chose the channel MSO 1 and 2 for the measures but I get error 375903 returned evewry time say the requested resource is reserved. I'm not under any other software which should use the virtual bench. The error occurs when I'm initializing the session, even before a measurement was made. Can someone tell me how to call each channel so that I don't get this conflict of resource reservation?

    ASM takes only supported a session unique instrument and your VI uses two. To use both channels, delete the second session MSO and specify channels in the MSO configure Analog Channel.vi

    Here's an example that uses two channels brought:

    VirtualBench: Bode Analyzer with the FGEN and MSO

    http://www.NI.com/example/52076/en/

  • How to stop and restart a measurement with specific criteria?

    Hey guys,.

    I burn my brain trying to figure this problem on my program.

    For my research project, I use an O2 sensor which is coupled to a Labjack U12 card and that's why I make a value of 4 mg/L, based on the switch to an electric socket (connected to the analog output) that is connected to the ventilation system. So when I 3.8 mg/L lights aeration and 4,2 turns off.

    But I want to execute this measure for some time (maybe 10 minutes) and then stop the signal at the analogue output. After awhile the O2 measure will be reduced to values of 0 mg/L, but I want that when it reaches a specific value (perhaps 0.5 mg/L), is always idle for some time (maybe 2 min) and then again activates the signal at the analogue output (reboot cycle).

    Is it possible to was this concept using Dasylab? I would be very grateful if you could help me with this!

    I enclose 2 photos, the real configuration of my block Dasylab and the other is the extent expected after the new configuration.

    Hugs and Outlook for the suggestions.

    Celso

    Is the curve in the diagram of the output of the "Labjack: AI"-module?

    You can then use the following series of blocks:

    Direct the signal of the Labjack-block in a block-combitrigger: Start-event is when the signal is less than 0.5, Stop-event is when the value exceeds 0.5 (do NOT use events "is less to ' / ' exceeds '!).

    Connect the trigger block to a block Counter, which counts both the signal received (from the trigger-block) is TTL-high.

    Use another trigger-block just after the block Counter: beginning-event is when the signal exceeds {insert time in seconds}, Stop-event is "live".

    Now connect a block action, which controls the ventilation switch corresponding (light: curve rises, turn off: curve drops - is this correct?), the action should be triggered, if the signal of the previous block put on a rising.

    How to control the measurement time of 10 min with meter,-relaxation, switch-action-modules and is left as work at home.

  • NOR-DAQmx compatibility with the system in real time

    I try to use a time system 11 with LabVIEW Real-time. When I try to connect with the driver OR DAQmx, an error saying that the version of the NOR-DAQmx drivers are bundles with the one on the real time. I tried to use different versions of the NOR-DAQmx drivers that are available in the table of compatibility, but not those who worked. I have an old computer working with the same real-time system that uses LabVIEW 9 and has the driver NOR-DAQmx 9.3.5 f0 driver installed on it but I can't find the drivers on the web. What should I do?

    I am using LabVIEW 2015 in my current computer.

    Thanks in advance.

    Looks like you can just have a lag in the versions of software installed on your host computer and the target.  In order to deploy the code from your host to your target, the two must have corresponding to libraries of functions.  See this link for instructions on updated versions of the software on your target match those installed on your host computer, the wizard of the LabVIEW RT software.  If you have already done this, and it did not help, please provide a screenshot or error code of the message that is to appear.

  • temperature measurement with labview on four location using NTC thermistor


    Hello
    My project is the measure of the temperature of a thermistor on-site 4 difference.
    The measures must be 0 for 100 * C.

    details.

    • For the sensor, I must use only NTC thermistor.
    • I have to do an application with Labview.
    • the application must give me the right measure in real time, and it should save the sample in a database.
    • This measure is taken max 20 feet form the pc.

    I'm new with this.
    Can someone help me with sensor circuits.
    How can use DAQ with the thermistor.
    Can I use EMANT300 Low-Cost USB DAQ Module 24 bit?

    Please give an idea

Maybe you are looking for

  • Can I oppen firefox in admin account but I use in my local account canoe

    How can solve this problem?

  • Description of how to install XP on laptops without optical drive

    I see quite a few questions about how to get the xp on a computer that has no optical internally. I know that the m200 has a costly dedicated external cd rom it starts to leave, but if you have any other brand of external CD-ROM you will have trouble

  • X 1 carbon Gen3 touch screen camera does not

    Hello As in the description, I have the 3rd generation X carbon 1 with a touch screen. I have problems my camera integrated into the work. I think that I remember when I got to my laptop, but I haven't used in a while. Yestrday, I googled Hangouts to

  • can u answer this question?

    I have a laptop with windows vista chip type: Mobile Intel (R) 4 Series Express Chipset Family and I can't start the mass effect 2 and I almost tried everything. Please if anyone can tell me what I can do I would really appreciate it. Thank you

  • After the system restore its echoes

    Original title: echoes of sound My system has been restored, and I lost all my programs.  I have rebooted many of them, but now the sound is not fair and was not because it was restored...  Everything has an echo, and it's very annoying.   My operati