LabVIEW cDAQ automatic selection of the device?

First off, I want to say that I am in no way a developer for LabVIEW, but I'm competent with as applications and have done a little with it.

That being said:

We have a vi that runs to collect data using a NI 9215, we took that vi and converted to an exe file using the application builder. When deploy us the exe on your laptop and you connect the cDAQ-9171, the vi works well and collects data. The problem comes when we pass the cDAQ to a new unit OR is looking for one last that has been installed and will not run the vi. It should go in DAQmx, remove the old device and refresh it, then run the vi and it works fine.

Is there a way that we can modify the vi to automatically choose any module CDAQ instead of trying to cDAQ1 or cDAQ2... etc. Is this possible or is it more on this point that I don't see. We need to make it easier for technicians do not have to do a lot of configuration of the computer as sometimes they are not competent in this sense.

Thank you in advance.

Specify the default value in the business structure means that the case run for any entry that does not already have a separately defined cases. Your "NI 9215' case also includes the default value in the same case. Thus, if the first element of the array of device is your chassis (cDAQ5), the code in the "NI 9215', default always runs because there is no other cases defined for"cDAQ5. " This means that the loop stops and the device name "cDAQ5" will be sent to the output of the loop, which causes the error that you see because the DAQ assistant need the full name of the module. The structure of your business must have two cases: one for 'NI 9215' and a case by default to manage everything that isn't a 9215:

Also, by putting the nodes property and the loop inside your loop time like you did, you say it to run this code on several occasions, when you really need to get the name of the device once. Put these items outside the while loop and wire only the name of the device in the loop, as I did in my example.

See the attached VI.

Tags: NI Software

Similar Questions

  • My computer is no longer automatically recognizes all the devices inserted in the disks.

    My computer is no longer automatically recognizes all the devices inserted into readers, like a CD or SD card photo. Recently I bought a micro sd card for my phone, but when I insert in the USB port, it recognizes that no more. How to do that everything works again. I have XP Service Pack 2

    Hi Danny Bralski,
     
    -Did you change on your computer before this problem?
     
    Follow the steps listed in the order.
     

    Method 1: Check if the USB port is defective.

    If you connect a USB device to a defective port, the device will not work. Try connecting the device to a different port. If all USB ports are in use, disconnect one of the other devices and plug the problematic device into that port.

    Method 2: Check if there is a problem with the device.

    If you have another computer that is working properly, plug this computer to see if you encounter the same problem. If you have the same problem, there could be a problem with the unit.

    If you believe that your device is defective, contact the manufacturer.

    Method 3: Run the troubleshooter from the link given below:

    Hardware devices do not work or are not detected in Windows

  • Widgets: can we detect the language selected in the device?

    Hello

    Trying to do a multilanguaje UI Widget,

    and I do not see if we can detect the language selected in the device of the user?

    Depends on the language I want to launch a page in the English user interface and menus, or page menu and Spanish user interface.

    Any idea?

    Thanks in advance.

    All the best

    Auto answer:

    It is possible to detect with: navigator.language

  • set up map of store for an automatic selection in the portfolio

    I have a store in wallet card, which is not the default. According to the user's Guide you can set it to automatic selection for use with the store. I can't find an option to do and tried to remove and re-add the card in question, but no option rises. iPhone 6 64 GB iOS 9.2.1

    The first card that you add to the portfolio becomes your default card for payments. To use another card as a default, tap the map to the portfolio, and then drag it to the front of your cards of credit and debit in the portfolio.

    http://help.Apple.com/iPhone/9/#/iph9f3b5b020

  • Move the function of automatic selection of the tool is not capture several objects on drag / select.

    I know that the title of this discussion is a bit murky, but the problem is a little weird.  I have Photoshop CS6 v13.1.2.  In this version, I will activate the selection, automatic check selection tool: layer, select Show transform controls and then while using the selection tool, I will drag to create a rectangle to select several layers with content in the specified area.  Unfortunately, this action doesn't work when I start the selection of outside of the area of the canvas.  If started from in the space of the canvas, any rectangle will appear, it will show me a measure of the size of my choice, and then choose without diapers as soon as available.

    This may not be working as intended, right?  I mean multi-Select drag cannot be wanted only work when started outside the canvas on the right?  Is there a way to fix this?  Is this a bug?  See the images below for more information on this issue.

    outside-canvas.pnginside-canvas.png

    If you have the tool move on automatic selection, and you begin to drag inside the canvas... It will not work as you expect that it is not selectable area unless the point where you click to start the drag operation (such as a locked layer or transparency)

    When you do it the way you describe... the move tool self-selecting a layer and pass only a layer.

    Look at your layer panel and see which layer targeted to your insertion point of the trail. And lock it.

    (in other words, if I understand correctly your problem)

  • Envy 15 t-j100 Select Edition: the device is not connected to the computer. Please insert the authentication device.

    Hello

    So I'm working on a LT desire that has been upgraded from Windows 8.1 to 10 recently and it is this message on the login screen "the device is not connected to the computer. Insert the authentication device. We can't identify what it means or what needs to be done to clear the screen. The user States that the fingerprints of impression of BIO sensor doesn't seem to work either. I looked in the Device Manager, and I see a Synaptics PS sensors (WBF) listed here and is properly installed. I even updated the driver of sensor ep on the support site of the desire, and we still see on the login screen.

    Y at - it no information or help to clear this message?

    We also note that the number on the keypad lock seems to be disabled during startup of windows 10 upwards. Before on windows 8.1 has been activated. Is there any setting to 10 to keep the active number lock.

    The user says if 10 can be made to work well, then we can go back to 7 or 8.

    Please notify.

    Thank you for your time.

    Seems to have been resolved in re - install the software HP Simple pass then go and reconfigure the settings. Message no longer appears on 10. User LT installed with 7 however. Best decision.

  • Scan interval for the automatic selection of the channel?

    E2500 or this mater no matter what wireless router - what is the interval between scans of the network to maintain the router on the best channel when it is configured to automatically choose the channel? Is there such an interval? Or he analyzes networks only when the currently selected channel performance falls below certain threshold? Is there a way to force manually the router to find the best channels when I feel the performance is quite degraded?

    Most of the routers more do the scan on Power ON. Some latest generation routers may have a sweep feature more active who can do a scan intermittently to check the surroundings. For most older routers, I recommend you to manually set the channels 1, 6 or 11 after you have scanned your own environment and find the best way to use that is not used or has limited use at a distance of nieghbors:

    Link > http://www.techspot.com/downloads/5936-inssider.html allows to discover.

    http://en.Wikipedia.org/wiki/List_of_WLAN_channels

  • There is no driver selected for the device or element.___E0000203__ information set

    BEHRINGER BCD2000 B-CONTROL DEEJAY EROR 28

    Hello

    ·         When you receive the error code 28?

    The websites of the manufacturers of these devices, explains that they are not supported with Windows 7.

    http://www.BEHRINGER.com/en/products/BCD2000.aspx

    http://www.BEHRINGER.com/en/products/BCD3000.aspx

    However, try to install the drivers in compatibility mode. Here are the steps how to install drivers in compatibility mode.

    a. place the driver on the desktop installation file.

    b. right click on the driver installation file and select Properties/Compatibility tab select the appropriate options in entries to the next image.

    c. click apply/OK.

    d. right click on the file and select run as administrator to install.

    I also recommend that you contact the manufacturer of the hardware device, and you learn about the support of future drivers for Windows 7.

    Diana

    Microsoft Answers Support Engineer

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

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Option disable the clone/heal brush spot animation and automatic selection of the source.

    Many suggestions were offered to improve the functionality of the clone/Healing Brush, spot, and I agree with most of these improvements. Another feature I suggest is an option to disable the "animation" of the healing/clone as he chooses a source to heal and draw an arrow to locate in correct automatically. Having to watch a cartoon with each stroke of the brush/mouse click is a huge waste of time and in almost all cases, I have to move the position of the location curative source anyway (but I have to wait for the animation to end before making my settings). Canon Digital Photo Professional, a very basic RAW Editor, has a very simple but very effective and quick spot clone tool: Alt-click to select the source to the clone (Windows), and then click to place the cloned on-site part must be corrected.  Instant results, precise positioning, no cartoon ridiculous wait. This should be an option in LR clone/corrector.

    Have you tried clicking on the place to heal and dragging to the selected source on one step? No need for the ALT key. If you don't want to see anything like that, but your changes (no cartoon) chose view > tool Overlay > never show

  • last box gets automatically selected on the click of a button page

    Hello

    I tried many solutions - removal of the last box then recreate it again, but it's always the same problem.

    I have 2 messageRadioButtons:
    SupplierRB
    CustomerRB

    Both under SupplierCustomerRGP and of course has been set by the group name property element I also booted it in processRequest as follows:
    OAMessageRadioButtonBean SupplierRB = (OAMessageRadioButtonBean) webBean.findChildRecursive ("SupplierRB");
    SupplierRB.setName ("SupplierCustomerRGP");
    SupplierRB.setValue ("Supplier");
    OAMessageRadioButtonBean CustomerRB = (OAMessageRadioButtonBean) webBean.findChildRecursive ("CustomerRB");
    CustomerRB.setName ("SupplierCustomerRGP");
    CustomerRB.setValue ("Customer");
    However, when I try to choose the supplier (works great!) and then click on my button create (which has not not any code in there), the page will automatically have the selected customer radio button.

    It is to consume a lot of my time, when it must have been completed.

    Help, please.

    N

    Try to create two temporary variables in VO and attach it to your radio buttons and then check.

    Thank you
    AJ

  • Automatic selection of the refnum

    Hi all

    I'm working with TabControl and on each page, I have a control of the ring with the name "Ring01" on page 1, "Ring02" for page 2, etc...

    When I start the primary VI, I initialize these controls ring by including the string table. I wrote a Subvi shown here. It works, but I would like to have your opinion

    Think about it if for example you have a better idea how do.

    Especially in this sub - VI, I select the right refnum control which is the control of page here. I would like to have the same sub - VI with control generic refnum and the Subvi should be what refnum it is. Do you know how to do it.

    Thank you in advance

    concerning

    Hi mnemo15,

    Please use the Forums of Discussion OR!

    Your Subvi sounds good, but I do not understand your last question: VI server is oriented, object, so you must specify a class to use the property and method of this class.

    If you just want to use the default control refnum, perhaps you could use the VI "to a more specific class' to choose the tab class, as in the VI"with the help of more specific function"of this example:

    https://decibel.NI.com/content/docs/doc-2236

    I hope this can help you!

    Concerning

  • How to start the selection of the device?

    all the instructions I found say to just put the boot disk in the cd drive and restart, it does not work.

    my computer has an nvidia nforce 750i SLI mmotherboard, and it is run on a copy of vista OEM System Builder Pack.

    You will need to go into the BIOS of the machine settings and to change the order of the sequence of boot for him say to boot from DVD before the start of HD.

    Most of the BIOS settings are accessible by DEL hit during the first part of the boot sequence.  BIOS splash screens will tell you how to your system.

  • Can I use automatically select only the first line of a legend to include in the list of Figures?

    Is there a setting in the FAKE ID CS6 utility that will allow me to use only the first sentence in a legend to include in a list of numbers?

    Example of

    Willard Wharf, Cocoa, Florida, 1887.   It was the first blah blah blah of cocoa.  Photo by a dead guy.  with the permission of a lovely old lady whose grandmother collected it.

    In the example above, the whole passage is currently formatted with a paragraph style sheet in the Arno Pro Caption.  When I'm done, I would like to have this first phrase or sentence in "BOLD", which I planned to do with a character style sheet.  The rest will be normal.

    Now I understand more how the TOC utility works, I wonder, can I do a paragraph for the sentence of the title style and a second paragraph style for the remaining text in the legend that follows in the affirmative, how to make sure that the second paragraph will follow on the same line where ever the first paragraph style ends?  Nested styles, perhaps?  If the nested styles are the way to go, any comments or pointers to the simplest strategy to do this work will be appreciated.

    Legends do not match.  Some have a name and date; others are a title phrase or sentence, follow, sometimes up to several sentences.  In General, however, there is only one sentence after the title. I also usually a "courtesy of...". "statement recognizing the source of the photo.

    I'm a newbie using id cs6, for the first time, to format a book.  I'm enjoying using the program, but some details lead me sometimes at a stop.

    Thank you

    Roy

    If the TOC utility will choose paragraph or character style?

    If so, I'm good.  But the instructions in the site of Adobe and 2 manuals that I speak using paragraph styles.  The ones of my choice list.  Will have to do an essay on character styles.

  • This disc is should downloads to solve the problem of the device are not installed. (Code 28)

    This disc is should downloads to fix the drivers for this device are not installed. (Code 28)  There is no driver selected for the device information set or element.my pc works on windows 8.1 pro 64 bit model whose id is 15-e017AU. 

    Hello:

    I have attached the driver you need below in attachments.

    Go to Device Manager and click on the device that need pilots.  Click the driver tab.  Click on set to update driver.

    Select her browse my computer for driver software option and navigate to the driver folder that you unzipped.

    Make sure that the include subfolders is selected and the driver should install.  Then restart.

  • Database for the settings of the device

    Is there a data base in the BlackBerry device storing the parameters of devices and applications. If so, please help by providing a way to access and retrieve values.

    I have already tried but to no avail. The result is different from the currently selected in the device

Maybe you are looking for

  • Address bar remember websites as I type... Or it will open if I click on the arrow. (Firefox 4)

    It has been the case that, as soon as I typed a letter on the address bar, it would automatically suggest me every Web site I had visited on the past that matched what I was typing. Alas, no more. What's worse, the address bar refuses to be open also

  • Quosmio G10 stopped recognizing that Memory sticks

    My G10 Quosmio ceased to recognize them as cards Memory sticks. I can't find a driver or a solution.When I insert the memory stick it offers you to format reports more often or that there is no disc in the driveIs there a driver who disappeared?Steve

  • I want to comment on an idea for a new feature in Windows.

    original title: 'click green '. Dear Microsoft, I thought of an idea today what I call 'green click '.  It is a system of click energy rating on the browser.  When the cursor passes over a link, it turns green, for example, or orange.  When the curso

  • SanDisk + 8 GB car charger?

    I just ordered a new Sansa Clip 8 GB + of Wal-Mart and I want to order a car charger. I noticed on ebay there are a lot of packages/car charger for the clip + but when I ask the supplier if they adapt to the 8 GB, he said that the charger that works

  • Aurora R4 turns is not on after the fixing of radiator

    OK the R4 was working fine but the fan is going haywire. So I took off the cooler, took apart and cleaned. After reading a post on the forum on how to do was very easy. Put it all back together press the power button / computer starts up then and off