Pulse duration measurement of a single, non-periodic pulse

New to Labview. I'm trying to measure pulse duration of a single, Power- On-Reset, pulse using waveform data. The Pulse measurements VI requires two consecutive mid ref level crossings in the same direction. I have only one positive going mid ref level crossings & one negative in the waveform data. Am I missing something easy in the Waveform Measurements palette or do I need to use counters to accomplish this task? I would like to use waveform data. 
Labview 8.6 Professional. 

You could use the Transition measurement.vi twice, as shown on the attachment.
Message Edité par chilly charly le 09-01-2008 07:04 PM
Chilly Charly    (aka CC)
         E-List Master - Kudos glutton - Press the yellow button on the left...        
Attachments:
Pulse duration.vi.zip ‏16 KB
Pulse duration_BD.png ‏11 KB

Similar Messages

  • Non-periodic pulse width measurement

    I came across a post with example code recently that showed how to measuure pulse width of a non-periodic signal using Transition Measurements.vi.  Now I can't find it.  Can anyone help me locate?
    Thanks.

    Hello Joe,
    I did a quick search and didn't find a post that exactly fit your description.  Do you remember anything else about the post?  Any other key words?  Any specific people that posted?
    Michael B.
    Applications Engineer

  • Low frequency pulse duration measurement

    We have low frequncy pulse duration measurement to be done . We have tried with pulse measurement but it shows error for the frequency bellow 1.5 Hz. We have input signal of frequency varie from 0.5hz to 3 hz .Please suggest us is there any other method that can be used for mesureing the pulse width with low frequency mentioned above .If this can be done using tick count , please send us the example .
    Regards,
    Sharanu

    Hello Sharanu,
    I'm not sure you will be able to measure a frequency below 1.5 Hz in
    the traditional way.  However, I would like to ask you some more
    questions about your system.
    1) What hardware are you using?
    2) What is the error you are receiving (please include the exact error text)?
    Eric
    DE For Life!

  • Multiple Units of Measurements for a single item

    Hi all,
    How do I maintain multiple units of measurements for a single Item/  I have a scenario where purchase orders are being made for sand in Metric Tons, Tons, Kgs and Cubit Feets.  Each measurement is being used at each construction site of the company but the item is single sand.   One more problem is here with the material reconciliation of stock since it is maintained in different units of measurement and conversion from unit to other is problematic.
    Thanks
    YSvee Reddy

    Hi YSvee Reddy ,
    Julie is correct in saying that this feature will be available in version 8.8, currently in Ramp-up.
    Please see the [8.8 landing page |https://websmp203.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000705857&_SCENARIO=01100035870000000183&_ADDINC=011000358700001192682007E&]for a link to the 'What's new' document.
    You can contact your LPE to discuss participation in Ramp-up.
    All the best,
    Kerstin

  • Unit of measure for Stock and Non-stock Item in CJ20N

    When I attach Material to an activity (item Category N   Non-stock item) in Project Builder (CJ20N), It is peaking its Base unit of Measure as unit. Now when I try to change it, it is showing an error
    Item category N: Only base unit of measure M allowed
    Message no. CO344
    But for the same material if I change the item Category to L   Stock item, then it allows me to change the unit.
    Please guide me regarding this Behavior. Is there any customization, by doing which it will allow me do the same for Non-stock Item or It is not Possible.

    firstly I am assuming that the activity is internal processing type - doesn't matter really
    now to attach a material select actvity and from the template area click and drag material which will open the material detail screen in the work area
    because it is a non stock item I am assuming text description - in the requirements qty you enter the qty and next to it the units - changeable
    if you choose a material number maintained as material master then obviously the unit will be from the material master.
    If you are using an externally processing activity then in config check OPUU for the network type and see if order unit has been populated - that might be the problem

  • 2012 R2 Hyper-V Cluster Replication to Single Non-Cluster Host?

    I can't seem to find a straight answer and in my testing, this doesn't seem to work. Is it supported to replicate from a 2012 R2 Hyper-V cluster to a remote, single 2012 R2 Hyper-V non-cluster host?

    Yes, it's supported, and yes it works. The cluster uses the Hyper-V Replica Broker and the destination system does not.
    Eric Siron Altaro Hyper-V Blog
    I am an independent blog contributor, not an Altaro employee. I am solely responsible for the content of my posts.
    "Every relationship you have is in worse shape than you think."
    To replicate back to the primary site I'll need a replica broker at the DR site however, correct?

  • Attribute Importance - Measure Influence of single classes

    Hello,
    I've been solving an Attribute Importance problem recently and identified the most influential factors. Now i want to find out which particular classes of this attribute have the strongest relation to the target.
    If you take the affinity card problem from the Oracle Tutorials, I identified 'education' as the most influential attribute for example. But I still don't know which particular education has the strongest bond to the target, e.g. Master, Doctor, HS-Grad, etc.
    I've already tried to create a Classification Build based on that single attribute, but when applying this model, the probability of the particular classes are always the same (or slightly differ on the third digit after the decimal point). Since the count of the particular classes ranges from 2 to 1655, I assume that I am doing something wrong and this is no coincidence (I already verified this with another attribute and the same result)
    Is there any other way to find out the influence of the particular (categorical) classes used for the Attribute Importance?
    Thanks in advance,
    Dominik
    Edited by: 994832 on Mar 19, 2013 9:38 AM

    Hi Dominik,
       The particular integration of AI in the ODMr Column Filter node shows just column ranking. If you want to see more details on what models would consider important in ranking a column and its values, then build a GLM, SVM etc. model. You can look the coefficients of the model and see the level of significance given to categorical values of a column.
    Thanks, Mark

  • UI design - what is the best way to allow the user to set some kind of infusion at varying (non periodic) times?

    I want to allow the user to specify a curve like this:
    Such that some subVI outputs the value A2 when a time variable is within the range R1, A1 when the time variable is within the range R2, and A3 when the time is within the range R3.
    My design looks something like this:
    With error checking that looks like this:
    My question is, is the array based approach optimal? How else could I tackle this?

    I think I can summarize the conversation to this point as an answer to the original question (What is the best way ...) -- before starting to write any code, think carefully about what you want to accomplish, and write it down (otherwise known as "Write the Documentation First").  One of the points of a good User Interface is that it doesn't allow users to "make silly mistakes" -- it leads the user "by the hand", restricting the entries to "legal values" and requiring that entries be made in a logical manner.
    So if you were going to have a list of Infusions to enter, it makes sense to decide on whether to enter Time Intervals (which are always >0) or Times (which, logically) are always in ascending order.  You can (and should) decide which you want (or you could have a control that would let the User decide, but that might be too flexible) and then enforce your "rules".
    Suppose you decided on "Intervals" (which seems, to me, to be more User Friendly).  After the User has entered the intervals (and you've provided a nice plot of Infusion vs Time), you could allow the User to "split" an Interval, "Remove" an Interval, or "Edit the Infusion" of an Interval, or you could decide to have a simpler "Accept or Start Over" choice -- if you only have a few intervals, the last might be the simplest (and thus the Best) Design Choice.
    Spending more time thinking before coding usually pays Big Dividends!
    Bob (speaking from Sad Experience) Schor

  • Problem with Non Reference Single ended and Differential measurements

    The following was misposted at the Real-Time DAQ category and should appear in this Multifunction DAQ category:
    I am doing a differential measurement and then a non referenced single ended AI measurement using the same PCI 6025E card. Most of the time I get good measurements however a small percentage of the time I get very strange measurements.

    Make sure that you have set up each of your channels for the appropriate mode of measurement. By default, Measurement & Automation Explorer (MAX) has a property set for your card, either differential, nonreferenced singled ended, or referenced single ended. If all your channels are in one mode, then you can just left those defaults stay. Otherwise, as in your case, you would need to programmatically set each channel for the right mode.
    For instance, in LabVIEW, the AI Configure.vi has an input parameter for "coupling and input config". This is an array of data that includes the measurement mode. Each element of the array corresponds to the element in the channels array, so you can configure each channel appropriately. Make sure that you have this set up in yo
    ur program, and you should get the correct measurements.
    Finally, double-check your physical connections to see that they match the measurement mode you chose. You can find this in the 6023E/6024E/6025E User Manual or the PCI E Series User Manual at the http://www.ni.com/manuals website.
    Regards,
    Geneva L.
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Measure the Pulse duration by using NI PCI6250 counter module

    Hai All,
    For my application i need to measure the pulse duration from encoder signal.Encoder PPR is 1024. Maximum speed is 4500 rpm.Encoder signal is connected with NI PCI6250 card Counter input. If i configured my NI DAQ task as a Pulse duration measurement icant able to get prober pulse duration. Pulse duration some times reads as zero or near to zero and values also varies. I dont want average pulse duration. I need each pulse duration.Can any one help me to solve my problem?...
    Regards,
    Vijay.  

    Can any one Help me to solve the above problem
    Regards,
    Vijay

  • Single Pulse Width with External Clock

    I am trying to setup a 6602 counter for a single (non-buffered) pulse width measurement with an external clock. Under normal testing, the unit under test will provide the pulses, I need to measure the number of pulses during different time periods (1, 60, and 300 seconds). I want to do a pulse width measurement and I'll supply the gate signal pulse to the counter for the specific time needed.
    Under normal operation, the unit under test is wired into the counter's source and the pulse is wired into the gate.  For testing purposes I am using a BNC-2121. I have the counter's source wired to the Adjustable Square Wave Output and the gate wired to the Trigger output.
    Here is my C++ code. I am getting a timeout error on the read and I don't know why. Any help would be appreciated.
       //Create Task
       DAQmxCreateTask( "task1", taskHandle );
       //Create Pulse Width Channel
       DAQmxCreateCIPulseWidthChan( taskHandle,              // TaskHandle
                                                      ​  szCtrName.c_str(),     // Counter Name
                                                      ​  "",                             // Channel Name
                                                      dMin,                          // Min Value
                                                      dMax,                         // Max Value
                                                      DAQmx_Val_Ticks,     // Units
                                                      DAQmx_Val_Rising,    // Gate Edge
                                                      "" );                            // Scale Name
       //Set the Pulse Width Terminal to the gate signal
       DAQmxSetCIPulseWidthTerm( taskHandle,          // TaskHandle
                                                     "",                       // Channel
                                                     "/CTR2/PFI38" );  // Terminal
       //Set the Timebase Src to the counter's source
       DAQmxSetCICtrTimebaseSrc( taskHandle,         // TaskHandle
                                                    "",                       // Channel
                                                    "/CTR2/PFI39" );   // Terminal
       //Start Task
       DAQmxStartTask( taskHandle );
      //***Send pulse to gate counter***
       //Read Counter
       DAQmxReadCounterU32( taskHandle,                      // Task Handle
                                              DAQmx_Val_Auto,           // Num Samps to Read
                                              10,                                  // Timeout
                                              ulBuffer,                           // Read Buffer
                                              1000,                               // Buffer Size
                                              &lSampsRead,                 // Num Samps Read
                                              NULL );                            // Reserved

    I've setup a pulse width task in NI-MAX using the onboard clock and everything worked fine, so I know the hardware is working.
    My unit under test is providing the pulses (from gyros) I need to measure. The pulses indicate the position of the unit so there are X, Y and Z axis gyros. I need to measure these pulses for specific periods of time (1, 60, and 300 seconds). For example during the 1 second measurement, the X and Y gyros should measure zero pulses and the Z axis should measure 515 gyros. During a 300 second measurement the X and Y gyros should measure < 60 and the Z axis should measure 30800.
    So the gyro pulses are wired to the counter input and I am using a DIO channel from NI-6508 to provide the gate pulse. The gate signal will be high for either 1, 60, or 300 seconds depending on the test. The gyro pulses are essentially the external clock to the counter. I want to count the gyro pulses during the pulse of the gate (DIO).
    To simplify the setup, I connected to BNC-2121 directly to the card. I have the adjustable clock output going to the counter input of ctr0 and the trigger signal going to the gate of ctr0. Once the task has been started and before the read ( I had a breakpoint set in the code), I would press the trigger button on the BNC-2121 and hold for approx. 1 second. I then execute the Read statement, and I always get a timeout. From my experience working with NI, I'm guessing I don't have a channel property set correctly, but its not obvious to me and I can't find an example to do exactly what I'm trying to do.
    The CTR2 designation in the code was the object name of the card. I have two 6602 cards in my chassis. I was using ctr0 of the second counter card, so PFI38/39 was correct.
    Again, any help would be appreciated.

  • When exactly do pulse width measurements start?

    I am using a PCI-6601 to measure pulse width and period of a PWM signal in LabView (DAQmx).
    I use ctr0 for the period and ctr1 for the pulse width. The period is measured between falling edges. As I am interested in the high pulses, the pulse width measurement is configured to start with a rising edge.
    I do a buffered measurement with continuous samples.
    I use a common start trigger (ArmStart) for both tasks.
    Everything works just fine, but one thing puzzles me:
    My start trigger can occur at any phase of the PWM signal, so I expected the first measurements to be invalid. This is true for the period measurement, but the pulse width is always correct. It doesn't matter in what phase my trigger occurs, the first reading of the pulse width is always correct.
    Can someone tell me why?

    This is speculation, but it's probably just that NI decided to follow slightly different rules for pulse width measurement than for some of the other counter measurements.
    I've done triggered period and semi-period measurements before, but don't know that I've done triggered pulse width or frequency measurements.
    For the two former cases, I know that the counter will start counting time immediately after the trigger edge.  The first measurement represents the time from the trigger to the first active edge period (or semi-period) edge.  It is often meaningless as you anticipated.  For pulse widths, I suppose NI simply decided that the trigger will arm the counter but you also need the pulse's leading edge before you start counting to measure pulse width.  So the first measurement is a true measure of pulse width and is never meaningless.
    If this is true, then it may be tricky to sync / correlate the data in simultaneous measurements.  For your particular app, you could get away with performing a single semi-period measurement and then calculating the periods and pulse widths.  In other apps, it could get more difficult.
    -Kevin P.

  • BPC 7.5 NW PERIODIC Measure returns error in new environment only

    Recently we created a new BPC environment/server. This new environment has had HANA installed and is going through testing. In our testing we have incurred the following issue, but we are not sure if it is HANA related or just a result of something in the new environment not being set up correctly.
    Our BPC LEGAL/Consolidations application is a YTD application. A basic EVDRE was created with Time in Column (expanded to month), and Entity, Account, Profit Center and Reporting Currency in the Row. The EVDRE is first expanded with the MEASURE set to YTD. The correct results are returned.  The MEASURE is then changed to PERIODIC and the EVDRE expanded. The result is an error - "Errors found retrieving data".
    This same EVDRE opened in any of our other environments does not result in an error and returns the correct periodic results.  I have verified that the time dimension is exactly the same in the working and non-working environment. I also had the BW team verify with UJA_FORMULA_APP that the contents of the table for LEGAL/Periodic.  I had them pull out the Formulas from a working and non-working environments. It appears they are the same.
      QG1:
    MEMBER [MEASURES].[PERIODIC] AS 'IIF([%C_ACCT_FA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",-[MEASURES].[/CPMB/SDATA],IIF([%C_ACCT_FA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",[MEASURES].[/CPMB/SDATA],IIF([%C_ACCT_FA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[LEVEL02])),IIF([%C_ACCT_FA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[LEVEL02])),-[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
      QG0:
    MEMBER [MEASURES].[PERIODIC] AS 'IIF([%C_ACCT_FA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",-[MEASURES].[/CPMB/SDATA],IIF([%C_ACCT_FA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",[MEASURES].[/CPMB/SDATA],IIF([%C_ACCT_FA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[LEVEL02])),IIF([%C_ACCT_FA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[LEVEL02])),-[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
    Does anyone know where else we should look? Any help would be greatly appreciated.
    Thanks in advance!
    Deana

    Hi,
    If when you launch BPC Server Manager, you do not get "Cannot connect to ABAP server", this means user BPC_SYSADMIN is connecting correctly. And assuming you had invalid RFC user in BPC Web, your issue is then only with user BPC_USER (or BPC_ADMIN if the issue is with BPC Admin client only)
    If you do get that error, it means the error is for more than one user, so I would look for something big missing.
    In point 1 you mention domain users, make sure in BPC Server Manager under "reset login credentials" that you do not have windows users specified there as it's a common mistake, those should be your 3 BW communication users
    On BPC .Net server, if you installed SAP GUI, run an MDX_PARSER test in SM59 to check librfc32.dll is working correctly
    Also quite common issue it is possible your background users have wrong authorizations; in PFCG check the roles SAP_BPC_SYSADMIN SAP_BPC_ADMIN and SAP_BPC_USER were copied to customer namespace and that the role are active (user tab should be displaying green light) and assigned to the background communication users
    Also check the background users are not locked in SU01 (if they are locked the password saved on .Net server was or is not matching the real password defined on NW server)
    Thanks,
    Julien

  • How-To Create OVM 2.2.2 Single Pool with Non HA, Single Server

    How to create OVM2.2.2 Server Pool with a Single, Non-HA configuration.
    - Install OVM2.2.2 on target Server: [ovs222a, ip=192.168.0.207]
    (Default install creates ocfs2 file system on /dev/sda3 on my machine, YMMV).
    - Install OVMM2.2.0 or later on another server or VM
    - Remove existing OCFS2 filesystem and repository from [ovs222a] server
    - logon to [ovs222a] as root
    # cd /opt/ovs-agent-latest/utils
    # ./repos.py -l (shows uuid)
    # ./repos.py -d [uuid]
    - Recreate the ocfs2 file system
    # mkfs.ocfs2 -N 8 -T datafiles /dev/sda3
    - Create a new repository on the ocfs2 file system and make it root
    # ./repos.py -n /dev/sda3
    # ./repos.py -r /dev/sda3
    # ./repos.py -l (should show new repository uuid with [R] designation)
    - Edit cluster.conf, ensure only 1 node with ip addr: 192.168.0.207
    # vi /etc/ocfs2/cluster.conf
    - Edit /etc/hosts, ensure ovs222a ip addr = 192.168.0.207, not 127.0.0.1
    (/etc/hosts should look like the following
    127.0.0.1 localhost localhost.local.domain
    192.168.0.207 ovs222a ovs222a.[your.actual.domain.name]
    - Configure o2cb service, take the defaults which will start o2cb service on boot
    # service o2cb configure
    # service o2cb start
    # service 02cb status
    - Using OVMM2.2.0 GUI, create Server Pool
    - Server Pool Name: [ovm2pool1]
    - LEAVE SERVER POOL IP ADDRESS [BLANK], NOT NEEDED FOR SINGLE SERVER SERVER POOL
    - LEAVE HIGH AVAILABILITY MODE ENABLE [UNCHECKED] (HA not available in single server cluster pool).
    - Set [ovs222a], [192.168.0.207] as Server Pool: MASTER, UTILITY, VM SERVER with correct passwords.
    - Test connection to [ovs222a]
    - Create Pool

    Hi
    ThanQ For Reply Saurabh,
    So Now I have to create one logon.jsp this jsp having username and password.
    For Example http://sapmjd:50000/scw/logon.jsp
    when i will pass  the URLu2019s that time I am able to See logon Page. This .jsp is normal logon jsp looks like client logongape( logos, all available) By using this jsp how we will connect main URL i.e  (irj/portal)
    in logon.jsp I will pass UID and PWD that time I am logon into  the Portal,
    Could you tell me these Answes.
    1.     Is it possible to Connect main URL i.e (irj/portal) or customize par file having one jsp is there i.e jsp name umLogonPage.jsp.  is it possible when I will pass the uid and pwd in logon.jsp this jsp will connect to the jsp umLogonPage.jsp.
    2.     If you says Answer YES How we will connect.
    Regards
    Vijay Kalluri

  • Query to finding duration of a value

    Hi,
    I have a table like below
    Create table Datachange(device id , Status Bit , Changed_at datetime);
    insert into datachange values (100, 1, '2015-03-21 19:30:16.440'), (100, 0, '2015-03-22 20:31:06.440'),  (100, 1, '2015-03-25 20:31:06.440');
    I am in need of a sql query to get the duration of status 1 and status 0 between given two date periods for the device  For eg. I may give the input from and to period may be between 21 to 25th march 2015 (or) 23rd to 24th march 2015 .. 

    >> I have a table like below <<
    This is not a table. It has no key, no way to ever have a key and the data types are wrong. We do not use assembly language bit flags in SQL.  What you have done is copy a paper log sheet into a non-table!  If you had a read a book on data modeling,
    you would know that a status is a “state of being” so it has to have a temporal dimension, a duration, and not a single point in time. I am also going to guess that you do not need nanoseconds, and that whole dates will work. 
    CREATE TABLE Device_History 
    (device_name CHAR(5) NOT NULL,
     device_status CHAR(3) NOT NULL
       CHECK (device_status IN ('IN', 'OUT')), 
     start_timestamp DATE NOT NULL,
     end_timestamp DATE,
      CHECK (start_timestamp <= end_timestamp),
     PRIMARY KEY (device_name, start_timestamp));
    We can put more constraints to control the gaps and other things but I do not think you are ready for them yet. 
    INSERT INTO Device_History 
     VALUES 
    ('D-100', 'IN', '2015-03-21', '2015-03-21'), 
    ('D-100', 'OUT', '2015-03-22', '2015-03-24'),  
    ('D-100', 'IN', '2015-03-25', NULL);
    >> I am in need of a SQL query to get the duration of status 'IN' and status 'OUT' between given two date periods for the device <<
    And now with a valid design, your problem is trivial! I estimate that 85-95% of the work in SQL should be done in the DDL. Please read any book on RDBMS and then one on basic data modeling. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

Maybe you are looking for

  • WLS 6.1 SP2 console will not start

    NT4 sp6 weblogic 6.1 sp2 MS IE 6.0.26 Hi, I can not start the weblogic console when running 6.1 sp2. I have gone back to the original mydomain as installed and I still can't start the console. The browser attempts to load the console but hangs and th

  • Euro Character in CS3

    Im using After Effects CS3 Professional and am struggling to get it to show the Euro sign, In previous versions I had no problem at all but now since using CS3 it will just not display the character despite it showing in my Character palette/window.

  • MBP 2.4GHz Core 2 Duo - Backlight off when booting to restore DVD

    Hi all! I have a very interesting issue and I'm not sure what to make of it.  I have a MBP 15" (Core 2 Duo, Aluminim, NOT unibody) that shipped with 10.5.  I am restoring the OS with a 10.5 upgrade DVD (was not able to find my original restore disc f

  • J2EE:some java processes running

    HI! I have a general question regarding the SAP Solution Manager. We have succesfully installed SAP SOLMAN 4.0 (Windows, Oracle). Unfortunately when I start SAP system with MMC-Console, I see that the Java-instance is yellow. (disp+work.exe --> tells

  • WE19 inbound error

    Hello, I try to send a material idoc inbound via WE19 in my netweaver system. I can send an idoc via WE 19, but there is the msg that the function module is not allowed or it that there is no function module für aii_delinf_in. In WE42 I can configure