Find channels and cDAQ modules

I have looked around the previous messages, but can't seem to find what I'm looking for.

In most of my experience, I've implemented some DAQ and once the modules and channels are all in place, which is where they stay forever.

Since I know things will not move, I create tasks in DAQmx.

I'm working currently on a new installation program, but the problem is that in things cDAQ will not be in the same place every time.

The application must read a number of strain gauges, which will be connected to the NI 9235 modules.

It will take place anywhere from 1 to 3 modules attached, and they can be in one of the 8 available cDAQ chassis slots 9172.

In addition, within a given module, anywhere from 1 to 8 channels will be connected.

So basically, I guess my questions are running:

(1) how many modules are connected and where?

(2) in each module, the number of channels is turned on and how much is empty.

From there on, I use DAQmx palette to take care of things.

Thank you!


So with every new start of the program, you will have a known device (your strain gauge device), but unknown channels. Here's how I attacked only a few years ago...

  • DAQmx create a task to create a job.

  • Make a constant table of all known possible channels. Say that it is 8 cells and compare that to an array of channels USED, making false tracks off the chains 'Unused' and the names of real channel out of used ones. Under certain conditions to check which ones which is used to remove the appropriate channel and add the DAQmx virtual channels properly. The VI snapshot below goes into the details. I brought not only the channels, channels, such as min/max properties and bridge information. My VI also made bridge removal, under certain conditions, depending on sensor that the user wanted to null (that part is not shown.)

This code isn't super sleek, but I hope this gives you the ideas come from.

Tags: NI Software

Similar Questions

  • Not able to read 4000 samples the analog channels of cDAQ module (module NI 9205)

    Please check the chart bloack (FALSE Structure box state a wait with 20ms function) and attached the code (saved in LabVIEW 2015).

    On executing the code and using the button 'Trig', I can see only 1000 samples (for each channel) and not 4000 examples.

    Please help me to understand what I am doing wrong?

    Entry of son "4000" to "samples per channel" Schedule VI DAQmx. The default value when unwired is "1000".

  • Find the cDAQ and command module at startup


    I have a cDAQmx (8 slots) with USB port and a module of series C. 4 modules are digital 4-channel input (up to 220 v), 1 analog input, analog output 1, 2 digital output, etc...

    I want to make my program (for testing electronic cards) is:

    (1) at startup, check if the cDAQ is present in the system (i.e. USB is plugged, drivers were already installed correctly)

    (2) also check the modules which are plugged into the cDAQmx and check if they are in the correct order.

    For example, to test the product X I need two digital inputs to slot 1 and 2 and an analog input to slot 3.

    I ask this because people in production could make the mistakes I want to avoid:

    (1) avoid forgetting to plug in the USB and begin the test

    (2) avoid to connect the wrong terminals! The plug is the same for each module, so it is possible teoretically put the connector in a 10V analog input to 220V, causing a serious injury (I know they are protected, but I want to avoid this risk).

    For the chassis, you should be able to query "Device Module names" to get the name of each module currently in the chassis:

  • Sampling Multiple channels of unique cDAQ Module

    Hi all

    I am currently researching the use of cDAQ for a system of analysis of oil, especially the module OR 9201 for voltage GOT.

    We have 6 entries SE located in the voltage/current ratings, although they all need different sampling frequencies.  It is my understanding that the module is capable of 500 kHz, which will be split between entries.

    The sampling frequency should divided equally?  Or could I for example send a 250 kHz channel and split the rest between the other 5.  Synchronous between devices is not necessary.

    Many thanks in advance,



    See my replies to each ball:

    • Am I correct in saying that I could taste each module to a different sample rate? Yes
    • If I taste the 9201 to 500kHz/6ch, will I have an effective sampling frequency of ~ 83kHz on a given channel? Yes
  • "Adobe Premiere Pro can't find capable video game modules.  Please update your video display drivers and start over.

    Premiere Pro update for me yesterday and now when I try to open it says "Adobe Premiere Pro could not find capable video game modules.  Please update your video display drivers and try again"I have.  I also went on the AMD website to make sure that I have the right drivers and I do... help!

    I have it!  Uninstalled first & reinstalled and here we are ready to go.

  • First cc 2014 crash with the message "Adobe Premiere Pro could not find capable video game modules. Please update your video display drivers and start over. »

    I've updated for Premiere Pro CC 2014, all other Adobe CC 2014 software works very well, but the first does not load again. The start page (frame) happens - my computer everything slows down and after a minute or two, it freezes completely and comes up with the message: "Adobe Premiere Pro could not find capable video game modules. Please update your video display drivers and start over. »

    I use a macbook Pro 15 '' (2014) with 16 GB of RAM and 760 GB SSDS. "

    Help, please!

    Hi Brigitte,.

    Go to the following location and rename the folder in the name of old_folder

    User/user/library/Application Support and rename the Adobe folder

    User/Library/Preferences and rename the Adobe folder

    Then, go to the folder Documents and go to Adobe/Premiere pro/8.0 and rename the 8.0 folder

    Make sure that you are in the library of the user if you are not sure to check out the link below.

    Access the hidden user library files. Mac OS 10.7 and later versions

    Kind regards


  • Difference between the cDAQ-9174 and cDAQ-9178

    I have several cRIO-9081.  Each cRIO-9081 running NOR-DAQmx 15.5.  On four of the cRIO-9018 we show you cDAQ - 9178 with 8 modules.  Everything just worked.  On the fifth cRIO-9018, we tried to connect a cDAQ-9174.  The aircraft appeared in the Windows Device Manager and MAX, but MAX has indicated that the aircraft was missing (error-88705) and that Windows can't find a driver for the instrument.

    We then plugged a cDAQ-9178 in the fifth cRIO and everything just worked.

    What is the difference between a cDAQ-9174 and cDAQ-9178 other than the number of the module support?


    Hi Paul,.

    It seems it could be a driver problem! What DAQmx version you have installed on two computers? Reinstall the latest version may be worth it because it looks like there may be corruption. You can find the latest version here:

    You can manually associate the device driver, here:

    There are modules connected to the cDAQ chassis?

    Also, sometimes, this can happen if you do not restart your computer after the installation of the NOR-DAQmx driver. Restart your computer after the driver installation will allow you to reserve the device successfully. Here are a few others not to try:

    • Check the charger to device OR to see if it is running

    • Reset the service OR charger

    • Reset the MAX Configuration database

    • The system power cycle

  • Looking through channels and create a chain of search values


    I am trying to generate a script that allow me to serch throug a channel and compare the values of a number and create another channel with these instances

    Let me expand

    I have the following test data in a PDM file with a name of group 'Monthly data' and a channel name of "month 2"»

    Time value

    1 18000

    2 45100

    3 59800

    4 35500

    What I want to do is to compare these values to a set of values and record when this value occurred in a channel.

    For eample I am looking for all values greater than 36000 and 50000

    So I would end up with a new channel that would containm the following text

    2 45100

    3 59800

    I know I need to create a table of values that would take the data comparison

    CtrlVals = Array ("", 45000-50000)

    and a channel to store the found values and assign a default value

    IF GroupIndexGet ("stored value") > 0 THEN

    groupIndex = GroupIndexGet ("stored value")

    GroupDel (groupIndex)

    END IF

    Call Autonomecreer ("stored value")

    groupIndex = GroupIndexGet ("stored value")

    CallGroupDefaultSet (GroupIndex)

    And I have to create the channel in that I want to store the data

    ChArray = ChnAlloc ("Instances", iMax): ChnLength (ChArray (0)) = iMax: CtrlEdgeChX = ChArray (0)

    I guess I'm not sure how to insert data found in the created channel.

    I use DIAdem 2011

    Hello SmoothDurban,

    The variable you are looking for is (it would be for the channel of 'Time' in Group 1...

    Data.Root.ChannelGroups (1). Channels ("Time"). Properties ("length"). Value

    You can find the name of a property in DIAdem by dragging in the DataPortal script editor.

    In the above example I have simple glide the maximum property from the data portal to the Panel SCRIPT, the end resulty is the full name of the property with channel and group of references...

    Hope that helps,


  • PoCL FlexRIO 7962R and 1483 module

    Hi people!

    I use a platform SMU make some video acquisition/processing. I use a 7962R with a module of 1483 FlexRIO (and therefore a connection Camera Link between the 1483 and the camera).

    With the help of examples of LabVIEW, I managed to develop a project to acquire videos and save them on the hard drive of the control. In this application, the device is powered by its own cable, separated from the Camera Link cable to connect the camera and the module of 1483.

    Now, I would like to use the CL cable to power the camera and get rid of the other cable. CL cable I use is compatible with Power over Camera Link. But I can't find any information on the weather the FlexRIO 7962R and 1483 module allow to use PoCL or not. Does anyone have information on the PoCL? You have an idea on how I can do with the platform that I have?

    I had a look on the specifications of a capture card that I use on another computer. It seems that PoCL is provided via pins 1 and 26 of the CL connector. Does anyone know if the pins 1 and 26 are connected to the electronic circuit of the 1483 module? Is it possible to configure the FPGA so that power can be delivered through these pins?

    Thanks in advance for your answers.

    Nice day.


    1483 can't PoCL. A re DGND-pin 1 and 26.

  • sample per channel and read sample

    Hello everyone

    I'm new in LABVIEW and I have some difficulties with something.

    I put t know exactly what is the difference between the sample by channel and the sample to read. According to me, knowing that the sample by channel is the size of the buffer that is larger than the sampling frequency, but I put t know what is the sample to read.

    I ve tested with different sample per channel and read. Sometimes I get an error and sometimes know and I would like to know why. If you have examples because I understand better, it will be great.

    I really need to understand this part of my project

    Thanks for your help

    Tony GIBERT

    Hi Roro,

    As you mentioned, when the size of the buffer absorbing continuous samples, you can specify the sample by placing a value to the entry "samples per channel" on schedule vi. The entry of 'number of samples per channel' on reading vi which automatically names a control / constant with 'samples to read' specifies the number of samples you want to remove from the buffer in an appointment during playback of several samples (N). This link may provide a little more detail. I am also attaching a good example of the finder OR example that you may find useful to explore. I assume you are using the DAQmx driver put then please let me know if this isn't the case, but the same principles should apply in any event.

    This means accordingly for sampling at a given rate, you must make sure you're pulling data in large enough 'chunks' so that the buffer overflows (which may well be the cause of error that you see). On the other hand if your sampling rate is slow and your reading vi is having to wait the number of samples to read you have specified to be available, he can lift a time-out error. You can avoid this by increase your sampling rate, reduce your samples to play or increase the time-out specified read vi entry (-1 means it will wait indefinitely).

    Let me know if this helps and how you will.

    All the best.

  • Device vs. cDAQ Module

    I have an executable I don't unfortunately have the LabView vi source for.  The program is used for data acquisition.  It refers to a defined device NI Max (Dev1 and Dev2).  I've been using the software with a combination of 9162 9234/USB USB.  When it is plugged into the laptop, this combination is presented as a DevX NI Max and therefore was found by the software.  We started recently to replace our 9162 modules with single slot CDAQ 9171 modules.  Unfortunately it is plugged into the laptop the software does not recognize this combination of module.  With the original configuration the module 9234 present only as a DevX.  With the current configuration of the module 9234 is a subset of the carrier 9171.  I think that this, why the software does not recognize the new e-mail.  Is there a way I can create a virtual device that will reference the cDAQ module and simulate the original installation?

    In a Word, NO, you must update the code.

  • Process host and Windows Modules Installer has stopped working and was closed!


    Some error messages I get are "host process for Windows Services stopped working and was closed" and "Windows Modules install Stopped Working and was closed."

    It didn't happen until three weeks ago, when I did a system restore.

    I searched the internet for a while now and can't find anything.

    Thanks I hope you can help,


    Hi Michael2017,

    1. did you of recent changes on the computer?

    2. When you receive the error message?

    3. are you able to install updates on the computer?

    Windows Module installation service are the two basic services responsible for all your updates installed correctly. Windows Module Installer service enables installation, modification, and removal of Windows updates and optional components. If the Windows Installer of Module service is disabled, install or uninstall windows updates may fail.

    Check and make sure the installation Module of Windows service is running on the computer

    (a) click Start; in the start search type services.msc and press ENTER.

    (b) ensure that the installation of Module Windows Service is running and the startup type must be handwritten.

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Have lost access to all the channels and guide in the media library

    I get the message no channels available, another time, I was informed an item in the library is missing I can't get any program guide/channels were through settings set up loads of time Dungeon says I have no TV signal which is ridiculus rechecked all connections so many times , I tried recovery without result can someone please help, please. I'll be very grateful, thank you


    Here are the possible causes for this problem to occur:

    1 Media Center was unable to download the new registrations.

    2. the data are not available for your Microsoft TV Listings service provider location.

    3 Media Center has identified existing data on your computer to be outdated or damaged

    Method 1:
    You can set the Guide listings. Follow these steps to do the same thing:

    Step 1: Set up Guide listings

    To find your favorite programs more easily, you can configure your Guide lists to match your local service provider's guide listings.

    1. on the home screen, navigate to tasks, click settings, click TV, click Guide, and then click Set Up Guide listings.

    2. follow the instructions on the screen to configure the list of Guide for your region.

    If you are prompted to select a TV provider and you do not know which one to select, control a recent draft Bill or statement from your TV service provider to find the appropriate information.

    The providers listed in Windows Media Center vary according to the Postal Code or ZIP. If the supplier subscribe is not listed for the ZIP or the Postal Code entered, try entering local codes find the appropriate Guide listings.

    Follow this step to download the latest Guide listing:

    Step 2: Download the latest Guide ads

    You must connect to the Internet and initiate a download to receive Guide updates. For the latest information, it is recommended that you connect to the Internet and get Guide lists at least once per day.

    1. on the start screen, go to tasks, click settings, click TV, click Guide, and then get latest Guide listings.

    2. click Yes to confirm that you want to download the latest Guide ads.

    Check this link for additional assistance:

    Use the Guide in Windows Media Center

    Method 2:

    Uninstalling and reinstalling Windows Media Player:

    Step 1:

    Uninstalling Windows Media Player:
    a. go to start and in the search type 'Turn Windows has or not'.
    b. click on "Turn Windows features on or off".
    c. find multimedia and uncheck the brand in the face of Windows Media Player.
    d. restart the computer

    Step 2:

    Reinstall Windows Media Player:
    a. go to start and in the search type 'Turn Windows has or not'.
    b. click on "Turn Windows features on or off".
    c. find the multimedia functions and place a check mark in front of the Windows Media Player.
    d. restart the computer.

    Start with Windows Media Center

    Set up Windows Media Center

  • First pro could not find capable video game modules


    so I have the creative cloud for about a month now and I started using pro first, because I like to make the video.

    A week ago, after making several videos, I was export video and all of a sudden my pc stops completely.

    When I restarded my pc, I have re open my project, tried... no luck, just before video export is done, it stops again.

    After that, stroke of hell down on my pc, first pro wouldn't even load program just said, no reaction, etc...

    After doing research on the internet, I had the first until she started loading. then it just stopped on 'exporterquicktimehost '.

    After some time the first gave an error that says "adobe premiere pro can not find capable video game modules, please update your video display drivers and start over.

    As I said, I studied a lot of things on the forums and tried all possible solutions, I found. no luck. I don't know what to do more and I need my first school emergency and custom help, I would be grateful for all the help!

    (additional information)

    Processor: AMD APU A10 - 6800K with Radeon HD (4CPUs), 4.1 GHz graphics card

    10 64-bit Windows

    I'm not hard with all these baths so that everyone can really help and want more made specifications me know

    try turning off AVG linkscanner and shield online because they block adobe a reason any. You can also try adding exclusion lists.

  • Mac user: First Pro CC 2015 "can't find compatible video display modules" at startup?

    Premiere Pro CC 2015 "can't find compatible video display modules" at startup? I'm on a 27 "iMac, end of 2013, OS X 10.11.3, NVIDIA GeForce GTX 780 M 4096 MB. More info in the forum seems to deal with Windows solutions to this problem. Can someone help a Mac user? Thank you!

    Hi Douglask,

    Premiere Pro CC 2015 "can't find compatible video display modules" at startup? I'm on a 27 "iMac, end of 2013, OS X 10.11.3, NVIDIA GeForce GTX 780 M 4096 MB. More info in the forum seems to deal with Windows solutions to this problem. Can someone help a Mac user? Thank you!

    Please check, if you provision for video drivers:

    CUDA for MAC drivers Archive | NVIDIA

    Try this:

    Go to the following locations:

    1 location: In the Finder, click go > go to folder > ~/Library/Application Support/Adobe

    Situation 2: Go > go to folder > ~/Library/Preferences/Adobe

    Location 3: Documents > Adobe

    Everywhere, rename the folders 'Adobe' to 'OldAdobe '.

    Launch the first, accept the license agreement and see if it works.

    Note: You will lose your customized workspaces and keyboard shortcuts.

    Thank you

    Ilyes Singh

Maybe you are looking for

  • My icon on my desktop (macbook) disappeared, how do I get that back on there?

    He just disappeared and I would on my dashboard. He has been there for a long time, but it has recently disappeared. I went to the applications and tried to drag, no luck. I even did a right click on it to see if it will say to add to the dashboard..

  • Sync is to create duplicate bookmarks

    HelloI use sync in FireFox 10 on two PCs connected via LAN. The installation process went well, but in the last few days I noticed that I started to have multiple copies of many of my favorites. Sync seems to be all the time to make the copies, rathe

  • IX2 crash

    I have an ix2 with one disc of 2 GB. Unfortunately, the HARD drive crashed it makes a ticking sound of death and my computer is also impossible to charge the player. So far so good. Tried to install a new drive (approved), however, the NAS boots a fe

  • BlackBerry Smartphones Blackberry Desktop Software does not install

    I just got a Blackberry Tour from Verizon. I am trying to install the Blackberry Desktop Software. I insert the CD and all I get is a window (sort of background grey) with the label user Blackberry tools and nothing happens. I get the same results on

  • * ACS enterprise architecture *.

    Is it possible to use a combination of devices of full ACS configured as primary on the HQ site, with remote offices configured as secondary servers that are run on ACS express devices? OR are there restrictions on express devices ACS which would avo