Generate the train of pulses with counters

Hello

IAM using PCI6023E data acquisition in labview 7.0.  I need to generate a continuous 5 kHz 1usec pulse train and I have exhausted my two counter/timers.  Can someone proposes how to generate a pulse train without using timers?  I/O maybe?

Thanks in advance

HV

voh720 wrote:

Yes, I have outputs analog left.  Can analog get the kind of resolution that I mentioned?

Thank you

According to the specifications, the 6023 has not all analog outpts. Quite difficult to use what you don't have.

Tags: NI Hardware

Similar Questions

  • Generate 2 Trains of pulses with different frequencies and Heavy duty with a PCI-MIO-16XE-10

    Hello

    I use a Board PEAK-MIO-16XE-10 DAQmx with LabView 8.6 to run a door for a piece of equipment controller. I need to create 2 separate, all pulse trains both trigger simultaneously, each with their own cycle frequency and duty. So far, I can create 1 pulse train and it works exactly as I need, however, whenever I try to enable the second train (called a door in this VI), I get an error saying: "the specified resourse is resevered," even though the first door is configured to use counter 1 and the second must be set to use counter 0. As I understand it, this map contains 2 separate counter/timer modules, so this should be possible. A large part of the rest seen in the attached VI's preparation for the signal processing and other controls that I use that I finished this VI.

    Thank you

    <><>

    Hi Eric - you forgot to attach your VI.  I did what you're trying to do with a similar card, but who has been using NOR-traditional DAQ (before DAQmx).  It should be possible with DAQmx as well.  A quick search on the forums turns up these two links, which suggests that your problem is that you try to create two tasks separate DAQmx, one for each counter.  What you need to do is create a single task DAQmx which includes the two counters, then together, that their frequency and duty cycle regardless.

    http://forums.NI.com/NI/board/message?board.ID=170&message.ID=241602

    Causes of error NEITHER-DAQmx-50103

  • I need to generate 3.3 V logic level Digital train of pulses with the NI PCI-6221. Can I change the level of 6221 OR logic output?

    I need to generate 3.3 V logic level Digital train of pulses with the NI PCI-6221. Can I change the level of 6221 OR logic output?

    The output cannot be changed. 5V to 3, 3V level controllers are readily available (Maxim, I think). As long as the scanning speed (etc.) is fast enough for your pulse train, even 3, 3V regulator would work. I don't know if NEITHER offers a module to condition TTL levels.

  • Can any body help to get a script that can generate the sequence (length 3) with a combination of numbers and characters example: T11... TA1... TZ9... then on

    Can any body help to get a script that can generate the sequence (length 3) with a combination of numbers and characters example: T11... TA1... TZ9... then on

    With the help of the clause type

    Select sqnc

    from (select sqnc

    from (select 'T00"sqnc, '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' ordr

    of the double

    )

    model

    size of (0 I)

    measures (sqnc, ordr, length (ordr) len)

    rules iterate (1300) until (instr(sqnc[iteration_number],'~')! = 0)

    (sqnc [iteration_number] = case when sqnc [cv (i) - 1] is null

    then sqnc [0]

    of another substr (sqnc [iteration_number - 1], 1, 1) |

    -case when substr (sqnc [iteration_number - 1], 2, 1)<=>

    so when business substr (sqnc [iteration_number - 1], 3, 1)<>

    then substr (ordr [0], instr (ordr [0], substr (sqnc [iteration_number - 1], 2, 1)), 1)

    of another nvl (substr (ordr [0], instr (ordr [0], substr (sqnc [iteration_number - 1], 2, 1)) + 1.1),'~ ')

    end

    end |

    -case when substr (sqnc [iteration_number - 1], 3, 1)<>

    then substr (ordr [0], instr (ordr [0], substr (sqnc [iteration_number - 1], 3, 1)) + 1.1)

    else ' 0'

    end

    end

    )

    )

    where instr(sqnc,'~') = 0

    Concerning

    Etbin

  • FPGA to generate the counter and pulse train

    Hello

    I have some experience with Quartus, but new on the FPGA OR.

    I have a PCI-7811R. I'm trying to use it to illuminate sequentially 144 LEDs repeatedly. The duration of each pulse is 480us.

    Basically, I need to generate a pulse and generator of a counter to record the number of pulses and, according to this number, select which light is lit.

    I designed a pulse generator train based on an example of using FPGAS and added a counter in it. You can see in the attached vi.

    My question is,

    When I put the I/O node inside loops call single cycle, it can generate the correct pulse.  However, when I tried to use the local variable to transfer data from the SCTL and then plug it on another node of I/O, I can't detect the pulse signal when I measured this I/O.

    Is there something wrong with my code when I try to transfer the data of the SCTL? Can I also use local variable to transfer the value of counter, because I will need it in the next part.

    Thank you!

    If you are referring to the wired local variable to DIO2 in your attached VI, the problem is very simple: it is outside a loop, then it executes only once.  Put this local variable and the node of IO in a loop and I think you'll get something close to the impulse you expect (although if it is not in a loop of single cycle you will have exactly the same calendar).

  • How to measure the width of pulse with MyRIO

    Hello

    Sorry in advance if this is not the most appropriate forum.  I'm not entirely sure if it's a more general problem of 'software' or the MyRIO-specific.  I have searched the forums and found a few related topics but could find no one who help me in this context.

    I'm trying to measure the width of a sensor pulse ultrasonic ping.  It emits a signal conditioning - the time that it is high directly corelates how far is the object.  Being new to LabVIEW I am confused as to how do I calculate the time it remains high.

    I read that LabVIEW should not need to 'variables' as in python or C, for what is the best way to measure time, the signal is high?  Normally, I'd go (new_time - old_time), but obviously I can't store an old time in LabVIEW as I would in python or C.

    Other notes:

    I have the sensor correctly ping echoing and I can see the blips on a chart and see a perfectly square wave valid.

    To answer your question on how you would in LabVIEW...

    While LabVIEW has not stated/named variables that you have in a language based on text, the data is stored on the wires. You can use the nodes as node registers or shift of feedback to store values between iterations of a loop:

    (this will keep subtracting y (starting with 0) and store the result for the next time it runs)

    LabVIEW also has functions in the range of mathematics/signal processing to make the detection of pulse on a waveform.

  • Archives generate the different path compared with the path mentioned in LOG_ARCHIVE_DEST_1

    Hi all

    I have 2 Installation RAC + ASM from the node. Here, I found that generate the archives on the different path compared to the path mentioned in log_archive_dest_1.

    O/P to the list of archive logs:

    Database log modeFashion Archive
    Automatic archivingActivated
    Destination of archive+ ORAARCH

    Sequence of journal online oldest 2307

    Log sequence archive 2309

    Current log sequence2309

    Archives to generate the path are: (to 17 July 2015)

    + ORAARCH, ABCDB, ARCHIVELOG, 2015_07_17

    Please guide why such difference?

    Destination of archive + ORAARCH

    Above location is diskgroup name in ASM (OMF), all files created in the DISKGROUP/DBNAME/FILETYPE format.

    2015_07_17 is the DATE of generation of the Archive.

  • Generate the table of contents with chapter markers?

    It has been a while since I had to install and create a table of contents for a long document of single file, but I'm sure that I created TOCs in this way in the past. Then, why the text in the Section markers will appear in the table of contents? It is even possible to generate a table of contents that contains text of article marker?

    I use InDesign CS5 in Windows. I have a file single document I'm trying to generate a table of contents for. I designed a 16-page manual in an inDesign file that includes a cover page, table of contents page and seven "chapters."

    I created a separate section for each 'chapter' and used Chapter markers in the top of the page master for chapter names. It's something I did in the past of syntactically long documents containing several chapters.

    I put the first page of each 'chapter' as a new Section on the Pages panel. In numbering and Section Options for each page, I checked the Section getting started, Automatic Page numbering, the Style of Page numbering: 1,2,3,4... and in Section marker: I put the name of 'chapter' in the text box.

    InDesign_Pages_NumberingSectionOptions.jpg

    I've set up paragraph and character Styles and has used throughout my document. When I put in place the table of contents I created everything correctly, including a heading style that I used for all the sub lines in my file and my style of Section marker for chapter names.

    InDesign_TOC.jpg

    When I insert the table of contents, generate headers sub with their page numbers, but the titles of the chapters which are chapter markers do not generate. Am I missing something or is it still possible to enter the text of chapter markers in a table of contents? I'm sure that he's worked in the past. Can anyone offer a solution for this?

    Thank you

    Kat

    Looks like the markers section present only in the table of contents if they are on a document page. Try manually to the substitution of the frame.

  • Unable to generate the token of debugging with command line: illegal device ID

    The doc online is missing (broken), so I'm assuming that we must use the PIN located on the about page, but the token generator does not accept.

    Any advice?

    It must be in hexadecimal. That is to say 0 x.

    Also use the example that is given by the order, not from their Web site. I did it the way they stated on their site Web and half my desktop icons have been removed perma.

  • Banner advertising generating the error "Flash files with network methods are not allowed."

    SWF files created in Falsh CC generates this error. No one knows how to fix?

    Click file > publishing settings > avancΘs as3 (the wrench) > and change the default link to "merged into code".

  • FM10 cannot generate the table of contents with main points

    Hello world

    I've read some useful discussions here on this issue but I still can not to be able to solve this problem of main points for my OCD.

    I already assured that the reference for all my image in my book files have the same reference table of contents of the page entry page. When I generate my OCD the main points are missing!

    I then, open the reference page for the TOC file and paste in the same entries of table of contents of my other image files and then update the book to regenerate the table of contents.

    Also, this does not solve the problem.

    Any help to fix this would be really appreciated!

    Here are some screenshots of my reference page for my OCD (below). I have ensured that this section is present for all of the image files from my book too (in their sections of the reference page for the table of contents).

    ChapterTitleTOC

    ChapterTitleTOC.png

    Heading1TOC

    Heading1TOC.png

    Heading2TOC:

    Heading2TOC.png

    And my OCD generated

    Generated TOC.png

    Open view - reference pages and search for all occurrences of

    <$paratext><$pagenum>

    remove the space between the tags, then press tab once, then make sure you that you have selected to view - toolbars - formatting to display the paragraph on the right-hand panel, then switch to design a so I don't see there you already have 5.76 tab stops then click it and make sure before that the vertical slider of creation is <$paratext>(it should be a sign of angular once you press tab) |<$pagenum> then Now click on your 5.76 and change of play left to right or CHANGE WIDTH see screenshot AFTER YOU press CONTINUE you need to update while paragraph sign for reference pages

  • generate the view in line with the values of the 'sequence' 0.36

    I want my query to join inline view that has values of 0.36, what is the best way to create this inline-view?
    My initial solution would be:
    SELECT LEVEL RESULT FROM Dual CONNECT BY LEVEL < 37
    union
    select 0 from dual
    order by 1
    I want to write the query that returns the same values as this query, I showed.

    CharlesRoos wrote:
    I want my query to join inline view that has values of 0.36, what is the best way to create this inline-view?
    My initial solution would be:

    SELECT LEVEL RESULT FROM Dual CONNECT BY LEVEL < 37
    union
    select 0 from dual
    order by 1
    

    I want to write the query that returns the same values as this query, I showed.

    SELECT (LEVEL - 1) RESULT FROM Dual CONNECT BY LEVEL <= 37 ;
    

    Published by: user503699 on October 29, 2010 14:20

  • generate trains of pulses of 5 kHz

    Hello

    I would like to generate digital impulses to 5 kHz oe less rate, any recommendation of material? better usb and budget type.

    I have usb 6501, I try to work on this, maximum output is 1 kHz the best. Is it possible to above?

    Appreciate any help here.

    Kind regards

    Simon

    You can use each channel to generate the train of pulses at a different frequency at the same time, and generation of pulse stops immediately as soon as the task is stopped.

  • 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 generate the report on rules

    How to generate the report on rules with id recipient and with a few keyoword in a rule.

    The rule management dashboard has an integrated 'report rules', you can configure properties and input parameters.

    For rule management dashboard, click homes > Administration > rules. In the upper right, next to the date and time, click reports.

    You can also find these helpful videos: http://edocs.quest.com/foglight/5610/Foglight_Reports_videos.php

    Hope this helps,

    Shay

Maybe you are looking for