cDAQ9184 for the measurement of the angular position...


Hello

It works now... Thanks for the customer support OR. The measure of the angular position uses a signal generated internally by using a counter ("/ cDAQ1/Ctr1InternalOutput").

ARO

Ilkka

Tags: NI Software

Similar Questions

  • With the help of a NO-9401 read the angular Position and trigger a reading I

    Hi all

    I am writing some software dependent vs angle chart and to the monitor when the buttons are pressed.  The software allows all DAQ lines to be configured so that multiple configurations data acquisition can be used.

    Currently, I peut use my NOR-9411 read the angular position of my quadurature encoder and trigger the playback of my entry (measured with a NEITHER-9219 or 9237) load on a rising edge of A or B input terminal analog.  Also, I can configure the software to do the same thing with a card OR-6259.

    My problem is that when I switch to a NO-9401 to read my meter task, I can no longer use the input terminals A or B to trigger my analog input.  I get error-200414 saying that the entry A (PFI0) is an invalid clock source.

    I know that the 9401 is configurable by nibble for input/output lines0:3 and 4:7, but how that affects the ability of a trigger, a route line PFI?

    Measurement and Automation Explorer shows it as an acceptable way of PFI0 AI/StartTrigger and AI/SampleClock.

    I joined the my code section that defines the tasks and that causes the error.  You take a look in the Utilities folder and open the Tasks.vi create.

    I am writing in LabVIEW 2011.

    Thanks for any advice,

    Rob Afton

    Test lab engineering intern

    Found my answer here if anyone has the problem:

    Link

  • Use the angular position of the encoder to trigger Digital out

    Hello

    I am a novice user of labview, I have access to three modules, two NI9201 and a NI9401.

    I have an angular encoder is used to measure the angular position of a crankshaft of engine, what I try to do is to use the encoder to trigger a digital camera (spark in the motor event) at a certain angular position.  For example, I would like to start up (or) stalled, then I want to change that to + 5 degrees on the encoder, etc.

    So far, I am able to read in the angular encoder when the engine is running, I am also able to output digital signals even if I can't find a way to connect the two.

    If anyone has an idea how to do this, it would be greatly appreciated, I am attaching my VI.

    Thanks in advance,

    Nick

    Hi Nick,

    I hope that the vi attached you will get on the right track.  It's just a general concept.

    The while loop will work until you press the stop button.

    I guess you'll need a spark by revoultion.

    This VI is really just an If/Then

    If the encoder value is equal to (in this example) zero,.

    Trigger digital output.

    I know that I have a wire cut, but I didn't know how to get the angular position of you DAQmx.

    Let me know if this help. (Also let me know if I'm off-target)

    Good luck

    Bill

  • Compensate for the div / positioning in IE problem

    I posted this problem in another thread, but it was a sub-question. Anyway, the problem I have is positioned a div on all other divs. I managed to make it work perfectly on Firefox and Chrome as I wanted. The problem is usually when it comes to internet explore. I want just the image or the div on the right side of the site, but always placed by changing properties will give the same result, places of internet explore is far away where it is supposed to be. I'll add pictures, the code and the site below. Any help would be appreciated.

    View of chrome:

    Chrome View.png

    View of Firefox:

    Firefox View.png

    * IE View (false):

    IE View.png

    Web site: http://emergencyclean-up.com

    Code:

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < title > emergency Clean Up Homepage < /title >

    < style type = "text/css" >

    {body

    background-color: #333333;

    }

    #entireSite #sidebar #spacer {}

    height: 300px;

    Width: 350px;

    }

    #entireSite #sidebar #newsletter {}

    background-image: url (.. / Images/NewsLetterBackground.png);

    height: 165px;

    Width: 350px;

    color: #FFF;

    }

    < / style >

    < link hand. CSS"rel ="stylesheet"type =" text/css"/ >

    "" < script src = "... / SpryAssets/SpryMenuBar.js" type = "text/javascript" > < / script >

    < script type = "text/javascript" >

    function MM_swapImgRestore() //v3.0 {}

    var i, x = offline. MM_sr; for (i = 0; a & & I <.) Length & & (x = a [i]) & & x.oSrc; i ++) x.src = x.oSrc;

    }

    function MM_preloadImages() {//v3.0

    var d = document; If (d.images) {if(!d.MM_p) d.MM_p = new Array();

    var i, j is d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i <.) Length; i ++)

    If (a [i].indexOf("#")! = 0) {d.MM_p [j] = new Image; d.MM_p [j ++] .src = a [i] ;}}

    }

    function MM_findObj (n, d) {//v4.01

    var p, i, x;  if(!d) d = document; If ((p = n.IndexOf ("?")) > 0 & & parent.frames.length) {}

    d = parent.frames [n.Substring(p+1)] .document; n = n.Substring (0, p) ;}

    If (!) () x = d [n]) & & copyrights) x = d.all [n]; for (i = 0;! x & & i < d.forms.length; i ++) x = d.forms [i] [n];

    for (i = 0;! x & & d.layers & & I < d.layers.length; i ++) x = MM_findObj (n, d.layers [i] .document);

    If (! x & & d.getElementById) x = d.getElementById (n); Return x;

    }

    function MM_swapImage() {//v3.0

    var i, j = 0, x, a = MM_swapImage.arguments; document. MM_sr = new Array; for (i = 0; i <(a.length-2); I += 3).

    If ((x = MM_findObj (a [i]))! = null) {document. MM_sr [j ++] = x; if(!x.oSrc) x.oSrc = x.src; x.SRC = a [i + 2] ;}

    }

    < /script >

    "" < link href = "... / SpryAssets/SpryMenuBarHorizontal.css" rel = "stylesheet" type = "text/css" / >

    < / head >

    < onload of the body = MM_preloadImages('..) ' / Images/Buttons/buttonOver_01.gif ','... / .png images/WaterDamageOver ','... / Images/FireDamageOver.png ','... / Images/MoldRemediationOver.png ','... / MovalOver.png images/SootRe ','... / Images/OdorControlOver.png ','... / Images/facebook - logoOver.png ','... / Image s/yelp - logoOver.png ','... / Images/LinkedIn_logoOver.png ','... '. Twitter/images /-logoOver.png') ">"

    <!-it starts the encoding for the centering of the entire Web page->

    < div style = "width: 100%;" >

    < div style = "width: 900px; margin-left: auto; margin-right: auto; ">

    < div style = "width: 100%;" float: left; background-color: #333333; ">

    <! - this starts the background for the navbarArea layer - >

    < div id = "navbarArea" >

    <!-this starts the container div for the navigation bar->

    < div align = "center" >

    < div id = "navbar" >

    < ul id = "MenuBar1" class = "MenuBarHorizontal" >

    < li > < strong > < a href = "index.html" > Home Page < /a > < / strong > < /li >

    < li > < strong > < a href = "On Us.html" > us < /a > < / strong > < /li >

    < li > < strong > < a href = "Services.html" > Services < /a > < / strong > < /li >

    < li > < strong > < a href = "Testimonials.html" > stories < /a > < / strong > < /li > ""

    < li > < strong > < a href = "Us.html of Contact" > contact us < /a > < / strong > < /li >

    < li > < strong > < a href = "Offers.html" special > offers special < /a > < / strong > < /li >

    < /ul >

    < / div > < / div >

    <!-This completes the container div for the navigation bar->

    < / div >

    <! - This completes the background for the navbarArea layer - >

    <!-this starts the entireSite area * excludes navbar *->

    < div id = "entireSite" >

    <! - this starts the container for the sidebar image - >

    < div id = "sidebar" >

    <! - it starts a div for spacing - >

    < div id = "spacer" >

    < / div >

    <!-this ends a div for spacing->

    <! - it starts div newsletter - >

    < div id = "newsletter" >

    < Center > < font size = "5" > subscribe to our Newsletter < / police > < / center >

    < do action = "subscriptionform.php" method = "post" id = "Newsletter" > "

    < table width = "100%" border = "0" cellpadding = "3" >

    < b >

    < td > name: < table >

    < td > < input name = "News Letter Name" type = "text" size = "30" maxlength = "40" / > < table >

    < /tr >

    < b >

    < td > Email: < table >

    < td > < input name = "News Letter Email" type = "text" size = "30" maxlength = "40" / > < table >

    < /tr >

    < b >

    < td > Zip Code: < table >

    "" < td > < input name = "News Letter Postal Code" type = "text" size = "10" maxlength = "12" / > < table >

    < /tr >

    < /table >

    Center of <>< input name = "Subscribing" type = "Submit" id = "subscribe" / > < / center >

    < / make >

    < / div >

    <! - this bulletin ends div - >

    < / div >

    <!-This completes the bar area side image->

    <! - this starts the maintext area - >

    < div id = "maintext" >

    <! - this starts the title within the maintext area bar - >

    < div id = "title bar" >

    < br / >

    < / div >

    <! - the ends of the title bar of maintext area - >

    < br / >

    "" Center of <>< img src = "... / Images/Logo.png" width = "500" height = "160" alt = "Logo" / >

    < br / >

    < br / >

    < center > choose among our different services here for the emergency Clean-Up < /Center >

    < br / >

    < table width = "100%" border = "0" cellpadding = "0" >

    < b >

    "< td > < Center > < a href ="Damage.html water"MM_swapImgRestore" onmouseover = "MM_swapImage ('WD '", '... / Images/WaterDamageOver.png ', 1) "> < img src =" "... / pictures/WaterDamage.png" alt = "Water damage" name = "WD" width = height "75" = "75" border = "0" id = "WD" / > < /a > "

    < br / >

    Water damage < / center > < table >

    "< td > < Center > < a href ="Damage.html fire"MM_swapImgRestore" onmouseover = "MM_swapImage ('FD '", '... / Images/FireDamageOver.png ', 1) "> < img src =" "... / pictures/FireDamage.png" alt = "Fire damage" name = "FD" width = "75" height = "75" border = "0" id = "FD" / > < /a > "

    < br / >

    Fire damage < / center > < table >

    "< td > < Center > < a href ="Remediation.html Pan"MM_swapImgRestore" onmouseover = "MM_swapImage (' SIR '", '... / Images/MoldRemediationOver.png ', 1) "> < img src =" "... / pictures/MoldRemediation.png" alt = "Mold Remediation" name = "MR" width = "75" height = "75" border = "0" id = "MR" / > < /a > "

    < br / >

    Mold remediation < / center > < table >

    "< td > < Center > < a href ="Removal.html of soot"MM_swapImgRestore" onmouseover = "MM_swapImage ('SR '", '... / Images/SootRemovalOver.png ', 1) "> < img src =" "... / Images/SootRemoval.png" alt = "Remove soot" name = "SR" width = "75" height = "75" border = "0" id = "SR" / > < /a > "

    < br / >

    Removal of soot < / center > < table >

    "< td > < Center > < a href ="Control.html of the smell"MM_swapImgRestore" onmouseover = "MM_swapImage ('OC '", '..) " (/ Images/OdorControlOver.png',1) "> < img src ="... / pictures/OdorControl.png "alt ="Odor control"name ="OC"width ="75"height ="75"border ="0"id ="OC"/ > < /a >

    < br / >

    Odour control < / center > < table >

    < /tr >

    < /table >

    < br / >

    < Center > for more services please click < a href = "Services.html" > here < /a >. < /Center >

    < / div >

    <!-this ends the area-> maintext

    <! - this starts the bottombar image - >

    < div id = "bottombar" >

    "" < img src = "... / Images/bottomBar.png" width = "900" height = "25" alt = "bottombar" / > < / div >

    <! - this ends the image of the low bar - >

    <! - this starts the hotlinks box - >

    < div id = "hotlinks" >

    "< a href =" # "MM_swapImgRestore" onmouseover = "MM_swapImage ('FB '", '... /Images/Facebook-logoOver.png',1) "> < img src =" "... /Images/Facebook-logo.png" alt = "Facebook" name = "FB" width = "25" height = "25" border = "0" id = "FB" / align = "left" > < / has > "

    "< a href =" # "MM_swapImgRestore" onmouseover = "MM_swapImage ('YP '", '... /Images/Yelp-logoOver.png',1) "> < img src =" "... /Images/Yelp-logo.png" alt = "Yelp" name = "YP" width = "25" height = "25" border = "0" id = "YP" / align = "left" > < / has > "

    "< a href =" # "MM_swapImgRestore" onmouseover = "MM_swapImage ('TR '", '... /Images/Twitter-logoOver.png',1) "> < img src =" "... /Images/Twitter-logo.png" alt = "Twitter" name = "TR" width = "25" height = "25" border = "0" id = 'B' / align = "left" > < / has > "

    "< a href =" # "MM_swapImgRestore" onmouseover = "MM_swapImage ('LI '", '... / Images/LinkedIn_logoOver.png ', 1) "> < img src =" "... / Images/LinkedIn_logo.png ' alt = 'Linked In' name ="LI"width ="25"height ="25"border ="0"id ="LI"/ align ="left"> < / has >"

    < / div >

    <! - this end area of hotlinks - >

    <! - this starts the field of copyright - >

    < div id = 'copyright' >

    < br / >

    < p align = 'right' > content copyright 2012. EMERGENCYCLEAN - UP.COM. All rights reserved. < /p >

    < / div >

    <! - this end, the field of copyright - >

    < / div >

    <! - This completes the entireSite container - >

    "" < div id = "containerEmergency" > < img src = "... / pictures / emergency contact.png" width = "220" height = "220" / >

    < / div >

    < / div >

    < / div >

    < / div >

    <!-This completes the coding for the centering of the entire Web page * excludes navbar *->

    < script type = "text/javascript" >

    var MenuBar1 = new Spry.Widget.MenuBar ("MenuBar1", {imgDown: "..."}) "" / SpryAssets/SpryMenuBarDownHover.gif ', imgRight: ".. ({"/ SpryAssets/SpryMenuBarRightHover.gif"});

    < /script >

    < / body >

    < / html >

    A few steps to follow.

    First make a backup copy of the file site just in case things go belly up and you need to revert to the original.

    Add position: relative; to the

    the bottom (as shown)

    Then move your

    named "containerEmergency" directly below the
    who added you position: relative; TO:

    Add z-index: 100; to the css "containerEmergency" as shown below:

    {#containerEmergency}

    height: 250px;

    Width: 250px;

    position: relative;

    Top: 0px;

    right: 0px;

    left: 720px;

    border-top-style: none;

    border-right-style: none;

    border-bottom-style: none;

    border-left-style: none;

    border-bottom-color: #F00;

    border-right-color: #F00;

    border-bottom-color: #F00;

    border-left-color: #F00;

    z-index: 100;

    }

    Add z-index: 2; to the css of 'entireSite ':

    {#entireSite}

    height: auto;

    Width: 900px;

    position: absolute;

    top: 50px;

    z-index: 2;

    }

    Add z-index: 1; to the css "navbar":

    {#navbarArea #navbar}

    background-color: #929BA0;

    height: 40px;

    Width: 900px;

    position: relative;

    top: 20px;

    left: auto;

    right: auto;

    do-family: Arial, Helvetica, without serif.

    do-size: 12px;

    z-index: 1;

    }

    Now it should work ok in Internet Explorer.

  • selection of the daq card to get the angular position of 6 motors with encoder

    can you suggest me best daq card to use 6 positions of engines as outputs using encoders attached to the engines. I'll use single window for each engine. Or what can I use a single window for all the coders of engines?

    Hello Prabhakar7117,

    You need a counter for each encoder. Because you are going to use 6 encoders, you should get a DAQ hardware with 6 or more counters. Take a look at the PCI-6624 or PCI-6602. Another option would be a CompactDAQ chassis with modules that are able to access counters. Take a look at them.

    PCI-6624

    PCI-6602

    KB which cDAQ Modules can be used to access the counters of the shipped?

    Best regards

    Alina M

  • In regards to Microsoft Career Site HR is really read the RESUME for the applied position?

    I send my CV to a lot of position that I am very interested and I have lot of all recruiters. Can you tell me how long does take to be contacted?

    It is the peer-to-peer support forum for Microsoft Vista.  Windows users help other users of Windows who have problems.  I think I can say that no one here has seen your RESUME.  :-)  Contact the Department of human resources of Microsoft with this type of question.

    writing in the new message: * e-mail address is removed from the privacy... *

    I send my CV to a lot of position that I am very interested and I have lot of all recruiters. Can you tell me how long does take to be contacted?

  • What is the function is used to read the form of angular Position a task?

    I created a task DAQmx in MAX. This task configures a counter on a PCI-6259 to counties of A and B of a coder with the angular Position. Which function to use to read the value since I am more counties of reading I read the position?

    Thank you in advance for any advice!

    Hi Izzy,

    I created the task UP. The task takes in the counter of an encoder input and converts it to angular position. Always use the DAQmxReadCounterF64 function to read the meter? I'm guessing that I made and that the function returns the angular position, rather than the raw numbers. Not sure if.

    Thank you for taking the time to answer.

    Regards-

    John o ' c

  • How can I do to two clips have the same position and scale?

    I just first Elements 10 today, since I'm doing a video for work. I am a seasoned videographer (I am a fairly successful YouTuber), but not with Adobe products. At home, I use Cyberlink PowerDirector 13 (although that is seriously considering moving to Premiere Pro), but for the moment at work I use elements since it is the program that they have.

    One thing that elements can do that PowerDirector is automatically align the clips at the same time. What I need to do, it's got a picture (do not fill the entire screen) suddenly cut to a similar picture of the same size and position, of the effect that the only part of the image changes. In my program to another, all I had to do was put them at the same time, change the shape of the Pic 1 how I want it, move the 2 Pic and do align on the same size and position, then move 2 peak after another in the timeline panel. However, items not the snap to each other, so I have no idea how to put them in the same size and position, one after the other.

    How can I do this? If this can be done in two elements or Pro, I'm going to have to Pro since I use this feature a lot.

    Thanks in advance!

    -Michael

    Michael

    First Elements 10 on what operating system? What video/graphics card your computer use? If NVIDIA GeForce, so we talk 10/NVIDIA GeForce display and other problems related specifically to first Elements.

    But, so far away that...

    Each clip on the Timeline of 10 elements first has a range of properties that contains a sign of movement. The expanded Motion Panel includes settings for the clip Position and scale. among other things.

    Position of two values... (___) (_) first from right to left and from left to right... second for up down or down the most.

    Have you been to the Palette of the 2nd clip properties to set its Position and scale values must match the first element?

    Have you been there and done that?

    Please read and review, and so let me know if I've targeted to what asked you. If this isn't the case, please specify where I missed what you were looking for.

    We'll rethink the situation if necessary and provide screenshots if necessary.

    Thank you.

    RTA

  • Change the vertical position positive = UP when moving object? CS6

    When you move an object, you enter a positive value for the vertical position sends objects down. How to reverse this as you enter a positive value will move objects to the TOP? Thank you.

    What of the suggestion in the first post in this thread, Reasoner?

    http://forums.Adobe.com/message/3859580#3859580?TSTART=30#3859580

    It is more work that the help of a script (was related to highlight #4 in the other thread).

    We will have to ask Carlos to make a new script that works in CS6 (and in CS7 CS8 and so on).

    Carlos, what do you think?

  • RelativeInitialX is valid for the externally triggered measures? NEITHER SMU 5122 64 MB per channel

    For example when you use the following commands

    niScope_ConfigureDigitial (with a positive delay)

    NiScope_SetAttributeViInt32 (NISCOPE_ATTR_FETCH_RELATIVE_TO to NISCOPE_VAL_READ_POINTER)

    followed by

    niScope_FetchBinary16 (loop to retrieve the data most wfmInfo)

    What will be the value of the wfmInfo.relativeInitialX before the external trigger?  It matches?  It is set to a number to indicate the outbreak did not appear until the trigger has been received and it then becomes accurate after receiving the trigger?

    I would use it to make a set FecthForever to date, but synchronized to an external trigger waveforms up to about a minute.

    It seems that the delay of release for the 5122 should be able to hande a minimum delay time of about 170 seconds (at the max rate of sampling more at lower rates), so the data I would need could all be borrowed buffers read-ahead externally triggered and properly after off-delay measurement.

    Thanks in advance for any advice.

    Greg

    In the case that you are extracting data from before trigger (extraction of data before a relaxation was produced., relativeInitialX will have the same value as absoluteInitialX.)

    Kind regards

    Nathan

  • measure the angular speed, angle and trigger using a gyroscopic sensor breakout board and LabView data acquisition

    How to measure the angular velocity, the angle and trigger using a gyroscopic sensor breakout board and LabView data acquisition?

    There is a single channel data acquisition code which measures the angular velocity, angle and flexibility using a gyroscopic sensor breakout board and acquisition of LabView data attached to this, I need a help to creat two-channel data acquisition code?

    Hello

    Attached is a vi that you can use in order to read the measured angular position of an encoder.

    If you need more examples on the tasks that you can develop with NOR-DAQmx and LabVIEW, you just need to open LabVIEW and click Help > find examples > Input and Output material > DAQmx > entry counter.

    Kind regards

  • How to use the time of 80 MHz with the example of the soul base angular Position-buffer-Cont-Ext Clk.vi

    Hello:

    I use the card PCI-6602 and am a bit new to the use of timer/counters.  I use the Commission to measure the position of a quadrature encoder.

    I would use the time base internal 80 Mhz the map of 6602, but examples of LabVIEW will not allow that.  In the example, he States:

    2. call the DAQmx Schedule VI (sample clock) to configure settings of clock synchronization external sample Mode Sample and sample clock Source.  The sample clock Source will determine when a sample will be inserted into the buffer.  The 100 kHz, 20 MHz and 80 MHz time bases can serve as the sample clock Source.  The Edge parameter can be used to determine when a sample is taken.

    Is it possible to use the database internal time for my application?

    I have attached the example vi that I use.

    Thank you.

    Pat

    Hi, Pat.

    The rate determines how fast the samples are acquired and put on the material buffer.  This value depends on the basis of time, which is specified by the source of the VI DAQmx calendar entry.  The default source on the PCI-6602 map is the on-board clock (80 MHz).  The rate must be a divisor of the source.  For example, 80 MHz, 40 MHz, 20 MHz, 10 MHz,..., would be acceptable values for the entry rate.

    So the answer to your question would be to remove the entry from the source and ensure that the rate is a factor of the source.  Leaving this entry unwired will use the clock shipped by default of the unit, as shown in the screenshot below:

    I hope this helps.

  • Installation of bench beginner for the introduction of analog measures

    Hello world

    I'm looking to install a system to help make some simle measures. This configuration will be used only by me at my desk/Workbench to help me better understand some parts of machine, that I as well as various other hardware troubleshooting. The I want to be able to take common measures are: stress/strain, vibration, temperature, force, torque and movement.

    At this stage, this project is on a small scale. I'm not running from PLC or using data in order to operate a plant. This configuration will be about just myself, my computer and a piece of equipment, I need to test.

    I currently have one 6003 NOR for my use that would be preferable to use, but if I need a stronger DAQ so I can get to the need.

    My main question is if I can get aqeuate with hardware DAQ 6003 and results if I would be able to condition enough signls accompaniment or if I need a DAQ with higher resoluion and a signal conditioner sufficient. My concern is whether or not I will be able to properly signals on status of piezoelectric sensors at vibration action. Is there a way to produce viable results, or I'll have to come back a more capable DAQ? I wish I could do an analysis of the frequency on trees engines operating normally at about 60 Hz. It would be nice if I had the Betacam to observe signals of up to 150-200 Hz at least.  In my case I don't need extremely accurate results if I can go out with an afforable configuration more. I think that a level of trust of value p final (90%) will go well at this time.

    I'm still quite new to data acquisition and signal conditioning. My purpose behind this, especially to learn how to take the right steps correctly more than I worry accurate results.

    If someone could give me their thoughts about this I would be very grateful.

    Thank you kindly,

    James

    James

    I think you need to split the signal conditioning in data acquisition. I suggest you watch the series 7B Analog Devices and some of the imitators, for example Acromag.

    http://www.analog.com/en/products/landing-pages/001/7B/7B-Series-Overview.html

    Essentially, you choose a module specialized for each measure of your choice. The modules are isolated, at least reduce signal interference problems. Sensor excitation, e.g. for the strain gauges is provided on certain modules. You will need to study the performance of frequency to get the 200 Hz on some modules.

    The modules plug in a motherboard that can then be connected to any data acquisition system that you like.

    Or the versatile NI9219 can better meet your needs.

  • Batchmodel: How to use the different positions of the switch-for EHR?

    Hello

    I use the Batchmodel OR three EHR. HAD the current number can be read from RunState.TestSockets.MyIndex.

    Can the lot this three EHR. What is the way - OR to use different maneuvers (OR-SwitchExec) to each dut?

    TestPlan is for example

    Configure the DMM

    Put

    Measure

    Turn off the switch.

    Switching is of course different for each Instrument.

    I really should add an if around each switching (= endless work) or is there an easy way that I'm not currently?

    If (RunState.TestSockets.MyIndex == 0)

    DUT1 switch

    Else if (RunState.TestSockets.MyIndex == 1)

    Switch to DUT2

    Else if (RunState.TestSockets.MyIndex == 2)

    Switch to DUT3

    on the other

    end

    Thanks for the tips

    Best regards

    OO

    I wouldn't use either of the prerequisite or if things... It's too much work and I'm lazy.

    I would just use the built in step of switching:

    http://zone.NI.com/reference/en-XX/help/370404G-01/NISE/TestStand/

    Name your routegroups in Switch Executive to match your shooting numbers.

    For example, in the process (s) to connect: box can have the following expression:

    "SigGenToUUT" + Str (RunState.TestSocket.MyIndex)

    And have a road connecting the signal generator to the UUT named SigGenToUUT0.  It would be for USE in socket 0.

    Just a thought!

  • Sampling rate higher for the measurement of precision meter

    I have a BNC 6259 M Series DAQ USB. I am currently using the DAQ Assistant to perform simple cash rising measured with the measuring mode single sample on request. I tested my VI with a known square wave with a function generator signal and it clearly lacks a few edges. I think that the solution lies in faster sampling. However, I was not able to understand how to use clocks to set up continuous sampling mode. I tried the forums and I found articles that were close, but not quite exactly the problem I am facing with as (http://forums.ni.com/t5/Digital-I-O/trying-to-use-NI-6251-s-DIO-port-as-input-and-output/m-p/448035#...) or (http://forums.ni.com/t5/Multifunction-DAQ/Using-Counter-of-PCI-6024E-with-Quadrature-Encoder/m-p/984...). Any guidance here would be great.

    In fact, the calendar should not have anything to do with the edges being detected.  Configuration of a sample clock for a county of just edge task allows you to enjoy deterministically in the account register and has no impact on the edges which can be counted.  Also, the analog examples really have nothing to do with what you seem to be asking questions on.

    ... So it leaves the question unanswered as to why you might miss the edges.  Perhaps the following information could shed some light on the question:

    1. it is possible that you do not configure the counter exactly as you think you are.  Can you post the VI you use?  As a point of reference, count digital events shipping example does not use any clock sample timing and just questioned the value of the register count with a software loop, but the meter should not miss all this edge on the input source.  There are examples that are timed by the material available as well, but this is not necessary, unless you need a constant specified dt between your counter samples.  To use the examples of the timed sample, you will need to generate a clock of either another subsystem on the map or use an external clock.

    2. assuming that the configuration of the counter is not the issue, there may be a problem with the method that you use to determine if you are away from the edges.  How do you know that you are away from the edges?  The function generator produces only a finite pulse amount?  You start the meter before start out impulses?

    3. If the two points above do not raise red flags, it seems likely that the meter is registered just not some of the impulses of your FGEN.  Can I assume that the output of the FGEN is 0 - 5V TTL?  What is its frequency and duty cycle?  The maximum external source for the meter on the M-series products: DAQ (like the 6259) is specced at 20 MHz, but this depends on a clean signal with good connections.  At frequencies above it, the bandwidth of the front-end of the PFI lines becomes limiting.  If you have an available specification document for your FGEN I'd like to be able to see it.

    I hope this gets you throw on the right track to solve the problem - impatience comes back with more information.

    Best regards

Maybe you are looking for