How to create impulses cause a pulse width Variable AND at the same time

Hi all

I have a NI PCI-6251 that comes with 2 counters, a FREQOUT port and then some DIO, DAC and ADC.  I want to trigger a pulse of variable width (easy to do with two counters) and a frequency closed, exit at the same time.  So, I want to end up with a line that will display TOP for some variable time, while the other exits a train of pulses for a time variable.  It is easy to do if you have 4 counters but I don't have one.  Does anyone have an idea to implement these two things AND making them trigger at the same time with the PCI-6251 card?

The line is high for as long as your pulse train controlled?

If so, set up the first counter as output pulse, configure the 2nd as output continuous meter but with the internal of the first counter output as its trigger to pause (pause when it is low).  Start the 2nd meter before the first.

If not, you will need to use the digital output to replace at least one of the counters (max sampling rate is 10 MHz, so this would give less resolution compared to the time base of 80 MHz counters).  So you would simply write the waveform predetermined in the buffer and he clock at the desired rate and the number of samples to give the signal that you want.  You need to generate some other subsystem as FreqOut clock.

Best regards

Tags: NI Hardware

Similar Questions

  • Can PCI 6602:How I use digital lines of the Board of Directors and at the same time to generate trains of pulses by using a meter?

    Hello!

    My problem appeared when I tried to update my traditional NOR-DAQ legacy code to DAQmx.

    I use 2 meter (meter 5 and 7 meter) on PCI-6602, to generate trains of pulses, as well as the lines of e/s digital port 0 (the form lines from 0 to 7). What I do in my request, it's that I'm starting to generate the pulse train on the output of 2 meters and after that I play with the State of digital lines.

    Traditional, it was no problem to use the meters and digital lines at the same time, everything went perfectly, but in DAQmx, is not possible.

    What's happening: I start generating train of pulses on the output of counters, no errors, but when I try to change the State of a line of digital port the generation of the pulse train is stopped. What happens when I start the task associated with the digital way.

    My question is: is it possible to create a channel on digital lines without changing the channels created for meters?

    Another thing that I managed to do with the panels 'Measurement and Automation Explorer' and Test for PCI-6602, is basically the same thing, I generate trains of pulses on the output of the 7 meter and try to start a job on the digital line, but I get an error:

    "Error-200022 occurred in test Panel.
    Possible reasons:
    Measurements: Resource requested by this task has already been reserved by another task.
    Device: Dev4
    "Terminal: PFI8.

    On the contrary if I use the counter 0 or a counter 1 to generate trains of pulses I encounter the same problem.

    What resources are used by 2 to 7 of the PCI-6602 card counters and the counters to 0 and 1 do not use?

    Thanks in advance for any answer!

    Ciprian

    After doing some real tests on this device, I found that it is a normal behavior for the jury of 6602.  This is because when you start a task digital all 32 lines are configured for digital i/o, so it replaces your meter operation.  The article below the link explains a little more on this subject.  You must start the digital task before the task of counter to use the features of both in your program.

    2 meter and above will not work correctly when you perform digital i/o on NI 6601 or 6602

    http://digital.NI.com/public.nsf/allkb/43F71527765EEC3886256E93006CD00C?OpenDocument

  • How can I separate the dialogue of downloads and bookmarks in the library box so I can see each one separately and at the same time as Firefox used to allow?

    After the last update, placed Firefox download dialog box and bookmarks in the same dialog, which cannot see both at the same time. I can't find any option to separate the two. It's severely cramping my workflow. Can you tell me how I can see once more my download progress in a single window and my favorites in another?

    You can view the new download manager in a tab by opening the words: download page and you can consider opening this page in a separate window.

  • How can I delete all text messages from my watch at the same time

    Can how I delete all messages at once on my Apple Watch?

    Hello

    It is not possible to delete all the messages in your Apple Watch at the same time.

    To delete messages:

    -On your watch, open messages (via the home screen, accessible via a simple press on the digital Crown) > when you view the list of conversation, by sweeping left on a conversation > tap Delete / Trash.

  • How to create a button to run an insert and remove the statement

    Hello. I have a tabular presentation page that allows me to view the contents of a table and update the data in two columns of the table. I want to create a button on the same page and when the button is clicked the following actions occur

    1. Insert a new table all the values in the table as a table where the two editable fields are not null.
    2. remove from the table in a table all records where the editable fields are not null
    3. back to the current page... This will show me all the lines where the editable fields are always set to null.

    I tried to do this by creating a button manually and by using a sql expression to first try the Insert... It did not work. So I'm looking for a pointer to what would be the best method.
    Concerning
    Craig

    Hello

    create the button with "Defined by the dynamic action" action.

    The creation of a dynamic action on the button who has run the PL/SQL code

    Kind regards
    Richard

    -----
    blog: http://blog.warp11.nl
    Twitter: @rhjmartens
    If you answer this question, please mark the thread as closed and give points where won...

  • Acrobat 4. How to copy multiple pages of thumbnails in a PDF at the same time?

    I downloaded and installed Acrobat4, downloadable for free [site deleted by host]. After that I open a multiple-page pdf document and get the corressponding several thumbnails, how to copy all at once multiple thumbnails for more late sticking them?

    Thanks for the help in advance. Enjoy your time!

    Diligent

    Post edited by: diligentinquirer

    Acrobat 4 is not available as a free download from any authorized Adobe site. You use pirated software.

  • Create a book able to change several pages at the same time later.

    I am new to InDesign (depending on the CS6) and what is probably an easy question.

    I'm creating a catalog/photo book of 6 x 9 with 2 photos per page.  I would like to create by using some sort of template system so that later if I need to change the page layout, I can change the template (for example) move the photo from the top to the top a bit and have * each * photo using this template on every inch of page shot upwards, instead of having to adjust each page by hand (120 pages).

    I can do it in InDesign, and if so, how?

    Thank you.

    Put the graphic frames on a master page. Make adjustments there.

    Bob

  • How to use LR on Mac, and at the same time on a PC

    I'm new to Mac. I used LR on PC and I used a disc external hard storage my catalog and photos of work. Now I have the problem that LR on Mac says a catalog cannot be used on an external drive. So, how can we work on Mac and on my Windows laptop?

    DdeGannes wrote:

    You need to detach the disk from the computer and attach it to the Mac.

    Probably will not work because the drive of the PC is formatted in NTFS (windows) and Mac natively needs a HFS.  The Mac can READ an NTFS drive, but it cannot write to it without a special driver.  Do an internet search for "mac, write to NTFS drive" and several solution will come.

  • How to store messages on my computer and at the same time to delete them on the server using IMAP connection?

    I have 100 MB space on the server. I have 1 TB of space on my computer. I want to delete the messages from the server while keeping a copy on my computer. Please tell me that this is possible and instruct me on how to do it. I am using IMAP.

    Thanks for your help.

    You use unified folders view? One of the reasons that I do not use it is that it can count.

  • How can I add all my tabs open to Favorites at the same time? (no not one by one)

    There was a menu item I could access "bookmark all tabs...". ", but is no longer in my menu since I upgraded to 4.0

    You can go to bookmark all tabs by right-clicking a tab, or use the hotkey Ctrl + Shift + D

  • How to lock a folder and at the same time enable backup software to access?

    Hello.
    We have 10 systems in our office and an additional computer that acts as a backup server for the important files and folders. However, due to security issues, we want the whole (the inside which are backups) must be locked down and only accessible by providing authentication (e.g. a password). but the problem is that if I block the folder, the backup software may not work.
    Is there a way around this so that whenever anyone attempts to access a file/folder from the server, it will have to enter a password (remember that it is access to the its system which is connected through lan server) and the same brand of time the work of backup software?

    Hello.

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet forum.

    http://social.technet.Microsoft.com/forums/en/category/w7itpro, windowsvistaitpro, windowsxpitpro, windowsintune

  • How can I print multiple files 'no MS Office suite' at the same time?

    I try to print multiple files .print simultaneously.  They really are .txt files, but the extension must be .print of certain processes downstream to our factory.  I tried highlighting them all and then right click, but there is no available printing options.  Is there a way to batch print multiple files at the same time?  It would be nice if the print dialog box would open and can be changed for printing at the beginning of this process and keep the same settings for each selected file.  Is it possible to write a macro or vbs code?

    Hi bdaely,

    What application you use to print multiple files sometimes?

    What is the number and model of the printer?

    We will be able to print multiple Word document files.

    You may need to communicate with the application through which you print. If they have suggestions on changing the configuration of the file to print multiple files.

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How many RDP connections a PC XP Pro can handle at the same time?

    I have a small client that uses 3 PCs all XP Pro; 1 is far away and he needs to access the "main PC application" while another PC accesses the same "PC application.

    Thank you

    Incoming connections?  I think the answer is 1.  XP is not intended to be an application server.  What is the Terminal Server Services.

    -B-
    http://www.officeforlawyers.com | http://www.OneNote-tips.com
    Author: Guide to counsel for Microsoft Outlook

  • How to convert a string to a number Variable and store the decimal

    Hello!

    Here's my problem!

    I get information from a source that I can't control.  He sends me the number in to form chains.

    Ex: 12,200.49

    I tried usingval() but only get '12' because it stops when she sees a comma or a period.

    I also tried using Replace() to remove the comma and period, but then my increase, because the last two digits are now a part of the number and either behind a decimal point.

    Some examples of code

    < cfset price = "12,200.49" >

    < cfoutput >
    #val (Price) #.
    < cfset price = ' #Replace (Price, ",", "","ALL") # ">

    < BR / >
    #val (Price) #.
    < cfset price = "#Replace(Price,".","","ALL") #" >
    < BR / >
    #val (Price) #.

    < cfset price = #NumberFormat (Price, "_. _") # >
    < BR / >
    FINISHED WITH #Price #.

    < / cfoutput >

    The output of the code above is as follows:

    12
    12200
    1220049
    FINISHED WITH 1220049.00

    So, you can see that 12,200.49 is now 1,220,049.00 because the two numbers when added.

    What I would like to end by is a string '12,200.49' which is now a number like this $12 200,49

    Help, please!

    Hello

    Try this


       
       
    #DollarFormat (price) #.

  • How to become a bunch of cuts at the same time?

    Beginner question. Once I cut out all the pieces I want to keep a clip, how to quickly reach all segments? I just did the manually, a time, selecting and pushing in the following.

    Screen shot 2015-08-15 at 1.04.19 PM.png

    so, it looks like this:

    Screen shot 2015-08-15 at 1.15.40 PM.png

    Still to learn!

    If you are going to work in the timeline panel and do not want gaps, then use the ripple of the filling of the playhead shortcuts (there are 2, next & previous) as well as the razor tool or add edit shortuct, to avoid creating gaps first. If you have gaps, ann made a tutorial how to remove here remove several gaps in Premiere Pro at the same time - YouTube

Maybe you are looking for