How can I get properties of global virtual channels using DAQmx?

I'm using DAQmx with VB6. In my app, I would like to be able to present the user with a list of available predefined channels to select from. I can use DAQmxGetSysGlobalChans to get a list of the channels, but I need a way to sort out which of these channels are defined as inputs, and which are outputs. It would also be nice to be able to query other properties of the virtual channel (for example, the device and physical channel being used). These all seem very simple things, but I haven't found anything like this in the documentation so far.
Thanks.

Try using  DAQmxGetChanType(TaskHandle taskHandle, const char channel[ ], int32 *data)DAQmxGetChanType(TaskHandle taskHandle, const char channel[ ], int32 *data).  This will return one of the following types:
DAQmx_Val_AI
10100
Analog input channel.
DAQmx_Val_AO
10102
Analog output channel.
DAQmx_Val_DI
10151
Digital input channel.
DAQmx_Val_DO
10153
Digital output channel.
DAQmx_Val_CI
10131
Counter input channel.
DAQmx_Val_CO
10132
Counter output channel.
Let me know if this works. 
Regards,
L. Allen

Similar Messages

  • How do I get a list of configured channel using DAQmx

    I would like to know how to read the channels in a task list or the global channels that are setup in MAX. I use to be able to do it in DAQ using the read channel VI. I can't find any equivalent in DAQmx. My new system works only with DAQmx. My program allows the operator to select from the channels configured in MAX.

    Hi Benegin,
    This can be found under the DAQmx System property node. I have attatched a picture to help you find it.
    -Sal
    Attachments:
    system_property_node.JPG ‏359 KB

  • How can I quickly sample data from 200 channels using DAQmx?

    Hello,
    I am trying to sample thermocouple data using a SCXI 1000 chassis with two SCXI 1100 modules and one SCXI 1102B, all of which have a 1300 isothermal terminal block. The computer I am using has a PCI-6052E DAQ card and 1 GB of RAM. I will eventually need to upgrade to a SCXI 1001 chassis with enough modules to collect about 175-200 different signals. The problem is I am testing with just the 96 channels I have available and the program runs super slow, with the maximum sample rate only .026 Hz. Currently I have all the channels being read by one DAQmx VI. I've looked through the example programs and tutorials, but nothing there deals with large numbers of channels. Is there a way to improve the sample rate to around 1 Hz with so many channels?
    Thanks in advance

    Check the filter configuration for your SCXI-1100.  The product page says that if you set the filter for 4Hz, you'll only get 3 Samples/second.  The slowest module in the chassis determines the sample rate.  If one of your modules is configured that way, you'll get a maximum rate of approximately 3 hz / 96 channels = 0.031 hz/channel, which is pretty close to what you've reported.  The filter is set by a jumper on the module, see the manual under "filter selection."
    You might want to look at "Determining Maximum Scan Rate for Multiple SCXI Modules" as well.

  • I updated my ipod touch 4th gen to ios 5 and lost all my photos. how can i get it back? i'm using windows 7.

    I updated my ipod touch 4th gen to ios 5 and lost all my photos. how can i get it back? i'm using windows 7. help please? thanks!

    This was the scenario:
    The first time I updated, it was only my music that was lost.
    When I got my music back, I lost my apps.
    When I got my apps back, my contacts, notes and photos were lost.
    Now I got back everything except for my photos.
    (Yes, I restored from backup several times since the first update.)
    Do you think if I try restoring from back up, my photos that were taken from my ipod will be restored finally?
    Thank you.

  • Facebook is not loading properly and all my text and images are lined up along the right side of the page. How can this get fixed to the way it use to be?

    Facebook is not loading properly and all my text and images are lined up along the right side of the page. How can this get fixed to the way it use to look?
    Everyone who logs into Facebook on my Firefox has this problem however if we use Internet Explorer - facebook looks normal.

    If you have increased the minimum font size then try the default setting "none" as a high value can cause issues like you described.
    * Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    *Tools > Options > Content : Fonts & Colors > Advanced > [X] "Allow pages to choose their own fonts, instead of my selections above"

  • I accidentally Deleted the Mac app store from my computer. How can I get it back? I am using Yosemite on a MacBook

    I accidentally Deleted the Mac app store from my computer. How can I get it back? I am using Yosemite

    Another way is to open your Time Machine back up or clone (if you have one) and copy the App Store app from the /Applications to your Macintosh HD's /Application folder.
    Right click on the Time Machine icon in the Menu Bar.
    Select Enter Time Machine; then navigate to a date you know it was still there and copy if from the /Applications folder.

  • How can i get the list of all tcode used by user of particular module

    Hi,
    How can i get the list of all tcode used by user of particular module (e.g FI , MM ,PP) within year .
    Regards
    Vikram

    Login to your SAP System
    Run TCode SE16
    Type Table Name : TSTCT
    Press F7 Key (Table Contents )
    Go to Settings in menu bar
    Select User Parameters
    Under Keyword select Field Label and press green check mark
    Select your criteria in Data Browser and execute
    You will see all t codes in there
    Regards,
    Yogesh

  • How can I get rid of a music file use in a menu?

    How can I get rid of a music file use in a menu? I try to get rid of it from the menu inspector but although I delete it there, it is still in use by the menu!
    it is not inthe audio window in the menu inspector but is still in use! wiered!

    Click on the menu with the audio, then look in the property inspector, under the 'general' tab.
    Towards the bottom there is the list containing the audio file for the menu - click on the file and use the '-' button in the bottom left corner of the PI...

  • HT3965 my iPhone says Phone is disabled try again in 23,155,698 minutes, how can I get this deleted so I may use this is iPhone again?

    my iPhone says Phone is disabled try again in 23,155,698 minutes, how can I get this deleted so I may use this is iPhone again?

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    A
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    7. iOS - Unable to update or restore
    Forgotten Restrictions Passcode Help
                iPad,iPod,iPod Touch Recovery Mode
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
    Also, see iTunes- Restoring iOS software.

  • How can I  get System dates  with time scheduler using threads

    how can I get System dates with time scheduler using threads.is there any idea to update Date in my application along with system Date automatic updation...

    What the heck are you talking about and whatr has it to do with threads?
    Current time: System.currentTimeMillis. Date instances are not supposed to be updated.

  • HT201272 I am trying to buy 2 songs and I click on purchase i already have 50$ redeemed in my account but its not using that money its suggesting my debit card. How can i get my gift card to be used then?

    I am trying to buy 2 songs and I click on purchase i already have 50$ redeemed in my account but its not using that money its suggesting my debit card. How can i get my gift card to be used then?

    Hello there, AniChirglyan.
    The following Knowledge Base article talks a little about the purchasing order of items through the iTunes Store.
    iTunes Store: How iTunes Store purchases are billed
    http://support.apple.com/kb/HT5582
    iTunes may still ask you for information from your card on file if that information has lapsed or needs updating. The card information on file has to be correct, no matter what purchasing option you will be exercising for this purchase.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • How can i get new apple id with out using credit card or visa card

    how can i get a new apple id with out using credit card or visa card?

    Hi xianlycier06,
    If you are looking to create an Apple ID without using a credit card, you may find the following article helpful:
    Apple Support: Creating an iTunes Store, App Store, iBooks Store, and Mac App Store account without a credit card
    http://support.apple.com/kb/HT2534
    Regards,
    - Brenden

  • In MIRO, how can I get a credit to balance when using dr/cr lines?

    When processing a logistics invoice verification document via MIRO, we're trying to post a credit memo against a purchase order with muliple lines (one return, and on non-return line).  The value of the return line is greater, and the invoice is billing for receipts/returns on mulitple lines on the PO (it has a credit amount for the entire return to be posted against the return line, and a restocking fee to be posted against a text based PO line). 
    In MIRO, I have selected credit memo and am posting a credit for a gross amount of $550 in the header.  The return line I'm trying to post against is for $575, and the non-return line for the restocking fee is for $25.  However, when I'm posting against both, the system is indicating that I'm out of balance by $50.  It appears that it's not calculating the $25 as a credit.  I've tried looking at documents around posting against returns and posting credits, but haven't seen anything that addresses this scenario.  I've also tried using negative amounts, but SAP does not accept these.  We're currently using SAP ECC 6.0.  How can I get this to balance?

    Only Apple Account Security could help at this point. You can try calling Apple Support in Canada - you'll have to find one of the several ways, such as Skype, to call an 800 number from outside of the relevant country - and ask for Account Security and see if they can help. Or you can find a friend who speaks Chinese and ask them to help you talk to Apple Support in China. There are really no other options that I know of.
    Note, by the way, that these are user-to-user support forums. You aren't speaking with Apple when you post here.
    Regards.

  • HT3529 How can I get dictation for my iPad for use with email and messaging

    How can I get dictation to use with messaging and email?

    Apple's dictation requires Siri, which requires a 3rd or 4th generation iPad (or iPad Mini).  See:
    http://support.apple.com/kb/HT5457
    Your post says you have a second generation iPad, so it will not have dictation.
    There are third party apps available that might help you.

  • HT1338 i have lost my system preferences, how can i get it back. i have been using my laptop without system preferences. please help.

    i have lost my system preferences and app store in my macbook pro osx leopard. i want to upgrade. i can't. i have been trying. where or how can i get it back. i am in foreign country. there is no apple store here.

    Do you have your 10.6 Install Disc, if so reinstall, if not...
    Try re-installing the big 10.6.8 Combo...
    http://support.apple.com/kb/DL1399

Maybe you are looking for

  • Open field Profit center on Vendor item

    Hi Guru      How I can open field profit centr or cost center  on vendor item when i post document . I try open in field status group and open in posting key but it not success. Help me please . thank you vrery much. methinee.s

  • IDVD 5 Projects Destroyed by iDVD 2

    By mistake I opened an iDVD 5 Project with iDVD 2. The project was immediately destroyed and the file which was originally several GB reduced to just 72KB. The file was destroyed even though I chose NOT to save it. Is this a known problem and can I r

  • Debugging in dreamweaver

    Hi, maybe if someone knows debugging of netbeans or eclipse, is there same for php in dreamweaver? thx

  • Saving Problem, can anyone help me?

    To All, I am having a severe problem with saving my GUI. Due to the fact i have internal frames, i am using JDesktopPane, and i am trying to save the whole desktop, so that when i load it, i can add this desktop to the GUI again. I do this action fro

  • F-90 Asset Acquisition

    Hi, When i create new asset master through AS01 system showing me quantity as required field whereas in configauration it maintain as optional field for that particular asset class. Therfore i put quantity as 1 and unit of measurement EA abd create a