Labview ignores all but 1 Daq Assistant, how can I avoid this?

When I am putting together my block diagram, I use the DAQ Assistant to orchestrate everything.  Then when I go to create another DAQ Assistant instance, LabVIEW seems to ignore the first one.  It appears as though I can only use one DAQ Assistant at a time in my VIs, is this the case?  I am a bit of a novice, is there an easy way to avoid this, or change the orginal DAQ Assistant into some other form so I can use another DAQ Assistant for developing another part of my VI?
I have looked long and hard for a good explanation of the difference between Tasks and Virtual Channels and while I have found efforts at explaining it, I do not understand.  I see that I can convert my DAQ Assistant into a task, but then I have a task output which does not help me (I need a data output for my VI).
I am sure this is obvious to someone that has done it a million times, but I just can't find an answer wading through all of the knowledge base information or the LabVIEW help.
Thanks a bunch!
~milqman

Hello milq,
That following tutorial that Novatron linked you earlier is an awesome resource for becoming familiar with programming with the NI-DAQmx.
Learn 10 Functions in NI-DAQmx and Solve 80% of Data Acquisition Applications
An important point to take away from this tutorial is that you can either create a DAQmx task using the wizard-style interfaces provided by the DAQ Assistant and within Measurement & Automation Explorer (MAX), or you can programmatically create and configure your DAQ Task in your LabVIEW code using the DAQmx Create Virtual Channel VI, DAQmx Timing VI, etc.  When you create a new DAQmx Task using the wizard-style interface, you are configuring all of the settings for your task manually.  When you use that DAQmx Task in LabVIEW (with a DAQmx Task Control or Constant), you are referencing all of those configuration options you've manually set.  To actually perform a read or write operation based on those settings, you need to wire the DAQmx Task into the 'task in' input of a DAQmx Read or DAQmx Write VI. 
So for your analog input operation, you can wire the task directly into a DAQmx Read VI.  In the DAQmx Read VI, you'll want to select the type of task your reading from in the drop down box (Analog), if your reading from a single or multiple channels (1 Chan or N Chan), and if taking just one or multiple measurements with each call to the DAQmx Read VI (1 Samp or N Samp)
For your digital output operation, you'll want to configure a separate digital output task, and wire it directly to a DAQmx Write VI.  Again, select the type of task your writing to (Digital), if your writing to a single or multiple channels, and if you want to perform a single write or multiple writes.
To help with getting started with DAQmx programming in LabVIEW, I would highly recommend taking a look at the DAQmx example located in the LabVIEW Example Finder (Help > Find Examples).  A difference you'll note in these examples is that all the task configurations that you have been making with the wizard-style DAQ Assistant are done programmatically with the DAQmx Create Channel and DAQmx Timing VI.  I hope this helps and good luck!
Travis G.
Applications Engineering
National Instruments
www.ni.com/support
Message Edited by Travis G. on 06-21-2006 05:23 PM
Attachments:
AnalogInDigitalOut.Jpg ‏21 KB

Similar Messages

  • DAQ Assistant: How Can I Control this at the lowest Level?

    DAQ Assistant:
    I have the PCI slot version of this which I use to generate specific signatures. However I would like to get down to the very low level of this block to see what makes it tick if only to add some other features such as have it dynamically change high and low times after "N" number of pluses/bursts.
    At the current state I can't seem to get any further than the GUI that I work with right now. I can give you a VI upon request however this VI is included with labview from what I understand I have version 8.2. If anyone wants a copy of the vi which contains the DAQ Assistant block I will be more than happy to include.
    DAQ Assistant Location: Right click on the block diagram of a VI --> Measurement I/O --> NI-DAQmx --> DAQ Assist (This is an icon in itself)
    I see the read,write nodes however I have played and tried to see what they do but I have had no such luck. If anyone can point me in the right direction I would be grateful.
    Thank You.
    Solved!
    Go to Solution.

    You've got a couple of misconceptions about the DAQ Assistant. First, there is no such thing as a pci version. There are some slight differences between versions of the DAQmx driver. Second, the DAQ Assistant is a code generator. When you start it up, it will create custom code for the type of task you want (digital i/o, analaog i/o, etc.) so the VI you eventually have on the block diagram is not included in any version of LabVIEW.
    Once you have configured the assistant, you can right click on it and select 'Open Front Panel' this will convert the assistant task to a normal subVI that you can opne and view the block diagram. You can also right click and select 'Create DAQmx Code'. This will place the low level DAQmx functions on your block diagram. You could also skip the whole assistant and just start with the low level DAQmx functions in the first place. There is help associated with each and you have all of the shipping examples to look at. There is also the Getting Started with NI-DAQmx page.

  • I am trying to make a iphoto book but every time i click on a single photo or folder it opens up a new book. How can I avoid this? This is iphoto 10.

    I am trying to make a iphoto book but every time i click on an individual photo (or folder) it opens up a new book. How can i avoid this?

    Export the slideshow out of iPhoto as a QT movie file via the Export button in the lower toolbar.  Select Size = Medium or Large.
    Open iDVD, select a theme and drag the exported QT movie file into the open iDVD window being careful to avoid any drop zones.
    Follow this workflow to help assure the best quality video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    If iDVD was not preinstalled on your Mac you'll have to obtain it by purchasing a copy of the iLife 09 disk from a 3rd party retailer like Amazon.com: ilife 09: Software or eBay.com.  Why, because iDVD (and iWeb) was discontinued by Apple over a year ago. 
    Why iLife 09 instead of 11?
    If you have to purchase an iLife disc in order to obtain the iDVD application remember that the iLife 11 disc only provides  themes from iDVD 5-7.  The Software Update no longer installs the earlier themes when starting from the iLIfe 11 disk nor do any of the iDVD 7 updaters available from the Apple Downloads website contain them. 
    Currently the only sure fire way to get all themes is to start with the iLife 09 disc:
    This shows the iDVD contents in the iLife 09 disc via Pacifist:
    You then can upgrade from iDVD 7.0.3 to iDVD 7.1.2 via the updaters at the Apple Downloads webpage.
    NOTE:  If you're running iPhoto 9.5 the export options will be different.
    OT

  • I used to be able to delete e mail on my PC and they would be removes from my Iphone and Ipad.  Now I must delete them separately on all 3 devices.  How can I fix this?

    I used to be able to delete email on my PC and they would be removed from my Iphone and Ipad.  Now I must delete them separately on all 3 devices.  How can I fix this?

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

  • After update to be iOS 6.0.1, Wi-Fi is not connected automatically. I have to reconnect or join my known network manually all the time. How can I solve this problem? It is so tedious.

    After update to be iOS 6.0.1, Wi-Fi is not connected automatically. I have to reconnect or join my known network manually all the time. How can I solve this problem? It is so tedious.

    Same here... on my girlfriend's iPod touch (4th gen).
    It's very annoying... really!

  • I am trying to make a one to one reservation at a closer Apple store in Denver but each time I put my password in it kicks me over to the retail store where I purchased the one to one service. How can I avoid this?

    I am trying to make a one to one reservation with my new MacBook Air at a retail store of my choosing but each time I put in my password it kicks me over to the Apple store where I purchased the one to one service. How can I avoid this and reserve at the store of my choice?

    I would try the 'old fashioned way, the telephone.
    Ciao.

  • HOW CAN I AVOID THIS ERROR MESAGE WHILE TRYING TO EXPORT AN IPHOTO SLIDESHOW:  The operation couldn't be completed. (OSStatus error -61.)

    HOW CAN I AVOID THIS ERROR MESAGE WHILE TRYING TO EXPORT AN IPHOTO SLIDESHOW:  The operation couldn’t be completed. (OSStatus error -61.)

    Hello,
    I believe the issue was the external HD I purchased was not formatted for Mac . . . once I took care of that - all went well!  The slide show transferred and the surprise 70th birthday party was a huge sucess.  Thank you everyone!

  • Not using my MacBook for a few minutes I get logged out, how can I avoid this?

    Whenever I have not used my MacBook (brand new) with Yosemite (all updates) installed not for a few minutes I get logged out and I need to login and to start all applications again. How can I stop this?
    My Energy Saving setting:

    Open the Security & Privacy pane of System Preferences and turn off automatic logout.
    (121990)

  • I find 'plugin-container.exe' takes up 68-91% of my CPU and effectively hangs my machine; how can I avoid this, from happening?

    I find 'plugin-container.exe' takes up 68-91% of my CPU and effectively hangs my machine; how can I avoid this, from happening?

    You can disable the plug-in container for one or two plug-ins, or for all the plug-ins it works for. <br />
    http://kb.mozillazine.org/Plugin-container_and_out-of-process_plugins

  • Stockbroker states that "invalid session" message is due to brownser how can I avoid this?

    I tried to cover a short sale while trading online. Could not execute the trade. Got a message in red "invalid session". Broker tech support stated that it was not their software, it was cause by the browser, Firefoz 5.0 running on Windows XP. How can I avoid this?

    That is not very easy to answer, because the cause of the corruption is unknown.<br />
    In severe cases you may even need to delete the file cookies.sqlite that stores the cookies.<br />
    There is also a possibility that security software or cleanup software is causing such problems.
    If you've never seen it before then it may not happen again, but it is not that difficult to remove the cookies in such a case.
    See also:
    *https://support.mozilla.com/kb/Clear+Recent+History

  • How do know which services use up my data on my tablet? 2:How can I avoid this?

    How do know which services use up my data on my tablet? 2:How can I avoid this?

        @mwbail2,
    Great question! Managing your data usage is definitely important. You can view what apps are using data by going to Settings and then Mobile data on your phone. There is will show you the apps using data.
    If you want to avoid the data usage on the apps you want to make sure you close out the apps when not in use. You can also make sure that they are not automatically updating whenever there is a new update to the app. To do this simply go to the Play Store and select Menu. Then go to Settings and there you will see the option to change the auto update to update over wifi only.
    If you want to complete turn off data, just go to Settings and then mobile network and turn it off. Keep me posted if you need further assistance.
    JohnB_VZW
    Follow us on Twitter @VZWSupport

  • When I create an email signature, the text I type is repeated twice in the actual email sent (above and below a line).  How can I avoid this?

    When I create an email signature, the text I type is repeated twice in the actual email sent (above and below a line).  How can I avoid this?

    Try validating your installed fonts and fixing any errors that show up. To do this see this article: http://reviews.cnet.com/8301-13727_7-20085570-263/safari-in-os-x-lion-replacing- text-with-block-a-characters/

  • I have some chrages on my debit card by error how can i avoid this charges

    i have some charges in my debit card by error how can i avoid this charges.... i reset my password as an email said with that resert the charges won´t be reflected in my account?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • Some snaps show up as black screens when I try to view them as single pictures.Even when I run them in slideshows they show up as black screens.These are jpeg files.How can I avoid this happening?

    Some snaps show up as black screens when I try to view them as single pictures.Even when I run them in slideshows they show up as black screens.These are jpeg files.How can I avoid this happening?

    There are several possible causes for the Black Screen issue
    1. Permissions in the Library: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to check and repair permissions.
    2. Minor Database corruption: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
    3. A Damaged Photo: Select one of the affected photos in the iPhoto Window and right click on it. From the resulting menu select 'Show File (or 'Show Original File' if that's available). Will the file open in Preview? If not then the file is damaged. Time to restore from your back up.
    4. A corrupted iPhoto Cache: Trash the com.apple.iPhoto folder from HD/Users/Your Name/Library/ Caches...
    5. A corrupted preference file: Trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    If none of these help:
    As a Test:
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • The customized settings on my toolbar periodically disappear, and I have to re-set them. How can I avoid this nuisance?

    The customized settings on my toolbar periodically disappear, and I have to re-set them. How can I avoid this nuisance?

    If you mean you're about to perform a restore from a backup to a new device, it depends on the app.  Some will retain their passwords, some will not.  That's my experience.

Maybe you are looking for

  • Officejet Pro 8500A Plus can't scan to e-mail

    I have an Officejet Pro 8500A Plus and Windows 7 32-bit OS and using Outlook 2010.  I'm trying to scan to e-mail and am having no luck.  From the printer interface I choose SCAN --> COMPUTER --> (MyComputer) --> E-MAIL AS PDF.  It performs the scan,

  • Here's the scoop on "Oz Mail"

    I just got off the phone after an hour with Customer Support who transferred me to Tech Support after they could not find an answer. The tech knew his stuff and fixed it for me.  Oz Mail is NOT an international scam artist. It is a messaging system. 

  • Welcome to Lenovo Design Studio!

     Lenovo's #DesignWithUs Challenge is your chance to design the next YOGA, showcase your creation to the world, and shape the future of Lenovo technology. From FEB 1-28, tell us about what the next-gen YOGA should be, then seize the day and design it!

  • C_TADM51_70- Certification

    Hi, I am preparing for C_TADM51_70 -SAP Basis Certification. a. What is the cost of the exam & do I need to refer any other books to prepare other than SAP Authorized (TADM51,10,12) books ? b. Passing percentage & marking scheme (negative/ partial ma

  • Startup Disk Doesn't Shut Down All The Way (restart required)

    Is anyone experiencing problems using the Startup Disk in System Preferences? 95% of the time all my system does is close all applications, including the Finder, and then pause with my desktop picture, no mouse and no choice to try anything. I have t