Multiple nidaqAICreateTask gives the same task id

I want to read all analog and digital input signals from the modules on a SCXI-chassie continually.
Previously I used one nidaqAISingleScanOp call for each AIN-module. This worked fine until I upgraded the NIDAQ drivers, after which the time for each call increased from 0.1 seconds to 2 seconds. To fix this problem I had to remove the filter settings for each module.
After some discussions with NI, I was recommended to use nidaqAICreateTask instead. I want to set up one task for each module. The problem is that the function returns the same task id every time I call it, even if the connection strings differ. Why?
I have attached a test project. The idea is that you enter up to 5 different connection strings. The
program should then go through the list, get the values from each module and present them.
Attachments:
SCXITest.zip ‏211 KB

Greetings,
Briefly, let's talk about SCXI multiplexed operation. In most cases the SCXI chassis will be set up in multiplexed mode. This means that each, and every, module will be multiplexed through channel 0 of the DAQ card. You will usually assign one module to be the chassis controller in MAX. In parallel operation, each module is cabled individually to a DAQ card. Meaning if you had 4 modules you would need 4 DAQ cards. In this case all channels are routed directly to DAQ card channels and no multiplexor on the SCXI chassis is used.
I will assume that you are running in multiplexed operation. This being assumed, the issue at hand is that each module is multiplexed through the DAQ card channel 0. You cannot create multiple tasks at the exac
t same time. Each task will be fighting for resources on your DAQ card. You will need to either create one task, read, and close the task. Or you will need to create one task which encompasses all desired channels from multiple modules in one scan list.
Here is an example ...
daq::1!(ob0!sc1!md1!0:7, ob0!sc1!md2!0:7)
Regards,
Justin Britten
Applications Engineer
National Instruments

Similar Messages

  • I can no longer (since upgrading to the latest firefox) open up multiple tabs of the same page (something I need to be able to do when emailing and referencing multiple emails while writing one email). The only option it gives me is to 'switch to tab'.

    Question
    I can no longer (since upgrading to the latest firefox) open up multiple tabs of the same page (something I need to be able to do when emailing and referencing multiple emails while writing one email). The only option it gives me is to 'switch to tab'.

    I'll try to make this clear. I USED to be able to left click on a hyper link and the hyper link would open in a NEW tab. Now for some unknown reason the hyper link by default opens in the same tab (window). I have to right click the hyper link in order for it to open in a NEW tab. (Yes, my 'tools'> 'options'> 'tabs' are set to "open new windows in a new tab." (Please no answers telling me to get rid of the Ask toolbar because I don't have one.) Thank you.

  • Sharing one iTunes library across multiple accounts on the same Mac

    Hello, I've poked around at some of the posts dealing with sharing one iTunes music library across multiple accounts on the same Mac but it seems like this can only be done if the libary is moved to a shared folder. I realize this can be done but I was trying to share it the way it is described in a post on Apple support (See link below.). That post seemed to imply that you don't have to move the library from its original location (owned by account A, e.g.), rather just make a couple preference changes in the accounts, use fast user switching and voila. That doesn't seem to work. So my question is this: Is the only way to share one iTunes music library across multiple accounts on the same Mac to move it to a shared folder? I'm running 10.4.8 on an Intel iMac. Thanks in advance!
    http://docs.info.apple.com/article.html?artnum=93195

    After reading this and several other related threads, I am becoming thoroughly confused about all of this. I have a situation similar to the one that pokerpal described in the post dated January 7 at 8:06 pm, except that the music files on my system are located on an external hard drive. Everything else is pretty much the same though - I am the admin user (and the main iTunes user and maintainer) and my girlfriend is a standard user who has no music in her own iTunes library. She can see and listen to and make playlists from and sync her iPod with the music in this library from her account, and I can do the same thing, independent of her, from my account. And if I make a change to information within a song, she doesn't see it, and vice versa, and I understand that. What I don't understand is why when I add a song or an album to the music files by importing a CD or downloading something from the iTunes Music Store, she has no way of knowing that unless I tell her, and then she can add it to her library by using the "Add to Library" function. Is there no way of automatically updating her library files to add the new song(s)? We have almost 15,000 songs and videos in that library, and I don't even want to think about what might have to happen if the answer to my question is "no." Interestingly enough, if I put an update to a Word document in the same exact location (on the hard drive), we can update that and pass it back and forth all day - why is that such a difficult task for iTunes to accomplish?
    Sorry I went on so long, but this has been building up for some time, and none of the solutions I've read about here have really been of any help, so I'm a bit frustrated and, as I said at the beginning, confused.
    iMac G5, MacBook   Mac OS X (10.4.8)  

  • I have multiple devices on the same account, can I increase my cloud allowance without paying extra?

    Each device gives 5gig but multiple devices on the same account don't increase the cloud space. Do Apple recognise this and help?

    Malcolm wrote:
    Wow that's really harsh. Both my wife and daughter have disabilities and the idea of having one ID is to allow me to be able to track them quickly in times of emergency through 'find my iphone'. I did not realise this was 'creating a mess'.  I thought support communities were intended to, you know, support people with genuine questions like mine not to rush to criticism. Unfortunately both answers to my question have been negative.
    I am not being harsh, the truth is you are really creating problems for yourself e.g. calendars, contacts, etc. are all mixed up.
    Support Communities are there to show you how to use the devices as intended, the "criticism" is about how you use the devices and not about you as a person. We are trying to help if you can listen.
    You can use Find My Friends instead of Find My iPhone for your purpose.

  • How do I have multiple accounts on the same computer

    how do I have multiple accounts on the same computer? The idea of ", hold down the option (on a Mac)/ shift (on a PC) key each time you start iTunes" does not seem to work for me. Thanks.

    Create multiple Windows User Profile with each managing his own iTunes account and library.
    To create a user account on Windows 7:
    To open User Accounts, click the Start button , click Control Panel, under 'User Accounts and Family Safety', select Add or Remove User Accounts.
    Click Create a new account.
    Type the name you want to give the user account, click an account type(make sure to give Administrator), and then click Create Account.

  • ITunes 11... I have multiple artists with the same album name... how do i have them show up as separate albums?

    I have itunes 11 with iTunes Match on 2 Macs and 2 ios devices... I know it all has bugs... but I have been ok.
    I am wondering how to show my library in the column browser view when I have multiple albums with the same names? I have noticed on my ipod in my car that an album titled "Christmas" plays and includes 2 different albums titled christmas... and in itunes it lists them both when not in the artwork view... (I primarily use the column browser to navigate my library.
    Just wondering if anyone else has experienced this/knows how to fix.
    Thanks!

    Various workarounds I can think of which basically involve playing around with tags.  See which meets your needs or come up with others:
    Give the albums slightly different names.  For example, "Greatest Hits" [ABBA]"
    Do the same but do it in the sort album field.
    Add a bogus disc number to different albums.  It may string them together still but at least they will be slightly grouped.

  • What's the problem with having multiple users with the same UID?

    I've got three edit systems connected to the SAN using open directory off our server.
    I want all edit systems to have read/write access to everything created. I don't need to protect anything from any of the systems. With all three systems logged on using the same user, I never have to change permissions.
    The other cool thing about this is that Final Cut Pro will let me know if someone else is modifying a project that I have open with the warning:
    “The project "projectName" has been modified externally. If another user is working on it, saving will overwrite their changes. Do you still want to save?”
    This sounds great, right?
    RED FLAG!!!! Apple gives the warning in this article:
    http://docs.info.apple.com/article.html?artnum=302450
    "You should not allow two users with the same UID to access an Xsan volume at the same time."
    So why is it bad to have two (or more) users with the same UID?
    I can see that in some situations it means that you can't prevent people from read/write privileges. But I don't want to restrict privileges.
    What am I missing? With all of these warnings, it seems like if I do this my edit systems could all explode or something. Please help me understand the potential ramifications of having three users have the same UID.

    Hi Russell,
    1) If you have OD set up and "editor" has UID 1111, then when they log in to any machine that's bound to OD as editor, they will get UID 1111. Therefore, there won't be any of these permission errors. This is typically the recommended approach.
    2) I assume you mean "You'd prefer to not using open directory?" Whatever the case, OD isn't mandatory with Xsan -- it's just that with multiple user accounts, managing them centrally tends to be easier. For 3 or 4 accounts and 3 or 4 machines maybe it's no big deal. If you go larger, it could get a lot more complicated. That said, if you set it up such that each machine has the exact same set of users (as you said, Mary = UID 502, Fred = UID 503, William = UID 504), then you can do what you want. Mary can log in from multiple machines at the same time, and in general you won't have permissions problems. Of course, if you try and read and write the same file from multiple workstations at the same time, you will get file locking issues, which will prohibit somebody from successfully writing the file.
    File locking issues are different from general permissions errors. The former basically says "hey, someone else is editing this file. Therefore I won't let you edit it right now... you can read it if you want though." Permissions means somebody saves it, and Xsan thinks you saved it and own the file, when you really don't.
    Quad-Core PMG5, 4 GB RAM, 7800 GT, 1 TB disk.   Mac OS X (10.4.4)  

  • Multiple copies of the same picture

    I am using iPhoto 8 with OS X 10.5.3. I have very little HD space available and need to clean up a very messy iPhoto library. I began by opening iPhoto and finding multiple duplicates of the same photos. I moved them to the TRASH and deleted them within iPhoto. However, when I reopen iPhoto, they are still there. When I use spotlight to look for where the copies are I will find them in a variety of locations: iPhotoLibrary/Originals or iPhotoLibrary/Data, or in iPhotoLibrary/(a folder that I made up, for example, a year the picture was taken. I want to trash all the duplicates, but I am not sure what the best way is to find the duplicates and then to select which one to keep.

    To add a twist to Terence's directions on getting just your original files out and imported into a new library. Open the library and COPY the Originals folder out of the library. Open the Originals folder and do a search of it (Command-F) and search for images less than 1MB. Drag those found to the Trash in the dock.
    Now launch iPhoto with the Option key depressed and, when asked, select Create a new library. When it's open drag the Original folder sans smaller files into the open iPhoto window. This will give you the same Events that you had in your earlier library. Might save you some organizational effort. Good luck.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.≤br>
    Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • How can I get rid of multiple pictures at the same time?

    how can I get rid of multiple pictures at the same time?

    Adobe Bridge, lightroom and your file browser (windows explorer or Mac Finder) can select multiple pictures at once and then delete. If you are looking for more than that for information, you will need to be more specific at what your doing, what OS you have, and version of software your using. If necessary post screen shots so we can see what your doing. The more information we have the more detailed of an explaination can can give back to you.

  • Can we have multiple Podcasts with the same Mac Account?

    Hi all,
    Can we have multiple Podcasts with the same Mac Account?
    For example, I have a single .MAC account and create a website with multiple Podcast pages...or within iWeb I create multiple sites, and each has a podcast.
    Is there a problem?
    Thks
    Leo

    Its not possible for the same development object. Only 1 person can access an object at a time and if mutiple users modify an object new TASKs are created under the same TRANSPORT.
    Only after releasing the tr you can create a new tr on the same object.
    Message was edited by:
            Abhishek Jolly

  • Can I purchase multiple copies of the same song

    I want to purchase multiple copies of the same song to avoid copyright issues if I make a mixed cd and give it away.

    As above, Apple's official advice is here... HT2905 - How to find and remove duplicate items in your iTunes library, however it is a manual process and the article fails to explain some of the potential pitfalls.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve/merge ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    tt2

  • How to carry out multiple searches on the same engine simultaneously.

    As mentioned above. I'm looking for a way to search multiple text at the same time.

    Can you give a more detailed example of what you mean?
    For example:
    * Do you want to type query #1 into the search box or address bar and open it in results tab #1, then type query #2 into the search box or address bar and open it in results tab #2? To do that, hold down the Alt key when pressing Enter or hold down the Ctrl key when clicking the icon that submits your search.
    * Do you want to combine numerous queries into a single request to Google and get the results all mixed together? You can use OR (must be in capital letters) with quotation marks or parentheses for grouping. For example: Android OR ios OR "windows phone"
    * Something else?

  • Using multiple timer in the same SessionBean

    Hello,
    Is it possible to use multiple timer in the same Stateless Session Bean. In my application a user can schedule some task to execute. To do so I was thinking of creating a Session Bean which would create calendar timer on user request and, when one of the timer expires, retrieve the task to execute thanks to the information stored in the timer.
    When I tried the solution explained above, it seems that the @timeout method is synchronized on 1 timer. For example if I create a timer that will be executed every 10 seconds and another one executed every 30 seconds, the timeout callback is called every 30 seconds but 4 times.
    My code looks like that :
    @Stateless
    @LocalBean
    public class TimeManager {
        public void onUserRequest(ScheduleExpression expression) {
            Timer timer = timerService.createCalendarTimer(expression, timerCfg);
        @Timeout
        void timeout(Timer timer) {
            logger.log(Level.INFO, (String) timer.getInfo());
    }Is there a way to do what I want?
    Thank you

    This doesn't make any sense to me. If i were to write a bunch of schemas for a particular applicaion, would
    I have them all in the same namespace? You would normally have one schema that describes the information model associated with the one namespace that the different documents in your application use.
    If so, why can't I load more than one in the same name space?The parser chooses the schema based on the namespace alone. There is no other information used to decide which schema to use, so you can only have one schema for the namespace.
    They all have different root elements.You can have different root elements in the one schema.
    I don't even need the namespaces, but I can't
    figure out how to get rid of them (the schema isn't valid with out them according to XML Spy). You can set the schema explicitily before parsing, but not (AFAIK) set after parsing has begun, except by using the mapping of namespace to schema location.
    I have also tried to use the external-noNameSpaceSchemaLocationproperty, but it doesn't seem like you can pass in an array of schemas to that one. It only expects a
    String as the Object you pass in to setProperty. Yes, you can only validate a document against the one schema.
    So, how can I load all my schemas so I don't have to reference them in the XML documents? Either combine your schemas so you have one schema for your namespace that validates elements which are defined in that namespace (the formal/correct way of doing it), or construct a filter that inserts a PI to point to the schema once the root element is opened (the pragmatic/bit of a hack way of doing it).
    Pete

  • Can I export multiple folders at the same time, keeping the album structure

    I'm exporting all of my photos from 2010 so far. Is there a way to export multiple folders at the same time, while keeping the existing album structure? It seems that when I try it, iPhoto exports them all to the same folder.
    I really don't want to do this one album at a time, and here's why -
    I'd like to select all of the albums, then export, using the plugin, to WalMart so that I can order prints.

    Check out [iPhotoToDisk|http://www.iphototodisk.com/index.html]
    I'd like to select all of the albums, then export, using the plugin, to WalMart so that I can order prints.
    Why not upload to Walmart from iPhoto? Check out the first option here:
    There are many, many ways to access your files in iPhoto:
    *For Users of 10.5 and later*
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    *For users of 10.4 and later* ...
    Many internet sites such as Flickr and SmugMug have plug-ins for accessing the iPhoto Library. If the site you want to use doesn’t then some, one or any of these will also work:
    To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. However, if you're using Gmail you can use iPhoto2GMail
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    *If you want to access the files with iPhoto not running*:
    For users of 10.6 and later:
    You can download a free Services component from MacOSXAutomation which will give you access to the iPhoto Library from your Services Menu. Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and later:
    Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    Regards
    TD

  • Search in Mail yields multiple versions of the same email

    I wasn't able to find any other postings on this, but this has been bugging me for a while now . . . just not big enough of a deal to do anything about. Whenever I do a search in Mail, the results give me multiple versions of the same email, in different stages of completeness. Is there some setting that I have inadvertently turned on that keeps back ups of my draft emails every few seconds? Anyone else have this annoying problem?

    I too am having this problem. Doesn't seem to happen all the time though. No rhyme nor reason ? I am using an IMAP account if this helps ?
    Message was edited by: Visioneer

Maybe you are looking for

  • Using apple tv without an hdmi input

    I'm afraid I can't be too specific since I'm here in New York and my TV is in south Florida.  It's a Sony 50 inch (Bravura?) purchased in 2004. It is technically a rear projection set using 3 lcd screens. There are a host of inuput/ output openings w

  • Content conversion sender multi levels

    hi, i need to map a flat file to this structure: header : 1..1 item: 0..unbounded item_header : 1..1 item_data:  0..unbounded field1 : 1..1 field2:  1..1 field3 : 1..1 footer: 1..1 how can i achive that with content conversion and what should i write

  • IDVD not in Applications Folder

    I want to make quick a DVD. .. but can not find the iDVD! even spotlight does not show it. This is on my Mac Pro. On my Mac Book Pro i have it....?? Using on both computers Snow Leopard. What did I do wrong on the Mac pro? i put installation disk in,

  • "Settings for material number conversion not found" occurs when ...

    After I run an initial load data into the InfoCube 0PUR_C01, I want to check the InfoCube Content by the following path: RSA1 -> pick up the InfoCube 0PUR_C01, right click it and select Manage -> Get to Content tab -> Click InfoCube Content button ->

  • InfoSets Marketing

    Hi all, I'm working on marketing subjects : Segmentation and Campaign Management. I would like to use an InfoSet as a DataSource in the segment builder. The aim of this DataSource is to be able to target the BP who are in the Partner Tab of an opport