Stop acquiring both

Hello

I have a data acquisition and control Rs-232 all in a while loop.

The biggest problem is that it takes a while when

I press on cancel or stop button to stop really. How can I configure this

to the highest priority or as an interruption stop button so that

whenever I use Shutdown, application stops instantly. For the moment, is not

answer to stop when its acquisition.

You are right that you will not be able to use the functions of acquisition data OR data of other manufacturers equipment acquisition, but more the concept would be the same. Acquire a small amount of data if the application is not stuck in a 3-4 second acquisition process. If 100 ms is not long enough to get all the data, you can increase this time according to the needs. It will eventually be a balance between the amount of data to enter and how 'reactive', you want the button to be.

Without knowing how works of your hardware configuration, I can't really give any advice on how to set the frequency of sampling and samples to read. Sometimes you just need to do a little trial and error until you find a good balance.

Tags: NI Software

Similar Questions

  • computer stopped recognizing both printers

    Until yesterday my computer recognized and easily printed through two of my ethernrt connected printers. Computer is hard wired through router as are two printers. Why is this happen and what to do to fix this. I can always print from a wireless such as my phone device.

    After resetting the printer and router several times everything is running smoothly.

  • Scripts to stop working when lying down with the 'extra features '.

    I have a few scripts that work very well to both Pro and the player, but when I Save As-> Reader Extended PDF-> activate additional features, they stop working (both Pro and player). Other scripts in the same form continue to operate perfectly. I am at a total loss, and so are my IT people (who certainly aren't exactly experts form/JS/Adobe...)

    I fight with this problem and for a week or so now and I tried a couple of different approaches - I'm a JS pilon, and I'm sure that there are more effective ways to do what I want to do. But what I'm trying to give me a different problem . I'll try to separate different issues in different positions... but I'm confused enough!

    For what it's worth, problem scripts are on the first and last master page, while those who are working is on normal pages.

    The goal is to reuse a partially completed form for several different phases of an approval process. Each version gets a different title and a further subform is visible during the phases of 2nd, 3rd and 4th.

    Here are the global workflow:

    • Phase 1
      1. The form begins with the title of Phase 1 and the additional subform 'hidden '.
      2. A remote user fills out the form and return to the program coordinator.
    • Phase 2/3/4
      1. The Coordinator saves a copy of the form with a different name.
      2. The Coordinator checks a check box "for admin use only" to show a group of radio buttons. Each option modifies the title and sets the presence of additional subform to "visible".
      3. The Coordinator Unchecks the check box "for admin use only" to hide the radio buttons.

    The title is in a text field. Scripts change the rawValue of the field for each option.

    In this case, I have the following script to initialize it and calculate the event of the text box:

    If (S_SelectTitle.S_Actions.RB_SelectTitle.rawValue == 2( )

    this.rawValue = ' Phase 2 ';

    otherwise if (S_SelectTitle.S_Actions.RB_SelectTitle.rawValue is 3( )

    this.rawValue = ' Phase 3 ';

    otherwise if (S_SelectTitle.S_Actions.RB_SelectTitle.rawValue is 4( )

    this.rawValue = ' Phase 4 ';

    on the other

    this.rawValue = ' Phase 1 ';

    and a similar code in the events, initialize and calculation of the subform to make his presence 'visible' or 'hidden '. (I used this strategy before initialize/calculate event, it has always worked well. But I "(ve rencontrer deles de problèmes avec elle dans l'une deles de approches remplaçant je me sers dans le présent formulaire, donc je suis totalement ouvert àles autres moyens de le faire...)"

    Until I developed the form for the reader, it works fine. The changes of title properly selected button, the new subform appears at the end, and option buttons disappear when the box is unchecked.

    After I extend for reader, nothing works except the checkbox. The title does not change, and the subform never appears.

    Help? Thanks in advance!

    Well, it seems that the interactive objects on master pages are problematic. Using a few of message boxes, we discovered that the Initialize event fires whenever a radio button on a master page is selected, but not when the radio button is in the body of the form.

    So whenever we clicked on the option button on the master page, the event initialize the value of the group just exclusion set back to the default value (which was zero, in this case). So the title never changed, because the radio button setting glue.

    For this form, I found a way to remove the option buttons in the master page. Not only the titles in headers change correctly, the form also works with the enabled extensions Reader!

    I don't know what problem was hanging me up - the buttons on the master page or Reader extensions - or if they are tied together in some way. But the moral of the story for me, anyway, no more buttons on master pages. Hope this helps someone else!

  • Stop and restart the cssd on all cluster nodes

    Hello

    Release our system to operate under linux Red Hat Enterprise Linux Server 5.3 (Tikanga) 2.6.18 - 128.1.1.el5
    Our ASM is 11.1.0.7.0 block of POWER 2
    Only ASM is clustered. Databases are not.
    2 cluster nodes (Clusterware 11.1.0.7.0)

    I have two questions:
    1. we need to stop and start the cssd (crsctl stop crs, crsctl start crs) on both our 2 nodes of clusters.
    In our test group, I stopped first the ASM and dbs all running on 2 nodes
    Then I got arrested and restarded the cssd on the first node, and then on the second node. What is the good order or procedure?
    I noticed after the cssd (crsctl stop crs) stopped the process "/ bin/sh /etc/init.d/init.cssd fatal" was always present. I waited for 30 seconds, but he was always there. Then I restarted the cssd (crsctl start crs) in any case. Why was the fatal process always there? It happened on both nodes. After you restart the cssd, I killed the "/ bin/sh /etc/init.d/init.cssd fatal" on both nodes. He was evidently reappear.

    in the event that we want to restart both nodes of the cluster, should 2 - I start by disabling the crs before restart the cluster of 2 knots (crsctl disable crs), and then turn it back on after that 2 linux servers are back (crsctl enable crs)?

    Thank you, man

    Hello

    So, for the closure of this thread, which is the appropriate procedure - for them stopping and restarting the cssd on the two cluster 2 node - among the two below:

    1 - do a "crsctl stop Sir' and then 'crsct start crs' on the first node. Then do the same thing on the second node
    2. make a "Sir crsctl stop" on both nodes. Then do 'crsct start crs' on both nodes

    I want to avoid is the two nodes start to restart because of the cssd.

    You can run 'crsctl stop/start' at the same time on both nodes or so as you want (1 or 2), no problem.

    If you start the clusterware on a first node and later the second node, just make sure that all services who were on the first node the second node have been properly resettled on the second node.

    Kind regards
    Levi Pereira

  • Stop all movieclips on stage and it is nested movieclips

    Looking for a way to stop movieclips both are stage and who are children of those on the scene.

    I played with a loop through children of the internship so I can first target the clips on the stage. But I get the error message. Any help?

    for (var i: int = 0; i < this.numChildren; i ++)
    If (this.getChildAt (i) is MovieClip)

    {

    this.getChildAt (i) .stop

    }
    }

    You will get a different error if it was just a typo... a 1119 is a mistake of property, a 1061 is an error of method, which is what you should get if you just had a typing error in your ad and not in your code.    In all cases, try to cast the object to be a MovieClip and should be resolved the probem...

    If (this.getChildAt (i) is MovieClip) {}

    MovieClip (. stop() this.getChildAt (i)();

    }

  • How can I use notifications to send data from different sources for the same chart?

    Hello

    I use the model of 'Continuous measurement and logging' project comes with LV 2013.

    It is extremenly helpful in understanding the messaging between the acquisition, graphic and loops of newspaper. (Thank you NEITHER!)

    I ran into a snag though.

    I want to change so that my graphic loop receives notifications of data from two sources of acquisition by the declarant.

    I have trouble getting the data from the two sources to display on one graph.

    I've isolated the problem in the attached vi.

    Here's what happens:

    1. I create 2 parallel loops data and send the data to a third parallel loop with the notifiers.

    2. the third loop receives data from one of the loops because one of the authors of just receiving notifications is to expire instead of receive data.

    Can anyone suggest how can I fix?

    Thank you.

    -Matt

    Here's my modification of your VI. I put notes on the block diagram to explain the changes. He uses a queue for data transfer to avoid data loss. It uses a notifier to stop loops. All local variables and value property nodes have been eliminated.

    The way loops are arrested probably let some data in the queue. No more of one or two iterations of each of the loops of data acquisition. If you need ensure that all data has been displayed (or recorded in a real application), then you must stop acquiring loop first and read the queue until you know it's empty and both other loops stopped. Then stop the render loop and release the queue and the notifier.

    Lynn

  • Redeclenchee HW with line Enable Pulse Train

    I am using the 'Multi-multifunction-Ctr Retrigg Train generation of impulses for the Clock.vi sample' in the Finder for example LabVIEW to sample a waveform. It worked great, but now I need to sync my purchase with another piece of equipment. The material defines a "Enable" high TTL line when it is ready to acquire and I need to start my purchase at the pulse of available next synchronization. The option "Activate" is low and I have to stop acquiring after than the gust / the current image is complete. I tried to use a line of 'Pause' and a 'Digital Plan' trigger but doesn't seem to work with a finite pulse train. Since it kinda is diffficult to explain in the text, I have attached a waveform.

    Any suggestions? I use an inLabVIEW DAQPad 6016 8.5.

    I would treat differently the digital. If you watch the digital parallel and just read single points, then you will have a quick way to signal to the loop to HAVE the enable option has been low. I added an untested VI which should give you the idea. There is probably a better way to manage stopping both loops, I just did a quick and dirty method. After watching your VI it dawned on me that you could build a machine of the State where he's just looking for available samples then actually starts reading, and once there are no samples available after a certain period of time you would stop. You would still need the door AND but would not need to worry monitors the enable line. This would be probably as fast that monitors the line to activate it if.

    For a door AND every door TTL AND must accept a 5 V power supply. If I remember just a 74LS08 should work - if you only need the one you may be able to get a free sample.

    see you soon,

    Andrew S

  • Assistant DAQ synchronization settings

    I have what I think, it's a simple question. I'm under DAQmx with the following parameters:

    Acquisition mode - meter samples

    Samples to read - 1 k

    Rate (Hz) - 10 k

    First of all, I understand that under continuous samples never stops read data and control the box 'samples to read' reading how it is averaged together to create a single data point. If this is incorrect, please specify my question may be null.

    My question is; with my settings, is she out 10 k datapoints per second (collected from 10 000 000 readings per second)? Or is it take 10 000 readings on average 1,000 of them at a time, then exit 10 datapoints per second?

    It will display every 100 m 1000 samples each sample will be taken to intervalles.1 to ms. There is no average goes everywhere. Arithmetic is basic - samples divided by samples/s is equal to acquire both. If you had 1000 samples per second and asked 100 samples, the acquisition time would be the same, but each sample would be 1 ms apart.

  • 6 pro: Managment Services is offline (RNOS 6.4.2)

    All,

    I've seen this problem on other posts, but not of direct response. My NAS has stopped responding, both WebGUI and SSH work more. It could have happened after that she filled.

    Unfortunately no guarantee but any help is welcome.

    Dave

    There was a problem with the file system on the volume of the root, so I copied the content off, formatted the volume root, copied data retrospectives and fixed a number of things with the volume of the root and then he started back to the normal mode.

  • Need Internet

    I recently received this error: "INTERNET REQUIRED - connect to Internet to run this application." I travel a lot, so when I do, I put the phone in airplane mode and play games or access applications, when I'm traveling. I haven't added new applications recently, so I do not know what causes this problem. I KNOW that I have access to the internet to use some of my apps, as I have not had to do in the past. I did not a factory reset again... like it's a pain, but I want to save as a last resort. Some of my programs are games, and some are applications such as PDF To Go, Bejeweled, lyrics of songs from the 1980s and some Word programs. Something caused my bionic suggests that he needs access to the internet to work apps. When I access the internet, programs of work well. I am at a loss as to why this is happening. Any ideas? P.S. I just tried to send it 5 times now and when I do, the text appears in the box, but after that the window flashing, I have received a warning that I am not allowed to leave a position empty. So... who have left a little nudge down... Be patient!

    Published by joelbon. OP did not post the comment, so I copy and paste in their.

    OK, now that we know the problem, we'll see if we can find an answer. Next time you go somewhere that you put the phone in aiplane mode try to run in safe mode. You will have access to one of your 3rd party applications, but if you do not get this error you will know for sure that it is one of the 3rd party apps that causes the problem.

    I really think that it is a 3rd party app to the cause. Something else you could try would be to go to Applications > current execution when you see the problem happens. This will restrict the apps that you have to solve the problems to who is running at this time. From here you can stop until both until you no longer see the problem or uninstall applications in this list that you think could be the cause of the problem.

    Most of this is only a guess and takes time to identify the culprit. I hope this helps.

  • Why always the maps app shows directions

    Why the maps application still displays guidance at home when I look in the eyes. She does even when I stop on both tips the watch and phone. Is this a normal behavior? Is it possible to stop him? Thank you.

    Hi Eric

    The look of cards will always show your current position.

    If you have an upcoming event in your calendar, the look of cards also always automatically will show you the directions for this event. This feature cannot be disabled.

    If you want to suggest that Apple consider adding an option to turn this feature off, you can do so here:

    https://www.Apple.com/feedback/watch.html

  • Engine for MyRio adapter command 2 DC motors

    Hello

    I have a question about the adapter engine for the MyRio. I found the following code example:

    https://decibel.NI.com/content/docs/doc-45592

    This afternoon, I was able to drive a motor continuous using this VI, but I want to use to control 2 Motors continuous. I tried the following (see photo) and it did not work.

    What should I do for the second DC motor?

    Thank you!

    Hello

    Well, the next time you post, it would be useful to have all the information to start with (what does your system, errors, measures

    you have taken to solve the problem, etc.). This way more people will respond and we can help you more easily.

    By parallel loops, I just run two processes in separate loops at the same time in the same VI (what they do on the link).

    If you think about it logically if this initial process is running one engine, then do the same exact process but that it points to the

    second motor will run the second engine. So, if you include the two pieces of code (exactly the same but different engines references) in the same VI then it can run two engines.

    If you look at the link I have attached before she speaks of two ongoing processes at the same time within the same VI.

    You can then use queues and the authors of the notifications (look in them) to communicate between the two processes you use, allows from Control Panel even before to control them and stop them both at the same time.

    With this, you should be able to all both enforce.

    Hope this helps

  • suggestion for pH adjustment alogrithm

    Hi, here is my code to judge pH and adjust pH using state machine.

    I just finished the case when pH > 7.5, I did not the case for pH<>

    I understand his very inadequate because it lacks control actual alogrithm; But I really don't know how to program a controller to connect the value of pH and time together.

    In VI, you will see that I adjust the pH by opening / closing relay card that pushes further to open/close valve to let flow the electrolyte out / stop.

    We will experiment to determine the time of opening and closing valves... It will be invlove much work and I am aware.

    Any suggestion about the programming technique, bug, etc. will be appreciated. Thank you!

    p.s the delay EIB VI is provided by one of the forum administrators OR.

    Hello

    -You could wire the stop input in the DAQ assistant and the exit at the end of the loop condition to stop acquiring after 5 seconds.

    Concerning

  • Pavilion 17-f071: a port is better than nothing...

    two of the three USB ports on a 17 - f07 Pavilion has stopped working. both on the left side.
    What could have happened?  whether it is a physical defect (soldering iron) or a software like driver failure? have downloaded countless "practical USB" HP and other assistants of solution without success and I've debugged from all directions without any sensible response. any theory or the answer to this problem? Thanks for the replies.

    mHead

    Hello

    Please try:

    http://support.AMD.com/en-us/download/chipset?OS=Windows%207

    Kind regards.

  • Digital output on two fronts and internal clock edge

    Hola,

    I use a PCIe-6537 and LabView 8.6 unit. This unit has an internal clock up to 50 MHz. I am trying to output a digital square wave at the maximum rate of 50 MHz I put my 50 MHz clock frequency, build my table of 1 and 0, convert it and the digital waveforms (on port0/$line0 if it makes a difference) output. During playback of the wave on a scope it shows a [very] good, but only 25 MHz square wave. The reason for which I believe is being only a sample of output (1 or 0) DAQ card for each rising edge of the clock and not fall. This is why the output wave will always be twice as slow as the clock frequency. Is there a way to power on the edge both amounts and descendants of the sample clock so that I can get a square of 50 MHz, wave or should I try a different technique?

    I'm all ears...

    ~ JS

    ISO

    The ability to generate/acquire both the rising and falling clock edge is called double rate (DDR).  We have an application on the use of DDR note with our instruments.

    Of the advanced features of digital devices: Double data rate

    The Board you use, however, is not capable of a double speed.  The only devices capable of DDR at the moment are the NI 6561 and NI 6562, which were maps LVDS.  You can get out on the forehead or the edge down, not both.  You can use an external circuit to generate a signal of 50 Mbps.  Basically, would need you an XOR gate and combine two different ways to create a signal 50 Mbit/s on a 50 MHz clock frequency.

    Here is an example of how you can achieve.  The white paper I mentioned above will guide you in this process.

    On the other hand, we have boards of 100 MHz that will give you a square of 50 MHz, similar to the desired wave.  The NI 6542, 6552, 6544 and 6545 are all 100 MHz or higher.  The SMU-6545 is a 200 MHz Board.  You can use one of these tips to generate higher frequency signals.

    Hope that helps.  I would like to know your opinion on this.

Maybe you are looking for