Daqmx device name

Hello,
I am writing a LabVIEW program that is used on many computers in our teaching labs and therefore the Daq device may not always be named "Dev1" in Max.  My first pass is a subvi (attached) which scans the  Dev Names until it finds a product match and return the device name.  I would then append the port, line or counter to the name.  This gives me coercion dots and there doesn't seem to be a conversion fuction between strings and I/O.
My next thought was using the  I/O type property (2nd VI) but the freq output and the PFI lines which I need are not listed. 
Finally, I could just rewrite the Max settings everytime the program starts but this seems to be a brute force approach.
Is there a way I can make my program adapt to whatever the Device Settings are?
Any comments or suggestions would be appreciated.
Attachments:
daqdevname.vi ‏25 KB
FindDaqDev.vi ‏24 KB

I think Strings shound work inplace of the IO Channel or you can explicily typecast between strings and I/O types 
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA

Similar Messages

  • How can I read the active (plugged in) DAQs and then send that to the device name input on DAQ assist?

    I have a system property node for daqmx but it does not let me change it to read when i right click on it. I am trying to have my program detect the name of the daq that is plugged in to the PC and then send that to daq assistant so that it will run properly wiithout me manually having to change the device name every time i switch hardware.
    Solved!
    Go to Solution.

    labview12110 wrote:
    Im just frustrated that the only function I have is to get a list of things that I can't do anything with. MAX knows which is active can I call it up somehow?
    You have do do programming.  That is what LabVIEW is.  MAX gives you all the tools to do everything you want and much more just program it to do what you want.
    Attached is a VI that I think does what you want.  I looks at all of your devices and returns the first non simulated one.  Apparently this list already excludes devices not connected to the system.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
    Attachments:
    Find Non Simulated Device.vi ‏6 KB

  • How to detect the installed device name

    Hi,
    I am using Labview 8.5.
    I need to display the device name installed in my pc.
    I have a PXI chassis with DAQ,Digitizer and function generator card.To display the DAQ device name used the "DevName" property of DAQmx driver.Similarly to display the Digitizer and function generator card name which function do we need to use.
    Please tell me how to do this?
    Regards
    Meenatchi

    Please see the attached zip of VIs.
    - Partha
    LabVIEW - Wires that catch bugs!
    Attachments:
    Detect Installed Device Details.zip ‏131 KB

  • How to sync and/or trigger NI-DAQmx devices in LabView

    I am using LabView 2009 with a cDAQ-9174 chassis that includes a NI 9263 analog out device and a NI 9222 analog input device. I've learned from the examples that I can sync the devices to the same sample rate. But I am looking to sync the devices such that the exact moment I start acquiring input data on a 9222 channel, the 9263 starts generating an output. Secondly, I am interested to know when using just this equipment, is there a way to very accurately trigger one device off the other with some delay. So in summary I am interested in two behaviors:
    1) Synchronize a 9263 output channel to a 9222 input channel, such that the start of a 9222 analog input measurement triggers a 9263 analog waveform output. and,
    2) Have the 9263's analog output start for example EXACTLY 100 samples (provided sample rates are synced) after the 9222 starts collecting data. In other words, a delayed trigger.
    I imagine this is preferably done in hardware such that no software delays occur. Is this possible using these devices? Or do I need some external clocking mechanism?
    Thank you!
    Solved!
    Go to Solution.

    Hi tzoom84,
    Going back to your original questions,
    To do 1) and 2), I don't think you need to use counters.
    The shipping example LabVIEW 2010\examples\DAQmx\Synchronization\Multi-Function.llb\Multi-Function-Synch AI-AO.vi is probably a good starting point for 1). (Possible problem: if you're using multiple AI timing engines at the same time, this example's assumption that the AI task has "ai/StartTrigger" is not valid. If this turns out to be an issue, you may need to replace Get Terminal Name With Device Prefix.vi with the DAQmx Trigger >> Start.Term property and add a call to reserve the task.)
    For 2), add the DAQmx Trigger >> Start.Delay and DAQmx Trigger >> Start.DelayUnits properties to the AO task:
    If you really do need to use counters, you can do so without the NI 9401 by using cDAQ1/_ctr0 through cDAQ1/_ctr3, which are internal channels: How do I Access Internal Channels on any DAQmx Device?
    Brad
    Brad Keryan
    NI R&D

  • Where the device name are saved when distributing a NI-DAQ executable?

    Hello,
    1. I created a simple LabVIEW 2013 executable using NI-DAQ (c series module NI-9263 and USB compact DAQ 9171 chassis).
    2. Then I created a LabVIEW installer with the following recommended installers:
    - NI LabVIEW Run-Time Engine 2013 SP1
    - NI-DAQmx Core Runtime 9.8
    3. I've installed it on a computer in a lab (no NI software installed on it yet).
    4. In my application I have a "DAQ Physical Channel" control to select the hardware.
    5. When I click on the arrow to select the hardware I don't see any choices (my hardware is plugged in the lab computer) and I can see the devices in device manager.
    6. I entered manually the device name (same name as I assigned on the computer that compiled the executable) and ran the application just fine without any errors.
    Where is the device name is stored on the lab computer and  how does this work?
    7. I made a modification to the simple executable to add hardware (with a new "DAQ Physical Channel") and I only compiled the executable and copied it to the computer lab.  I'm not able to run it.... I'm getting some error from the hardware (can't remember the specific error).
    8. I've searched for MAX and it's not installed....
    What should I do to make it work?
    This application is not critical right now, but I'd like to know how this works.
    Feel free to ask for more detail.
    Michel

    Michel_Gauvin wrote:
    Yes, that's what Idid.
    What is the use (or the goal) of distributing an application that is using DAQ device without MAX? How can the application knows which hardware to use if multiple hardware is plugged in the destination computer?
    Michel
    Two ways to go about this.
    First, for low mix systems I ALWAYS install max and all the DAQmx stuff is stored in MAX my installers then import the *.nce MAX config File and include all the DAQ software (Not just Base!)
    For higher mix systems the DAQmx stuff (Chans, tasks, scales....) are persisted to the PROJECT (*.lvproj) then the app builder creates a NI DAQ file in the application build destination and the app looks for that file.
    You can ALSO (with NI USB Devices) create a "Helper app" that hooks into NI Device Monitor and assigns a specific alias to a type of device when it is seen.
    Jeff

  • Device Name for Cisco Jabber

    I found a document on Jabber Developer that explains all steps for the Cisco Jabber CUCM Setup Guide (http://developer.cisco.com/web/jabber-developer/jabber-sdk-cucm-guide), the phone type must be Cisco Unified Client Services Framework, everything fine, but says that the Device Name should be as ECP<username> when original setup guides says that must be as CSF<username>.
    My users setup Device Name are as CSF<username>, but just to follow a best practice, should I change all Device Names to ECP<username>??
    Regards,
    Juan Carlos Arias

    There's another thread on which someone mentioned some problems when using ECP for device name. Windows for jabber method of operation is the name of it. Do you have any configs using ECP??
    Since I already have this in m lab working as expected i'll configure a couple of users with ECP and see if something changes, just wondering if you have something configured with ECP already.
    Sent from Cisco Technical Support iPad App

  • How to get the ASM to OS device name mapping

    Hi all,
    This seems to be an often answered question, but usually the answers specify what to do on the OS (e.g. run oracleasm etc) and/or in the ASM database running on the ASM Host (select * from V$...).
    In our situation have plug-ins collecting data from Agents. Plugins collect data from Oracle db/ASM targets and from storage arrays.
    Back on the OMS we want to be able to report on the ASM to OS device name mapping. To report, we use either the default metadata UI (i.e. data from the sysman.mgmt_emx_... tables) or we have a BI Publisher report that queries the OEM Repository Database (and can join the ECM tables from the different plug-ins).
    The link between the ASM path and the OS device name does not seem to be collected by either the Oracle DB/ASM plug-in, nor by any other plug-in (Host/Storage/...).
    It would be easy to go to Linux and run a few commands, but we need to support multiple platforms, like AIX, Solaris x86, Windows as well.
    A complicating factor is that ASM can be installed in different configurations, e.g. using ASMlib or using udev...
    I really suspect this wheel has been invented before?! Or is it really a matter of having multiple OS-specific low-level scripts and adding a bunch of instance parameters for allowing the user to specify all OS-specific path/utility names etc?
    Any suggestions welcome... :-)
    Many thanks,
    Ed

    Google is your best friend ;-)
    Those are standard CGI variables, must be available in PHP/ASP(X)/JSP/your-favorite.
    Anyway, try this:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    /** Creates a table showing the values of all the CGI variables.
    * Part of tutorial on servlets and JSP that appears at * http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ * 1999 Marty Hall; may be freely used or adapted. */ public class ShowCGIVariables extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); String[][] variables = { { "AUTH_TYPE", request.getAuthType() }, { "CONTENT_LENGTH", String.valueOf(request.getContentLength()) }, { "CONTENT_TYPE", request.getContentType() }, { "DOCUMENT_ROOT", getServletContext().getRealPath("/") }, { "PATH_INFO", request.getPathInfo() }, { "PATH_TRANSLATED", request.getPathTranslated() }, { "QUERY_STRING", request.getQueryString() }, { "REMOTE_ADDR", request.getRemoteAddr() }, { "REMOTE_HOST", request.getRemoteHost() }, { "REMOTE_USER", request.getRemoteUser() }, { "REQUEST_METHOD", request.getMethod() }, { "SCRIPT_NAME", request.getServletPath() }, { "SERVER_NAME", request.getServerName() }, { "SERVER_PORT", String.valueOf(request.getServerPort()) }, { "SERVER_PROTOCOL", request.getProtocol() }, { "SERVER_SOFTWARE", getServletContext().getServerInfo() } }; String title = "Servlet Example: Showing CGI Variables"; out.println(ServletUtilities.headWithTitle(title) + "\n" + "
    " + title + "\n" + "\n" + "\n" + "CGI Variable Name
    Value"); for(int i=0; iNot specified"; out.println("
    " + varName + "
    " + varValue); } out.println("
    "); } public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doGet(request, response); } }

  • How do you remove an old device name from your iTunes account?

    I have several old device names/backups on my iTunes that I want to remove.  They were from old iPhones that we've turned into iPod's for my kids which we needed to create a new device name for them.  So now when I restore a device, I have a list of about 10 different names to choose from.
    How can I erase the old names/backups that we no longer use?  I still have 3 on there that I want to keep though so I don't want to erase all of them.

    iTunes Prefs > Devices.
    Selec a backup and delete it there.

  • Bluetooth connection to multiple devices with the same device name

    I just got a new iPhone 4 and am having trouble connecting it to my car's bluetooth. We have two GM vehicles which both have bluetooth. I can connect to one vehicle with no problems, but when I try to connect to the other, the phone tries to connect to the first car since both have the device name of "General Motors". With my old phone, I could change the name of the connection in the phone so that each car had a different name. How do I do this on my iPhone?
    Thanks for the help?

    No. It's a limitation of the BlueTooth protocol.

  • Two ipods on same computer - same device name

    When installing my new nano, it took on the same device name as my wife's. How can I change the device name so that the computer recognizes it as a different ipod and will therefore only sync with the playlists I want on mine, as well as when she syncs?

    When only one iPod is connected, select it in the iTunes source list, click on its name, and type a new name. You may then need to follow the instructions in this article.
    (27381)

  • Multiple Device Names

    Once I upgraded to Yosemite, I noticed in Finder that my device name would change and under the Shared section, there was multiples of my computer.  In Devices, it shows COMPUTER (2) and then Macintosh HD.  The number changes all the time as well.  Under Shared, I see COMPUTER, COMPUTER (2), COMPUTER (3) and COMPUTER (4).  There is no way to delete them and I think it's the reason I am having difficult Wi-Fi syncing my iPhone 6 and iPad to iTunes.  Can someone offer a suggestion on how to make my computer only have the one name (as it did in Mavericks)?  Thanks.......

    Experiencing the same thing. Have tried everything to rectify the situation, but my computer name and local addressing keep changing. Be sure to log the bug so Apple can get this fixed: http://www.apple.com/feedback/macosx.html

  • How can I sync my photo contents in iPhoto on my iMac to my new iPAD's iPhoto?  I follwed all the instructions on manuals for both iPAD and iTunes re syncing, but I cannot find "phone button" under Device name on iTunes page. Please help!  Thanks!

    I follwed all the instructions on manuals for both iPAD and iTunes re syncing, but after physically connecting iPAD with iMac with USB or via WiFi I still cannot find "phone button" under Device name on iTunes page. Please help!  Thanks!
    I have been creating a photo book using a lots of photographs on iPhoto, and then I took another photos by using new iPAD which I want to integrate with the original album/book on iMac. I was able to import them from iPAD's iPhoto to iMac's iPhoto.  However I cannot import or transfer or sync anything from iMac's iPhoto to that of my iPAD. 
    So my iPhoto page on iPAD contains only 3 or 4 newly created albums, and no other info.  That means no syncing....
    I am supposed to be able to work on this project on either of these iPAD and iMac, correct?
    I am puzzled.  I appreciate for your advice and help.
    Thank you!

    It doesn't appear under the iPad device on the left-hand sidebar of iTunes, you need to select the iPad device on the sidebar and then select the Photos tab on the right-hand side of iTunes e.g.
    And then on the right-hand side :

  • Is it possible to include the device name in an e-mail signature?

    Greetings,
    I am currently managing 150 iPads we have deployed in our school system.  The iPads are on carts of 30 which are moved from classroom to classroom as needed. For student work I have set up Dropbox and it has been working fine.  However, a few teachers requested the iPads be set up with e-mail which can be used to prevent filling up our Dropbox space.  I have successfully done this using a shared Exchange e-mail address between all the devices.  However, this has begun to cause some minor issues as the students can send an e-mail essentually anonymously from any of the iPads.  We are trying to avoid creating e-mail accounts for all the students or iPads and I figured the easiest way to do this would be to add the device name to the e-mail signature.  After searching for a while I have not come up with a yes or no as to whether this is possible or not.  If it is not, are there any other solutions that don't involve a lot of work after reimaging the devices.  Thanks in advance!
    ~Cameron

    You can set the signature for an email to be anything you want it to be. Go to the Mail, Contacts, Calendars setting and go to the Signatures area. There is however no way I know of to lock this setting, so the students can just remove the device name if they know about the setting. I also don't know if there's a way to automate the configuration so you don't have to do this manually on each iPad. Perhaps someone else here will know.
    Regards.

  • Getting "There are no speakers connected to the AirPlay device " device-name "

    For the past several years, I have had a stereo receiver hooked up to and airport express to stream music wirelessly from my iMac to stereo speakers.  All of a sudden, I started getting the message "There are no speakers connected to the AirPlay device "<device-name>".  So, what changed, we recently changed ISP from Verizon DSL to RCN cable, I changed my Apple ID (due to the ISP change), I upgraded all computers to OS X Lion, and I have a new iPhone5.  I can't tell you exactly when during the process things went bad, but I can tell you what I have done to solve the problem:
    I checked that my devices are configured correctly. The network layout is as follows: I have an Airport Express on the 3rd floor of my house, along with the iMac containing the iTunes library, I have an Airport Express on the 2nd floor acting as a repeater, I have an Airport Express on the 1st floor acting as a repeater and connected to my stereo receiver and 4 speakers.  I control which set of speakers is "on" via the receiver.
    I checked that I can get sound out of the speakers via the receiver by selecting FM and got radio to play, so I believe the receiver is ok.
    I swapped this receiver with another receiver and got no sound and still the message "there are no speakers connected..."
    I moved the Airport Express from the AUX port to the TAPE2 port to check the port.  Still no sound.
    I checked the cable with a Bose box and got sound, so I believe the cable is ok.
    I plugged a headset directly into the Airport Express and got no sound.
    I swapped the 2nd floor and 1st floor Airport Express units, reconfigured the new 1st floor unit to turn on Air Play and still get no sound and the error message.
    I am controlling the music using the Remote app on my iPhone.  I have configured the new device to use this library.
    I am tired, confused and at a loss.  What can be going on here?

    All that I can suggest is that you perform a Factory Default Reset on the Express to wipe the current settings and set it up again.
    If you are still having problems after that, you need to take the Express to an Apple Store or Apple Servicer near you to let them have a look at what I suspect is a defective AirPort Express.
    Resetting an AirPort Base Station or Time Capsule FAQ

  • Changed (renamed) device name in Intune app on iOS device. This change is not showing up in the admin portal, even after 24 hours

    Hi,
    I am trying to update a mobile devices names.  Initially, I changed the iOS device name (Settings->General->About->Name) and then I also renamed the device in the Intune app on the device.  Neither of these changes are propagating through
    to the admin portal, even after 24 hours.  Is there anything else I should be doing for this to work?
    Thanks in advance for your help.
    Simon.

    I'm seeing the same thing as Simon, I changed the iOS device name in both places on an iOS device and the name in the Intune console is still "iPhone" which is really unhelpful as I'm sure you can imagine.  Is there some other place
    that we should be going to rename devices so they are more easily identifiable in the Intune console?
    Thanks!

Maybe you are looking for