Is their a way to find out how many channels in DAQmx code?

Hi I am using DAQmx VI's to aquire voltage and temperature.  Is there a way to know how many channels were chosen from each individual Create Channel VI without looking at the physical channels input control?  For example with the physical channel input of "cDAQ1Mod2/ai0:3" I know I have 4 channels selected, however, I want to use the number of channels that were selected my the user which can change depending on the user input.  
Attachments:
Multichannel_After_mod.vi ‏34 KB

You can simply use the Task property, Number of Channels. Use one after the voltage tasks and one after the temperature task. The rest is just subtaction.

Similar Messages

  • Is there a way of finding out how many active hours you've worked on a Premiere project?

    If not, it'd be a very cool addition for Adobe to implement... so you know exactly how many hours a project is taking (and how much to charge clients etc.) Obviously we're all prone to leaving Premiere on and wandering away, so I guess it would need to be able to differentiate between active and non-active time...

    Is there a way of finding out how many active hours you've worked on a Premiere project?
    There are two things a client get's billed for, my time, and my computer's time.  If either one of us are working on a project, the client get's billed.  Even if Adobe spent (wasted?) time on adding such a feature, they'd never be able to include any time I've spent working on the project with PP closed, so this feature would have very, very, VERY limited usefulness.
    The method suggested by the images is still the best way.

  • A way to find out how many screens/windows are open

    hi everyone,
    is there a way to find out how many sap screens are currently open? i need to know this because my program should react differently if the user has all 6 screens opened or if he has only one screen open.
    <each thread here has the same priority!>
    thanks in advance!
    Edited by: Thomas Zloch on Apr 12, 2010 3:59 PM

    Try calling function module TH_USER_INFO.
    Thomas

  • Is there a way to find out how many ESS driven updates to data over a perio

    Is there a way to find out how many ESS driven updates to data over a period of time have been done.

    Assuming that all end users are accessing the back end via Portal, we figured out the answer.

  • ADF: Best way to find out how many rows are fetched?

    Hello,
    I have overridden method executeQueryForCollection of ViewObject in which I execute supper.executeQueryForCollection and after that want to find out how many rows are fetched during the execution.
    If I try to use getFetchedRowCount I always get "0", if using getEstimatedRowCount, query are being re-executed.
    What method is better to use for that?
    Thank you,
    Veniamin Goldin
    Forbis, Ltd.

    I have a 'home-made' view called RBS, whose definition is this:
    create view RBS as
    select /*+ RULE  */ substr(s.username,1,10) oracle,
           substr(case when s.osuser like 'oramt%'
                       then nvl(upper(s.client_info),'client_info not set')
                       else substr(s.machine,instr(s.machine, '\')+1,length(s.machine))||':'||s.osuser
                  end
                  ,1,20) CLIENT
    ,      substr(''''||s.sid||','||s.serial#||''''||decode(s.status,'KILLED','*',''),1,12) kill_id
    ,      lpad(to_char(t.xidusn),4) rbs#
    ,      lpad(to_char(t.used_ublk),4) ublk
    ,      lpad(to_char(t.used_urec),8) urecords
    ,      i.block_gets
    ,      lpad(to_number(round((sysdate - to_date(t.start_time,'MM/DD/YY HH24:MI:SS')) * 60 * 60 * 24)),9) time
    ,      upper(substr(s.program,1,20)) PROGRAM
    ,      to_char(s.LOGON_TIME,'HH24:MI:SS DD-MON') LOGIN_TIME
    from   sys.v_$transaction t
    ,      sys.v_$session s
    ,      sys.v_$sess_io i
    ,      sys.v_$process p
    where  s.saddr = t.ses_addr
    and    i.sid = s.sid
    and    p.addr = s.paddr
    /By monitoring the URECORDS column value of the row that corresponds to my session doing a transaction, I can see how it progresses.
    Toon

  • Is there a way to find out how many steps you walked on a specific day in the Apple Health App.  I don't want to know minute by minute.  But want to know if I can go back a week to a certain day.

    LF way to see how many steps I walked on a certain day last week.  Not minute by minute, just recall the day's steps.  All I get is a graph and then all data when I tap a particular day,  which is far too detailed and useless.

    here is a link to macosxhints.com that tells you how to output all of your feed URLs to a terminal window. from there you can cut and paste them into your new feed reader of choice...
    http://www.macosxhints.com/article.php?story=20080319094830396
    and if you are in the marked for a new reader may i suggest David Watanabe's excellent NewsFire. he had just recently made it totally free as a gift to the macintosh community.
    best of luck.

  • Is there a way to find out how many suscribers you have to a podcast?

    as above?

    You can host your MP3 files on as Podcast specific service such as libsyn
    htpp://www.libsyn.com
    or you can use a service like Feedburner.
    http://www.feedburner.com
    But there is no way to get this info from Apple / iTunes. You will need to use a third party to get this information.
    Rob @ podCast411

  • How to find out how many memory is used for NIO

    is there any way to find out how many memory is used for nio in a virtual machine. ?
    I know that is possible to find out how many total, free and used memory the heap has by using java.lang.Runtime#totalMemory...
    We sometimes expect errors that it is not possible to create any more connections because of the NIO memory size but the heap is still ok. Today we had an error where 170mbytes of heap where left but it was not possible to create new tcp connections because of an exception:
    javax.naming.NamingException: java.net.SocketException: No buffer space available (maximum connections reached?): connect
    The number of TCP-Connections was ok (<500).
    It would be very nice if someone knows how to find out how the amount of memory that NIO buffers use can be determined within Java 1.4.
    best regards
    benjamin

    We have to use 1.4.2_03. This is because of the special environment we are running on.
    We did also figured out that there are some NIO Memory Bugs but we since we are not allowed to upgrade the used Virtual Machine we have to live with these errors.
    The problem that we currently have is within a Server and because of this circumstance we are trying to find a workaround or way to find out how many memory is allocated. If we would know how to get this value we could restart the servers as a workaround after the value reaches a threshold.
    We are also very sad that we can`t easily upgrade/update to the latest 1.4.2 Version or the newest 1.5 to get rid of these NIO Bugs!

  • How can I find out how many podcasts have been downloaded?

    My friend and I have been making our podcasts available on Itunes. Is there any way to find out how many people have downloaded?

    Log into your iTunes account on a Mac or PC and check the Purchase History in your account profile information.

  • How to find out how many hours an iMac has been running!

    Is there a way to find out how many hours an iMac has been running? I am thinking of buying a second hand iMac 20' or 21.5' as for space reasons, the actual 27' versions are too big. And of course, all adverts state "hardly never used"!!

    Hi, I think in later OSes I've seen total Machine hours in System Report or such, but on 10.4.11 right know.
    Hard Drive ON hours might be helpfull using Smart Utility...
    http://www.volitans-software.com/smart_utility.php

  • How do i find out how many ppl  download my podcast

    I wanna know if there is a way to find out how many ppl download my podcast (not only from itunes, but from everywhere) thanks for helping, cheers!
    download my podcast, its on itunes, its called:
    Idiots on fire
    podcast xml url:
    http://www.switchpod.com/users/frahs/feed.xml
    thank you!

    right click (control click on a one button mouse) on the podcast and you will see "Copy iTunes Music Store URL"
    you can edit the URL so it is short, e.g.
    http://itunes.com/podcast?id=78511357&s=143441

  • Is there a way to find out how much data was used over the lifetime of my phone (cumulative cellular and wifi)?

    Is there a way to find out how much data was used over the lifetime of my phone (cumulative cellular and wifi)?
    I was just curious

    Given that the phone doesn't track how much data is used over WiFi, no. And cellular data usage can be reset.

  • Is there a way to find out how much storage I have used on my iphone4s?

    I am new to icloud and want to back up my phone but it is saying I have too much data to back up to the free 5.0GB.  I can purchase more but note sure how much I will need.  Is there a way to find out how much storage my phone is currently using?

    Go to Settings - General - Usage, and you will see a breakdown of all your apps along with how much space they are using.
    My guess is that you have a lot of pictures that should probably be exported to your PC/Mac to free up your space.   5GB is a lot for one phone, you should be able to get by without buying more storage if you do a little housecleaning first.

  • Is there a way to find out how long my child has been playing with my ipad

    Is there a way to find out how long my child has been playing with my ipad???  He has been getting up before me in the morning and in the evening he is super tired and I'm wondering how early he has been getting up????

    No way to see exactly how long the iPad has been used but you may want to consider using parental controls.
    iOS: Understanding Restrictions (parental controls)

  • HT4597 Someone reset my iPhone and it was not me is there a way to find out how they were able to access my info?

    Someone reset my iPhone and it was not me is there a way to find out how they were able to access my info?

    There are two ways to reset an iPhone, 1)  the user actually using the iphone can perform a reset from Settings, and 2) a user to knows the iphone's iCloud ID and password and do a remote reset. 
    I'm assuming you didn't personally reset it while on the iPhone, so my question is ...  does anyone else know your iCloud ID and password?  Have you set up multiple devices (perhaps belonging to other members of your family - something you generally shouldn't do, if you don't want to sync the same data to all devices in the family) and used the same iCloud ID on all of them?  Perhaps a family member or a "friend" of a member used Find My iPhone to locate yours and remote wiped it.

Maybe you are looking for

  • Return an unboxed / sealed tv after holiday return period

    I purchased a tv on 11/12/14 and still have not get a chance to open and set up yet due to life change. I just missed the holiday return period 01/15/15 by one day. I notice today the same tv is $100 cheaper. Since I never even open the tv, can I ret

  • Image Processor resolution

    I've done a bit of searching but this is what I'm trying to do: I have 9 folders (unit 01, 02, etc.) with CS3 .eps files in them. I want to rasterize these files in PS CS3. I would like to use the tools>photoshop>image processor from Bridge to do so.

  • Unexpected File Format

    I am developing a training course in Flash CS3 and several of my files seem to have become corrupt - when I try to open them I'm getting the 'Unexpected File Format' error message. They are definitely CS3 files. I am making sure I publish swfs before

  • How to clear browser cache using java program.

    Is this really feasible that we can delete browser history,cookie and downloaded client side files like js and css file using some java program. actually everytime i have to logged out from my application and manually i have to delete all files to se

  • Download is there but file missing

    I downloaded file and when I hover over the file and move to the right the files are there but when open says files missing how do I recover??