Acquire analog data entry triggered by the great time and low time of a pulse meter

Hi all

I'm writing a VI in labview 8.1 version to test the sensors. The power supply of the sensor is pulsed and I need to get a value when turned on the power of the sensor and the power of the sensor is turned OFF (measure Max voltage when the current flows through the circuit and voltage min when no current flows through). My cycle is like ON 2 seconds for 8 seconds.

And I want to acquire a reading in each of those States permanently. I am able to use a pulse meter to make the pulse but how can I tie this with the recording of data, then you can be sure that I log into a data point in the State ONE and the other to the OFF state?

Thank you

SJ

Acquire the pulses of the meter on a different path to analog input.  When it is high your sensor is activated.

Lynn

Tags: NI Software

Similar Questions

  • Blank composition - several active triggers at the same time?

    I am trying to create a magazine layout Builder. In doing so, I have several PNG files in a blank publication.  I put it right now so that whenever you click on a trigger target Exchange with a different design element.  However, the point of my Configurator is to show how the different elements together, look what means that I have several active triggers at the same time in order to see how to watch them together.  Is there a way to do this?

    I don't think this is a feature that is available in the widget of blank publication provided by muse - there may be an external widget that can do the trick. However, if you want to try to work around him with the blank publication widget, I used this workaround solution myself:

    1. In one layer, make a widget of composition with the single trigger
    2. With layer a locked switch to two layer and do another composition directly on your first widget
    3. Be sure to check "hide target: with click" and "hide all initially" to the two widgets

    See the video provided:

    Dropbox - CompositionDemo.mov

    Hope this helps, or you find a widget on a third party site that allows you to complete your layout.

  • Acquire analog data with 16-bit accuracy

    I use PCI 6259 DAQ, which only supports 16 - bit ADC. Analog 2D NChan DBL NSamp vi gives an output of 64-bit double data. Since I lose most of the bits and memory, is possible to get the number to decimal floating get a 16 bit? Otherwise, what about 32-bit single-point accuracy? I know that you can convert numbers between data types but to convert a series of data in a loop in real time will probably cause a decrease in performance of the system.

    Typo, sorry should read polymorphic.

  • R12.2.4 data lost after using the dialog Page and return to the calling page. (Help please!)

    Hi team,

    I'm new to OAF and works on a requirement to add some custom validation when the user clicks a button in a seeded standard page.

    The approach I took was to extend the seeded controller object managed this press event button and put my custom logic in the extended controller and substitute the standard controller through customization.

    The standard rate which was pressing the Complete button A Page, the user was taken to the next and epepinee page (Page B) some operations based on records that have been chosen Page A.

    Part of the custom validation requirement that was if some postings were not met, the user must be a pop-up asking if they really wanted to move forward and if they have selected Yes then continue with the seeded standard flow (transition to page B) and if they have NOT selected then just remain on the current page.

    I have used OADialogPage and to do this, in part, the question , I am running into is that when the user selects one or more records using a check box in a region of several record (table) and click the full page and if the validation fails then a modal page and the user made a selection i.e.either Yes or no modal page and when they return to the calling page (ex. Page A), all data (records) they chose previously is lost (the Page is refreshed). Based on what I see on this forum, I suspect it's because after having click Yes on the modal page and then return to the original page the processRequest fires again and the VO data is queried again and has all the parts on the page are lost. Since I am changing the flow in seedlings pages based on the intervention of the user I'm confused as to how this problem can be solved. that is, prevent the page refreshes or preserve the selections that were made before you navigate to modal page. Any help is really appreciated!

    My Code:

    ' Public Sub processFormRequest (OAPageContext oapagecontext, OAWebBean oawebbean)

    ...

    ...

    If (oapagecontext.getParameter ("completeOps")! = null) {}

    ...

    ...

    If (warnCount > 0) {}

    OAException message = new OAException ("not in order...", OAException.WARNING);

    oapagecontext.putDialogMessage (message);

    OAException message = new OAException ("XYZ Violated rule. Do you want to continue? ", OAException.WARNING);

    DialogPage OADialogPage = new OADialogPage (OAException.WARNING, message, null, "","");

    String Yes = oapagecontext.getMessage ("AK", "FWK_TBX_T_YES", null);

    String number = oapagecontext.getMessage ("AK", "FWK_TBX_T_NO", null);

    dialogPage.setOkButtonItemName ("ConYesButton");

    dialogPage.setNoButtonItemName ("ConNoButton");

    dialogPage.setOkButtonToPost (true);

    dialogPage.setNoButtonToPost (true);

    dialogPage.setPostToCallingPage (true);

    dialogPage.setOkButtonLabel (yes);

    dialogPage.setNoButtonLabel (no);

    oapagecontext.redirectToDialogPage (dialogPage);

    }

    If (oapagecontext.getParameter ("ConYesButton")! = null) {}

    Write Yes button Action code

    oapagecontext.putParameter ("completeOps", "Continue");

    }

    If (oapagecontext.getParameter ("ConNoButton")! = null) {}

    Write the code of the Action for the No button

    Dim errormsg = ' rule Violations have occurred. "

    throw new OAException (errormsg);

    }

    super.processFormRequest (oapagecontext, oawebbean);

    }

    I managed to work around this problem by adding a simple control in my controller processRequest method extended to avoid the call to super.processRequest incase lhen control returns to the page once the user has made a selection on the Page of the dialog box

    If ((oapagecontext. (GetParameter ("ConYesButton") == null) & (oapagecontext.getParameter ("ConNoButton") == null)) {}

    super.processRequest (oapagecontext, oawebbean);


    }


    Thank you!

  • Display data DateTime Fields in the local time zone

    I have a table defined as follows:

    create table TimeTest
    (
    DATETIME TIMESTAMP (0) WITH TIME ZONE
    )

    I insert two lines where the time zone changes to a date given in the spring:
    insert into timetest values (datetime) (to_timestamp_tz (' 08/Mar/2009:01:59:55-0500 ',' DD/my/YYYY:HH24:MI:SS TZHTZM ""));
    insert into timetest values (datetime) (to_timestamp_tz (' 08/Mar/2009:03:00:00-0400 ',' DD/my/YYYY:HH24:MI:SS TZHTZM ""));

    How can I select the datetime field in the time zone of my choice? If my session time zone is - 0400, should not 01:59:55-0500 displayed as time 02:59:55?

    The session time zone is:
    Select double sessiontimezone;
    -04:00

    So why do I get this:
    Select to_char (datetime, ' DD/my/YYYY:HH24:MI:SS TZHTZM "") of timetest;
    08/Mar / 2009:01:59:55-0500
    08/Mar / 2009:03:00:00-0400

    I thought I would get this result instead:
    08/Mar / 2009:02:59:55-0400
    08/Mar / 2009:03:00:00-0400

    Thank you
    Troy

    Published by: cforasun on April 8, 2010 17:36

    It is stored as a timestamp with time zone, so you must cast in the local time zone for your database:

    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    Connected as fsitja
    
    SQL>
    SQL> create table TimeTest (DATETIME TIMESTAMP(0) WITH TIME ZONE);
    
    Table created
    SQL> insert into timetest(datetime) values (to_timestamp_tz('08/Mar/2009:01:59:55 -0500', 'DD/Mon/YYYY:HH24:MI:SS TZHTZM'));
    
    1 row inserted
    SQL> insert into timetest(datetime) values (to_timestamp_tz('08/Mar/2009:03:00:00 -0400', 'DD/Mon/YYYY:HH24:MI:SS TZHTZM'));
    
    1 row inserted
    SQL> commit;
    
    Commit complete
    SQL> select datetime, cast(datetime as timestamp(0) with local time zone) from timetest;
    
    DATETIME                                          CAST(DATETIMEASTIMESTAMP(0)WIT
    ------------------------------------------------- --------------------------------
    08/03/09 01:59:55 -05:00                          08/03/09 03:59:55
    08/03/09 03:00:00 -04:00                          08/03/09 04:00:00
    
    SQL> 
    
  • Control the time times of high and low of trains of pulses in C++

    Dear team of support of National Instruments,

    Here's what I have so far:

    I was able to generate the number of pulses (a pulse = a rising edge and front descending one) that the user has indicated via the GUI I created in Visual C++ 2008.

    I use DAQmx 8.6.

    I use the DigitalSingleChanWriter (hopefully, that's what it's called).

    I use for the synchronization of the sample, on request.  I tried to use all other types of calendar but I always get a DAQException run the error that says I can use only OnDemand calendar.

    OK, so here's the problem:

    I have a USB-6008-6009 card connected to an oscilloscope.  I know that the connection is correct, otherwise nothing would appear.  However, if I send say... 6 impulses, the delay between the first rising edge and the first falling edge is dramatically different and then the second and the third.  If I return my samples, I get an assortment of new and totally random times.  So finally, my question is "Is there a way to control the time of a great time and a bit of time?"

    I use a Compaq 2003 lap top, what is worthy of the rubbish heap.  I'm not to blame on this right away as problems that will not solve the problem at hand.  Although I understand if it's actually the problem for random times, but I would still have no way to control the time themselves.

    I hope that I don't have drug it too long, but I decided that distribute information on would be better then just a few tid bits.

    Thank you for support, that you can offer,

    Daniel

    OK, so I just returned from the lab, and this is what I got:

    I was able to control the time at the time of the high and low by using the "WriteSingleSamplePort" of the DigitalSingleChanWriter method.

    I put it in a loop that repeated many times that the user wanted impulses.

    At the beginning of the loop, I used a delay function that I wrote and delayed for a time given and then a pulse with a value of 255 and then delayed again and a pulse with a value of 0. And then restarted the loop.

    In the end, it works.

    Of course, I have another question.  I kept reducing the amount of time between two pulses (1 s, .5s, .2us and so on).  However, once I have diminished the time of secondes.01 or a millisecond, the pulses on the arrested oscilliscope becomes smaller.  It seems that past 1 millisecond Board USB-6008/6009 is unable to deal with the exigencies of the moment.  Or else the computer trash part on that I cannot deal with the exigencies of the moment.  But I believe that the Council is not at fault because it was designed for this exact sort of thing, could you tell me if there is no limitation to the Commission which prevent production of pulses in or within a period of 1 millisecond.  Thank you very much.

    Thanks for all the help,

    Daniel

    P.S. I'll stop you buggin with big messages that I promise you.

    P.P.S.  If someone wants to see my source code for their own project, I'd be more than willing to share.  Please email me or leave a message here.

  • How to measure the difference in time between the passage by zero of a sine wave and the rise time of a pulse on a same graphic?

    I have a sine wave of 50 Hz and a pulse of the signal on the same chart. The difference in phase between the two is between 0-90 degrees.

    Now I need to calculate the time difference between (when the sinusoidal wave passes through zero volts) and (when the pulse increases). The frequency will remain about even for the two signals.

    The request is for a three-phase generator. In simple terms, when the difference in time between the passage to zero of the sine wave and pulse increases increases, it means that the load on the generator has increased.

    I am a novice user of LabView (version 9, 2009), maybe it's a very simple problem but I was pulling on my hair for the past few days and couldn't understand anything. Any help would be greatly appreciated. I use DAQ USB-6008 to measure these tensions and the impulse of the generator and a sensor

    I have attached a jpg file (a graphic that I just did with excel to explain). The time 't' is what I'm trying to measure

    See you soon

    Zdzislaw

    Awais.h,

    For problems of this kind I recommend start writing the granular steps you would take to manually fix this problem.  You can't say LabVIEW (or any programming language) If you can't succinctly describe the solution to your problem.

    The I want to address this problem is to:

    1. find all the zero crossing points and edges on the rise
    2. for every rising edge find the difference between the timestamp and previous passage by zero

    Here is an implementation of this algorithm LabVIEW:

  • Restrict the records that duplicate during data entry bulk of the multi record details

    I have three fields (empno, edate, deptno) in an overtime_d block. I want to restrict it to duplicate entry. can u please guide me

    Hello
    It should useful to you.

    http://SheikYerbouti.developpez.com/duplicates/duplicates.htm

    Mark useful/correct.

    Iqbal

  • I've recently updated the browser and it shows the great fountain and page do not know why?

    I have download and update my Firefox browser on both computers (22.0). It has change my length and the width of the page, also the police, I tried to change the size and the view option, but it didn't for me. Does anyone have any tips for me to return to my default configuration?

    Hello

    Firefox on Windows is now after display, scaling options that can make the biggest text on screens at high resolution. There are several ways to solve this problem. See the Web pages are broad and fuzzy after update of Firefox - how to fix article for a suggestion. Here is another possible solution:

    • Type of topic: config in the Firefox address bar and hit the Enter key.
    • If the warning that this might void your warranty , click I'll be careful, I promised.
    • Search for layout.css.devPixelsPerPx

    • Double-click layout.css.devPixelsPerPx to edit its value. The default value is - 1.0 in Firefox 22 and above. Change it to 1.0 to run as in previous versions of Firefox.

    If necessary, further adjust the value of 0.1 or 0.05. Values between 1.0 and around 0.5 to reduce the size of the elements. Use a value greater than 1.0 to increase the size. For example, a value of 1.25 will increase the font size of the 125% to account for the default DPI setting in Windows 8. Check the value that you enter. Definition of a value that is too small will take everything away and too high will explode things.

    If the web pages should always be adjusted so you can watch the extension Default FullZoom Level or NoSquint .

    To adjust the font size for the user interface, you can use the extension of theme font & size changer .

    This solve your problems? Please report to us!

    Thank you.

  • Function to create dates as well as the week, quarter, and year

    Hi all

    I am trying to write a function that will create automatically with their respective week, quarter, and year dates in different columns.

    For example,.

    Date of the quarter Qtr/Yr/QtrWk week exercise exercise exercise

    415 Q4-WK1352201530/09/2015

    I would like to create a full year for each day of show week quarter Qtr/year/QtrWk, exercise, exercise from 01/10/2015-09 30, 2016.

    Appreciate your help and advice.

    Thank you

    AMan

    Hi AMan,

    can't answer your question with a detailed requirement.

    No doubt a whole year can be created in a SQL statement (CONNECT BY or the recursive subquery factoring) and is not a problem.

    But I would like to ask you the following:

    • How do you get the week number? There might be a different way to look at it (ISO or not, week starting with the Sun, Mon or the first day of the year, etc.)
    • The same question can be applied to the financial week. When it's the first week? 01/10/2015 until 10/07/2015?

    You can have a quick glance at the definition of different week in 'Model of Format of Date' on this page:

    https://docs.Oracle.com/CD/B28359_01/server.111/b28286/sql_elements004.htm

    Check the difference between WW and IW.

    Kind regards.

    Alberto

  • format change of date by default in the oracle database and applications at all times.

    Hello

    my current date format is DD-MON-RR and I would change to MM/DD/RRRR permanently. (not at the session in the database level).

    And please suggest me how to change in application level. - is changing the profile ICX option: Date (at the site level) format mask is sufficient?

    Please suggest.

    Thank you

    Ramanantsoa

    PL see the section called "Release Date in shape" in MOS 393861.1 Doc - also see MOS Doc 1520540.1

  • can insert bulk data two operations at the same time?

    I think they should be in a position, as long as they do not use the parts that overlap.

    OracleGuy777 wrote:
    Sorry guys, I may be

    am not being clear.
    >

    If T1 inserts in a data block and T2 inserts into a data block, then surely it must be some sort of lock/lock for something. I mean, otherwise they might both insert the line in the same position in the data block. If something should prevent that!

    You are absolutely right. There is one kind of locking AND locking AND another (mutex) passed to prevent this exact question.

    Unfortunately, Oracle acknowledges there is a problem and that the expectations of these things may cause performance problems. This is unfortunate because they tinker with it and the answer changes slightly with the version.

    The choice of the lock and latch and (for newer versions, mutex) seems to be based a little on the length and complexity of the "exclusivity" serialization must be. A simple "I want it so I can return this little" will be a latch or mutex. More complex "I want it but others can watch it while I use it" will use the locks, which involve much more complex structures and the ability to queue.

    There are a lot of documents, analysis, speculation, myths and so on around it. If you want to continue past 'there are mechanisms' I would recommend first to decide on the version in order to have a target to reflect and then watch whatever it is written by Tom Kyte, Jonathan Lewis, and Tanel Poder contains the word 'lock', 'lock' or 'mutex '. Studying it could take a few months of dozens.

    But it's one worth studying as it heads toward some of the main areas related to performance. And it's interesting because it's really a "never-ending story" as new and innovative handling restraint means are found or news and more larger sizes require different tactics.

  • every morning my computer minimizes all my icons and I have to do a system restore to go back to the great icons and print.

    keep the system restore to make icons and print more. don't know why this is happening.

    keep the system restore to make icons and print more. don't know why this is happening.

    Have you looked at in this...
    Right-click on your desktop free space > view > where is the check mark, classic, medium, or large?

    You may want to check this one too...
    Right-click on an open office space > Personalize > column left, adjust the size of police (in PPP) > you could put a point to larger scale, or > click Custom DPI > change to a large % > OK > OK

    t-4-2

  • Disable all triggers at the same time?

    Experts,

    I would like to know that I can disable all triggers on a single order?
    insertIncometrigger, insertInvoicetrigger, insertInvoiceItemstrigger...

    Thank you
    Francis SZE

    Hello

    BEGIN
        FOR reg IN (SELECT table_name
                    FROM   user_tables)
        LOOP
            BEGIN
                EXECUTE IMMEDIATE 'ALTER TABLE ' || reg.table_name || ' DISABLE ALL TRIGGERS';
            EXCEPTION
                WHEN OTHERS THEN
                    dbms_output.put_line('Error disabling triggers of table ' || reg.table_name);
            END;
        END LOOP;
    END;
    /
    

    Kind regards

    Published by: Walter Fernández on November 17, 2008 10:01 - adding missing | (Sorry, copy & paste mistake ;)))

  • I hacked and lost the toolbars upper and lower (Start/clock). How can I get back them?

    I think I was hacked by a program called Claro. I don't know anything about. As a result, I lost the top and bottom toolbars in Firefox. Since then, I have used either and all is ok there. I still use FF. How can I get FF back up and running? Thanks for any help.

    Make sure that you run not Firefox mode full screen (press F11 or Fn + F11 to toggle; Mac: Ctrl + Shift + F).

    If you are in full screen view then hover over with the mouse upward to make the bar appear Navigation and tab bar.

    Click the expand (in the top right Navigation bar) to exit full screen or right-click on an empty space on a toolbar and select "exit full screen" or press the F11 key.

    You can check for problems with the file localstore.rdf.

    See also:

Maybe you are looking for

  • Unable to connect to the server: Twitter

    Hey there! For awhile now, I've been able to connect to twitter.com on my MacBook Air. I can access it fine on my iPhone through the app, or even enter the field on Safari (mobile), but it seems no matter what I do, I can't access it on one of my lap

  • nicaiu.dll errors causes matlab Crash

    Hello Matlab 2010A using call nicaiu.dll and run the commands DAQmx. Most things work very well. However, very often (> 50% of the time) when I get home the DAQmx false or illegal settings (as I'm trying to develop and debug my code...) MATLAB will s

  • Acer H226HQL submission - no PWM?

    I saw mentioned on a few forums that this monitor is unique in its price range to have a backlight that doesn't use pulse width modulation; in other words, the brightness is altered by DC and does not work on and outside.  Is this correct?

  • HP Document Viewer 7 OfficeJet 6310 printer ActiveX controls all in one

    I get error message "activex controls accept only fonts that are defined in graphicsunit.point. When I use HP Document Viewer 7 to get my scans or images. I have a HP OfficeJet 6310 printer all-in-one. I uninstalled all the drivers and software HP, r

  • How to read the file audio .wav on lumia 620

    I'm not able to play the audio .wav on lumia 620. I used an online converter and converted this track in mp3 format. But even in this case, there is no sound if I play this. pl advice.