Get daq channel names

I recently upgraded from LabVIEW 6.i to LabVIEW 8.5. Back in 6.1 I could get all the channel names configured in MAX using Get DAQ Channel Names.vi. I was wondering how I can do this in 8.5. Ideally I would like the output to be an array of strings so I can then sort through them.
Thanks

Hello,
I think that you can do that on daqmx. Using property node. See the attached file.
Software developer
www.mcm-electronics.com
PS: Don't forget to rate a good anwser ; )
Currently using Labview 2011
PORTUGAL
Attachments:
ChannelName.PNG ‏19 KB

Similar Messages

  • DAQ channel name control empty

    I'm having the problem that virtual channel names don't appear in DAQ channel name controls or constants. The proper channel type is selected, but nothing appears. I'm also missing a couple of contextual menu items on the control, such as add channel and edit channel. Any ideas?
    I'm using MAX 3.0, DAQ 6.9.1f28, and Labview 6.0.3. A different system with MAX 2.1.3.14 works fine

    MAX 3.0 ships with the NI-DAQ 7.0 driver. You should not be using MAX 3.0 with the older 6.9.1 driver. I would recommend using the MAX version which ships with the NI-DAQ 6.9.1 driver. If your working system is identical with respect to NI-DAQ and LabVIEW versions, then I would recommend using MAX 2.1 with the non-working system as well.
    Regards,
    Justin Britten

  • Daq channel name constant

    Hello,
    I'm using LABVIEW 6.1 on a computer that does not have a DAQ card
    installed.  I would like to create a listbox that allows selection of
    multiple DAQ channels.  My problem is that the AI Group Config.vi
    requires a DAQ Channel IO data type which is neither a string nor an
    Integer.  I tried to use the DAQ channel name constant, however I
    wasn't able to enter a value for the constant. This problem may be
    caused by the DAQ card not being installed.
    Therefore, my question is that if I had the DAQ card installed, would
    the DAQ Channel Name Constant allow me to enter a value?
    Thanks,
    Steve

    I believe you can at least type a name into the control/constant if you
    right click on it and select "Allow Undefined Names". Then just double
    click in the control and start typing.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Help, Ni-Daq channel names and labview program error 10001?

    Can anyone please help me, I have inherited a role that I know nothing about. I have managed to get an NT pc to now recognise the SC-2345 board, set up and configure two channels and test them in Measurement and Automation program, this I managed after getting error 10401 and looking within these message boards which are very good.
    I have then started a labview program, previously written by ex-employee, and now get error 10001, after trawling the FAQ and forums I think that I have a naming error in the virtual channels created, how do I find out what the channels should be named within the Labview program, do I need to load an editor etc and then open a config file?
    Sorry if this seams like a simple error, but I am trying to learn the software from a book that is a little tattered.
    Regards

    Hi,
      error 10001 can be caused by a few things including an incorrect scanning order.
    If you'd like to post your code back onto here (or if it's large, ftp it to ftp.ni.com/incoming and let use know the name of the zip file you've packaged it into), then we can see what the DAQ section is supposed to be doing and hopefully provide some clues as to where to look for the information / why the error is occuring.
    The first thing to do is go back to Measurement and Automation explorer and try setting up a global task that refers to the channels you're interested in.
    This removes the programming side of things, since you select from drop down lists, to verify that you can communicate correctly with the hardware at the rates and across the channels that you want.
    These links is going to be your best learning point for getting up an running with the program.
    http://digital.ni.com/public.nsf/allkb/DD52ABD7C15F0B15862562910074F09E
    http://zone.ni.com/devzone/cda/tut/p/id/3116
    http://zone.ni.com/devzone/cda/tut/p/id/4656
    In terms of LabVIEW, there's several I/O controls you can use which will list the hardware channels you have configured or the global tasks you have created in Measurement and Automation explorer. (see the last link above)
    Another option is to look at our Alliance Partners if you need things configured and up and running in a hurry.
    http://www.ni.com/alliance
    If you just need a little pointer on getting kicked off, then you could see if you local sales engineer is available to go through things with you for an hour if they're in your area at a convenient time (for the UK / Ireland, please call in on 01635 572410 and ask to go through to sales), or we do offer start-up assistance (but that's something you need to purchase) to get a day's onsite assistance with getting your hardware up and running and starting you off with advice / examples on your application (note this is an effort based thing rather than a results based guarantee)
    Finally you could consider coming on one of our courses on LabVIEW and / or Data Acquisition to learn more about the software / hardware and be better prepared to handle the implementation yourself.
    Hope that helps
    Sacha Emery
    National Instruments (UK)
    Message Edited by SachaE on 03-23-2007 11:49 AM
    // it takes almost no time to rate an answer

  • How can I get an invidivual Virtual Channel name without having to pick through an array of all channels?

    I see "Get DAQ Channel Names.VI" and "Get Channel Information.VI" but I just want to get the name of just channel 0, or just channel 1. Is using an array of all channel names the only way I can do this?
    I have Labview 6.1.
    THANKS!!!
    Lauren

    Lauren,
    Yes, currently that is the best way to go about accomplishing that. I attached a little VI that demonstrates a very basic way of finding the first virtual channel that uses device channel 1.
    Ames
    Applications Engineering
    National Instruments
    Attachments:
    Find_First_Channel_1_Virtual_Channel_Name.vi ‏27 KB

  • Get TDMS Group Channel Names Array

    I'm having trouble using the TDMS Get Properties to get the channel names of a group.
    I want an array of: ch1_unused, A_SRV_z, etc...
    Attachments:
    TDMS get Group Channel Name Array.JPG ‏64 KB

    If you want to get all the channels names under a group, please use "TDMS List Contents" node.

  • Communication channel name in message mapping ?!

    Hi,
    I have the problem that I have to know the sender channel name in a message mapping.
    The reason is, that I have to set a flag if the message comes via one sender channel.
    Of course a solution would be to use differnt Services but I won't do that. Is there any smart solution?
    Thank you for your help
    Thomas

    There are a few weblogs on gettign the filename. Check whether that would suffice for you.
    If you really need cc name try the following.
    Write a small module function for the adapter.
    (Check this note - 819761)
    See whether you can get the channel name using the object of type Channel (may be getName() or something similar, I'm not sure about this)
    If not,
    See whether you can define an additional parameter in the channel and access it in the adapter module and send it to the IE. Then make an additional parameter and set the value as cc name. (Here I'm not sure whether unrecognized additional parameter will affect the adapter functionality)
    Maybe you can give a try and let us know!
    Regards,
    kk

  • Why can I not use the channel name, which is obtained from the function of DAQmx Task, as the input of the channel name for the function of Get Channel Information of DAQ?

    Why can I not use the channel name, which is obtained from the function of DAQmx Task, as the input of the channel name for the function of Get Channel Information of DAQ?

    Not a lot of details here, but my guess is this isn't working for you because you are wiring in the task to the Active Channels Property and not the actual Channel Name. I have attatched a screenshot of what I believe you are trying to do. The Task has 2 channels in it, so I need to index off one of the channels and wire it into the active channels input of the Channel Property node. Then I can read information about that channel
    Attachments:
    channel_name.JPG ‏69 KB

  • How do I get channel names written into a logged ascii file in Signal Express

    Hi there,
    This maybe a rookie question but I am a relative rookie to this software, and I hope it has an easy fix!
    Background:
    Take a load of analogue inputs from a DAQ device into Signal Express, first thing that hits me is that unlike labVIEW you cannot right click in the channel configuration window and change the name from say... Dev2_ai0 to Air Pressure? I feel that if this was possible then I would overcome my problem? anyway I can't so onwards...
    I goto the DAQmx Acquire window on the top left and can right click and rename the channel, which is great... however this does not translate to the logged data as I get the ai0 channel names across the top of the columns and not the names that I have put in.
    Is there anyway of getting data like the attached snippet?
    Many thanks for your help in advance.
    Neil Barker, Redbull Technology.
    Attachments:
    Channel names.gif ‏4 KB

    Hi Dan,
    Thanks for the reply, that has certainly fixed my issue as I wasn't expanding the channel and selecting the channel that I had renamed.
    One last thing though:
    I now not only get the individual channel name but the prefix for the DAQmx Aquire, for instance I get the Input of Braketest and then the channels under the input data.
    It looks a bit like this....
    Braketest - Front Pres
    Braketest - Rear Pres
    Braketest - FR Temp
    Braketest - FL Temp
    etc etc...
    Now all of the channel names at the top of the columns have this long name. Can this be rectified? can I remove the "Braketest" bit?
    By the way I am saving it as an ASCII so that I can read it in excel.
    Many thanks, Neil.

  • Parse fieldpoint IAK file -- get channel names and ranges?

    Hello,
    I am looking for a way to read the fieldpoint channel names in their real order (not sorted) _and_ their corresponding range settings from an IAK file. Hardware is a FP-1001 network module connected via RS485 and a handful of AI-110s and AO-210s.
    Has anyone found a way to do so yet?
    Tried the FP get configuration info VI without succes, it sorts the channel names alphabetically. Edited the VI (threw out the sort array funktion), but no success: Channels now are mixed in no sensible way (the documentation confirms this behavior).
    For the ranges, I've looked at the optomux !E, but a) it needs a FP ressource connected (can't work offline this way), and b) I have no clue yet of how to match these ranges with the well-mixed channel names :-(
    Maybe someone here can help?
    Yours, sincerely,
    Sebastian F. Kleinau

    Hi,
    Please take a look at the following knowledgebase:FP Get Configuration Info.vi Returns Values in a Different Order
    I think this is what you are looking for.
    Regards,
    Timo

  • Manipulati​ng the outputs of the Get Channel Names.VI version 5.1

    Using the get Channel Name VI. I get two arrays. One array lists the channel names acquired from the measurement and automation utility and the second array lists the accompanied units of those channels. The problem is in the order of channels listed. The VI sorts the array by date the channel was created in the measurement and automation utility. When I resort the channels in alpha numberic order I want to keep the units associated with their correct channels. How can this be done. Or can the get channel names.vi be modified to sort alpha numberically while outputing the correct units associated with those channels.
    Attachments:
    getnames.vi ‏19 KB

    Here's something to try (Sort 2D array ala index and bundle cluster array):
    http://sine.ni.com/apps/we/niepd_web_display.DISPL​AY_EPD4?p_guid=B45EACE3EA4356A4E034080020E74861&p_​node=DZ52026&p_submitted=N&p_rank=&p_answer=&p_sou​rce=External
    You just need to remove the indexing portion and directly feed in the names to the upper terminal of the index/cluster array and units to the bottom.
    2006 Ultimate LabVIEW G-eek.

  • How to Get Channel Name in Adapter Engine Alerts

    Hi All,
    I am using 'Alrtcatdef' and 'Rules' in RWB to generate Adapater Engine Alerts. I am aware of the standard containers that are available to compose Alert Email content.
    Is there a way I can read the Channel Name(and NOT Adapter type i.e Idoc, File) that errors out, in the email content.
    Channel Name is the name of the channel I proivde in Integration Directory.
    Thanks,
    Xier

    The above requirement could have been done with custom alert container variables ..... but defining custom alert container seems not possible.
    Workaround:
    When you run a scenario we have a fixed set of channel(s).....sender (optional) and receiver ..... an error in the sender channel goes back to the sending application and hence XI support personnel is excluded from it.....so now what remains is the receiver channel.
    So if your requirement is to include channel name for one (or few) of the scenarios then include it in the Alert message that you set in the ALRTCATDEF ..... i.e. hard-code it ...... wont be a good approach if you have to implement the same logic for all the scenarios.....
    Suggested the above approach thinking it is not possible to build custom container ..... if there is a way to do it then please even let me know.
    Regards,
    Abhishek.

  • Getting channel name change in the save-Block accepted

    Hi there,
    i tried to change my channel names in the save-block. If i run the dac and the script again the old channel-names are still used. I reloaded the dac and restarted diadem and the new channel-names are correct listed in the save block, but while measurement the old ones are used?
    Any hints?
    thanks
    diademi

    Hi diademi,
    Yes, now I understand the problem. The name which
    is used to create the channel in the Dataportal is always the name of the last
    significant source block like the F(x) block or a scale block etc. The other “Signalnamen”
    are just something like an alias. They are used to handle exchanging blocks
    more easily.
    Greetings 
    Walter

  • Configuring channel names at runtime?

    Does anybody know of a way to set up channel names for a DAQ device
    other than with the Measurment & Automation explorer? I was hoping to
    set up the channel names with some sort of configuration file but I
    don't see any way to do this. If our test programs are ported to
    another PXI system do we have to re-configure all of the channel names
    with Meas & Automation explorer? Ideally I would want to use a file
    and have the channel names set up at run time.
    Thanks for the help.
    Mike

    Hi Mike,
    i don't know if it is possible. The way i exchange daq settings between
    different computers is to export the actual configuration from MAX into a
    daqfile. This one you can copy to another computer or use it as a backup
    solution. From MAX you can import this file and you will get the same
    configuration settings.
    greets
    Henrik
    "Mike" schrieb im Newsbeitrag
    news:[email protected]..
    > Does anybody know of a way to set up channel names for a DAQ device
    > other than with the Measurment & Automation explorer? I was hoping to
    > set up the channel names with some sort of configuration file but I
    > don't see any way to do this. If our test programs are ported to
    > another PXI system do we have to r
    e-configure all of the channel names
    > with Meas & Automation explorer? Ideally I would want to use a file
    > and have the channel names set up at run time.
    > Thanks for the help.
    > Mike

  • Enabling disabling several DAQ channels

    Hello. I'm just about to start my first 'biggish' project with labview using a Compact DAQ system. :-)
    I am using a 16 channel thermocouple module. On the front panel, I want the user to be able to select which channels on the TC module
    they want to aquire data from.
    Once the channel selection is complete I need to be able to send the channels which are to be aquired to the create channel VI to start the aquisition from the required channels.
    I know how to use the create channel VI to aquire multiple channels but i need to work out this selection method somehow?
    I want the channels to be selected on the front panel by using a checkbox.
    I know that i will have to use a DAQmx Global Channel to input the channels.
    Thank you in advance,
    Rhys

    Below is a way to create a channel list that you can send to the Create Channel vi.
    1) Create a string array constant and enter the channel names
    2) Create array with your checkbox booleans
    3) Use a for loop with a shift register to build channel string
    Note that if no channel is selected the string would be empty which will give an error if you wire it to the Create Channel vi.
    So you have to check for this and prompt the user to select at least one channel.
    But ... I probably would not do it this way. 
    Instead of selecting the channels to be acquired as you have proposed, I would acquire all of the channels all of the time.
    Once you get the "all" channel data - you can then choose which channel data to use based on your checkboxes.
    Benefits:
    1) Your acquisition code never changes
    2) The array of data returned from the DAQ will always have the channels in the same place - making life easier for you
    steve 
    Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
    question. Give "Kudos" to replies that help.

Maybe you are looking for

  • How do you schedule download times?

    We have to use Hughes Net. There are severe download penalties if you download in peak times. I cannot add any new programs, download iTunes, software updates without affecting usage. We can download between 2-7 am and I don't wish to stay up to down

  • Facing problems while running runInstaller while installation of Solman7.0

    Hi, We are installing SAP Solman7.0 with Solaris+Oracle(10g 2.0). we have already run sapinst. Now during database installation(Oracle) we run runinstaller, we are facing following problems : Checking installer requirements......... Checking OS versi

  • ExecutionLog : Retrieve subscription name of report execution

    Hi everybody and thanks for your read, We would like to understand our SSRS execution logs. Our problem: Several reports are executed by data driven-subscriptions, and one report can be found in several subscriptions. We read ExecutionLog table and w

  • How do I move an audiobook from "Music" to "Audiobooks" in the Library?

    I've got one audiobook (403 parts) and it's listed under Music in my Library. I've just added the Audiobooks heading for the Library, but can't see how to move the audiobook so it's listed under that heading. TIA, Monte

  • Program Data

    As the previous questions asked and read through the answers, it puzzles me to which program data you are referring to. I have a similar problem. When I initially installed the Kaspersky anti virus 2014 program on my laptop. Kaspersky was (as I tried