Looping part of 6534 output buffer

I need to loop a 16 bit output pattern that is only 1000 samples long. I want to loop this continuously but do not want to have to fill the buffer completely. Is it possible to loop only these 1000 samples in the buffer?

Coxy,
Yes, this is definitely possible. You don't need to fill the board's memory to perform onboard looping. Below, I have included links to a couple of example programs that you may want to examine:
LabVIEW Example
Continuously Generating Repeat Data from Digital Output Channels (Loop From Onboard Memory)
NI-DAQ Function Calls Example
Pattern Generation with Onboard Looping for the NI 6534 and C++
Good luck with your application.
Spencer S.

Similar Messages

  • NI-DNET Eurotherm Mini8 Output Buffer

    Hello,
    I am working on an application in LabVIEW with an NI-DNET card, and an EuroTherm Mini8 controller, which has polled input of 80 bytes and output of 48 bytes.
    I started everything off with EasyIOConfig (feeding it the correct I/O sizes), indexed the Device Handler, passed them into a While Loop.  Inside the While Loop, I have Read DeviceNet I/O, and Write DeviceNet I/O, and feeding them with Convert From DeviceNet Read, and Convert For DeviceNet Write, respectively, with desired byte offsets specified.
    Reading works perfect.  I have trouble writing to some output.  I have wired an indicator to the data line going into Write DeviceNet I/O, (which should give me a read of the output buffer, right?).  I can only address the first 8 bytes.  Outputs in the first 8 bytes work,  Byte 8 and on are grayed out and do no respond to input.  Input for Byte 42, writes data to Byte 4 for some reason.
    I played with it for a while, tweaking different things.  At one point, I was able to address the first 14 bytes, but the offset did not do anything - it simply put the I16 data input sequentially into the output buffer.  Tried using different data types to define the offset, reloading the Ni-DNET drivers, no dice.
    I am building the EXE from a PC running LabVIEW 8.6 (no DNET card), and running it on another PC with DNET card and hardware installed, if it makes a difference.
    Any ideas?
    Solved!
    Go to Solution.

    Solved it by sending an empty array of 48 bytes to the first Convert For DeviceNet Write. 

  • Problem with ffmpeg: "lame: output buffer too small"

    Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 15.00 (15/1)
    Input #0, flv, from 'cEoVBVBCkGI.flv':
    Duration: 00:09:31.06, start: 0.000000, bitrate: 305 kb/s
    Stream #0.0: Video: flv, yuv420p, 320x240, 241 kb/s, 15 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: mp3, 22050 Hz, mono, s16, 64 kb/s
    File 'pluxus.mp3' already exists. Overwrite ? [y/N] y
    Output #0, mp3, to 'pluxus.mp3':
    Stream #0.0: Audio: libmp3lame, 22050 Hz, mono, s16, 64 kb/s
    Stream mapping:
    Stream #0.1 -> #0.0
    Press [q] to stop encoding
    [mp3 @ 0x814b270]mdb:255, lastbuf:0 skipping granule 0
    [mp3 @ 0x814b270]mdb:255, lastbuf:196 skipping granule 0
    [libmp3lame @ 0x814c760]lame: output buffer too small (buffer index: 9404, free bytes: 388)
    Audio encoding failed
    [n00b@asrock Music]$
    Any ideas?

    Hi to all!
    I've uploaded lame-3.97-1 package to AUR. You will have to delete gstreamer0.10-ugly-plugins because it needs lame-3.98.2.
    http://aur.archlinux.org/packages.php?ID=366

  • Looping part of a song

    Hi guys,
    All new to Garageband with a recent purchase of a schmick new iMac, should of moved to mac a long time ago!
    I am wanting to know how I can loop part of a song?
    For example, I have a song that has a cool intro and I want to extend only that particular section then continue on with the song once it kicks in.
    I can see the normal way of looping by mouse over at the end of the selected track then dragging it out however this is looping the entire piece of music, I only need say the first 45 seconds looped.
    I have used a great tool in another audio app where it let's you loop in real-time and then saves your changes, all by clicking on either the 2 beat, 4 beat or 8 beat loop buttons when it approaches on your timeline.
    Does Garageband have a similar feature or some easy functionality to make this task less painful?
    Much appreciate anyone's assistance or feedback

    cheekyage wrote:
    how I can loop part of a song?
    split the region at the point you wish to loop:
    http://www.bulletsandbones.com/GB/GBFAQ.html#split
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    move the right hand region away and then you can loop the intro piece as you already learned.

  • I/O Error ioe: Output buffer too small

    I am currently running an FTP process from within the database using a Java stored procedure attempting to send about 199 rows. I am receiving the error message i/o error ioe: Output buffer too small.
    If I reduce the number of rows to below 83, I can successfully complete, however, any number over 83, and the technical problem occurs.
    Is there an Oracle Parameter in the init.ora file that I can modify to increase the amount of data sent... (BTW.. 82 Rows is approximately 8K of data)
    Thanks,
    wn

    I am currently running an FTP process from within the database using a Java stored procedure attempting to send about 199 rows. I am receiving the error message i/o error ioe: Output buffer too small.
    If I reduce the number of rows to below 83, I can successfully complete, however, any number over 83, and the technical problem occurs.
    Is there an Oracle Parameter in the init.ora file that I can modify to increase the amount of data sent... (BTW.. 82 Rows is approximately 8K of data)
    Thanks,
    wn

  • I can not loop part of my animation. Please Help.

    Hello for the past 4 hours I have been trying to loop part of my animation. I've gone through a few tutorials step by step, but I am not getting it to work. I need the animation to loop when it is completed back to the label named "looper". I have tried adding the action to the end of the timeline, I have also tried triggers, but they all do not work. Thank you for the help.
    Here is the link to the project. https://creative.adobe.com/share/ccb48fd8-9cd8-4de4-b6b5-e2cf8ac29150

    Your link does not seem to work.
    Did you apply the principles shown in the AE sample: Creating a Loop Counter?

  • Rman input/output buffer

    Hi,
    We taking rman backup in 10.2 and 11.2.Db size is 3Tb and every day 3 tb redo generated.
    While taking backup in tape(9 to 12 hours) is slower than disk(took 3 to 4 hours).
    I read the below doument
    http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmtunin.htm.
    It says that input buffer and output buffer for rman.
    Is it possible to change default input buffer / output buffer size for rman?
    Br,

    Hello;
    There's a White Paper which I believe is worth a look :
    http://www.oracle.com/technetwork/database/focus-areas/availability/rman-perf-tuning-bp-452204.pdf
    Best Regards
    mseberg

  • Underruns and output buffer failures

    Hi
    I have two Catalyst 3550 connecting two datacenter and I'm receiving errors on connecting switchports. Errors are output buffer failures and underruns. Is it just that switches are running out of resources or what? We are using servers in the datacenters with nfs and I'v heard that this could cause these errors. I'd really appreciate a opinion from a network professional.
    Here are port statistics. Both switchports are identical.
    FastEthernet0/3 is up, line protocol is up
    Hardware is Fast Ethernet, address is 000c.301f.c503 (bia 000c.301f.c503)
    MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
    reliability 255/255, txload 3/255, rxload 6/255
    Encapsulation ARPA, loopback not set
    Keepalive set (10 sec)
    Full-duplex, 100Mb/s
    input flow-control is off, output flow-control is off
    ARP type: ARPA, ARP Timeout 04:00:00
    Last input 00:00:00, output 00:00:00, output hang never
    Last clearing of "show interface" counters 21:54:22
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    Queueing strategy: fifo
    Output queue :0/40 (size/max)
    1 minute input rate 2676000 bits/sec, 531 packets/sec
    1 minute output rate 1432000 bits/sec, 528 packets/sec
    123525330 packets input, 166317380 bytes, 0 no buffer
    Received 887720 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
    0 watchdog, 671127 multicast, 0 pause input
    0 input packets with dribble condition detected
    108650060 packets output, 322356071 bytes, 11269 underruns
    0 output errors, 0 collisions, 0 interface resets
    0 babbles, 0 late collision, 0 deferred
    0 lost carrier, 0 no carrier, 0 PAUSE output
    11269 output buffer failures, 0 output buffers swapped out
    Thanks

    Hello,
    most likely, the erros are caused by your link being saturated.
    I found a previous post which explains the error as following:
    'The frames are being switched in hardware, since there are no output queue drops. But the hardware is attempting to put frames on the wire when it's pretty close to being saturated. Although your 1 minute average is only around 1,5 mbit, it only takes a couple millisecond long burst to fill up the hardware interface buffers and cause this error. It's probably time to add another link (forming an etherchannel) or jump to a gig interface. I don't think you can tune these hardware buffers at all to buy any additional time.'
    Conclusion: your link is getting overloaded...
    Regards,
    GP

  • 6534 scarab output buffer use

    we use the 6534 for contiuous double buffered output of a changing 32 bit digital sequence. The large on board scarab buffer memory causes a delay when the sequence is changed. We can use set_daq_device_info to set ND_FIFO_TRANSFER_COUNT to ND_None, but what we need is a small buffer, bigger than ND_none but smaller than 32 MBytes. Is there a way of finding the acutal on board scarab buffer fill level. We could use that to avoid filling the scarab memory so that we can limit the delay, and still use the buffer.
    thanks, Alex

    Alex,
    I would say there is an important thing to watch for here. The board/driver behaves differently depending on whether you have enabled regeneration or not.
    For Regenerative output operations the driver will fill up the entire on-board memory (Scarab) with the pattern in the host buffer.
    Non-Regenerative operations are limited to using only as much on-board memory as the host buffer size. A 50k Sample buffer in the host memory would mean that the board will only use 50KSamples worth of its on-board memory.
    As you can see you can limit the amount of on-board memory used by disabling the regeneration of data. This of course makes your application vulnerable to speed issues but guarantees that you'll be able to update your output with much less delay.
    KB Online - 2QGEIN85 talks about this.
    (search for: +6534 +generated +data)
    You will also find KB Online - 2MOESVN5 very useful. It mentions a function call you can use to keep track of how much data has actually been generated by the board, which is related to the on-board memory status (empty/full) for non-regenerative operations.
    I hope this helps,
    Alejandro Asenjo
    National Instruments
    Applications Engineer

  • Audio Looping bug in rendered output

    I've hit a recent issue where I'm getting audio looping / stuttering bugs in the rendered output. Doesn't happen at the start of the clip, but elsewhere if I fade everything down to black / nothing, and then fade up again into the next clip, the audio loops / stutters during that fade in. Using "Constant Power" to bring up the audio from nothing to full. Clip plays fine in Premiere, just the final output has the issue. Have encoded audio as both WAV and AC3, same issue.
    Curiously, if I output a WAV file only (no video) straight from Premiere, it is clean. That's how I'm now working around this, and coding the AC3 track in Audacity when required. Also (even more curiously!) I recently installed Audition, I'm wondering if that has messed anything up in Premiere. Audition wasn't actually used in any of these corrupt projects (and the project I used Audition for was fine as far as I am aware), but I've never had it installed until 2 or 3 weeks ago.
    Anyone else hit this, or know how to fix it? Between this and the video render issue I posted a couple of months back (still not resolved), I'm rapidly losing faith in Adobe's encoding tools.
    I can post some example clips if anyone wants a listen. Reminds me of the XDCAM looping bug that existed a while back, although the scenario there was somewhat different (audio at the end of the clip looped, and my current video is AVCHD from a Sony NX5, not XDCAM).
    Premiere Pro CC 7.2.1 (4)
    Media Encoder CC 7.2.0.43 (64-bit)
    Audition 6.0 Build 732 (64-bit)

    Hi  madmaxmovies,
    Thanks for posting on Adobe forums,
    Please follow suggestion provide in this link http://forums.adobe.com/message/5997457
    Thanks,
    Sandeep

  • Looping part of a QT movie in keynote

    Hi, I want to be able to have a movie in keynote that plays the whole movie and once it reaches the end it jumps back to a certin point in the movie (not the begining) and plays that part over and over till i change the slide, so the effect is, for example, a movie shows a title or something coming in, and then loops from the end back to a point after the title comes in to keep a little movement going on the title instead of stopping all together.
    any ideas?
    Thanks!

    I run into similar problems with music. You can't really make it jump back to a certain point. What you can do is copy the movie editing out the beginning portion that you don't want to be replayed. You have to add this to a second slide and have the movie play once automatically go to the next slide and then have the edited movie automatically start and loop. This isn't the sexiest way to make it happen but it will work. You then just click to the next slide when you are ready.
    Hope that this helps.
    CD

  • Set output buffer position

    Bonjour,
    j'ai un problème de configuration de mon pod USB-4431:je souhaite mesurer une fonction de transfert entre un signal d'entrée (output) et une sortie capteur.
    Pour mon signal d'entrée, j'envoi en continue un chirp de 8192 samples (tâche output).
    Pour mon signal de sortie, j'acquiert (de façon synchronisée) 5x8192 samples.
    La première mesure: tout est parfait... 
    Les mesures suivante: ce n'est plus bon...
    Le problème que j'identifie: mon appel DAQmxStopTask à la fin de la première mesure n'est pas aligné avec la fin du buffer => Lorsque je relance DAQmxStartTask, la tâche redémarre à un sample qui n'est pas 0 => mon signal d'entrée a changé...
    J'ai essayé un DAQmxSetWriteRelativeTo puis un DAQmxSetWriteOffset sans succès...
    La seule solution qui semble corriger ce problème: DAQmxResetDevice puis reconfiguration, mais c'est trop long pour mon application.
    Quelqu'un aurait une idée?
    Merci d'avance

    pouvez vous mettre votre vi en ligne pour que l'on puisse trouver une solution à votre problème plus facilement. ensuite pourquoi voulez vous faire 5* 8192 en acquisition?
    Cordialement
    L.MICOU

  • Material Part Number as Output Field in MB52

    Hello!
    Im trying to put the material part Number Field as Output Field in MB52 but i can not find any chance in the customizing. My question is ... is there any way to do it in the standard or i must do a zreport?
    Thanks in advance,
    Rodrigo Castro Area

    Hi,
    Searching for MPN Materials
    Use
    You can search for MPN materials using the input help.
    Prerequisites
    In order that this function does not impair system performance, the indexes BMA and MPN must exist in the table MARA (material master). Once you have generated the indexes, they are updated by the system.
    Activities
    You generate an index as follows:
    From the system menu, choose Tools ® ABAP Workbench.
    Choose Development ® Dictionary.
    Change the database table MARA.
    Choose Goto ® Indexes...
    Choose the index BMA (number of the internal material master).
    Set the indicators Non-unique index and Index to all database systems.
    Activate your changes.
    Also perform steps 5 to 7 for the index MPN (manufacturer part number/number of a manufacturer).
    BR
    Diwakar
    reward if useful

  • Looping part of an animation

    I have an animation that builds to create a logo, basically
    inividual shapes fade in. Once the logo is built I would like to
    run a lighting effect at the bottom of it that will loop, but do
    not want the whole animation to start over with the loop.
    What would be the best way to go about this?
    Thanks in advance-
    nd

    ok..now....so you made the light effect, then on the last
    frame of everything, type in the code "gotoAndPlay(35);"..instead
    of the 35 type in the number of the frame were the lightning effect
    begins.

  • Web Part \ Asynchronous Input Output

    Visual Web Part, two controls: textedit and label below.
    When textedit is changed label should show smthn.
    This should work dynamically, transparently, asynchronously, without loosing textedit input focus. In
    other words – without postback.
    I am looking for an example of some AJAX driven WebPart.

    If you need to persist/search for information server side,  that you'll need a webservice:http://msmvps.com/blogs/windsor/archive/2011/11/04/walkthrough-creating-a-custom-asp-net-asmx-web-service-in-sharepoint-2010.aspx
    Then you can use jquery to call it:
    http://api.jquery.com/jquery.ajax/

Maybe you are looking for

  • SelectInputDate component in a search form - JDev 10.1.3.0.4

    Cheers to all of you buddies in this valley of tears, have a good day I have a table that contains a date column, and a search form to do "query by example" and its date field is a "selectInputDate" with its date chooser. The date column in the table

  • Internal GUI Error - PI 7.1 EHP1

    Hi All, We are on the following SPS level of PI 7.11 SAP_ABA     -->     711     -->     0004     -->     SAPKA71104     -->     Cross-Application Component SAP_BASIS     -->     711     -->     0004     -->     SAPKB71104     -->     SAP Basis Compo

  • How to update printer so i can print from a phone

    I have a photosmart plus

  • XFCE login warning message

    I keep getting a warning message when I log in that tells me: Could not look up internet address for archlinux.  This will prevent Xfce from operating correctly.  It may be possible to correct the problem by adding  archlinux to the file /etc/hosts o

  • New icon next to the battery....never seen it before

    Hi I noticed today that my iphone has a new icon next to the battery meter at the top right hand corner of the screen. The icon looks like a phone handset with 2 rows of button under it. I have looked at all my setting and can't figure out how to mak