How can I output several simultaneo​us buffered waveforms with NI-DAQmx

I am using a PCI 6229 card and NI-DAQmq in LabWindows CVI 7.1. I can not figure out how
to implement waveform generation in four channels simultaneously. This has to be buffered wavefrom
generation with internal clock timing.
Are there any simple examples done without using the daq assistant that I can see to learn how to use the
NI-DAQmx functions?.
I need to write a number of periods on four waveforms, while I count digital pulses.
Many thanks,
Fundadero.

Alan,
Thank you for your help. I did look at that example and played with the number of analog outputs.
But It was not clear how to modify this example in order to perform buffered analog output
with updates corresponding to one of the internal clocks. I will output two sinchronous analog waveforms
and use the other two analog outputs to update their voltage on demand to control y and z positions.
The two synchronous waveforms, are AO_0 : a voltage staircase, 256 steps increasing from V1 to V2, 2ms duration steps , followed by 256 steps decreasing back from V2 to V1 (controls the x axis position). The second waveform, is a sequence of 256/n smaller staircases, with step durations of n*2ms, spanning a voltage range from 0.0 to 1.0 volts.
It turns out that I could do this in the traditional NIDAQ but I am struggling to migrate it to the NI-DAQmx platform, and I could not resolve this with the example that you suggested.
Do you have any more suggestions after I described what I am trying to do?
I will very much appreciate it.
Many thanks
Fundadero

Similar Messages

  • How can I email several pdf files in one email?

    HOw can I email several pdf files in one email?

    You have to use 3rd party apps like GoodReader.

  • How can I output text in a browser window in JAVA?

    How can I output text in a browser window in JAVA?

    "response.getWriter().print()" is the most common method when using servlets

  • HT5538 how can I transfer several apps from one Apple ID to another?

    How can I transfer several apps from one Apple ID to another?

    Apps purchased by an Apple ID are forever associated with that ID.    Purchases can't be transfers to another Apple ID.

  • In Address Book, how can i modify several contacts (several cards) at the s

    Hello,
    In Address Book, how can i modify several contacts (several cards) at the same time ?
    for exemple : I have 100 contact which live in Paris, I select all of them together, but when I put "Paris" in the field "city", it puts "Paris" only in the fisrt contact !
    how to edit several contact at a time ?
    And I would like to put some kind of "tags", or words, in "remark", also by selecting several contact and edit them together...
    Thanks by advance !
    Alexandre.

    Welcome to the discussions, Alexandre1975 et bonjour.
    Just using Address Book this can't be done, but if you are prepared to try a little Applescript it is easy. This script will set the city for example - but only if there is already an address.
    AK
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "Address Book"
    set ContactList to the selection
    repeat with ThisOne in ContactList
    set city of first address of ThisOne to "Paris"
    end repeat
    end tell</pre>
    (The recent upgrade to the discussions has disabled the link that allows direct opening of a script, so run Script Editor and copy in the script.)
    Message was edited by: Austin Kinsella1

  • How can I output up to 7 tracks simultaneously?

    Hello esteemed GB community.
    I have to create a little effect for an upcoming party. For this I need to output the following:
    - at least 4 separate audio channels (stereo front and stereo rear)
    - one mono combination of these four tracks (to drive a Light organ gizmo - makes the light flicker with the audio)
    - and finally one separate track on which I will put pulses to trigger a relay for a fog machine.
    Setting up these tracks in GB should be fairly straigth forward (although my GB experience is very limited I've done a fair amount of audio mixing in FCP - which I imagine is similar) but my question is, how can I output all these tracks so I can feed them to their respective recipients? This means to two stereo setups for audio (or would it be easier to do 5.1 Dolby - $$$ ?) and then to the light organ and to the relay trigger for the fogger.
    I did a search for multitrack but most answers I found dealt mainly with input, not output. I imagine this will require some kinid of an external box, right?
    Budget for this box is very limited, hopefully less than $200. Quality does not have to be very high although a good bass response will be important for the effect.
    Thank you very much for any help.
    Bo

    Thanks for your help, HT. Would Logic be a better choice than ProTools LE for this? (I know next to nothing about them I must confess...)
    I was just thinking, in the worst case scenario, I could just create the 6 audio tracks in GB, then output three stereo mp3 files (stereo front, stereo rear, 2 control tracks), dump each on a separate cheap mp3 player and get a controller that can remote start all of them at the same time...
    Does anyone know of such a cheap mp3 player that can be remote started via a wire connection to a relay? Is there another forum that deals with this kind of issue?
    Thanks again.
    Bo

  • How can i output the max average?

    How can i output the max of the average?
    i have this queries...
    <cfquery datasource="Intranet" name="GroupStars">
            SELECT execoffice_status, employeedept, COUNT(*) as 'totalstars'
            FROM CSEReduxResponses
            WHERE execoffice_status = 1
            GROUP BY execoffice_status, employeedept
        </cfquery>
        <cfquery dbtype="query" name="GetTotalStars">
            SELECT *
            FROM GroupStars, GetDepartments
            WHERE GroupStars.employeedept = GetDepartments.csedept_id
        </cfquery>
    <cfif GetTotalStars.RecordCount gt 0>
        <cfquery datasource="PhoneList" name="GetAllData">
            SELECT dept.csedept_id, COUNT(*) as 'totalcount'
            FROM employee, dept
            WHERE employee.dept_id = dept.dept_id
                AND employee.emp_status = 1
                AND dept.csedept_id is not null
            GROUP BY dept.csedept_id
        </cfquery>
        <cfquery dbtype="query" name="GetDepartmentTotalEmployeesCount">
            SELECT *
            FROM GetAllData, GetDepartments
            WHERE GetAllData.csedept_id = GetDepartments.csedept_id
        </cfquery>
    <cfquery name="joinQuery" dbtype="query" >
    SELECT *
    FROM GetTotalStars
    WHERE GetTotalStars.csedept_id = -1
    </cfquery>
    <cfset QueryAddRow(joinQuery)>
    <cfquery name="GetUnion" dbtype="query" >
    SELECT *
    FROM GetDepartmentTotalEmployeesCount, GetTotalStars
    WHERE GetDepartmentTotalEmployeesCount.csedept_id = GetTotalStars.csedept_id
    UNION
    SELECT GetDepartmentTotalEmployeesCount.*, joinQuery.*
    FROM GetDepartmentTotalEmployeesCount, joinQuery
    WHERE GetDepartmentTotalEmployeesCount.csedept_id NOT IN (#ValueList(GetTotalStars.csedept_id)#)
    </cfquery>
    <cfquery datasource="Intranet" name="GroupStarsGiven">
        SELECT execoffice_status, submitterdept, COUNT(*) as 'totalstarsgiven'
        FROM CSEReduxResponses
        WHERE execoffice_status = 1
        GROUP BY execoffice_status, submitterdept
    </cfquery>
    <cfquery dbtype="query" name="GetTotalStarsGiven">
        SELECT *
        FROM GroupStarsGiven, GetDepartments
        WHERE GroupStarsGiven.submitterdept = GetDepartments.csedept_id
    </cfquery>
    <cfquery name="joinQuery2" dbtype="query" >
    SELECT *
    FROM GetTotalStarsGiven
    WHERE GetTotalStarsGiven.csedept_id = -1
    </cfquery>
    <cfset QueryAddRow(joinQuery2)>
    <cfquery name="GetUnion2" dbtype="query" >
    SELECT *
    FROM GetUnion, GetTotalStarsGiven
    WHERE GetUnion.csedept_id = GetTotalStarsGiven.csedept_id
    UNION
    SELECT GetUnion.*, joinQuery2.*
    FROM GetUnion, joinQuery2
    WHERE GetUnion.csedept_id NOT IN (#ValueList(GetTotalStarsGiven.csedept_id)#)
    ORDER BY csedept_name ASC
    </cfquery>
    and this part is where i calculate the average, but i only get the average for each department, and from here i want to get the max of the average. how can i do that?
    <td><div align="right"><cfif totalstars eq ''>&ndash;<cfelse><cfset avgstars = totalstars / totalcount>#DecimalFormat(avgstars)#</cfif></div></td>
    thanks for your help

    1) What is it doing instead?
    2) Can you repost your code, but use code tags? If you repaste your formated code and place the tag &#91;code&#93; on top of your block of code and then paste &#91;/code&#93; on the bottom of your block, your posted code will retain its formating and be readable.
    Good luck

  • How can I output RCA video?

    How can I output RCA video from the headphone jack of my macbook pro? Is there any software to do this?

    I can't broadcast with the built in iSight webcam... how would I zoom in or zoom out? or how would I pan? I've seem people doing it walking with their laptops but that's not an option for me... there's nothing wrong with my USB ports but that's neither an option to stream video because as far as I know through USB you can't connect video in apple operating systems ..you can for sure plug any video cam or photo camera through usb but as a drive to transfer data not as a live video camera...  is by firewire an old interface developed by apple that you can connect all sorts of cameras to apple computers... unfortunately my new sony HDR-AX2000 camcorder doesn't have firewire output...
    thanx

  • How can I select several emails from 3900 on my 5c and delete the rest easily

         How can I select several emails from 3900 on my 5c and delete the rest easily

    We'll I don't think there's a easy way to delete a lot of emails besides deleting all of them. To delete all of them click on inbox them edit then "mark all" then trash/delete. Other than that you will have to specifically deleted the ones you want to delete.

  • How can i creat several rectangles with one draw rect.vi

    how can i creat several rectangles with one draw rect.vi? thanks
    Solved!
    Go to Solution.

    You can call it in a for loop, with an array of the rectangle coordinates you want to draw. Is this what you mean?
    CLA, LabVIEW Versions 2010-2013
    Attachments:
    rectangle.png ‏11 KB

  • How can I output the alpha channel in Premiere elements 10

    How can I output the alpha channel in Premiere elements 10. What format should I use?
    Tried outputting to an AVI filet but the file did not contain an alpha channel that After Effects 5.5 would recognize.

    Bill,
    I hope you ordered 32 GB or more on that new computer After Effects 5.5 takes up as much as it can.
    The Roto Brush tool is really a timesaver over ordinary Rotoscoping. Although, my problem now is: when I try to send a 1 min. And 11 second video from Adobe Premier Pro 5.5 two Adobe Media encoder 5.5, the process hangs in wait state in the Media Encoder. I have filed a request for help on the Media Encoder forum.
    I know you will put your new computer to use in helping other people and for this I thank you.

  • How can I groupe several PDF's together in 1 file - without re-scanning all the documents?

    How can I groupe several PDF's together in 1 file - without re-scanning all the documents??

    Yes, as Bernd suggested you can download Acrobat XI 30 day trial from Adobe.com http://www.adobe.com/cfusion/tdrc/index.cfm?product=acrobat_pro&loc=en (Windows) to check if that meets your requirements.
    Regards,
    Deepak

  • How can i move several emails into folders in ipad?

    How can i move several emails into folders in ipad?

    You can sort by using the search feature. When you are in your mail account you use the search bar at the top to find emails from a particular sender (there are Other options as well in search). Type in that sender's address. When the emails show up in the window on the left side, select all of the emails that you want to move. Tap Edit at the bottom and the Move Folder icon will appear. Tap that icon and select the folder that you want to move the emails into.
    To move multiple emails without using the search to sort, go to your inbox and tap Edit. Then select all of the emails that you want to move. After you are done selecting them, tap the Move icon at the bottom on the left side of the account window. When you tap move, you get a choice of folder into which you can place the selected emails.

  • How can I attach several images to my Outlook Mac 2011 email message and have all of the images reduced in size while they are being sent out. Thank you

    How can I attach several images to my Outlook Mac 2011 email message and have all of the images reduced in size while they are being sent out. Thank you

    https://discussions.apple.com/message/11994130#11994130

  • How can I output a slideshow so that it fills 16:9 tv screen?

    When I output a slideshow to a wmv file I want to burn the file in 16:9 format to play on HD widescreen TV. I cannot view it without bars on sides. How can I output so that slideshow will be border less?

    Search for .prx files on your computer and then select them from the Slide Size drop down. e.g. C:\Program Files (x86)\Adobe\Elements 12 Organizer\Assets\locale\en_US\tv_profiles\12 - Widescreen Enhanced Definition.prx.
    During the creation of the slide show you can still only work within a 4:3 portion of the screen, but selecting a 16:9 size will output without the vertical bars.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

Maybe you are looking for

  • Find My iPhone does not find my MacBook Air

    I recently bought this new MBA in San Francisco and brought it to São Paulo (Brazil). I used the Migration Assistant to set it up according to my previous MBP 13", but since then I'm experiencing problems trying to locate the MBA with Find My iPhone.

  • Attachments in KSB1

    Hello Folks I am unable to view an attached invoice in cost center actual line item report, the attachment is an invoice.But when i try to see the invoice through display Purchase order(ME23N) i can view it from there.My concern is i should be able t

  • Import error message

    I am getting an error message: Could not complete your request because Photoshop Elements does not recognize this type of file"  when I attempt to re-import some previously edited (in Elements) jpgs into the Elements editor. I have re-named these fil

  • Cannot find Photoshop Album in My Pictures

    I have been looking all over my C:drive for the Photoshop Album Starter and have located the program but still cannot access the pictures. The digital camera photos folder is empty, however when I open the actual program, the pictures appear. How can

  • In production  DB ,i wrongly imported production user to system user

    Hi All, 1.In production DB ,i wrongly imported one user to system user. 2.And there is any method to retrieve the system user as back? 3.Is there any conflicts in future? thank you in advance, regards, Db.