Movement, measurement and time between them

Hello friends,

I have a doubt with my program. I made a statemachine (using the 9.0 lab, which is not possible to use a new) to move two motors and a measure of the (curved). Move engines measurement is performed, and this measurement is done in the same time Motors move, why?

What should I do? I want the engines move, and then do the measure, when this is done, then move the engines again and so on.

Any idea? Any help is appreciated.

Attached you will find the program (sorry because of the drivers, they are Thorlabs for engines and Keithley 2400 for the measure)


Tags: NI Software

Similar Questions

  • On my iMac OSX El Capitan v 10.11.3 when editing of photos and work between them the screen takes over and moves the picture on the next picture before Ive had the chance to edit, I then fold the photo required to try again. This can hap

    On my iMac OSX El Capitan v 10.11.3 when editing of photos and work between them the screen takes over and moves the picture on the next picture before Ive had the chance to edit, I then fold the photo required to try again. This can happen several times and its so frustrating.

    Similar thing TI also occurs when you are working on other programs on the mac, but not nearly as much.

    Guessing here, but try to disable drag between pages on the tab more than movements in the system preferences > mouse. or a Trackpad. Depending on whether you are using.

  • the BACKSPACE key does not work properly and if I want to enter the same letter twice it takes time between them

    the BACKSPACE key does not work properly and when I want to type a leter twice I have white some time between them

    Hello

    In what program?

    Don

  • Measure the time between the ridges of the periodic input signal

    We have built a circuit which is supposed to mimic an Exercycle.  We have an IR switch and a spinning wheel, the rccb meets a comparator circuit and the output of the element of comparison, we have running in LabView.  We successfully were able to measure the number of rotations of the wheel and the total distance travelled by the wheel, but are struggling to measure speed.  We cannot find a way to measure the time between picks in real time, which we could then divide the wheel circumference and calculate the speed in real time.  The VI I posted has a square wave simulated rather than the signal we receive on our circuit.  Thanks in advance for the help.

    Jon and David

    I think you're overloading the things trying to get the time between two pulses.  Instead, you can use the VI Express your measures and select frequency for her custom. Then, you can multiply the circumference of the wheel of the frequency to get the speed.

    I hope this helps.

    -Christina

  • How can I measure the time between each two successive increase edges, using digital input?

    Hello

    I have tried two measure the time in seconds between each two successive rising edges on a digital input.

    So far I managed to detect the rising edge, increment a counter at each rising edge and take the time during which the increase is edge

    all I need now is subtract edge currently rising from the previous era of edge rising to calculate (T), which can be 1/frequency and display in real time for the user.

    but I do not know how to do this

    Can someone help me please!

    Woah!

    Sorry Apok, but your code becomes much too complicated and salty. I don't think that all records to offset or Boolean conversion/operators are necessary at all.

    If you want to measure the time between two keys so it's another (much less complicated) way. It simply records the time when press button in a registry change, then compares the two.

  • How can I measure the time between the two edges of successive increase, using digital input...

    Hello

    I'm trying to measure the time in seconds between each two successive rising edges on a digital input.

    So far I managed to detect the rising edge, increment a counter at each rising edge and take the time during which the increase is edge

    all I need now is subtract edge currently rising from the previous era of edge rising to calculate (T), which can be 1/frequency and display in real time for the user.

    but I do not know how to do this

    Can someone help me please!

    Note: while I am in a position varies between 200 ms - 2 seconds


  • Measure the time between two digital pulse

    Hello

    For a non-critical calendar application, I need to measure the time interval between consecutive TTL pulses, ranging from the order of 0.5 s for a few seconds, with a low accuracy of +/-10-50ms. The interval being measured varies between the rising edge of the first pulse and the front of the next and so on.

    I have several input lines I need to deal with. Because it's a critical machination low cost, I don't want to use digital counters for each line, so I work with an acquisition of data USB6008 and have connected the input rows TTL on the digital inputs of the device. Avoiding will be sufficient.

    I found a good example of VI on discussion forums that does almost the same thing, only it uses instead of the DAQ Assistant user input. The VI works including the time the program going on in a while loop. I replaced with the DAQ Assistant output (a channel) user input in the hope that it is still work.

    When I run the program in "run once" mode, it seems to work perfectly. However, in "continuous run" it measures only a very small interval, probably just the time between two samples.  I think it has something to do with the help of a while loop in combination with the DAQ Assistant. Anyone who has any suggestions how to solve this problem?

    Thank you!

    OK... first of all, you should never use the button "run continuously.  I wish that NEITHER would be to eliminate it, but told me that it is sometimes useful for debugging.  If you want your program to run over and over again, use a while loop with a stop"" button.

    If I'm reading your code correctly, you make your initial moment, and then collect data from data acquisition.  When one of the channels is "T", you stop your loop and the end time of capture.  (By the way, why you convert your table to a cluster?  Why not just index the appropriate channel in the table directly?)

    Since you want to capture the time between two consecutive pulses, you need to know when a transition has occurred... i. e when your digital line went from F (no pulse) to T (pulse start).  This will give you your forehead.  Right now, all you're doing is looking for a value T - so you have no way of knowing if you are looking for to the previous impulse again, or a new impetus.  You also burn 100% of your processor with the way you have your programme in place.

    You need a small loop delay so that your VI is not 100% of your hogs CPU time.  Given that you can live with an accuracy of 50msec, what I suggest that you use.

    See attached picture for you give an idea of how to implement.  He will probably need some refining operations, but it should point you in the right direction.

    I hope this helps.

  • my security system says I have to fitrewalls of operation and conflict between them how can I close an and will clearly be my treatment slow exremely (of many gurus aslledged on my computetr)

    my computer is tellking me I have two firewalls running adding that they can / will conflict with each other.  This will slow down the speed of my computer and if so, how do I close one as you can tell I'm learning but too useful? gurus with own ideas thanks bob

    Hello

    Having a firewall protects your computer can cause problems system, slow, etc., such that there is a conflict between them.

    This normally happens if you have an Internet Security Suite, which includes its own firewall, protecting your computer and have Windows Firewall enabled, too.

    What Antivirus program you have installed?

    And what program give you this advice?

    And you are using a 3rd party Firerwall?

    Zone Alarm is an example of a 3rd party firewall.

    You can disable the firewall of a Suite Internet security within this program.

    Here's how to disable the Windows Firewall:

    http://Windows.Microsoft.com/en-us/Windows-Vista/turn-Windows-Firewall-on-or-off

    But before you let do us know what Antivirus you are using to ensure that you receive a message authentic on this firewall problem.

    And you must also have an antivirus installed for the same reasons.

    See you soon.

  • Extended screen - scrolling up and down between them

    On an Acer V17 Nutro, is it possible to put the scrolling with the mouse up and down between the screen extended instead of the left and the right?

    PamL,

    When you are on the screen that allows you to change the resolution, you should see two screens listed. You can click and drag the monitors where you want, which should allow you to place one above the other and make sure you go up and down instead of left and right.

  • Measure the time difference between a digital output and an analog input that responded to the questionnaire

    Hallo,

    I use the following system:

    • OR PXI-1044 with controller NI PXI-8109

    • OR PXI-2564 switch module to turn on the monitor of my test device

    • Data acquisition multifunction NI PXI-6259 to measure the signal that responded to the questionnaire jump

    The two cards are the same - PXI trigger bus. For both, PXI-2564 and PXI-6259 I use DAQmx to set the reading and writing of the channels.

    Now, I want to measure the time between the digital output, my unit turns and the analog input, which measures the response of my system.

    I can't do work by myself, please help me!

    I thank Ludwig.

    Hi Ludwig,.

    If you can't give us any VI we have difficulties with to help you.

    Because I Donat knowledge how your program is mounted it is not easy to know where you should enter signals.

    Here's a question similar to yours:

    http://forums.NI.com/T5/LabVIEW/best-way-to-measure-time/TD-p/178704

    and 2 external links:

    http://www.ehow.com/how_8698983_measure-time-LabVIEW.html

    http://objectmix.com/LabVIEW/385152-how-can-i-use-LabVIEW-measure-time-between-analog-pulses.html

  • How can I use 2530 b and 4065 to measure the resistance between two selected pins?

    I want to be able to select 2 corners on a test with 2530 b set-up and measure the resistance between them with a 4065 DMM (PXI all). Ankles in question are each in blocks of 32 different poles, so I can match them in a double configuration 32 x 1 four or 64 x 1 if necessary. I can measure the resistance between several different pine sets as 0 on 33 pine pine, pin 0 at pin 34 pin 0 to 35 pin and pin 1 to 34 pin, pin 1 pin 36, etc.

    I understand how to measure resistance between a given pin and Earth using the the 2530 4065/b using the wizard OR-DMM/Switch Express, but it is unclear if I can measure the resistance between the two pins of selected by different user. I am a newbie of labview, used to write things in c#, so it may be something very trivial (I hope).

    Any ideas?

    Thank you

    -Russ

    Hey Russ,.

    I recommend starting with the following example (located in the Finder the example ('Help' to find examples):)
    "" Material input and output"Modular Instruments ' OR-Switch" niSwitch Dmm Switch Handshaking.vi

    Because you use a scan list, you can simply drag the two connections to the same entry and then the switch will wait for the two to settle before you send a trigger of the DMM... problem solved.  For example, to connect the CH1 to Com0 (DMM +) and CH93 to Com4 (DMM), then take a measure, then connect CH38 and CH120 to the DMM, you would use the entry list of scan to the following address:

    CH1-> com0 & ch93-> com4; CH38-> com0 & ch120-> com4;

    Note You can have as an entry in list of switch module scan.  In addition, you can only have a single advanced analysis and a measure full per switch module.

  • Let a burn of LED on a random time between 3 and 7 seconds

    Hi all

    Probably, it's a matter of simpel for many of you, but not for me. I try to make a counter reaction time. And I hope someone can help me with the first part: the led must Flash on a random time between 3 and 7 seconds.

    After this need to measure the time between burning directed and by pressing the stop button

    Results ranking in a table

    After the display of ten measures of response time average.

    I hope someone can help me to launch it, I need it for school.

    Thank you!

    Matthijs

    Netherlands

    Code Simon put tapped off.  The Down button was a nice touch, but cannot be disabled so we were testing times preaction and the param 'Trial' could get pretty messy especially on a series of rehearsal

  • measure the distance between 2 impulses (PCI-6221)

    Hello

    I have a digital signal that sends a pair of impulses (100ns width each) roughly every 100ms and I measure the time between two pulses of a pair (with a resolution of 100 ns).
    For the moment, I got a card PCI-6221 to accomplish this task. Unfortunately, I have no solution until now only measures of counter, I found measure time between constant frequency signals, i.e. they cannot measure the distance between 2 single pulses.

    Any help / ideas / or even telling me that it is impossible to solve this task are appreciated

    Are the two pulses on the same line?

    If so, you need to just configure a task of the measurement period.  If they are on separate lines, you would use a task of "separation of two-edge.

    You might be to throw off by the timing of it:

    If you do not configure implicit synchronization in your task, will start on the first edge after DAQmx Read is called.  Thus, in order to intercept the signal, that you must configure your task, call DAQmx Read and then start your two squares.

    If you want the task to control the signal continuously, you must configure name timing.  In this case, you will receive a sample on each rising edge of the external signal (assuming that the two impulses on the same line) - If you start the task of counter before starting the production of pulses (which you probably should), then the same samples correspond to the time between pulses, the odd samples would be the time between each series of pulses.

    More information on modes of counting on the 6221 lie in the M series user manual.

    Best regards

  • Measurement of time for various pulses end

    Hello

    I need help in the measurement of time.

    Is attached to the question,

    As a microcontroller, we can use of timer count between pulses of variable duration N. say N Pulse 1 pulse 10ms, 2 20 ms pulse and pulse 3 duration of 30ms.

    Even as I will measure the time between two pulses as marked in the picture, please give me a solution, I tried to use the number of samples/sampling rates that it does not work.

    Pulse I'm acquisition is of variable duration.

    Concerning

    Nitin

    Hi Nitin,

    What has changed since your other thread for you to believe that you must create a double post in a new thread?

    Why not stick with your old thread?

  • How to go back and forth between e-mail, other web sites from windows?

    I lost the function for my internet, e-mail and other files to be "separated", while I am able to come and go between them several times.

    ALT - tab

Maybe you are looking for

  • After the replacement of my iPhone screen 6, front facing camera does not work.

    After the replacement of my iPhone screen 6, front facing camera does not work. The rear camera works fine, but when I switch to selfie cam I saw a still image of what was on the camera back; and on snapchat it simply refuses to move to selfie cam. I

  • ThinkPad X 1 carbon (20BS) camera not found

    After trying to update the driver for the built-in camera and finally uninstall the driver, then try to re install the driver. My work still dosent built-in camera. What could be the problem? This problem started after installing the update of Window

  • Configure the router linksys on windows vista

    Recently I bought a linksys wireless router and have problems when configuring it on windows vista home. I have read many articles that while configuration that I need to connect the DSL modem (DSL in my case) to the router (WAN port) and also a thre

  • Network Realtek driver installation problem

    I'll have to install a driver for my Realtek network card on my motherboard ASUS P8Z77V-LK. When I try to install the driver, I get this message: "not found Realtek network controller. If hibernation is enabled, the cable please. "I went into the Dev

  • Interpretation of the events of SNMP Trap

    Hey everybody, I currently receive SNMP traps for important alerts to the IPS, we put in place. The logs for these traps look like this: ENT value 6:. 1.3.6.1.4.1.9.9.383.1.2.3 = This signature is a Metacomponent ENT value 7:. 1.3.6.1.4.1.9.9.383.1.2