Can NIDAQmx do multiple things in sequence ?

Hello all,
I'm learning NIDAQmx and I wonder if it's possible to program in a single task a complex set of events such as [Generate Analog Out signal from array during T1], [Wait T2], [Receive Analog In signal into array during T3], [generate callback when finished].
After just a few hours I managed to to this as a sequence of 2 different tasks and it works fine, but to be able to do other things at the same time WHILE ensuring precision of operation (the wait sequence in the middle), the best would be for the whole thing to run independently.
So what solutions are there ? Entire sequence in a NIDAQ task ? TaskOut+wait+TaskIn in a thread ? TaskIn started by an async timer launched at the same time than the start of TaskOut ?
Thanks.

Hello,
It will be great if you could add information about the hardware that you are using for this task.
However, I would like to introduce to you the Trigger feature and Retriggerable tasks. Triggers will allow you to execute, pause, or stop tasks based on hardware conditions or signals. This means they are not software dependant.
Tips and Techniques in Data Acquisition Triggering - NI-DAQmx:
http://www.ni.com/tutorial/4329/en/
Retriggerable Tasks in NI-DAQmx:
http://www.ni.com/tutorial/5382/en/
Regards,
MCOTO.

Similar Messages

  • I can not download multiple things from a website all at once it gives javascript error

    i have been trying for awhile at this website to download multiple things at once and i keep getting a javascript:void 0 error..it did not happen until i upgraded firefox here recently..i would love for this to be fixed as i do use this site alot

    Are you getting an error message number with the error? If so, what number are you getting, please?

  • How can I browse multiple things at once in iTunes?

    I am trying to browse many different versions of Vivaldi's Four Seasons. Comparing different composers work in the iTunes store (with a view to buying). In a normal web browser I would open multiple tabs. Is this possible in iTunes? I would like to quickly compare side by side different music. But if I need to go back and click and play and go back (to search results) over and over again, it makes this a tedious process.Surely there's another way?
    I have since learned that apparently the iTunes app is a web view? This is interesting considering the rules for submitting apps to the app store disallow apps that are merely web views, but that's  what iTunes is.  Ok, so if that's the case, how can I use iTunes in the manner I've described?
    Any ideas how I can achive what I'm after in iTunes for Windows? Thanks for any thoughts.

    If syncing, select the content desired to be synced and then sync.
    If manually managing content select the content then drag and drop it. Multiple items can be selected by holding the Cntro key and clicking on multiple items.

  • Can you grab multiple frames in sequence with Premiere elements as you can with Pro?

    I use File: Export: Media: Export settings (format BMP) if in Premiere Pro

    Yes, you can Publish & Share as a filmstrip from Premiere Elements 12.

  • How can I edit multiple clips with different frame rates on the same timeline

    how can I edit multiple clips with different frame rates on the same timeline

    You do not want to edit material from different frame rates on one timeline. You CAN do this, but it is a very bad idea - and this is why.
    Once you establish the sequence frame rate - lets say it is PAL material at 25fps, any material that you drop into the sequence other than 25 fps will have to be changed to play at 25 fps. If the material you add is NTSC (29.97), FCP will DROP 5 frames per sec to bring the frame rate down to 25 fps. Which 5 get thrown away? Every 6th one. This yields a funky cadence that becomes even more complex as as there are also interlaced fields (DV/NTSC is an interlaced format). Oh, and by the way, the image sizes are different as well. DV/PAL has 576 lines of resolution and DV/NTSC has 480. FCP has to scale up the NTSC to fit the PAL frame.
    You do not want FCP adjusting these things on the fly. You want to do a thoughtful (and time consuming) conversion so that you end up with all your material in one format with the best possible image from the conversion process. Compressor can do an adequate job with Frame Controls turned on. The Natress Standards Conversion FCP plugin is another way to go. A third option is to find a post house that can do the conversion for you using a hardware based process.
    The good news is, once everything is in the same format, editing it will be painless and the output process very quick.
    Whatever frame rate/ image size you select, I'd suggest using ProRes for the codec. It is 4:2:2 color and will withstand color correction and composting with much more grace than any variant of DV based codecs.
    Have fun.
    x

  • Can there be multiple accounts on one id?

    can there be multiple accounts on one id?

    Unfortunately you can't do the logical and convenient thing of authorizing a computer with multiple Adobe IDs that are active simultaneously.
    You can authorize accounts from different vendors; one account per vendor.
    If you have multiple operating system users set up on the computer,  you can register different OS users as different Adobe Account users.

  • Can't open multiple PDF docs on same display

    I have a Windows 7 x64 machine, with Acrobat X Standard, running dual displays.
    The problem is that I can't get multiple PDF files to open on my right display.  One PDF file will open on the right display, if no other PDF files are open.  The first one always opens there by default.  The problem is that if one file is open, any subsequent PDF files ALWAYS open on the left display, on top of my design software.  Then I have to drag it back over to the right to see what I'm doing on the left.  Very annoying.
    EVERY other application installed on my machine opens where it's supposed to.  Multiple Firefox windows always open in the same place on the right display.  Multiple Windows Explorer windows always open on the right display.  Multiple Outlook, Word, Excel, etc. docs always open on the right display.
    Acrobat is the ONLY app that will not open multiple docs on the right side.  I had the same issue with Acrobat Reader 9 before I installed X.
    My old machine used to do the same thing with Acrobat 8 Standard, and at some point there was an update that seemed to fix it.  However I can't seem to get it to work with X on my current machine.  Any ideas?

    The problem is with the document, not the program.You can try to open the file in Preview and print from there. Otherwise, you will need to contact the creator of the document for a new version of the file.

  • Can you opening multiple albums at the same time in Photo (not iPhoto)?

    When converting the iPhoto library to Photo most of the albums that were in place in iPhoto converted to albums in Photo . . . .but not all. Some were retained as events mainly those that were folders within an album. In order to move them to the right album I would like to have multiple albums open at the same time (side by side) so that I can make sure not to duplicate photos or move them to the wrong spot.
    I cant see how to do this, it seems that I can need to open one album and check phots and then close to look within and other and rely on memory. There must be a more efficient and accurate way to do this?

    All of the events in iPhoto were converted to albums and are located in the Folder titled iPhoto Event in the sidebar of Photos. 
    You can't open multiple albums at the same time.  You can create a smart album that will do essentially the same thing with the following criteria:
    Album is "A"
    Album is "B".
    The smart album will display all of the photos in those two albums.

  • Safari, chrome and firefox cannot verify identity of secure websites after upgrading to 10.7.4,  apple engineers have tried multiple things including operating system with no success

    safari, chrome and firefox cannot verify identity of secure websites after upgrading to 10.7.4,  apple engineers have tried multiple things including operating system with no success

    There are several threads about this problem, most notably one called 'Invalid Certificates' is over 4 pages long.  Many of us have experienced difficulty connecting to banking and other secure sites.  On my Macbook Pro, I cannot get to my banking site with any browser, however I can get there on my iMac using Safari, but get the 'Invalid Certificate' notice with FF and Chrome.  The problem started after the installation of 10.7.4.  I have sent a message to Apple--they will be dismayed to hear that I cannot complete an order at their online store!

  • Can I authorize multiple accounts on one computer?

    Can I authorize multiple accounts on one computer?

    Unfortunately you can't do the logical and convenient thing of authorizing a computer with multiple Adobe IDs that are active simultaneously.
    You can authorize accounts from different vendors; one account per vendor.
    If you have multiple operating system users set up on the computer,  you can register different OS users as different Adobe Account users.

  • How can I print multiple copies of same photo onto one page on iPhoto 9.5.1?

    How can I print multiple copies of same photo onto one page on iPhoto 9.5.1? I was able to do it on the old iPhoto, but can't seem to be able to do it on the new iPhoto. Grrr...

    Photos does the same thing.... Only workaround I can come up with is to create a template in Pages and copy & paste.

  • How can I have multiple users on one apple id?

    How can I have multiple users on one apple ID?
    ie: I have my apple ID with my own credit, how can I set up credit for my son under the same apple ID, so that he can still access the same apps I've already downloaded and paid for?

    I've been trying to figure out a clean way to do this too. I think you may need more than one Apple ID – one that is shared and used to purchase "sharable" items and then "individual" Apple IDs for you and your son. That's the idea that I'm pursuing for the moment.
    It seems that there must be a way to do this, App Store purchases for the Mac are licensed across multiple machines. iPhone app purchases have "all your devices" licensing. Makes me think that Apple has a process in mind for sharing an account (or associating a device with multiple accounts).
    Other things I've learned:
    - Apparently you can't merge Apple ID accounts. I asked about this once at an Apple Store and was told that there was no way to do it.
    - If you share an Apple ID the Messages app behaves in a somewhat surprising manner. It must use your Apple ID to decide where messages should be sent because all users get all messages. This can make it very hard to organize a surprise party :-)

  • How do you get applescript to say multiple things simultaneously?

    I'm quite new to applescrips, and although I've written some basic scripts, I can't really do anything useful (since I have no knowledge of how to use Terminal commans or how to run shell scripts).
    I've been trying to get applescript to say multiple things at once, in the same OR in different voices, whatever. No matter what I've tried, it either waits for what it's currently saying to finish before saying a new line, or it cuts off all lines but the last one before speaking.
    I've tried say all by itself, with stopping current speech, without waiting until completion, or with both of those last 2 at once, like shown here:
    say "TESTING" using "Agnes" with stopping current speech without waiting until completion
    say "TESTING" using "Alex" with stopping current speech without waiting until completion
    (Take off whatever endings you want, I don't even like those there.)
    None of them worked. Also, putting a delay in between doesn't work either.
    I've also tried saving applescripts that say something as their own scripts and opening those with a different one, like so:
    run script file "Macintosh HD:Users:MY NAME:Library:Scripts:TESTING1.scpt"
    run script file "Macintosh HD:Users:MY NAME:Library:Scripts:TESTING2.scpt"
    But that didn't work either.
    I'm stuck and neither Google nor any Apple support threads I could find could help me.
    Any help would be much appreciated, thanks.

    You can try a script I have, and work from that:
    set anSwer to the text returned of (display dialog "What text do you want to say?" default answer "") as text
    set the_names to {"Fred", "Bruce", "Alex", "Albert", "Ralph", "Junior", "Vicky", "Agnes", "Kathy", "Princess", "Victoria"}
    repeat with this_name in the_names
              tell application "System Events"
                        try
                                  say "Using" & this_name & "'s  voice..., " & anSwer using this_name
                        on error
      display dialog "Didn't Work" giving up after 3
                        end try
              end tell
    end repeat

  • Can I have multiple computers accessing one iTunes library simultaneously?

    I've purchased a Lacie Network HD that I'm keeping all of my iTunes on. I've put an alias to the iTunes library from that drive in the music folders of the computers I want to access and update it. That all works well. The only problem is that both computers cannot have iTunes running at the same time. I get an error stating that the library is locked. It would appear that I can't have multiple computers accessing the library at the same time. Is there a work around for this aside from doing network sharing via iTunes? The reason I don't want to do that is that I want both computers to have access to the actual files if I'm using the various iLife apps that use iTunes.

    Scott
    The only problem is that both computers cannot have iTunes running at the same time. I get an error stating that the library is locked. It would appear that I can't have multiple computers accessing the library at the same time
    This is true. It's not a server app.
    The nearest thing would be a library file on each machine pointing to the same set of music files. However, you might have problems if both machines try to access a particulat track at the same time. Also, changes made on one machine would not be reflected in the other. So if you rip a CD on one, the files will also have to be 'imported' to the other.
    Regards
    TD

  • How can I use multiple row insert or update into DB in JSP?

    Hi all,
    pls help for my question.
    "How can I use multiple rows insert or update into DB in JSP?"
    I mean I will insert or update the multiple records like grid component. All the data I enter will go into the DB.
    With thanks,

    That isn't true. Different SQL databases have
    different capabilities and use different syntax, That's true - every database has its own quirks and extensions. No disagreement there. But they all follow ANSI SQL for CRUD operations. Since the OP said they wanted to do INSERTs and UPDATEs in batches, I assumed that ANSI SQL was sufficient.
    I'd argue that it's best to use ANSI SQL as much as possible, especially if you want your JDBC code to be portable between databases.
    and there are also a lot of different ways of talking to
    SQL databases that are possible in JSP, from using
    plain old java.sql.* in scriptlets to using the
    jstlsql taglib. I've done maintenance on both, and
    they are as different as night and day.Right, because you don't maintain JSP and Java classes the same way. No news there. Both java.sql and JSTL sql taglib are both based on SQL and JDBC. Same difference, except that one uses tags and the other doesn't. Both are Java JDBC code in the end.
    Well, sure. As long as you only want to update rows
    with the same value in column 2. I had the impression
    he wanted to update a whole table. If he only meant
    update all rows with the same value in a given column
    with the same value, that's trivial. All updates do
    that. But as far as I know there's know way to update
    more than one row where the values are different.I used this as an example to demonstrate that it's possible to UPDATE more than one row at a time. If I have 1,000 rows, and each one is a separate UPDATE statement that's unique from all the others, I guess I'd have to write 1,000 UPDATE statements. It's possible to have them all either succeed or fail as a single unit of work. I'm pointing out transaction, because they weren't coming up in the discussion.
    Unless you're using MySQL, for instance. I only have
    experience with MySQL and M$ SQL Server, so I don't
    know what PostgreSQL, Oracle, Sybase, DB2 and all the
    rest are capable of, but I know for sure that MySQL
    can insert multiple rows while SQL Server can't (or at
    least I've never seen the syntax for doing it if it
    does).Right, but this syntax seems to be specific to MySQL The moment you use it, you're locked into MySQL. There are other ways to accomplish the same thing with ANSI SQL.
    Don't assume that all SQL databases are the same.
    They're not, and it can really screw you up badly if
    you assume you can deploy a project you've developed
    with one database in an environment where you have to
    use a different one. Even different versions of the
    same database can have huge differences. I recommend
    you get a copy of the O'Reilly book, SQL in a
    Nutshell. It covers the most common DBMSes and does a
    good job of pointing out the differences.Yes, I understand that.
    It's funny that you're telling me not to assume that all SQL databases are the same. You're the one who's proposing that the OP use a MySQL-specific extension.
    I haven't looked at the MySQL docs to find out how the syntax you're suggesting works. What if one value set INSERT succeeds and the next one fails? Does MySQL roll back the successful INSERT? Is the unit of work under the JDBC driver's control with autoCommit?
    The OP is free to follow your suggestion. I'm pointing out that there are transactions for units of work and ANSI SQL ways to accomplish the same thing.

Maybe you are looking for