Several DAQmx Channels with Start and Clear Task VI's

Hi,
I'm trying to read in several DAQmx channels in a while loop. When I just place the channels within the while loop and connect them directly to the read VI's, everything is fine. But I read in the help, that this will slow down my system, because it's opening and closing the task each cycle. So I used Start Task and Clear Task VI's to open and clear them before and after the loop. But now it's only reading one of my channels in, although I wired all of them in exactly the same manner. Anyone has an idea, what I did wrong?
Thanks,
Miclas
Attachments:
Save&Stop DAQ.JPG ‏87 KB

You would have seen the error if you had wired up and error indicator.
You cannot run multiple tasks of the same type (i.e. an analog input) at the same time. What you read about stopping and closing tasks is correct but it was the only way your program could work. What you don't realize is that you can have multiple channels with a single task. If you used a physical channel constant, it would be something like 'dev1/ai0:2' if you had consecutive channels or 'dev1/ai0, dev1/ai2' for non-consecutive. Global channels are done in a similar fashion. You would have 'FSR1, FSR2, Knee Angle', etc.

Similar Messages

  • How can I start anew with Photos and clear the (minimal) stuff it has uploaded

    I've about had it up to here with this new Photos scheme. I reorganised my Aperture libraries on both my iMac and MBA in preparation for this, delayed turning Photos on for a couple of days until I thought everything was ready based upon the limited advice that was out there, and then got stuck in an endless loop of "uploading" and "preparing" every time I opened Photos. There are 19,975 images in my Aperture library on the iMac. I was stuck at Uploading at anywhere between that number and 19,000 with no progress after hours of waiting. I tried all the tricks mentioned here including re booting, restarting the app, repairing/rebuilding the database, killing the "cloudd" process, etc.today Today when I restarted Photos, it now said I had 23,775 images to upload- 4000
    more than I have-and of course it got stuck there, like it has for the last week.
    I copied the previous Aperture library (pre Photos migration)back to my iMac and opened it in Aperture. Thankfully, all the photos I had taken on my iPhone this week during this Photos clusterphuck transition were in the Aperture Stream so I didn't lose any of those. I'm willing to give this whole thing one more shot. So  i need some advice. How can I start anew with Photos and clear the (minimal) stuff it has uploaded (about 6000 of 19,000 images in the last 7 days) ? If I simply delete the Photos.photolibrary file will that do the trick and lt me start a new fresh library using?
    <Re-Titled By Host>

    How can I start anew with Photos and clear the (minimal) stuff it has uploaded (about 6000 of 19,000 images in the last 7 days) ? If I simply delete the Photos.photolibrary file will that do the trick and lt me start a new fresh library using?
    It is hard to say from your post, why the migration did not succeed in your case.
    by "stuck on upload" do you mean, you opened the Aperture library in Photos, and Photos converted it to a Photo Library, and then the upload to iCloud Photo Library did hang?  Or did already the upgrade to the Photo Library fail?
    If you want the Aperture library to upload to iCloud Photo Library, it needs to be on a disk formatted MacOS Extended (Journaled) and the original image files must not be referenced. Referenced originals will not upload.
    Also, the upload may hang, if you do not have enough free iCloud storage, orr if one of the videos or photos in your library is in an unsupported format or corrupted.
    To start over, try to repair and rebuild the Aperture library before opening it in Photos. Try all Aperture Library First Aid options - starting with repairing the permissions.  (Repairing and Rebuilding Your Aperture Library: Aperture 3 User Manual)
    If I simply delete the Photos.photolibrary file will that do the trick and lt me start a new fresh library using?
    You will have to delete the photos that are already in icloud too; otherwise you are risking duplicates.
    Can you launch Photos at all?  If yes, delete all photos in Photos and empty the Recently Deleted album. Wait for the deletion to sync to iCloud. Then delete the Photos.photolibrary.

  • Can we add button in query region  along with go and clear

    Hi Friends,
    i have a requirement as below steps-
    1)i have developed search pgae by using query regiion
    2) in pgae,first we have search items,go and clear(submit buttons), table region.
    3)here go and clear buttons came automatically.
    4) i can able to add button in front of the page and end of the page.
    4) my requirement is i need to add one more button along with go and clear(here go and clear button are in between search items and table region) .
    5)i am not able to add button along with go and clear.
    Can any one know how to do this--
    Thanks in Advance
    vamshi

    Hi Vamshi,
    You can not create extra buttons in Standard Query region.
    Alternatively you can create your custom region for the search and there you can add a button. If you don't need advanced region, you can create the custom region in place of standard one.
    Anoop

  • Several HD channels not working, and unable to undo/redo coax connection

    Several of my Fios HD channels do not work. This is isolated to only a handful of channels - some HD channels are fine, and all SD channels come in as expected. 
    I've read responses here and on Twitter that advise the user to check the coax cable, but I am having a really hard time with this solution. I can remove the coax on the set-top box end, but it appears to be a bit live - when I touch the pin in the middle, I get a definite shock. On the splitter end, the coax must have been put in via machine - it's screwed so tight, it won't budge. I just can't undo it at all.
    Are there any other tips to share for this particular issue? I've followed all of the onscreen prompts to no avail. 
    Thanks for your help!

    The splitter  coax F-connector may have been installed with a small connector wrench.  Just use a small 11mm or 7/16 in. wrench, or pliers and loosen the connector about 1/2 turn.  Then you can disconnect it with your fingers.  Make sure the cable itself is straight and not putting pressure on the connector.

  • Problems with replace file name with starting and ending Bates number

    When applying Bates numbers to a set of Acrobat pdf files I am unable to replace file names with the starting and ending Bates number. This is important
    for me in a legal application.
    The Bates numbers are applied to each page of each of file without any problem as required.
    The Bates log file indicates that the files have been renamed as I wanted.
    I am running Adobe Acrobat Professional 9 with the update to 9.1.9 and Windows XP Service Pack 3 (the last or current service pack)
    In all other respects Adobe Acrobat 9 is running to my satisfaction.
    Has anyone else had this problem and found a solution?
    HRKExon

    Thanks for asking the question, I hadn't heard of Bates numbers before and this gave me a chance to look up something new.
    When I googled for ' bates number legal index ' I found this document:
    http://www.adobe.com/devnet/acrobat/pdfs/batesnumbering9.pdf
    Maybe that will help.
    Scott Bonacker CPA
    Springfield, MO

  • Tree node images changes.. with start and stop button

    I create the animator extends JPanel, which start and stop can be controlled with Swing Timer. It works fine with animation control over the panel.
    Now, I have a tree with each image at each node.
    when the start button clicks, one node image should be animated.
    It is implementable. If animation.gif would have worked, I did't have to do this, but animation gif has fatal error with time interval.
    any words would be appreciated. Thanks =

    Damn !
    With version 1.2.1 I think you'll have to create a new class that extends PositionPathInterpolator and add a pause() anr resume() method to it.
    i suggest something like:
    public class MyPositionPathInterpolator() extends PositionPathInterpolator {
    // add some constructors if necessary
    private float pauseAlphaValue = 0;
    // override computeTransform method
    public void computeTransform(float alphaValue, Transform3D transform) {
       float newAlphaValue = alphaValue + pauseAlphaValue; // calculate new alpha value
       if(newAlphaValue > 1)  // modify it if it is out of bounds
          newAlphaValue -= 1;
       else if (newAlphaValue < 0)
          newAlphaValue += 1;
       super.computeTransform(newAlphaValue, transform); // computeTransform with the right alpha value
    public void pause() {
       this.setEnable(false); // it won't compute transform anymore
       pauseAlphaValue = this.getAlpha().value(); // retrieve current alphavalue
    public void resume() {
       pauseAlphaValue -= this.getAlpha().value();
       this.setEnable(true) // restart computing transform
    }Now you invoke pause and resume methods on your myPositionPathInterpolator object when user clicks on the buttons.
    Of course it is a trick and it will work only with increasing alpha.
    c ya
    GnG

  • How to be more specific with start and finish times in microsoft project

    I am trying to schedule down to the hour with the start and finish information. Is that possible? 

    schedhelp,
    a) yopu can set the "time" for either Start Date or "finish" date, but not both. Project caluclates one or the other when you supply one value.
    b)  Yes, you can definitely schedule down to an hour, however manually typing in the start or finish times will create constraints for the schedule and you are really not using Project for what it is supposed to do (Dynamic Scheudling).
    c) If you are just using project Online, in the Schedule PDP, navigate to Options tab, and select Time with Date, to see the times attached to each of the dates, and modify them
    d) if you are using project Pro, go to File >> Options >> General >> date format and select a format that shows time along with date, to see the times attached to each of the dates, and modify them
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • Stacked area chart with start and end dates

    Hi,
    I'm trying to create a stacked area chart from values that have a start date and an end date. I'd like the area to be drawn as a sum of the values at each x-axis date interval. So if I have data like:
    Start              
    End               
    Value
    2013-01-01      2015-01-01     
    100
    2013-09-01      2014-01-01     
    200
    2013-01-01      2016-01-01     
    300
    What I need is to have the chart show the area y-axis at 400 from the start up to 2013-09-01 where it would rise to 600. At 2014-01-01 it would drop back down to 400 and at 2015-01-01 it would drop to 300 until the end.
    Is this possible without calculating the sums for each date beforehand?

    Hi Erba,
    According to your description, it seems that you need add Start and End fields with the same level (without group relationship) to the x-axis in stacked area chart. As per my understanding, we couldn’t add multiple fields in one group at the same level.
    So in order to work around this issue, we can modify the dataset to combine the Start and End field into one filed, then add the new filed to x-axis. For more details, please refer to the steps below:
    Modify the dataset with the following query statement:
    select Start as date , Value as value
    from table_name
    union
    select [End] as date, (0-Value) as value
    from table_name 
    Drag a Stacked Area Chart to design surface.
    Insert value field to Values pane, then modify it with the expression below:
    =runningvalue(Fields!vlaue.Value,sum,"DataSet_name")
    Insert date field to Category Group pane.
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How can I read two channels with fieldpoint and labview

    I'm trying to read two or more channels with the TC 120, and I follow the examples of sopport page, but doesn't work.
    What can I do?

    For more information about reading or writing to or from multiple channels in Fieldpoint, please refer to:
    How Do I Read or Write to Multiple Channels on a Fieldpoint Module in LabVIEW?
    This should enable you to read multiple channels. The only other option available is to use one fp open.vi, multiple Create Tag.vi's and multiple FP Tag Read.vi's.

  • What is the best third party extension or software to create a flip book with zoom and clear text?

    When I export a swf from Indesign with Page curl, the text is hard to read (blurry) and there is no zoom feature or navigation bar. Is there a specific software I should download instead of exporting from Indesign.

    Well there´s plenty of solutions for that, which one is correct depends on what kind of content you wish to have. And you should also note that SWF/Flash based solutions are not compatible with mobile/tablet devices. Anyway if you
    -need a solution for passive print replica content, you will find lot´s of different services and softwares which are able to convert your PDF to Flash/SWF. You can´t usually use any interactive elements or rich media in those cases.
    -need to make your SWF with InDesign and you want to use videos, links, slideshows etc. Then you need a 3rd party finalizer which you can use to wrap your InDesign SWF to better working user interface. One solution is eDocker FLASH! Here´s a sample of InDesign SWF finalized with eDocker: http://old.edocker.com/_demo/edocker-online-demo/index.html
    More info about the product: http://www.edocker.com/edocker/edocker-flash/ or eDocker :: eDocker2 Desktop Publisher®
    I think eDocker FLASH! is in some kind of 50% discount right now.
    -need to make publicaton that works with computer and mobile/tablets. Then you may have to drop Flash and check out HTML5 solutions. Some of the more advanced flip-page services are offering also conversion to HTML5 but be careful if you need interactive elements and/or rich media, most of them are ripping all that off.  At least eDocker and 3dIssue are offering HTML5-solutions with possibility to use interactivity/rich media...
    eDocker CREATE! HTML5 editor & InDesign plugin
    http://www.edocker.com/edocker/edocker-create/
    3Dissue
    Digital Magazine Software | Create Digital Online Publications

  • Why can't I set calendar events with start and end times down to the minute?

    Hi everyone
    Unless I've missed it, it's not possible to set events that have times that start and end to the minute rather than 5 minute slots.  I work shifts that start at individual minutes. 
    Is there actually a way of doing this, other than on my Mac?  Siri is a far too long-winded way of doing it. 
    Thanks

    Do you not get this popup sheet where you can set the number and timeframe?

  • Bad Picture Quality On SD Channels With HDMI And Panasonic VIERA 720p LCD HDTV

    I just bought a new Panasonic VIERA 32" 16:9 8ms 720p LCD HDTV TC-L32X1 for my in-laws when they finally had Verizon FIOS brought into their neighborhood last month.
    Install was by the Verizon tech using the HDMI cable I also had shipped to them.
    The HD channels quality is excellent, but the SD quality is smeared -- almost looks like an impressionist painting.
    It is not the TV -- the TV menus are crystal clear, as are the HD channels.
    And, it is not just the broadcast HD -- the DVR box menus are also smeared when viewing as SD channel, as is the guide and the pop up channel info.
    We've tried all the settings on the TV -- Zoom, 4:3, etc.
    The other TV (an older CRT) actually has better SD quality than the Panasonic.
    My research indicates we're not the only ones on FIOS with this problem. Someone suggested using the component hookup rather than HDMI?
    Other say that IMG 1.7 is supposed to solve the problem, that the SD quality was fine before IMG 1.6.
    Any suggestions, solutions, or updates?
    The picture is virtually unwatchable.
    Thank you!

    Here's a particularly relevant post if you don't want to wade through all the above links:
    (http://forums.verizon.com/t5/FiOS-TV-Technical-Assistance/bad-pq-on-std-def-channels/m-p/10917#M5540) -- second to last.
    "Re: bad pq on std.def. channels
    01-06-2009 03:55 PM
    Joe01880 - Being a new customer as of last October, I have never seen anything other than IMG 1.6.  My understanding from other posts is that before IMG 1.6, the SD PQ on an HD box was just fine.  I'm not sure what the complaints/gripes/begs were for IMG 1.6 but it seems to me that, if Verizon knows what changes were made, it should be straightforward to determine which changes caused a deterioration of the PQ.  I think it's been at least 6 months since the first complaints of poor PQ, so I don't really see how anyone can claim that Verizon is in danger of "rushing" an update to address this problem.  I also don't think that a forum topic, no matter how much it complains or gripes, will cause Verizon to rush.  I am much more worried that during a large portion of my 2 year contract that the issue won't be addressed at all, so I'm happy to add my voice to those complaining."

  • ICal not syncing with iPhone and MobileMe,  tasks

    I have iPhone, MobileMe, and iCal on my Mac.
    I have no problems sending calendar events between iPhone and MobileMe, and Address Book in my computer.
    I have a problem with iCal- it just doesn't sync with anything, even though MobileMe is set for it.
    I called apple customer service, they told me I have this problem because I had MobileMe as a trial, but it still is a problem, after I purchased year subscription.
    Also I don't know how do tasks, or to-do list work. There is a basic list on iCal- that one also does not sync.
    thanks

    appreciate the responses... and jumping in here with possibly a similar problem
    iCal issue - Where are they hiding?
    Posting here as this is the closest I can find to my issue..
    Two, maybe more, Birthday Events appear on my iPhone but not on/in iCal on my macbook.
    Tried clearing the iphone and resyncing. Same condition.
    Tried removing the cache from iCal and resyncing using the replace calendar option in iTunes. Still no good. Have checked the the full listing of all events on iCal.
    Where can these two events be hiding ? Not a huge deal, but now really curious.
    Any help will be appreciated, thanks.

  • Simultaneous triggering on 4 channels with SignalExpress and NI-USB6210

    It seems that the USB6210 doesn't support analog triggering, however we'd like to know if there is some way that SignalExpress can be made to trigger simultaneously on 4 separate channels when either one of them triggers. Any help with this would be greatly appreciated.
    Thanks.

    Pat,
    Thank you for posting on the NI Forums. You are correct in the fact that the USB-6210 does not directly support analog triggering, you could however apply a software trigger in Signal Express. This means that the data will still be acquired from the 6210, but the software will only display data once the trigger parameters are met. I have attached an image that shows how to include this trigger after your DAQmx Acquire step. Under the configuration tab you can specify your parameters. Give this a go and let me know if it works. National Instruments will be closed on Thursday and Friday for the holiday weekend. I can respond when we return on Monday if you have additional questions. Thanks!
    Aaron W.
    National Instruments
    CLA, CTA and CPI
    Attachments:
    Signal Express Software Trigger.JPG ‏112 KB

  • Only want2use iCal+Address book with iSynch and Memos+Tasks with Palm T/X

    I was using Tungsten T2 and isync happily. I was using isync to use the address book and iCal and when I synched it also synched the palm info in the Calendar and address book in my Palm desktop. The memos and tasks in Palm desktop also worked properly.
    I upgraded my palm to T/X and have had many problems with deletion of categories on the handheld, duplication of task and diary entries, address entries with weird symbols added that need to be deleted, desktop memos and tasks not updating. iCal seemed to work OK but the palm desktop calendar did not display any future entries. Is this normal.
    I removed isync and after resorting everything on the device - enabled all conduits for palm and resynced. So now everything seems to work properly.
    My main questions are: what did I do wrong for this to happen which led to me spending hours sorting everything out on the palm device manually?
    And: Is there a way to keep everything synching on the palm device AND iCal and address book for palm?
    And: If not: Is there a way to use iCal and address book for mac AND keep you tasks and memos synching on the palm desktop? As I prefer the palm software for tasks as I have several categories for my tasks and do not allocate tasks on given days.
    Thanks for reading and I hope to hear some quality advice from you soon. Matt

    Starting with your last question about first synchronizing with the Palm Desktop calendar and then later with the Mark/Space Events conduit, the answer is no. Your first synchronization with any of the three Mark/Space conduits—whether one, a pair or the more conventional all three—requires that you overwrite the handheld with that data type using that Mark/Space conduit.
    You should read this article about the limitations between the display and transfer of calendar events between Palm devices and iCal:
    http://docs.info.apple.com/article.html?artnum=93172
    Understanding those limitations, you should selectively 'fix' the events in iCal so that they are represented properly in iCal. You will have to live with the limitations of such event display on your Palm. If you 'fix' them on your Palm, you will only create additional issues when they are synchronized with iCal using either iSync or the Missing Sync.
    Old repeating events can be 'rescheduled' in iCal by selecting the event and changing the end date, or they can be deleted, though that will result in their deletion from your Palm device. That's one reason that it is important to take that last 'snapshot' with the Palm Desktop, so that you can refer to historic data if you need to.
    It's also important to think about why you would want to carry possibly hundreds of aged events around in the Palm of your hand. Realistically, why would you want handheld access to data older than say, one year? After installing the Missing Sync, you can double-click on the Mark/Space Events conduit and optionally limit the transfer of events from iCal to your handheld. You simply select the drop-down menu labeled Ignore desktop events older than: and choose from an interval of 1, 2, 4 or 8 weeks, 6 months or 1 year, instead of the default Sync All option.
    That technique is another method to deal with historic data, because the 'misrepresented' events older than will not be transfered from iCal to your handheld even during that initial synchronization where your handheld data is overwritten, if you select one of those delimiters.
    Mark/Space recognizes groups and categories in iCal and the Address Book when using a Palm OS 5 or later device which supports them. iSync ignores them, because groups and categories are not mapped in the iSync Palm Conduit.

Maybe you are looking for