Can I stop a separation of two edges with infinite time-out?

Hello!

I use the example VI: "soul two Edge Separation.vi ' (see the Archives of this message) with a USB-6251and NI a timeout that is infinite because I Don t know when I need start a new measurement. With the features I need to stop the DAQmx VI "DAQmx Read.vi" If this VI Don t stop in a PRE-DETERMINED time (10 seconds), but I do not know how I should do.

I can´t use a guard dog, because the NI USB-6251 haven´t housing a guard dog. I try to reset the daq with "DAQmx Reset Device.vi", but when I do, the daq break. I also try to use 'DAQmx control Task.vi', "DAQmx's task made" and "DAQmx Trigger.vi" with reference - no, but this screw never run until the end of the "DAQmx Read.vi.

Thank you.

Try the joint.  It is registered as 8.0 because I do not know what version of LabVIEW you use.

The card I have in my machine cannot perform the task you want, so I don't have a chance to test it.

Tags: NI Hardware

Similar Questions

  • separation of two edges using a digital output

    I am using a DAQ, PXI-6229 map and programming in c# .net.

    I'm claiming a falling edge on PFI12 used as a digital output, and I need to measure the time between this edge and a second front on PFI8 used as a digital input.  I have implemented the code using some examples I found.  I don't know when to to argue the signal on PFI12 in order to be read at the right time.  Playback must be put in place before the signal is asserted, but I do not know how to set it up it up properly.

    Here is the code I have so far:

    Public Sub MeasureAcquisitionTime()
    {
    DigitalSingleInputTask = new Task();
    CIChannel counterSetup;
    firstEdge = CITwoEdgeSeparationFirstEdge.Falling;
    secondEdge = CITwoEdgeSeparationSecondEdge.Rising;
    Double minTime = 10-3;
    Double maxTime = 60F-3;
    String auxCounterInput = "/" + CardName + ' / PFI12 ';
    String gateCounterInput = "/" + CardName + ' / PFI8 ';
                
    counterSetup = DigitalSingleInputTask.CIChannels.CreateTwoEdgeSeparationChannel)
    CardName + ' / ctr1 ', 'counter',
    minTime,
    maxTime,
    firstEdge, secondEdge, CITwoEdgeSeparationUnits.Seconds);
    counterSetup.TwoEdgeSeparationFirstTerminal = auxCounterInput;
    counterSetup.TwoEdgeSeparationSecondTerminal = gateCounterInput;
    DigitalSingleInputTask.Control (TaskAction.Verify);
    runningDigitalTask = DigitalSingleInputTask;
    counterInReader = new CounterReader (DigitalSingleInputTask.Stream);
    Double data = counterInReader.ReadSingleSampleDouble ();
    }

    I'm glad to hear it.

    paofthree wrote:

    Is there a way to make a measure of separation of two edges on the analog inputs of the PXI-6229?

    The only way would be to constantly acquire the analog input voltage and calculate the separation of the two edges in the software.

    Best regards

  • Pulse or measure of separation of two edge with implicit synchronization in ticks: what about minVal and maxVal?

    When I pulse or measure of separation of two edges, using the implicit synchronization, DAQmx chooses (I think) an internal time base appropriate for the measurement. My X series on Board (a 6320) has for example a time base internal 100 MHz. I think I can apply to the use of a base of specific time (using the Set accessor of property DAQmxSetCICtrTimebaseSrc to set the counter to the value '100MHzTimebase' time base). But the docs of the DAQmxCreateCIPulseChanTicks and DAQmxCreateCITwoEdgeSepChan functions (this last one called with the parameter to the DAQmx_Val_Ticks units) make me spend a minVal and maxVal. Apparently, these values are used to determine a time appropriate for the implied timing base (internally). But how to choose the specific digraph/maxVal values? They are obviously dependent on the time base, so it's kind of a situation / the hen's egg. Should I just say '1' or '0.1' or even '0 '? Because I * want * the time of 100 MHz, to use base. Or can I simply call the DAQmxSetCICtrTimebaseSrc after DAQmxCreateCIPulseChanTicks?

    1. When you use "Ticks" for units, digraph must be > = 2.  DAQmx does not support measures of 0 or 1 "Tick" of a time value.

    In general, the parameters that minVal and maxVal are mainly useful for people who are measured in scientific units such as seconds.  They allow DAQmx do the dirty work of correlation required range of programming interface with the basics of time available to the Agency and to make a judicious selection automatically.  For people like you measure in ticks, DAQmx won't do the thinking for you anyway, so just give them plausible values.

    2. Thus, maxVal must simply be a valid 32-bit integer.

    3. Yes, you can explicitly configure to use the time base of 100 MHz after the creation of the task, no doubt thanks to the function, you said "DAQmxSetCICtrTimebaseSrc".  (I do my programming in LabVIEW and don't know the syntax of the api code text driver.)

    I believe that if you do not explicitly choose a time base for a task using ticks as units, the Council will use its default time base.  I know there is an api function in LabVIEW to interrogate the database after creating a task, perhaps you have an available too?

    -Kevin P

  • How can I stop my police in failed mail at the time new Roman apple sent emails

    How can I stop my police in failed mail at the time new Roman apple sent emails

    Mail > Preferences > fonts and colours

    .

  • I have two vista windows oem sctatch disk at home. You can download it for me, these two are with the product key to the House.

    I have two vista windows oem sctatch disk at home. You can download it for me, these two are with the product key to the House.
    It is upgraded, the other is an integer telling Windows Vista;
    and the little hard up and down, mouse from left to right,.
    or can you please sent a copy of a disc to my address, this is the right path for fixed my windows vista online.
    (try to contact technical support of the direct Vista operating system)
    How about upgrading to windows 7? Give me the vista on 'the base drive OEM' continues for facilities?
    ----------------

    Replacement OEM or software support of system manufacturer in most cases, you must contact the OEM (OEM) manufacturer or the manufacturer of the system directly to replace Microsoft software that was distributed by your computer. However, an exception is made for operating system service pack media *, for which you can contact us directly.

    • Contact information for the manufacturer of the computer, see the Microsoft Web site at the following address:

      http://support.Microsoft.com/default.aspx?pr=oemphone (http://support.microsoft.com/default.aspx?pr=oemphone)
    • If the product has been distributed by an OEM or a system integrator, the product ID contains the letters "OEM". Visit the Microsoft Web site at the following address, select the appropriate product family, and then follow the steps to find the product ID:
      http://support.Microsoft.com/default.aspx?PR=notsureoem (http://support.microsoft.com/default.aspx?pr=notsureoem)
    • For OEM software, the certificate of authenticity (COA) lists the name of the manufacturer of the computer under the software version name. For more information on the certificate of authenticity, see the Microsoft Web site at the following address:
      http://www.Microsoft.com/resources/howtotell/ww/FAQ.mspx#1 (http://www.microsoft.com/resources/howtotell/ww/faq.mspx#1)

      If you have System Builder software, the COA lists "OEM software" or "OEM product" under the software version name.

    * Note Service pack support only includes what is associated with the service pack itself.

    More information: http://support.microsoft.com/kb/326246

    Regarding Windows 7 - frequently asked questions - Upgrade Options
    http://www.Microsoft.com/Australia/Windows/buy/offers/upgrade-FAQ.aspx TaurArian [MVP] 2005-2010 - Update Services

  • can anyone tell how to compare two documents with two controlled with the same mouse pointers

    can anyone tell how to compare two documents with two controlled with the same mouse pointers?

    Windows and OS X can only display a mouse pointer - it is created by the operating system, not the application.

  • How can I stop Photoshop CS4 create a new layer each time I use the online tool?

    How can I stop Photoshop CS4 create a new layer each time I use the online tool?

    Whenever I use the online tool, a new layer is created. How can I stop this? No settings have been changed.
    Thanks in advance.

    Look at the three options in the top bar.

  • My speed has decreased between the router and the modem is not working properly, what can I do to increase the download speed with my Time Capsule 802.11n

    My speed has decreased between the router and the modem is not working properly, what can I do to increase the download speed with my Time Capsule 802.11n

    A variety of phenomena can affect the performance of its wireless network. You may be able to mitigate some negative effects.

    Solutions to any factors that may have an impact on your wireless network, read use the Diagnostics wireless for you help to solve the problems of Wi-Fi on your Mac - Apple Support.

  • Can not stop random ads from popping up with audio when I'm on Youtube. Irritating and deleting cookies does not help.

    Whenever I go to my Youtube account and watch my own videos or other audio (I guess that 3rd party) video pop up interrupts loudly advertising message. I searched the Internet and made all empty them cache and cookie dumping and I did not add additional modules and it continues to happen. How can I stop this. He is trying to ruin any enjoyment I get from watching a video.

    As mentioned in the post, I didn't Add ons. The audio and video were on the side of youtube I tried to listen to. Apparently, after 3 "clear caches" and 3 "clear cookies" offending advertising quit popping up. Bothers me, anyone could write such intrusive advertising, and get it on the site youtube without consequences. It is resolved, but not with your answer. Please add this caveat.

  • How can I stop Firefox ask for my password all the time?

    Each time my computer (Windows 10) passes to the screensaver, and I go back to him, but my password. How can I stop this?

    It's the computer asking password. No Firefox. You can set the screen saver to ask for your ID or not.

  • source timebase external meter in the task of separation of two edges

    Hi all

    I use a Board OR 6220 and want to make something very similar to what is described in the knowledge base article "how I count Digital edges between Start and Stop relaxing on a NI 6602 Council of counters/timers?

    Anyone know how I change the example program "TwoEdgeSep.c" do not use the internal time base but to use an external source (that I want to count the edges?)

    Thank you for for your time.

    ULI

    Hi Uli,

    You must add a call to DAQmxSetCICtrTimebaseSrc before starts the task to configure the hardware to use an external time base.  You also probably want to change the DAQmx_Val_Seconds
    DAQmx_Val_Ticks parameter in
    the DAQmxCreateCITwoEdgeSepChan
    function assuming you want your result measured in terms of the external clock ticks.

    Best regards

  • How can I stop sharing music on media player with other users on my computer?

    whenever I have download a song off Frost wire, it will appear on media player.  No problem.  The problem is that it also appears on the media player on my profile brothers and when I remove it out of there it also deletes it out of my Media Player.  How can I do so that when I download a song it will only appear on the media player on my profile. I have Windows XP.

    Hi Sean4474,

    What version of Windows Media Player are you using?

    You can follow these steps to stop sharing media & check if it helps.

    a. click the arrow below the Library tab, and then click media sharing.

    b. in the media sharing dialog box, select her share my media to check box.

    c. in the list of devices below the share my media to check box, select a device.

    d. If you do not want to share your media with the computer or device you have selected, click on refuse.

    If you use Windows Media Player 11, you can check this link.

    Change settings for sharing media in Windows Media Player

    Note: This article is for Windows Vista, however it is also valid for Windows XP.

    Hope the helps of information. Please post back and we do know.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I can't stop my personal folders in shared with comments

    Gentlemen.
    Some time ago, I consulted my personnel file (which is C:\Users\) since the guest account. As expected, Windows prompts the administrator password, and I have provided the password. The problem is, the guest account now can always see and open all subfolders and files within my personal folder. I tried to click on the 'Share' button and click on "Stop sharing", but it does not work (it is said that this folder is located in a shared folder).
    I tried to see sharing advanced and made sure the "Share this folder" checkbox is cleared, but it does not work.

    Disable the guest account. You should not use it anyway.

    Do not use the guest account, you see in the user accounts applet in Control Panel. The guest account is a special system account, not one for when you feel hospital. For some reason, it is disabled by default in Windows XP, Vista, Windows 7, Linux, Unix and OS X.

    On TechNet:

    "The guest account is intended for users who need temporary access to the system. However, if this account is activated, a security risk may exist because an unauthorized user could have anonymous access to the system through this account. »

    http://TechNet.Microsoft.com/en-us/library/bb418978 (TechNet.10) .aspx

    So if you have enabled comments, turn it off now and create a standard/Limited (Vista, Windows 7, XP Professional/XP Home) for your visitors. Call the new user account to something like "visitor".

    General recommendations for creating users in Vista:

    You absolutely don't want to have only one user account. As XP and all the other modern operating systems, Vista is an OS multi-user with system built-in accounts such as administrator, by default, all users and guest. These accounts should be left alone because they are part of the structure of the operating system.

    In particular, you do not want one account user with administrative privileges on Vista because the administrator account integrated (normally only used in emergencies) is disabled by default. If you use as an administrator for your daily work, and this account is corrupt, things will be difficult. It is not impossible to activate the built-in administrator to rescue things, but it will take third-party tools and work outside the operating system.

    The user account that is for your daily work must be a Standard user, with the extra administrative user (call it something like 'CompAdmin' or 'Tech' or similar) only it for elevation purposes. As a user Standard is recommended for security reasons and will help protect your computer against infections. After you have created "CompAdmin", connect to it and change your normal user account Standard. Then log on to your regular account.

    If you want to go directly to the desktop and ignore the Welcome screen with the icons of the user accounts, you can do this:

    Start Orb > Search box > type: netplwiz [Enter]
    Click continue (or provide an administrator password) when you are prompted by UAC

    Uncheck "users must enter a user name and password to use this computer". Select a user account to connect automatically by clicking on the account you want to highlight and press OK. Enter the password for this user account (when it exists) when you are prompted. Leave blank if there is no password (null). MS - MVP - Elephant Boy computers - don't panic!

  • Can I use Lightroom CC between two Macs with different versions of the operating system

    I have the CC for photographers. I keep my work to Dropbox LR catalog and access them from my MacBook Air laptop or my desktop iMac computer. Currently, two computers are running the same version of Mac OS. I think to upgrade the laptop for the new OS of Sierra, but because the office is older, I thought maybe not upgrade (it is near the minimum end of systems that can run Sierra). Can someone tell me if there is a conflict with the help of the LR catalog between two computers if they are not both running the same version of Mac OS. When the catalog is saved in the operating system that you are starting, it would still be compatible for use on the computer with the previous version of Mac OS? Thank you! Barbara

    If the machines use the same version of the software, then the files should be feasible in both machines.

  • How can I stop my inbox grippements? It happens several times a day.

    If I haven't used my Thunderbird email for once, when I get back in I find that I can not navigate. I have to go and then again, after which everything works. If anyone can help?

    version 38.3.0 was released in a few weeks. Please update your topic here after update to 38.3.0

Maybe you are looking for