How to control the number of cycles in the shape of triangle

Hello

I'm quite new Labview programming and find a hard time to code a simple program. If anyone can help me find a way to control the no. cycles of a triangle pattern.ie, if a key is pressed the code should send an individual right. wave form when it is in place the button should switch to its original state. I enclose the code that I've used to working on. The material used are NI 6013 and NI6723, as well as two BNC-2110 as input and output.

Thank you best regards &,.

George

Hello

first of all, if you want to have an application like this, a simple while loop will not suffice. You will need to use a state machine or producer-consumer model. You read about them here, you have also some models and examples in LabVIEW.

Another thing is that the production finished, it would be preferable to use the sample mode "Finished samples" (in the DAQmx Timing.vi configuration).

Tags: NI Hardware

Similar Questions

  • How to control the number of fields in the Advanced mode in < af:query >

    Hello

    How to control the number of fields in the Advanced mode in < af:query >?

    Say I have 20 fields in my table, and I created a view of criteria with 2 fields. This would work perfectly in basic mode. But in Advanced mode , the choice of fields is possible by clicking on the Add fields button. I didn't have the customer to search with all 20 fields. Only 10 fields must be listed in the Advanced Mode, even if there are 20 fields in my table.

    How can I control the list of fields in ADDFields button?

    Any ideas?



    KR

    You can uncheck the contestable ownership of attributes that you must not appear in the Advanced Mode (but they will not appear in the other modes too!) or by programming the value the same as those mentioned here.

    http://adfcodebits.blogspot.com/2010/11/bit-27-setting-view-object-attributes.html

    Also, you can hide the button AddFields as suggested here - http://www.notjustjava.com/2011/12/cool-tips-to-showhide-components-of-the-query-control-of-adf/

  • How to control the number of lines of text below the image in the slideshow module?

    Lightroom 3.3

    How to control the number of lines of text below the image in the slideshow module?  I have an image with 36 words in the caption field which exports like two lines GOOD.!  I have another image with 57 words in the field of legend who runs the page and shows only a VERY BAD line.  With 57 words I can't do the single-line text box small enough to keep the text does not spread out of the page.

    Ideas?

    On the Mac platform and I expect similar under Windows, just hit enter or return key will not help. Instead, you will have to hit the keys Ctrl + Enter or Ctrl + return. This forces a new line. Windows may use a different modifier key. The screenshot below shows that it is possible. Unfortunately, you need to add the text via the caption or Description field in the library module.

  • How to control the sort during the download or export

    can't figure out how to control the sort order when you export on hard drive or upload to smugmug.  have photos arranged in the way I want to do in LR and then when I export to hard drive they are ordered by file name.

    When it comes to your hard drive, your operating system determines the file order.  No matter what you do in Lightroom, the OS will be based on your choice determin how files will be ordered. If you want them to be in order, you should probably adopt a convention of name change in your export that names the exported files similarly followed by a sequence number.  File01, folder 02, etc. Then set your viewer (Finder/Explorer) to sort by file name in ascending order.

  • Satellite M100 with Debian - how to control the power and the cooling fan on

    Hey,.

    I M100 and I installed debian, works very well, but there is a problem.
    Cooling fan turns on the top speed of all time. I m not shy on unix.
    How can I control cooling fan?
    How to control the power to the laptop?

    Hi mate,

    have you ever heard of the toshutils? I highly recommend trying these tools. Just google for toshutils and you'll find a few nice applications. Should usually be included in the distribution you have, also, I would check with 'apt - get search toshutils.

    See you soon

  • How to control the speed of the fan on Satellite A660 - 11 M?

    Please any body know how to control the fan speed its always of 69% and making bad noise and the cpu use is 3% no to treatment high I try avancΘs power but still runing high speed

    Advanced power settings go to Toshiba power Saver saver > cooling method. There are minimum level. Change back to your power management for a second power plan, and the fan must be much quieter.

    I did it on my Satellite A660.
    Before changing PC Toshiba, health monitor showed CPU temperature 41% and the speed of the fan was 67%. After changing the method of cooling fan speed is 0%.

  • How to control the output voltage?

    Good time after some time can get the output voltage, but this value is alwayscontinuous. How to control the voltage output through a Boolean? In

    in order to get this tension when I want to.

    Greetings.
    Hugo Santos

    Hi Hugo,.

    If you use a LabVIEW project, you must set the time of sampling in the properties of the node (see SamplingInterval.png). But this time to refresh the data should be high enough. If you take into account this update of time trying to control your way out.

    Kind regards

  • How to control the ws appeal period

    Hi Experts,

    I use bpm12.1.3, when the process web service using the service task, how to control the delay?

    Best regards

    Hi user,

    There is a nice blog on wait times. It's about 11g, but it also applies to 12 c.

    https://technology.AMIS.nl/2011/11/18/timeouts-in-Oracle-SOA-Suite-11g/

    Antonis

  • How to control the movement of the oam in muse &amp; just play once the proposal?

    How to control the movement of the oam in muse & just play once the proposal?

    This must be configured during the creation of the oam, no Muse, but the animated application you use.

    Thank you

    Sanjit

  • How to control the length of the field... ?

    Hi all


    All by providing payment details in the payment.jsp... If we use a credit card which has 16 digits then, how to control the ground to allow the entry of 16 digits only... ?


    Thank you
    Vishnu

    Write javascript to enter only numbers and set the "16" size = attribute to limit the size to 16 digits.

    JavaScript can be like that of google.

    function isNumberKey (evt) {}
    charCode var = (evt.which)? evt.which: event.keyCode
    If (charCode > 31 & (character code < 48="" ||="" charcode=""> 57))
    Returns false;

    Returns true;
    }

    -Kiss

  • How to control the length of field, select items list to 4.2 page

    I apologize in advance if I ask what is obvious, but simply, I couldn't get a response yet:

    I would like to know how to control the length of the elements of the type selection list page 4.2
    (as for a normal textfield: in the case where the content is longer than simply not all appears on the screen)

    help much appreciated
    see you soon
    Wim

    WimDeGroot wrote:
    I apologize in advance if I ask what is obvious, but simply, I couldn't get a response yet:

    I would like to know how to control the length of the elements of the type selection list page 4.2
    (as for a normal textfield: in the case where the content is longer than simply not all appears on the screen)

    Normally the browser automatically resizes the selection list based on the content.

    What version of the browser / do you use?

    What theme?

    What model page/region?

    What form/article layout?

    What content does not match?

    (Basically the best way to get help with problems of this type is to reproduce on apex.oracle.com and see us actually...)

  • How to control the service console in ESX?

    How to control the service console in ESX?

    http://www.Petri.co.il/5-critical-VMware-ESX-CLI-network-commands.htm

    http://download3.VMware.com/VMworld/2006/mdc9694.PDF

    http://download3.VMware.com/VMworld/2006/mdc9807.PDF

    http://download3.VMware.com/VMworld/2006/tac0028.PDF

    http://download3.VMware.com/VMworld/2006/tac9689-b.PDF

    http://download3.VMware.com/VMworld/2006/labs2006/VMworld.06.Lab04-performance-manual.PDF

    http://www.RTFM-ed.co.UK/

    PS: If you have found useful messages then please leave a few points

    André

  • How to create the shape layer in Adobe after effects Cs2?

    How to create the shape layer in Adobe after effects Cs2?

    There is no such thing. Shape layers were introduced in CS3.

    MYlenium

  • How to add the shape layer in Adobe after effects Cs2?

    How to add the shape layer in Adobe after effects Cs2?

    You upgrade. You're still too early for shape layers.

  • How to control the number of cycles?

    I am a new user and I would like to ask a question. I use this VI (which is attached) and I want to control the number of cycles of the generated wave (sine, Triangle, saw tooth place).

    How can I change the VI to do this?

    Best regards

    Michael

    Hi FaisalF,

    Looks like you're more interested in the output of a finite number of data. There is one VI example comes with LabVIEW that has this feature called tension - finished Output.vi. Then, you just create an array that will hold your 600 samples for 3 cycles of a wave of 5 Hz and entry of this table to the write function DAQmx in this VI.

Maybe you are looking for