Is it possible to measure single voltages without creating a new task every time

I need to take voltages as input in the event loop of a program. If I create a task, take a measurement, then stop the task I get roughly 10 - 20 measurements a second. Is this the most efficient way to do this, I would need many more measurements, but have to do other things in my program in between?

Nevermind, found my answer in other threads.
Looks like there's no real work-around.  It may be too that it is creating new clips on dropped frames.
Not sure.  testing different theories.
Thank you!

Similar Messages

  • Is it possible to loop AI Voltage readings without creating a new task (NI-DAQmx)?

    I would like to repeatedly make n Analog readings in a program, however, I am unable to accomplish this without creating a new task each time... perhaps I'm doing something wrong.
    Here is my pseudo-code:
    DAQmxErrChk(DAQmxCreateTask("", &taskHandleAI));
    DAQmxErrChk(DAQmxCreateAIVoltageChan(taskHandleAI, ...));
    DAQmxErrChk(DAQmxCfgSampClkTiming(taskHandleAI,...));
    Loop start
    DAQmxErrChk(DAQmxStartTask(*taskHandleAI));
    DAQmxErrChk(DAQmxWaitUntilTaskDone(*taskHandleAI, 0.001));
    DAQmxErrChk(DAQmxReadAnalogF64(*taskHandleAI, ...));
    DAQmxErrChk(DAQmxStopTask(*taskHandleAI));
    do_something();
    Loop end
    The first read seems to work fine, however, all subsequet reads gets the following error message:
    DAQmx Error: Measurements: Task specified is invalid or does not exist.
    Status Code: -200088
    Does anyone have a clue what is happening?

    Sorry... is it possible to move a post, or should I simply start another one?
    Also. I don't fully understand what you mean by moving start & stop outside of the loop... the 'do_something()' part parses the reading results that was just read...
    are you saying I should not run StartTask/StopTask for each iteration of the loop? 

  • Is it possible to measure ac voltage using cFP-AI-100​?

    I have the cFP-AI-100 module.. is it possible to measure ac voltage with this analog input module?
    Is there is any specific module?

    Hi ELUE,
    I will need a little more information to give a good recommendation.  What range of voltages will you be measuring?
    The following link will bring you to all the analog input compact FieldPoint modules we have:
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/115​75 
    Other things we need to consider is what frequency the signal will have, and if we need isolation between the channels.  Any further information would help.  Have a good day.
    Brian K.

  • Is it possible to open a new Worksheet without creating a new *.sql file

    Hello Community,
    Declaimer: It may be a trivial question. I just willing to make SQL Developer my default day to day tool.
    I is possible to open a new Worksheet without creating a new *.sql file. Like in an MS Word. If I just need some space to write something and than destroy the file without saying. I can quickly click < ctrl + N > and get the space.
    In SQL Developer to get a new "space"/work sheet i
    -a- < ctrl + N >
    -b- choose "SQL File"
    -c- confirm default location
    -d- choose the connection to be used (right top conner)
    This process is way to long for getting a new sheet to put write an SQL.
    Can you suggest a better way to get a workspace with current connection assigned in no time (like in MS Word)?
    Please ;)
    Yury

    There is no need to create new .sql file.
    I don't know why you need new SQL Worksheet when you can simply do the space by pressing Enter, but you can open a new one from Tools -> SQL Worksheet. There is also a toolbar button for this.

  • Is there a way to reorder or introduce new pages in iBooks Author, without creating a new IBook?

    Is there a way to reorder or introduce new pages in iBooks Author, without creating a new IBook? Is this possible?

    The main thing is...you have a way to move forward with your project.
    If I may offer some tips, learn to customise the template to suit your project...its basically very easy..once you try.Again a search will bring up posts that address this topic.
    IF you do create your own template..save it as a template before using it, that way you have a clean version every time.
    When putting your book together save versions as you go along..later you can delete them.
    If, as .. you seem to have found, you need to change things or want to try other options, you can copy whole chapters or sections and paste in a new order or  into another version of your template. If you copy into a different template or book, the template basic also transfer to the template. Best way to discover what can be done is simply open a new book to play with! Add a few chapters and sections...include some pages..and just drag things around, copy and paste where you choose. Its just learning and after you delete the junk!..BTW, yes, you can have single pages before the first chapter...i.e. I open a copyright page into a chapter...that drag it to the top of the book tree, a blue line will appear ..drop it.
    If you need any help or advice, its available in abundance on this forum.  Have fun...

  • Schedule Webi (and Crystal) report without creating a new instance

    Hi all,
    I'm looking for the way to not create a new instance of the report when we schedule a report? Is it any actions on the InfoObject object? Or is it just impossible to do?
    Thanks in advance !
    Edited by: jerome.vervier on Nov 21, 2011 11:40 AM

    Hi,
    With regards to your query, whenever a report is scheduled an instance of it will be created.
    Therefore, it is not possible to schedule a report without creating an instance.
    Regards,
    Shreyans

  • Publish the website to the root folder (without creating a new folder)

    Hi there! Sure this problem has already been discussed here many times and I'm not the only one who's interested this question, but how can I publish my website using FTP without creating a new folder, just to the root folder of my web hosting? Is that even possible or should I each time drag all the files from the folder created by iWeb and put them to the root folder manually? I'm a little bit confused. Guys help me with this, please! Many thanks in advance!!

    Yes, you're right, it has been discussed for the past several years and yes, you're not the only who's interested in that question.
    A simple googe search confirms it : avoid iweb sitename
    Try it, if you haven't done it already.
    Here's my answer :
    http://www.wyodor.net/htmlegg/TallCard/TallAjax.html?pg=avoidSitename

  • Call an MM transaction without creating a new LUW

    Hello Experts,
    I have created a new Z_ transaction in which I want to call an existing Materials Management
    transaction (MB1B). Additionally, in my transaction I update some extra custom (z_) tables. I would like to have one LUW so as to perform all updates (both custom tables and SAP tables updated by the MM transaction) together at the final "commit work" in my program.
    Is there a way to call the MM transaction without creating a new LUW in my calling program (as the CALL TRANSACTION statement does)?
    I have read that one way is to use the CALL DIALOG statement instead. Is it a safe method to use?
    Please give as much detailed info (with examples) as possible.
    Thank you very much in advance,
    Orestis

    Hi Sandra,
    My requirement is to call a transacton in a subscreen. Created a screen 100 that is devided into 2 one for custom container to place tree control and  another for subscreen that is to call transaction.
    Call transaction works fine, but this transaction is being opened in new screen(as each transaction use new LUW)., is there any to display the transaction in the sub screen area instead of new screen..
    For ex, very similar to t-code SE80. In se80, choose other object, and choose more, and select trasaction  and enter any t-code, then it displays same of SE93 in the right side of the screen...hope it is clear..
    Regards, Laks

  • Transfer files from PC without creating a new user

    Is it possible to use the Migration Assistant to transfer files (documents and photos) from a PC to my new MacBook WITHOUT creating a new user? And why the frick does the Setup Assistant not warn you on initial startup that if you do not transfer files then - you can only do it by creating a seperate user. This should be simple. Transfer files. sounds easy.

    It is user friendly - that's why it asks you to migrate all of your info in the very beginning during the setup of your new Mac.
    Migration Assistant creates a new user after it does its job. There's no way around that.
    You can either manually move the files over from your PC into the Mac or you can use MA, let it create a new user and then share those files between the new user and your current user. When you're done you can then delete the newly (and now empty) migrated user. You cannot migrate files from another computer and have them placed into your current user.
    Regards,

  • My previous method for payment on itunes was debit card but now I dont have one.  How do I change to no card without creating a new apple id

    My previous method for payment on itunes was debit card but now I dont have one.  How do I change to no card without creating a new apple id?  It tells me to update payment details when I try to update apps but it only has visa, mastercard, amex and maesto.  I dont have any of them.  I did previously use visa but I dont have the card anymore and cant get another one.  Please can someone help me set it up so I dont need a payment method.  Thanks

    Thanks for you reply.  Is that the only way as it would cost me £15?

  • TS4020 Can I change my iCloud email address name without creating a new account?

    CCan I change my iCloud email address name without creating a new account?

    Once you have created an iCloud account and chosen an @icloud.com address to go with it you can't change the address (short of creating an entirely new account).
    However, all is not lost. You can add up to three 'email aliases' - these are additional addresses (not accounts) which deliver into the same inbox as the main account. (In fact it's a good idea to give out alias addresses, rather than the main address, because if they attract spam you can easily change them.) (New aliases can only be @icloud.com ones; @me.com addresses cannot now be created.)
    You should be aware before you start that once you've created an alias you cannot turn that address into a full iCloud account or move it to another account.
    More information on aliases here: http://help.apple.com/icloud/#mm6b1a490a

  • How can I create a new page in pages, without creating a new section?

    how can I create a new page in pages, without creating a new section?

    Good morning graywright,
    It sounds as if what you are wanting to do in the Pages application is to insert a Page Break. Follow the steps in this article -
    Pages '09: Inserting a Page Break
    In a word processing document, click where you want the break to occur, and then choose Insert > Page Break. 
    To remove a page break, click at the beginning of the line that follows the break and press the Delete key.
    In a page layout document, to insert a new page in your document, click Pages in the toolbar and choose from the template page options available.
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • How do I change the volume for a single midi instrument in GarageBand 10? Every time I move the volume, it moves back!

    How do I change the volume for a single midi instrument in GarageBand 10? Every time I move the volume, it moves back!

    Every time I move the volume, it moves back!
    Check, if you have a volume automation set on the software instrument track.
    If the track volume automation curve is enabled, the volume slider for the track will move with the automation curve.
    Click the automation curves disclosure triangle in the track header and disable the volume automation.

  • I want to edit Pictures that are on my External Hard Drive Using iPhoto without having to import them every time, it was suggested to me to use Aperture. any advise is appreciated

    I want to edit Pictures that are on my External Hard Drive Using iPhoto without having to import them every time, it was suggested to me to use Aperture. any advise is appreciated

    Aperture is a nice program, I use it myself for it's adjustment and light editing capabiities.
    You can save a vault on another drive.

  • Is it possible to configure Firefox for Android so it doesn;t open a new tab every time a new url is sent to the browser?

    We are using a web based service to register people's mood when they touch an NFC card against the tablet. Every time someone taps their card against it, it open up a new tab, and they then register the mood they are in.
    We recently got to a situation where we had 150 tabs open which gives us concerns that at some point the tablet could just slow to a crawl or fall over.
    The tablet is unmanned and so closing the tabs after every entry manually is not an option either.
    Ideally we would like the browser not to open a new tab every time. Is this possible?
    Thanks a lot

    You should ask this on https://mail.mozilla.org/listinfo/mobile-firefox-dev instead of a end user forum. It may require building a custom APK of Firefox.

Maybe you are looking for