Use onboard memory of PXI-6120 from NI-DAQ

There is a labview vi to use the onboard memory of the PXI-6120 devices. What is the alternative to use it from NI-DAQ?

Hi Spencer,
I've seen on the web site that there is a way to wrap the vi's in matlab. Is there any way to wrap this allocation vi in C++ ?
Will the allocation feature become available from C anywhere in the near future? (the actual interface does not matter, I can wrap whatever to whatever if needed)
Is there a way to use these things througha register programming? I've written several VXI PNP drivers earlier, I'm not really scared to go to the bitlevel as long as the registers are documented.
Thanks.
Juul

Similar Messages

  • Direct Streaming of data from onboard memory to Host memory in PXI 5122

    Hey All,
    I have a small query about PXI 5122. In Data Sheet its written that " The PXI-5122 also can stream data continuously from onboard memory to host memory for longer acquisitions and streaming to disk. "
    So do we have to write some code for streaming the data on hard disk or when drivers of this card is installed then some VI's will appear in control panel through which we can stream data on hard disk ??
    I hope you all understood what my query is. Please let me know for further details
    Thank you.
    Regards,
    Sarang Dhananjay Jaiswal
    Satyam Development Center, Banglore, INDIA

    hi sarang,
    u have to write some code for streaming the data on hard disk,
    for any applications using labview u need to do coding........
    here is a vi which will do streaming of data on to hard disk
    to know more about digitizers (C:\Program Files\National Instruments\LabVIEW 7.1\examples\instr\niScope\niScope EX Getting Started.vi)
    or in labview goto
    find examples \hardware input output \modular instruments\ NI-scope(high speed digitizers)
    regards
    ak
    Attachments:
    Stream data to Disk1.vi ‏172 KB

  • How can i use the onboard memory from NI6534

    I want to use the onboard memory of PCI 6534,but i don´t how can i put my data on this memory? are there function or command for that?
    thank you.
    Armand

    Armand,
    Please reference the User Manual for the PCI-6534. Specifically, pages 2-10 and 2-22 in the Continuous Output sections explain how to leverage the onboard memory using either LabVIEW or the NI-DAQ C interface. For LabVIEW you will set the Pattern Generation Loop Enable attribute to ON in the DIO Parameter VI.
    653X User Manual
    http://digital.ni.com/manuals.nsf/websearch/EDE443F5C700373A862569B90072D26F?OpenDocument&node=4575_US
    Regards,
    Justin Britten
    Applications Engineer
    National Instruments

  • PXI-6534, Load onboard memory and enable looping

    I would like to program the PXI-6534 from a Linux application. I can talk to the card and set the registers. However, the Hardware DDK only contains information on the PXI-6533 (not the 6534), and there are two differences.
    The PXI-6534 has onboard memory, and a onboard looping mode that I need to use. The register map for the 6533 (from the DDK) does not include any information about these features (because they don't exist on the 6533).
    I found information on how to do it from a windows platform using NI-DAQ, but I need to do it from Linux. I have a driver, but need information on what registers to talk to and their formats.
    1. How do I load the PXI-6534 onboard memory and enable it (what registers and f
    ormats do I use)?
    2. How do I enable the PXI-6534 onboard memory looping mode (what registers and formats do I use)?
    Thanks in advance !

    Please contact your local field sales representative to discuss your application and possible Linux solutions using the 6534 card. Programming the 6534 card is considerably more complex than the 6533 and NI currently does not have register level programming information available for this card.
    Click here to find you local field sales person.
    Christian L
    NI Consulting Services
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • Looping from 'HALF' onboard memory

    Hi to everyone.
    I've got a problem. I have to use a PXI-6534 board with a group as input and a group as output.
    My application requires a continuous data transfer.
    I'd like to loop from onboard memory in the output group (the pattern is always the same) but the input group doesn't work.
    When the number of scans is equal to the buffer dimension the Digital Buffer Read.vi stops (in Digital Buffer Control.vi I set number of scans = 0 to acquire data continuously).
    Could some one help me? Thanks!

    The thing you are trying to do with your 6534 board is definitely possible.
    It depends on what Development environment you are planning on programming your application but there are some good examples on the web.
    For example try to look at the following link
    LabVIEW example
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3D87356A4E034080020E74861&p_node=DZ52321&p_source=External
    If you are programming in C,C++,Visual Basic, you should try to put together two of the examples that perform DoubleBuffered Pattern Input and Output with regeneration activated.
    Regards,
    AlessioD
    National Instruments

  • Start and Stop Trigger using PXI-6120 and DigitalSta​rtAndStopT​rigger.vi not working :-(

    Hello,
    I've been trying for a while now to get my PXI unit to capture a waveform between a Start and Stop (Reference) Trigger using the NI example DigitalStartAndStopTrigger.vi downloaded from the NI website. However, whilst the start trigger and stop trigger seem to be working i.e. the VI runs and stops at  the correct times there is never any data read from my DAQmx compatible PXI-6120 card. So I can see the VI is running around the aquisition loop but the Property Node AvailSampPerChan is always returning zero... this has me slightly puzzled. I thought this might just be a driver issue so I've updated my box to the following software versions (see below) and installed the latest drivers e.g. DCDNov07.exe (also from the NI site) but nothing has changed.
    my software as of now.
    Labview 7.1 (with the 7.1.1 upgrade applied)
    Max 4.3.0.49152
    DAQmx 8.6.0f12
    Trad DAQ 7.4.4f7
    before I updated I had the same problem but with the following versions:
    Labview 7.1 (with the 7.1.1 upgrade applied)
    Max 4.2.1.3001
    DAQmx 8.5.0f5
    Trad DAQ 6.9.3f4
    So to cut a long story short I still have the same problem with the triggers... does anybody have any ideas what is going wrong?
    To add insult to injury it the traditional DAQ example ai_start-stop_d-trig.vi was almost working correctly before I did the upgrade. It had the strange behaviour of capturing the AI0 channel but on the wrong edges (e.g. if I set Start on Rise and Stop on Fall it would do the opposite, Start on Fall and Stop on Rise).
    I'm going to leave my box doing a mass compile over night but i'd really like it if someone could suggest a solution or point me in the right direction.
    Many thanks,
    Mike

    Hi Graham
    I'm out of the lab today but I'll try and answer your questions as best I can...
    1) What are the values you have set for Buffer size, Rate, samples per read and post trigger Samples?
    At the moment I have all the values (e.g. sample rate, buffer size etc) unchanged apart from the ones I mentioned in my previous post (see above). I have in the past played around with changing the buffer sizes and rates in the example VI but as this appeared to have no effect on the behaviour I now have them setup as in the download.
    2) Does the program end after the stop trigger is implemented?
    Yep, if I toggle the trigger line high then low I see the program exits the read loop and the VI stops running as expected.
    3) Lastly can you give me the details of triggering method. Are you
    using a digital train of users set digital pulses? how long is the
    program running.I'm using the WriteDigChan.vi to manually toggle the first digital line of the PXI-6733 card which is wired directly to PFI0 of the PXI-6120 card. Generally, I just start the VI running  and then toggle the line high, wait a couple of seconds and then toggle it low.
    To me it all looks like it should be acquiring samples but as I said yesterday it just refuses to fill the buffer with any data (and hence no samples are read).
    Any ideas? and thanks for you help,
    Mike

  • Using 6534 onboard memory only

    Hi there,
    I'm trying to set up a small pattern generator / analyzer using an PXI 6534 (DAQmx 7.5). Synchronizing the two groups for IO is no problem, but how do I make shure that in- and output operations use only onboard memory (provided that the pattern does not exceed 32MB). I found a property node option for Digital Output operation called DO.UseOnboardMemory, but I could not find the equivalent for Digital Input.
    Can anyone help me?
    Cheers
    Oli
    Programming languages don't create bad code, programmers create bad code....

    Thanks for the reply,
    I tried the DO.UseOnboardMemory with unexpected results. If my interpretation is right, I should be able write an 16 Bit wide pattern with up to 2 MSamples to the onboard RAM and after that start an output operation at max 20MHz (20MS/s).
    This unfortunately gives me a buffer underflow error at a pattern that has only 128 samples....
    I might be able to meet you at the VIP to show you the code. That might help :-)
    Cheers
    Oli
    Programming languages don't create bad code, programmers create bad code....

  • HT204053 My ipad stores my documents on iCloud. How can I find them from a different computer, as I used to do by using a memory stick on my old PC etc ?

    My ipad stores my documents in iCloud. How can I find them from a different computer?  I used to use a memory stick and could work on my documents on any computer and want to have a replacement system using documents created on my ipad - I can't use a memory stick with it.

    How do you know that they are on iCloud, the iPad can (and does) save locally. If they are on iCloud they will be accessible via the application that created them (Pages, Numbers etc) and can be reached from any computer with iCloud access by logging to iCloud.com. But you did that and stated that they are not there, so what makes you think that they are?

  • HT204384 Can I use a memory stick pro from sony with the SDXC slot?

    Is it possible to use the Memory Stick Pro from Sony in the SDXC slot on the MacBook Pro?

    How could anyone "take it wrong"? Anyone can see at a glance that you're raging mad, shouting at the top of your lungs and ignoring the terms of use you agreed to abide by in posting here, all because you haven't read the guide that came with your computer and you're trying to make it do something it can't. Your SD card slot is for SD cards.

  • How do I increase the maximum number of images I can acquire in a sequence using the IMAQ 1424 with 80 MB of onboard memory and a Duncan Tech camera?

    I've increased the maximum number of buffers to higher than I need, but I still cannot acquire more than 139 images with the Duncan Tech digital video camera before I get a memory lock error. Is there any way to increase the number of images I can acquire in a sequence using the IMAQ 1424 with 80MB of onboard memory?

    It sounds like you are already bypassing the onboard memory. If you weren't, you would only be able to acquire about 20 images.
    If I understand correctly, you do not convert the images until after you acquire them. This means each acquired image is 4.13 MB, and 139 images will take 574 MB of memory. I wouldn't be surprised if that was all the free memory available on a 1 GB machine. The operating system, LabVIEW and any other software running probably take up the rest of the memory. You might want to put your computer on a diet and minimize the number of other programs and utilities running. The only other option I see is getting more memory if possible.
    Is there a way that you can reduce the number of images you need to acquire? Pe
    rhaps skipping every other frame? Do you really need more than 139 images?
    Is it possible to acquire the images in monochrome? That would triple the number of images that you could acquire.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • How can I verify that the PCI-6534 is using all of its onboard memory?

    When using a PCI-6534 under Windows 98 with NI-DAQ 6.9, I need to transfer a small buffer (8126464 bytes) to the adapter, and get it into the onboard memory. The board is configured for 32 bits output, and I'm using handshake mode. DAQ_GET_DEVICE_INFO tells me that there is 33554432 bytes for each Group. DIG_Block_Check shows that 2031587 words (8126348 bytes) are remaining to transfer. Is that in the PC system memory or the PCI-6534 on board memory? How can I tell if it is safe to reuse the (PC side) buffer? Also, How big is the FIFO on the PCI-6534?

    When you call DIG_Block_Out, NI-DAQ first downloads your data into the 6534 memory. Only after the download is done (which should happen at about 80 MB/s) it starts outputting data and DIG_Block_Out returns. So it is safe for you to reuse your PC memory buffer as soon as DIG_Block_Out returns.
    This is assuming your entire buffer fits in memory. If it doesn't, NI-DAQ will download all the data that fits and start the transfer, and as more 6534 memory becomes available the DMA channel will fill it up.
    The 6534 has a 16 sample FIFO and an additional 32 MB of memory for each handshaking group. So for 32-bit transfers you can fit 8 MSamples, for 16-bit transfers you can fit 16 MSamples (per group), and for 8-bit transfers you can fit 32 MSamples (per group) in the 6534
    memory.

  • I need an example for stacking waveforms in onboard memory using MS Visual c for PCI-6115

    I would like an example of stacking multiple acquisitions in onboard memory for the PCI-6115 card. This is sometimes referred to as "Multiple Record". It is called "Sequence Waveforms" on Lecroy Scopes. I have done this on other cards before, but not on an NI card.
    The example should include a way to accept a trigger, gather x number of samples, and rearm rapidly without transferring any of the just-acquired data. This way I won't miss any trigger events. The onboard memory is sufficient to store all of the waveforms that I need. One the card has acquired n waveforms, I want to DMA them into RAM.
    Thanks to anyone that can help!
    If you need any more specifics, just le
    t me know and I'll post them.

    I would like an example of stacking multiple acquisitions in onboard memory for the PCI-6115 card. This is sometimes referred to as "Multiple Record". It is called "Sequence Waveforms" on Lecroy Scopes. I have done this on other cards before, but not on an NI card.
    The example should include a way to accept a trigger, gather x number of samples, and rearm rapidly without transferring any of the just-acquired data. This way I won't miss any trigger events. The onboard memory is sufficient to store all of the waveforms that I need. One the card has acquired n waveforms, I want to DMA them into RAM.
    Thanks to anyone that can help!
    If you need any more specifics, just le
    t me know and I'll post them.

  • 6555 onboard memory

    Hi I am working on a project where we recently have purchased the PXI chassis with several 6555 cards.  The technical support gal, although she was very nice, did not know the gory detail of some of the questions I have, so I am hoping someone on the forums here has run into these or would know who to ask.
    The specs for the NI PIXe-6555 card claim 8 MB per channel.
    * Is it really 8 MB per the 24 DIO channels (so 192 MB total)?
    * Is this mega BYTES or BITS?
    * If I have a large dataset that is more than 8 MB, is there a way to pre-load or something so that there is not a break in the datastream?
    * If we have four of the 6555 cards in one chassis, how close (what is the tolerance or slop) can I get the data streams to be synch'ed at the max speed (200 MHz)?
    * If I am driving data at 5V logic levels on our DUT (device under test), can I get the full 200 MHz speed?  I am seeing conflicting info on this in the help files.
    Thanks!
    Ed

    Hi Ed,
    Hopefully this clears up confusion about how to write data to the generation session of an HSDIO board: How to Write Serial Data for Any Channel on a High Speed Digital I/O Board
    If your data width is 1 byte, each bit corresponds to each lane. so 0000 0000 in your byte is a single sample bit for channels 0-7. To write data to independent streams at the same time, you'll have to combine the streams into the U8/16/32 format. For instance, two data lines toggling out of phase with each other on channel 0 and channel 7 looks like so:
    Sample 0: 1000 0000
    Sample 1: 0000 0001
    Sample 2: 1000 0000
    Sample 3 :0000 0001
    serialized for ch 0: 0101
    serialized for ch 7: 1010
    If you want to drive only those two channels, while doing other independant operations on channels 1 through 6, you simply only include ch 0, 7 in your Channel List for the Generation Session through the HSDIO driver. By default, the channels not included in the channel list for generation will have their drivers disabled, and can be used for acquisition.
    The memory issue here is that for generation, you still have to populate channels that are unused for generation based on the data width. Writing to two channels takes 2 bytes per sample in the above example since U16 (Data Width = 2) is the smallest for the board. This is less than if the samples were 4 bytes wide (U32, Data Width = 4), which takes double the amount of space in memory.
    This KB is slightly outdated at the time of posting this, but it explains more about optimizing memory usage with HSDIO and Data Width. Ignore the 655x statements, as 655x only referred to 6551/2 boards at that time.  HSDIO Data Width and Memory Allocation
    So in summary, it does bitmask based on the channel list into the generation session. It also writes one word (U8/16/32) at a time, for the channels that are enabled for generation, and this does take up memory space on the onboard memory. For your case, to write 11 outputs will require a U16 at least, which is smaller than the default U32, so I would recommend changing data width to 2 for acquisition and generation to obtain the maximum amount of memory available on your device.
    Kyle A.
    National Instruments
    High Speed Digital I/O Product Support Engineer - R&D

  • Using 653x self-test example VI from NI web-site

    Hello-
    I am trying to do a self-test on my PCI-6534 by connecting group 1 (ports 0,1utput) to group2 (ports 2,3:Input) and the appropriate control lines. I downloaded an example code from NI which I have attached below. For some reason it is not working properly. The Digital Read VI does not seem to be reading in the data from the buffer, but that could just mean that the buffer control on the input lines is not working properly and there is not actually anything in the buffer. If I don't make the program continuous by inputting a '0' for the Number of updates input on the Buffer Control VI, then the program works fine and the expected inputs are read in by the input group at 20 MHz. How come when I try to
    use the program the way it is written and run it continuosly the board doe snot seem to be working properly? Thanks.
    Attachments:
    Pattern-Burst-1Board-Continuous.llb ‏152 KB

    Hi Blarivee,
    I am currently using a DAQCard-6533 board which is very similar to the 6534 (doesn't have the deep memory and uses interrupts instead of DMA for transfer). All I did was change the "Transfer Method" to Pattern I/O, and reduced the clock frequency and buffer size to 1000 (because I am using interrupts and no onboard memory). I then connected REQ1 to REQ2, DIOA[0:7] to DIOC[0:7] and DIOB[0:7] to DIOD[0:7]. Everything ran well at that point.
    I've also been able to use this example on a 6534 but I haven't tried it lately. If you are going to perform I/O on all 4 ports, try using a maximum transfer rate of 5MHz. It could be that your system and bus bandwidth are causing errors to occur. Here is a knowledge base that discusses some of the trans
    fer rates (one way). I just assumed that performing input or output didn't affect the bandwidth.
    Performance Benchmarks For The High-Speed Digital I/O - NI 653x
    http://digital.ni.com/public.nsf/websearch/4FCA248​D888831C386256D8900563E45?OpenDocument
    Anyway, hope that helps. Have a good day.
    Ron

  • My iphone's memory is near capacity from photo albums sync'ed with my mac and I haven't found out how to delete select albums without wiping the iphone.  Any suggestions??

    my iphone's memory is near capacity from photo albums sync'ed with my mac and I haven't found out how to delete select albums to free up memory without wiping the iphone.  Any suggestions??

    You do the opposite of how you got them on your phone, you unsync the pics using iTunes.

Maybe you are looking for