train of generation of alternative pulse with USB-6251

Hi all

My goal is to generation on the USB6251 signal as output:

http://S232.Photobucket.com/albums/ee262/rusian24h/?action=view¤t=formofsignal.jpg"target ="_blank"" >http://i232.photobucket.com/albums/ee262/rusian24h/formofsignal.jpg "border ="0"alt ="Photobucket">"

First, I marked VI "generation signal ' (attached fllowing), after that, I replaced under VI"Basic fuction generator"in VI"Multi-Fuction-Synch I-AO"(in the library of examples of Laview) with VI"generating the signal.

http://S232.Photobucket.com/albums/ee262/rusian24h/?action=view¤t=Outputanalogsignal.jpg"target ="_blank"" >http://i232.photobucket.com/albums/ee262/rusian24h/Outputanalogsignal.jpg "border ="0"alt ="output signal">"

When the program runs, the output signal is last 6 periods of the signal.

How can I output the entire signal?

Please help me

Thank you very much!

Rostov,

Please use the Forums of NOR. I have seen the same behavior that you experience when you place your custom in the AI Multi-multifunction-Synch-AO VI. This behavior is because your personalized VI wasn't out the data you expect. When you wrote your data on you placed him in a graphic waveform and graphics have memory. So he was combining all data in a single chart, even though she was only being written in pieces. That's why when you place your VI in the other program that you saw only the last couple periods. I enclose a VI that I did which will display the step that you are missing, and I used one 'Add waveforms' VI to ensure that all data is saved correctly.  If you place this VI in the code you should see everything correctly. Let me know if you have any questions.

I have attached the VI in version 8.6 and 8.0, if you need a later version of 8.0, let me know.

Tags: NI Hardware

Similar Questions

  • How to sync 3-way with USB-6251

    Hi all

    I have a NI USB 6251, Labview8.5.

    My system includes: + a waveform output stimulating (I use Dev1/AO1 or Dev1 / AO0)

    + Two channels for (I use Dev1/ai0 and Dev1/ai1) acquisition of input signals.

    I modified example "Multi-multifunction-Synch I-AO" Find example\Hardware entry and Output\DAQmx\Synchronization\Multi multi-function.

    I added a single channel for this example and I want to 3 channels at the same time working, but during process occurs "error-50103 occurred at Task.vi:1 DAQmx Start" or the possible reasons: the specified resource is reserved. The operation could not be performed as indicated.

    I have taken a long time, but can not solve this problem.

    Can you give me any advice.

    Thanks in advance for any help!

    MC

    As the specifications clearly indicate, your Board does not support simultaneous sampling. There is a simple element A/D and all channels are multiplexed for her. When you select several channels, the first string in the list will be sampled, then the second, etc. There will be a time that you can determine and it is very small, but it will always be there. If you need simultaneous sampling of the value true , you can buy a DAQ card that supports.

  • generation of digital pulses with NI 9263

    I'm trying to generate a pulse square with a NI 9263.  I have tested the locking solenoids and need a pretty accurate amplitude and pulsewidth.  I tried with the VI in the image.  My goal is 32ms +/-1ms.  This VI produces a pulse ranging from 25.5ms to 36ms.  I spent the same waveform in a DAQ assistant and it was 32.2ms every time, but tripled the size of the VI.  How can I get the same results with the ex-girlfriend of LV?

    Create it with the daq assistant and then right-click on it and select open front panel. He complains of the vi being converted, just say OK. This action turn the express vi into a normal vi you can analyze and modify.

    Mike...

  • Suggestion of a USB device for synchronization of a short Digital pulse with analogue output or periodic

    I hope someone can point me in the right direction and also to clarify some concepts!

    Background: I am currently using the box USB-6009 and labview on a laptop to output 2 analog waves. It acts as a waveform(0.5-2Hz) of speed (periodic) for an engine step by step (with a driver) to execute a loop of traffic, and the other waveform acts as a signal short 5V to trigger some imaging equipment. The ability to move or to delay the start time of the wave of 'trigger' compared to the waveform of speed in steps of hail (ms) became a requirement for my experiments. Given the time where the USB-6009 case, software based accuracy was not good enough because I need, and the way I wrote the VI limits my delay/travel at the speed of wave deltaT(30-40ms). I started to look at the USB - M series (portability is an obligation) since some have calendar based on the material, and I could send the signal to a buffer rather than iteratively having read every value of the wave in. It also seems that a digital short "pulse" works better than an analog wave form creating any. Where I ran into some confusion is to determine the requirements of a deterministic way sync the two. I am looking for new hardware. I started by looking at the box USB-6211. However, I ran across a few posts talking about the digital I/o correlated being required to perform vaguely similar configurations, which would require something more like the USB-6221. Since I have probably to the digital output to be on a time scale different analog output, is i/o digital correlated required? If not, would the 6211 work?

    Just to be clear, I need the periodic waveform and relaxation to be constantly in phase (anywhere, 10 minutes to several hours). Then be able to move the pulse +/-1ms (minimum) and repeat.  I can justify the most expensive device if necessary, but I don't want to get something I don't need.

    I have attached a figure (not not to scale) of what I am after, in the likely event that my explanation was not too clear.

    Thank you

    Gabe

    Hi Gabe,

    The 6211 did not buffer IO digital as some of our other devices.  However, there are two complete meters on the 6211 which can be used to perform a generation of pulses (pulse or continuous pulse train - you can output a pulse train using two counters finished).  You can take a look at the section Applications of meter output x 621 manual for more information.

    What it sounds like, the 6211 will do what you need for the following reasons:

    1. the AO of the 6211 lines are buffered and can be clocked up to 250 kHz per channel (in contrast to the 6009 using AO NI by SW).

    2 the 6211 counters can be used to generate two pulse based on a basis of time of 80 MHz (12.5 ns pulse width and resolution time).  The 6009 does not output meter.

    (a) if the two pulses must be on the same line, you must configure a task of generation of pulses finished' (this example uses two meters behind the scenes).

    (b) if both impulses are on separate lines, then you can use a task to counter separated for each line with a different initial delay.

    The 6211 does not supported clocked generation of digital signals (e.g. 100010101110100) but if you just need to generate impulses so that's precisely what the counters can be used to.  I think that's where all the confusion, but seems like the generation of digital signals should not be necessary for your application.  Trigger the counter outputs out of the trigger to start AO and adjusting the parameter 'Initial period' should give you what you are looking for.  Don't forget to start the tasks of meter in the software before the tasks of the AO (if they are armed and ready to go before the start AO is sent).

    I hope this helps, don't forget to post if you have any questions!

    Best regards

  • Pulser for usb-6218 with exponentially increase

    Hello, I have a USB-6218. I need to check 2 stepper motors which take
    dev1/ctrl0 / dev1/ctrl1 signal for speed, A01 and A02 for the
    direction (forward and back). I need to send a signal of 5 volts
    square wave to control the direction with a frequency chosen by the user on A01 and A02. I also send a series of pulses
    with fixed amplitude 5 volts and frequency select by the user. impulses must be
    Envoy with frequency increasing exponentially with the frequency 0
    chosen by the user. How can I do? Thanks for your help

    Thanks so much Andrea! I solved
    My problem!

  • 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.

  • Model generation with USB-6341?

    Hi all

    We have developed a software quasi multifunction 'device-independent '. This sw is capable of generating the sequence shot timed with the device really used. Up to now, we have used devices PCI-6025 and USB-6221, but now we bought a USB-6341 and when I try to use a message of 200565 error pops up: "specified digital channel contains more bits supported by the version 8 bits of the Port DAQmxBase write.» Use the version of DAQmxBase Port write who takes in charge the broader digital ports. Minimum size of write in bits: 32 "

    I tried to change PORT0, PORT1 and PORT2 but only PORT0 is legal for the model generation process and it requires DAQmxWriteDigitalU32 function...
    I don't understand why.

    a / 6341 contains 24 DIO lines
    b / only 8 DIO lines are clocked by material

    Then there are 24 DIO lines (i.e. 24-bit 32 no!), but only 8 lines are timed by the hardware and I want to use only this 8 lines for model generation!
    Our whole software is based on 8-bit pattern-berries (writeArray type is "uInt8"). If we cannot use this structure, we must rewrite dozens of functions...

    So, how can we use the function of DAQmxWriteDigitalU8 with USB-6341 or what can we do?

    Thank you

    -George Cs.-

    Dear George,

    It is an interesting question, which may seem a bit unintuitive at first. The main reason for the 32-bit write operation (although the USB-6341 has only 24 DIOs) is that the functions and the driver support other devices too. As you can see in the manual of the unit (http://www.ni.com/pdf/manuals/370784d.pdf) X Renault series supports digital IOs up to 32 bidirectional signals.

    To keep things consistent exploitation of 32 bits is required even if you use only a subset of the available ports.

    I hope that this helps to explain.

    Best regards

  • Pulse counting with USB 6008

    Hello world!

    I have a project with USB 6008. I want to count impulses (for special features: count the pulses of the encoder) use USB 6008. I wirite with DAQmx to test a simple. But it do ' t run. Please see and help me to do this exercise. I just borrowed 6008 USB so I don't have any experience with USB 6008. Thank you! It's funny.

    Looking at the PFI0 manual (pin 29) is correct and I don't see anything wrong with the code and example should work. I have a M-series card, not a 6008 and it works for me. This error code is meaningless if. Are you sure it's the number?

  • Addition of a generation of finite pulse delay generates the error-200305

    Hello

    Sorry, I'm relatively new to the generation of pulses. Please help me understand why I get an error-200305 in my example VI Test Pulse Generation.vi when you specify an initial period. Other than the creation of a task and giving it a name, the code looks the same for me as the code in the example LabVIEW Gen dig Pulse Train - finished - Dig Start.vi comes with LabVIEW. When I enter the same settings in Gen dig Pulse Train - finished - Dig Start.vi, I do not get this error. What could happen?

    I use a DAQ OR-PCI-6031E map on a 64-bit Win7Pro and am under LabVIEW 2011 (64-bit).

    Thank you for your help and forgive me for a perhaps trivial question.

    Peter

    Hi pbuerki,

    I tried the 2 screws you attached and found that if you replicate math you used in "Generation of Test pulses" for entries of the example VI, VI example will give you the same error. I think your VI and the example behaves exactly the same way.

    However, I found a solution for this error. I tried this on a simulated device, but I think this should work for your physical device as well. For your DAQ card, he sometimes give you the error at very low frequencies because the default driver is the basis of time of 20 MHz and for some combinations of frequency and the number of pulses, the time base produced more ticks than the counter can handle. To work around this problem, you need to use a DAQmx channel property node. You will need to use the CO. Channel CtrTimebaseSrc property to set the time base to be DevX/100kHzTimebase. You must activate the setting 'Understand the advanced terminals' in the name of I/O filtering to find. This change should fix your error.

  • How to count the pulses with digital input on 6351

    Hi all experts in Labview,.

    I just got my USB x series 6351 and it works fine, but I certainly lack of labview skills to use it to its full potential.

    I would like to read digital pulses with several digital inputs and count the number of pulses each T interval in time. All impulses that I entered on any edge of the clock are not synchronized and can occur at random times during the tests. Basically I have an oscillator of square waves can I modulate the frequency. I don't want to use the meter as inputs as I'm limited to only 2 entries (if I use the option 2 input meter for metering of pulses or frequency). The input frequency can range from 0-1 kHz and goes 0 - 3V. So not too fast, and I shouldn't make too many mistakes trying to get the count of pulses and then back out the frequency in accordance with article ni.com on counters.

    I would like to read the 8 digital input channels and get the number of impulses for each channel. I searched high and low for help online but can't find examples that have been useful. Anyone have any ideas on how to go or direct me to a resource? Thank you very much in advance!

    Are you worried about getting the number as a physical operation timed?  It would be nice to acquire a digital waveform and then postprocess on it to detect how many events took place?  I've attached an example that shows how you can accomplish this. It reads a digital waveform and then uses a detection of crete VI to determine how many pulses occurred. Should be a few adjustments to your particular signal.  The VI I use seems to count events twice (probably count each edge), so counting it gives should be reduced by half in order to work.

  • Acquisition of Digital Data Output: generate a pulse with a specific width (depending on time)

    How can I generate a digital pulse with a specific width? I was not able to find examples online. Thank you!

    With the USB-6000 - essentially none. He has only digital software programmed according to i/o. on your system, you may be able to generate impulses at speeds up to a few hundred Hertz, but there will be a considerable amount of timing jitter. Tens of milliseconds can be common and even longer variations may occur occasionally.

    Please indicate which are the times for your impulses, so someone may be able to provide recommendations specific to your needs.

    Lynn

  • Got a 27 "monitor from Apple, with thunderbolt (error). My MacPro can't love at first sight. Apple won't bring back the monitor. Will using a USB 3 map and then using a hard drive with USB 3 and Thunderbolt works?

    Got a 27 "monitor from Apple, with thunderbolt (error). My MacPro can't love at first sight. Apple won't bring back the monitor. Will using a USB 3 map and then using a hard drive with USB 3 and Thunderbolt works?

    N ° you need a computer logic board which has built in Thunderbolt.

  • With USB ports surge protectors

    I have an iPad 12,9 Pro.  I noticed an increase in surge protector Strip with USB connections available in stores.  Is can I charge my iPad Pro by directly connecting the charging cable into either of the USB sockets on the power strip to the surge protector?

    Perhaps, but it will be probably cool more slowly than with 12 Watt charger, it came with. Compare the 2.4 output amplifier with current available from one of these ports of surge protector.

  • can't get out with USB itune icon

    using ipad unable to leave the itunes icon with USB showing

    Hello, Conmare.

    Looks like your iPad slipped in for some reason Recovery Mode any. Which indicates something happened and you will need to reinstall the iOS. I'll be happy to help you with this.

    If you see the connect to iTunes on your iPhone, iPad or iPod touch screen

    Connect your iPad using the lightning cable provided with your iPad to a computer with iTunes installed on it and see if iTunes responds. If so, that's fine! Just follow the guests.

    If iTunes does not respond, disconnect the iPad off the iPad by using button on/standby (power). Once it is off, press and hold the Home button and reconnect the iPad to the cable. Don't release the Home button until iTunes responds. Still, if this is the case, follow the prompts.

    Once iTunes has reinstalled the iOS again, you can use a recent backup, as you did to reset your iPad. If it is not all recent backups, configure as a new iPad and sign in iTunes and App Store and iCloud. You can synchronize the information that is available. Another thing, I'm afraid, is lost.

    Nice day!

  • Course speed SSD at 40 MB/s with USB - C cable

    I recently bought a Samsung T3 USB - C SSD drive for use with my MacBook.

    But right now I am facing a problem of course speed on that:

    I bought it used with my MacBook retina 12' because of the support of USB - C

    But there is a real problem for this drive to use with cable USB - C for USB - C:

    If I use the USB - C to C USB Apple cable, I get only speed USB 2.0 which is capped at 40 MB/s in and out. As the 1-3 photo shows below.

    If I use it with USB - cable USB - A C I USB 3.0 speed of 425 MB/s 400 MB/s on. But the downside part is for MacBook, I use a USB - C for the USB - A adapter as shown in photo 4-6.

    If Apple is any course speed cable USB - C or Samsung should take the blame that send the wrong information of speed USB 2.0 for Macbook?

    Use with direct cable Apple USB - C (I tried another cable USB - C like same problem anker/Chotech) cable is not the problem

    You can see that the speed in the information system is listed as USB 2.0 at 480 MB/s

    A speed test to confirm it is limited to the USB 2.0 standard:

    If I use a USB to adapter USB - C and use the USB - C for cable USB - A on the SSD. It will run at full speed:

    You can see that the speed in the information system is listed as USB 3.0 to 5 Gbps

    A speed test confirm this works:

    The USB - C to C USB cable that comes with the MacBook is not supposed to be used for data, this is to be able to only. You will need to buy a USB - C data cable.

Maybe you are looking for

  • Number of matches between two columns

    Column1 Column2 5 5 5 2 5 5 4 3 4 4 Football match 3 I basically you want to compare two columns and count matches in the corresponding lines. I tried using the following formula: SUMPRODUCT (--($column1=$column2)) ... but it doesn't work! Any sugges

  • Do have a handful of copies

    When I try to use the numbers and my cells go in sequential order I don't have the full descriptor or the ➕ cursor. I was wondering if it should with maybe a glitch or other something.

  • My hp 5940 printer power continues to blink. How can I fix it

    The power on my hp printer deskjet 5940 keeps flashing and will not print.  How can I fix it

  • my monitor has a striped Rainbow colors. What can help?

    What can I do to solve the problem?

  • How to disable updates?

    Hi all You wonder if you can help, every time I turn off the laptop it install anything from 4 to 6 updates that takes up to 7 minutes max, I entered in Windows Update here, but it says that my updates should be made once a week... so don't know not