Is there an example hsdio dma PXI-6561?

Is there a Labview example for capturing data to a file using the HSDIO the Direct DMA instance of
the niHSDIO Fetch Waveform VI
PXI-6561 card
The strobe clock rate is 40MHz
Continuous data to files is needed

Hi Isutiger,
Here is an article that contains an example that should be pretty close to what you are looking for.
NI-HSDIO Stream to Disk (Acquisition) Using Win32 File IO:
http://zone.ni.com/devzone/cda/epd/p/id/5271
Regards,
Kaitlin N.
National Instruments
Applications Engineer

Similar Messages

  • Not enough triggers pxi 6561

    Hi,
    I wish to do multirecord acquisition with my pxi 6561. I have the following script in mind:
    script
    generate command 1
    generate command 2
    generate command 3 marker0 (0)
    repeat 99
    wait until scripttrigger0
    wait until scripttrigger1
    generate command 2
    generate command 3 marker1 (0)
    end repeat
    end script
    Marker event 0 will be exported to pfi 1 and then will be received on pfi 2 to start a dynamic acquisition session.
    Marker event 1 will be exported to pfi 3 and then will be received on pfi 3 to advance to another record in the dynamic acquisition session.
    No reference triggers are used, and the minimum number of prereference triggers is 0, so the records will just end when the specified number of samples is acquired.
    The number of records will be 100, and the size predetermined to be about 10,000 samples. I will fetch continously, by fetching the backlog and then feeding the number of samples from fetch backlog into the number of samples to fetch. When number in fetch backlog goes over say 14 Msamples, I will output a software trigger to stop dynamic generation which is scripttrigger 0.
    The problem now is that I have no line to output a ready to advance trigger since all the trigger lines are used up. I wish to send out an ready to advance trigger to and to reeive this to for scripttrigger1.
    The basic idea is to do multirecord acquisiton. I will send out a command sequence given by command 2 and command 3. When command 3 is outputted, I then wish to start acquiring data for 10,000 samples. This is caused by marker event 0 or 1. When the acquisiton of 10,000 samples finishes it will send out a ready to advance event when there is more records to acquire.
    In parallel, I will be fetching and writing to the harddisk as fast as possible, by reading the fetch backlog and fetching the number of samples specified in fetch backlog. When fetch backlog goes over 14 Msamples, I wish to pause acquiring and generating data. I will pause generating data by sending a software trigger at scripttrigger0. When this trigger is sent, no more data is generated, and no advance trigger will be outputted since the marker event 1 will not be outputted, so there will be no data acquired as well. The dynamic acquisiton session will be stuck in a ready to advance state. The problem is to now find a place to route the ready to advance trigger and read it but there are no more trigger lines left.
    One idea I had, but I don't know if it is possible, is to send out the marker event 0 on pfi 1 and send out marker event on pfi 1 as well since they will not occur simultaneously during the same clock cycle. I would then read th start acquisition event and the  advance event on pfi 2 as well, there by leaving pfi 3 and pfi 0 open. I could then send out the ready to advance event on pfi 3 and read it on pfi 1 or maybe do this on pfi 1 and pfi 2 as well.
    Please provide any suggestions you may have.
    Thank you,
    -Tim

    Hi Tim,
    According to the script you should not need more triggers lines... but I see your point. The only solution I can think on right now is to use pattern match as other sources of triggers. You will use some of those DIO lines as triggers.
    You can always use the software program start for the start trigger, then use the two triggers you mention (start acq and advance) using the PFI lines.
    Hope this helps,
    Gerardo O.
    RF Systems Engineering
    National Instruments

  • Is there an example to use interface to replace if then else pattern in F#

    is there an example to use interface to replace if then else pattern in F#
    i want to make match pattern with only one rule to represent dynamic number of rules which is use 
    let rec fun1 m number fun2param =
        match m with
        | fun2param(a,b,number) -> ****rewrite terms ****
    let fun2param number =
        if number = 1 then
                 function.....
        elif number = 2 then
                function ....
    computing nightmare

    In general, you use a match
    let fun2param number =
    match number with
    | 1 -> function.....
    | 2 -> function ....
    in the same way as you would use a `switch` construct in 'C' in place of a repeated if/elif...elif/else
    Your request is somewhat vague, so I'm not sure whether you would benefit from wrapping that behind an active pattern.

  • Is there an example of populating a tabular form by selecting node in tree

    Hi, I am using apex 4.1. I have created a tree region, and would like to click on a child node and have it populate a tabular form. My tree attribute has the following query:
    select case when connect_by_isleaf = 1 then 0
    when level = 1 then 1
    else -1
    end as status,
    level,
    "NODE_LABEL" as title,
    null as icon,
    "SEQ_NBR" as value,
    null as tooltip,
    'f?p=&APP_ID.:900:'||:APP_SESSION||'::::P900_SELECTED_NODE:'||"SPECIES_QC_ID" as link
    from "#OWNER#"."SPECIES_TREE"
    where partner_id = :G_ISSUING_AGENCY and nvl("SPECIES_TREE"."DISPLAY_FLAG",'Y') <> 'N'
    start with "NODE_PARENT" is null
    connect by prior "SEQ_NBR" = "PID"
    order siblings by "NODE_PARENT"
    I am not certain how to set up the tabular form....are there any examples out there? thanks! Karen

    Thanks Tony,
    The application I have is a means of commercial seafood dealers recording what species they have purchased/landed. The page is designed with a tree listing all of the species and their sizes and then the tabular report of landings. The current application uses a collection to display the landings....I was trying to get rid of the collection and populate the table directly.
    thanks for getting back to me. Sounds like I will need to keep the collection....just looking for examples.

  • Is there any  example snippet for XPath using namespace

    Hi,
    I have used XpathApi class to get the XML node matching my xpath that does not deal with namespaces and it works for me. However, it does not seem to work well when I construct the xpath with namespaces (probably I may be doing something wrong example: //ns:node1/@ns:attr1).
    Can anyone give pointers or some example snippet or some links to handle Xpath with namespaces.
    Also if there is any better approach (Classes or framework) for handing XPath with namespaces then please let me know.
    Thanks,
    -vc

    AnkitG wrote:
    Hi All,
    Is there any example for N9010A EXA signal analyzer , I tried to use example of MXA got from the driver page but couldnt get to work. I need to capture the RF data form the analyzer. Please let me know if there any example or way to do it.
    That is an Agilent instrument. Shouldn't be looking for examples on THEIR website?????

  • Is there TopLinkGrid examples with XML descriptor deployment?

    Hi,
    Oracle docs include examples of using Oracle Coherence (as shared cache) with TopLinkGrid, but with annotations.
    Is there somewhere examples/docs about using TopLinkGrid, but with XML descriptor deployment ?
    Thanks.
    Regards,
    Dominique

    With TopLink Grid usage configured per Entity using EclipseLink customizers, you can either use annotations or specify in in the eclipselink-orm.xml file.
    For example, the following ecilpselink-orm.xml could be used in the OTN GridCache example with all the Java annotations removed. Note the specification of:
    <customizer class="oracle.eclipselink.coherence.integrated.config.GridCacheCustomizer"/>--Shaun
    <?xml version="1.0" encoding="UTF-8"?>
    <entity-mappings version="1.1" xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eclipse.org/eclipselink/xsds/persistence/orm http://www.eclipse.org/eclipselink/xsds/eclipselink_orm_1_1.xsd">
         <persistence-unit-metadata>
              <persistence-unit-defaults>
                   <access>FIELD</access>
              </persistence-unit-defaults>
         </persistence-unit-metadata>
         <entity class="gridcache.model.Address">
              <customizer class="oracle.eclipselink.coherence.integrated.config.GridCacheCustomizer"/>
              <table name="GRIDCACHE_ADDRESS">
              </table>
              <attributes>
                   <id name="id">
                        <generated-value />
                   </id>
                   <version name="version">
                   </version>
              </attributes>
         </entity>
         <entity class="gridcache.model.Employee">
              <customizer class="oracle.eclipselink.coherence.integrated.config.GridCacheCustomizer"/>
              <table name="GRIDCACHE_EMPLOYEE">
              </table>
              <named-query name="Employee.findByLastNameLike">
                   <query>SELECT e FROM Employee e WHERE e.lastName LIKE :lastName</query>
              </named-query>
              <attributes>
                   <id name="id">
                        <generated-value />
                   </id>
                   <version name="version">
                   </version>
                   <one-to-many name="phoneNumbers" mapped-by="owner">
                        <cascade>
                             <cascade-all />
                        </cascade>
                   </one-to-many>
                   <one-to-one name="address" fetch="LAZY">
                        <cascade>
                             <cascade-all />
                        </cascade>
                   </one-to-one>
              </attributes>
         </entity>
         <entity class="gridcache.model.PhoneNumber">
              <customizer class="oracle.eclipselink.coherence.integrated.config.GridCacheCustomizer"/>
              <table name="GRIDCACHE_PHONE">
              </table>
              <attributes>
                   <id name="id">
                        <generated-value />
                   </id>
                   <basic name="number">
                        <column name="NUM"/>
                   </basic>
                   <version name="version">
                   </version>
                   <many-to-one name="owner" fetch="LAZY">
                   </many-to-one>
              </attributes>
         </entity>
    </entity-mappings>

  • Is there any Example for N9010A EXA Signal Analyzer

    Hi All,
    Is there any example for N9010A EXA signal analyzer , I tried to use example of MXA got from the driver page but couldnt get to work. I need to capture the RF data form the analyzer. Please let me know if there any example or way to do it.

    AnkitG wrote:
    Hi All,
    Is there any example for N9010A EXA signal analyzer , I tried to use example of MXA got from the driver page but couldnt get to work. I need to capture the RF data form the analyzer. Please let me know if there any example or way to do it.
    That is an Agilent instrument. Shouldn't be looking for examples on THEIR website?????

  • Looking for Analog Out example using DMA and C++; cannot find sample "GenMultVoltUpdates_SWTimed"

    Looking for example for Analog Out to multiple channels using DMA and C++.  Found reference to sample "GenMultVoltUpdates_SWTimed" which I do not have and cannot find.

    Hello Gerry,
    When you install DAQmx, there is an option to install
    support for Measurement Studio.  When you
    select this option, it will install these examples onto your hard drive.  All of the examples can be found at the
    following location: (C:\Documents and Settings\All Users\Documents\National
    Instruments\NI-DAQ\Examples\DotNET2.0\Analog Out\Generate Voltage)
    Respectfully,
    Rob F
    Test Engineer
    Condition Measurements
    National Instruments

  • Is there an example of a confirmation order email that is sent to the client and also an example of an invoice that is sent to the client?

    Can there be an FAQ created by which it gives information to the client on the order process.  Example:  Client make purchase over the phone:
    1.  Confirmation email sent to the client with the order number that Adobe Direct Sales or Customer Service has communicated to the client -->Example of the order confirmation email in the FAQ
    2.  Example of an official invoice that is sent to the client.

    Thanks for your reply Olivia.
    I looked at the ActiveX Event Callback for Excel.vi and the subvi NewWorkbookCallback.vi in detail.
    I have a few questions/observations about it:
    1. The main program appears to open Excel so that LabVIEW is the ActiveX client and Excel is the ActiveX server. Is this correct?
    2. When the user opens a new Excel workbook, LabVIEW fills some cells. Again LabVIEW is the client and Excel is the server. Is this correct?
    I want to create a LabVIEW ActiveX server that receives and displays an array of booleans. Can anyone help me with this?

  • I want to use the MXCTRLLib functions from VB. Are there any examples?

    I have tried
    '* place a reference to the max library first
    dim aa as mxConfiguration
    set aa = new mxconfiguration
    aa.invokeMAX ' starts a MAX session
    'aa.invokecreatenewwizard(0,"test") = "help" 'starts the wizard for a new channel
    The above code starts MAX interface running. There seems to be several function for reading and writing configurations. Does anyone have some examples?
    I want to be able to read each channel and get it's name and scaling so my app can be set up properly if another engineer changes or adds a channel.
    I also want to be able to setup a configuration very fast on a new computer. I know I can save the config... but creating the config is a pain w
    hen dealing with large quantities of analog and digital signals. MAX does not seem to be able to handle the load. I am thinking of a seperate interface that acts more like a database where I can sort the channels by SCXI board and channel number OR by name.
    To see these functions add a 'reference in VB to National Instruments MaxCTRL 1.0. After that you can use the object browser on MXCTRLLib to see all of the functions.

    Megan -
    I have attached an example that returns only the data that falls between the X max & min labels. If you zoom in on a particular portion, the data that is returned is only the data that falls within your zoomed X axis.
    Hope this is of some help.
    Jim
    Attachments:
    Crop_graph.vi ‏1489 KB

  • JList data model, MVC, is there an example?

    I have a JList, constructed from an AbstractListModel based on an ArrayList, tucked into a JScrollPane. The data model changes frequently en masse, not element by element. I have studied the API documentation of ListModel, ListDataListener, and ListDataEvent. I want to update my Jlist without reconstructing the whole thing, JScrollPane and all, and adding that JScrollPane to a JFrame's content pane in a method called from a distant class. That approach is just not working in the details like screen redraws, no matter the combination of validate(),repaint(), and show() calls I make.
    The data in the ArrayList is there, I'm just trying to notify the AbstractListModel in the JList in the JScrollPane that the data has changed, so presumably it can take care of displaying those changes. The search function for similar posts on the forum is not working for me, and I am running out of resources to study on my own. A set of tutorials by by Dick Baldwin
    http://www.phrantic.com/scoop/onjava.html
    has been the most helpful by far in explaining MVC and its application to JList, but he says,
    "fortunately we can avoid having to deal with the complexity of creating and maintaining a list of registered listener objects, and invoking listener mithods on those objects, by extending AbstractListModel to create our alternative data model..." I don't want complexity either, but I do want to update a data model.
    I need an example of how to use these methods, like addListDataListener(ListDataListener l), fireContentsChanged(Object source,int index0, int index1),
    public ListDataEvent(Object source,int type, int index0, int index1)
    I can't believe that what I want to do is that uncommon or esoteric. Maybe it's just that I'm not seeing something obvious.
    Any pointers?

    Stated differently:
    Here's the API and my error message and my code: is there a way to have just working code and the API, without the compiler error? (recs in the code is my data model, allRecs is the ArrayLIst it's based on)
    API
    fireContentsChanged
    protected void fireContentsChanged(Object source,
    int index0,
    int index1)
    AbstractListModel subclasses must call this method after one or more elements of the list change. The changed elements are specified by a closed interval index0, index1, i.e. the range that includes both index0 and index1. Note that index0 need not be less than or equal to index1.
    Parameters:
    source - The ListModel that changed, typically "this".
    index0 - One end of the new interval.
    index1 - The other end of the new interval.
    See Also:
    EventListenerList, DefaultListModel
    error
    C:\My Documents\Java\CIS 290\hw2\ConnectionHandler.java:173: fireContentsChanged(java.lang.Object,int,int) has protected access in javax.swing.AbstractListModel
    recs.fireContentsChanged(recs,0,allRecs.size());
    codepublic void handleServerMessages(DataInput in)
        done=false;
        int command =0;
        try
            command = in.readInt();
          catch(IOException e)
            e.printStackTrace();
          switch(command)
            case FULLPACKET:{handleFullPacket(in);} break;
            case PARTIALPACKET:
              initializeAllRecs();
              handlePartialPacket(in);
            } break;
            case ALREADYEXISTS: {;} break;
            case DOESNTEXIST: {;} break;
            case BYE: {done = true;} break;
            default: {;}
          recs.fireContentsChanged(recs,0,allRecs.size());
      }

  • Is there any example for a software transceiver in labview / labview modulation toolkit ?

    hi everyone
    i am sure you have heard of this a lot ..... but i am new (like 20 minutes old) to labview. i am quite fimiliar with matlab and other programming languages. i am doing a project based on software defined radio. for that i understood an example demo from matlab where a fully functional software transceiver has been built as an example.
    now i myself have to do that in labview for the sake of comparison and better real time compatibility with USRPs. i am just getting started and was hopping if there is a similar example in labview or someone else's project. i have installed the modulation toolkit and have gone through its various blocks. i understand that i can build a tranmitter and receiver from scratch but that would take a lot of time and testing. so can anyone help me out in any way.....?
    regards
    khurram

    Hi khurram,
    did you look for examples with the ExampleFinder?
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Line Chart - Is there any Example?

    Hello Friends;
    I searched through old messages but I couldn't find any servlet example which produces a line chart. There is a "free" API called JFreeChart . They initially put some examples in the free distribution but later on they removed. They sell the user guide which has lots of examples for $40 bucks, which is not affordable for students like me.
    Sometimes small examples explain a lot to a beginner level user.
    If you have anything that you can share, it would be appreciated.

    Ok. No problem, I found some applet examples, I'll try to put them in a servlet.
    There shouldn't be any problem, right?

  • I want Next/Back links between topics. Are there good examples how to do this?

    I also have multiple books in which I want to have Next/Back buttons. The Help PDF offered by Adobe does not adequately describe how to do this. Does anyone have a good example/description of how I do this?
    Walt Mahan

    Hi again
    To access the link I listed, you just click it in your web browser.
    There are a few different ways you can do this. You can insert the text as you wish to see it, then manually create the links. Ick! That's not very much fun.
    If you are using RoboHelp 8  you could create a Master Page and insert a Breadcrumb Trails placeholder, then apply the Master Page across the topics.
    For any version of RoboHelp you could achieve this by creating a Browse Sequence (Tools > Browse Sequence Editor) and generate WebHelp twice. The first pass to folder A and the second pass to folder B. During the first pass, you use the "Traditional - No skin" output. This would produce topics with code in them that contains the Previous and Next links. Then the second pass would be generated with a skin. You would then copy the topics from folder A and overwrite the topics in folder B to obtain the best of both worlds.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Is there a driver for the PXI-8310 that works with Windows 7?

    The only one I can seem to find is for XP.

    Hello LouisTI,
    Unfortunately there is not a Windows 7 driver for the PXI-Cardbus8310, as this is a legacy device which is currently going EOL (End of Life). The XP driver for the 8310 (which you may already have found) can be downloaded here:
    http://joule.ni.com/nidu/cds/view/p/id/370/lang/en
    If using Win 7 is critical, we recommend the PXI-ExpressCard 8360 as a replacement for the 8310:
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/202294
    Hope that helps!
    James M.  |  Applications Engineer  |  National Instruments
    James M. | Applications Engineer | National Instruments

Maybe you are looking for