Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Enabling Onboard Looping in the PCI-6534

Primary Software: Driver Software>>NI-DAQmx
Primary Software Version: 7.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Digital I/O (DIO)>>High-Speed>>PCI-6534

Problem:
How do I do on-board memory looping with the PCI/PXI-6534 to achieve device's maximum output rate of 20 MHz?

Solution:
Onboard looping allows regeneration of the data from the onboard memory (SCARAB) of the PCI-6534. The main advantage of this is that once the memory is preloaded with data and regeneration starts, the PCI bus is no longer needed, allowing for a maximum transfer rate of 20 MHz.
  • LabVIEW 7.x and Later

    Traditional NI-DAQ:
    To enable onboard looping, set the Pattern Generation Loop Enable attribute to ON
    in the DIO Parameter VI.

    DAQmx:
    To enable onboard output looping, place a DAQmx Channel Property Node before the DAQmx Start Task VI. Choose the Use Only Onboard Memory property (Digital Output » General Properties » Advanced » Data Transfer and Memory) and wire a boolean True constant to it.


  • LabWindows/CVI and C

    Traditional NI-DAQ:
    In Set_DAQ_Device_Info , set the ND_PATTERN_GENERATION_LOOP_ENABLED to ND_ON in the Set_DAQ_Device_Info function.

    DAQmx:
    Use the following function call, setting the data parameter to 1 or 0 to enable/disable onboard looping (respectively):
    int32 __CFUNC DAQmxSetDOUseOnlyOnBrdMem(TaskHandle taskHandle, const char channel[], bool32 data);


  • .NET

    Traditional NI-DAQ:
    For Traditional NI-DAQ programming in .NET please refer to Programming NI-DAQ in Microsoft Visual Studio .NET in the Related Links section.

    DAQmx:
    Use the NationalInstruments.DAQmx.DOChannel.UseOnlyOnBoardMemory property.

    • [Visual Basic] Public Property UseOnlyOnBoardMemory As Boolean
    • [C#] public bool UseOnlyOnBoardMemory {get; set;}


Related Links:
KnowledgeBase 34GMACU6: PCI/PXI 6534 Continuous Pattern Output
Maximizing the Performance of the NI 6534 Digital I/O Device
Product Manuals: NI 6533/6534 for NI-DAQmx Help
Product Manuals: NI 6533/6534 User Manual for Traditional NI-DAQ
KnowledgeBase3178NEFQ: Programming NI-DAQ in Microsoft Visual Studio .NET

Attachments:





Report Date: 04/18/2005
Last Updated: 09/12/2008
Document ID: 3KHKNPLO

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit