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.

Similar Messages

  • 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

  • Why do I get a class conflict between the Prepare SQL.vi and the Get Column Name.vi with the SQL Toolkit compatibility vis from the Database Connectivity Toolkit?

    I have done extensive programming with the SQL Toolkit with LabVIEW versions through 6.1. My customer now wants to upgrade to Windows 7, so I am trying to upgrade to LabVIEW 2009 (my latest purchased version) using the Database Connectivity Toolkit, and the SQL Toolkit Compatibility vis. Everything seemed to be going okay with the higher level SQL operations, but I ran into trouble with the Get Column Name.vi. 
    The pictures below show the problem. The original SQL Toolkit connected the Prepare SQL.vi with the Get Column Name.vi with a cluster of two references, one for connection, and one for sql. The new compatibility vis have a class conflict in the wire because the Prepare SQL.vi contains a cluster with connection, and command references, but the Get Column Name.vi expects a cluster with connection and recordset references. 
    How do I resolve this conflict?
    Thank You.
    Dan

    I've never worked with the old version of the toolkit, so I don't know how it did things, but looking inside the SQL prep VI, it only generates a command, and the the column name VI wants a recordset. I'm not super familiar with all the internals of ADO, but my understanding is that is standard - you only have the columns after you execute the command and get the recordset back. What you can apparently do here is insert the Execute Prepared SQL VI in the middle and that will return what you need.
    I'm not sure why it worked before. Maybe the execute was hidden inside the prep VI or maybe you can get the column names out of the command object before execution. In general, I would recommend considering switching to the newer VIs.
    Try to take over the world!

  • When i open an irc link with a channel name that contains "~" at the end, firefox (14.0.1) opens the same channel name but with "%7E" instead of "~" at the end

    when i open an irc link with a channel name that contains "~" at the end firefox (14.0.1) opens the same channel name but with "%7E" instead of "~" at the end
    http://img835.imageshack.us/img835/2856/clipboard05nq.jpg

    I can not open the image, but I can say something in general about the tilde.<br>
    The tilde "~" is an unreserved character and therefore it can be replaced by its percent-encoded form "%7E" inside a URI without changing meaning. See<br>
    http://en.wikipedia.org/wiki/Percent-encoding<br>
    According to section 2.3 of RFC3986 we should prefer the unencoded form so this behavior seems to be a bit out-dated.<br>

  • How can I find the specific channel name and modify channel name in automatically in VBS?

    How can I find the specific channel name and modify channel name in automatically in VBS? (DIAdem 9.1)
    I would like to change channel name = "speed01" ... "speed10"  to  channel name = "velocity01"..."velocity10.
    martino

    Hello Martino,
    this script will help:
    Option Explicit
    Dim i
    Dim n
    For i=1 To 10
    If i < 10 then
    n = CNo("speed0" & i)
    Else
    n = CNo("speed" & i)
    End If
    If n > 0 Then
    If i < 10 then
    ChnName(n) = "velocitiy0" & i
    Else
    ChnName(n) = "velocitiy" & i
    End If
    End If
    Next
    Matthias
    Matthias Alleweldt
    Project Engineer / Projektingenieur
    Twigeater?  

  • 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

  • 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.

  • Why is the Master File names as Version?

    When I import a file into a new project and apply an adjustment a new 'version 2' is automatically generated. This is correct. But why does the system name the original Master (which remains unchanged) as 'Version 2' and shows the adjusted file as the master?

    See the thread
    http://discussions.apple.com/thread.jspa?threadID=2330768

  • 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

  • DIAdem: How to store the input channel information from the Analysis modules

    Hi,
    I would like to know if there is a way to store the input channel name(s) when executing modules from the Analysis Panel. For example, when I run an FFT on a set of data: x-channel: "[1]/Time" y-channel: "[1]/Voltage" , I would like to be able to store this information as a custom channel property in the output file (ex. "[1]/AutoSpectrum").  
    The only place I've found that contains this "history" information is in the log section of the Analyze Panel. However, I have not been able to figure out how to access the information in the Analysis log programatically through VBS scripting.
    Thanks

    Hi Brad,
    So here's where I'm struggling. My tool is more a set of tools. I have created custom bars that launch the appropriate dialog box for each tool. Let me give you and example of the kind of work flow I that might be used:
    The user loads up a TDM file or imports data using a DataPlugin. Then, they launch my tool for going through each channel and adding custom properties (sensor type, sensor location, etc). Once all properties have been applied to the channels they close that tool. Now they fire up the Smoothing module in ANALYSIS and save the result as a new channel. Next, they launch my tool for computing the Shock Response for that event. When the user has the desired output, they run my plotting SUD. This is where they can select which report template to use and which channels to plot. The selected channel(s) used for plotting doesn't have all of the custom properties that we taged in the original data channels.
    As you can see, the process involves using some of my own custom SUDs where I can keep track of everything but also allows the user to use any of DIAdem's native functions. This is where I am struggling to be able to keep track of the channels used as input. I can "see" the info I need listed in the log section of the ANALYSIS Panel but can't pragmatically access it (the info in the main display window). It would be really handy if this info was automatically stored in the channel properties of each output channel.
    I guess my only option is to (in the plotting SUD) not only ask the user for the channels to plot, but also ask them to select the coresponding original channels that have the custom properties.
    James

  • Getting channel units and length from .dbc file

    Can any one help me out. I was wondering how to get Channel units and channel size from the CAN db file similarly like getting channel names from Get Channel Names by Id vi.
    Thank you,
    Shanth.

    can you pls guide me to use this vi for my application
    i want to read the dbc    using NI CAN 8473
    i am getting error
    Attachments:
    USBCANBasicInput.vi ‏43 KB

  • 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

  • How to set alpha channel names in a format plugin?

    I am writing a format plugin with 6 color planes for CMYK mode. I want to set the apha channel names for planes 5 and 6 to "White" and "Clear" instead of "Alpha 1" and "Alpha 2" when I read the color data from my file. How do I set the alpha channel names?
    Thanks!

    I am still trying to find a solution to this.  The propChannelName is read only and the documentInfo structure is NULL when reading.  Any suggestions?

  • Get Application Server Name and Version

    Hello All,
    Is it possible to get the Application Server Name and Version using Java?
    To simplify my question, if I am running Weblogic, the jsp page should tell me that I am running Weblogic Version <number> or IBM WebSphere Version <number>.
    Thanks

    I get an error when I put this line in my jsp page:
    out.println(" Server Info: " +getServletContext().getServerInfo());
    Is there something I am missing?
    symbol : method getServletContext ()
    location: class jsp_servlet._jsp._mu.__showmxversion
    out.println(" Server Info: " +getServletContext().getServerInfo()); //[ /jsp/mu/showMXVersion.jsp; Line: 16]

Maybe you are looking for

  • Weblogic 11g Admin console - Admin Server Health shows "Warning"

    Hi, My env details : db 11.1.0.7, wls1033, RCU 11.1.1.3, soa 11.1.1.3, AIA11gR1 PS2 When I start only Admin server, Health shows "Ok" but when I start soa_server1, Admin Server Health becomes "Warning". When I checked "Health information details" for

  • Reqmt of Legacy system.

    What is the requirement of Legacy system, so that STANDARD SAP Transfer Programs work properly? i)  Must be received in upper case. ii)  must be padded with NODATA character after the fields are filled. iii)  must be initialized to blanks first iv) 

  • Insert column head continued by script

    Hi, I have to insert the continued text on every column top if any heading level text continued on next column. For instance my 'H1','H2','H3','H4' these are the index column head levels, if my 'H3' head level text continued on next column, 'H1','H2'

  • Lightroom and 10.5.3

    After updating to 10.5.3 I find that when using Spaces and Lightroom 1.4.1 I do not get a Lightroom window if I am in a space that does not have LR and then select Lightroom in the dock. If I have another application in that same space as LR and sele

  • SQL Error: No more data to read from socket

    Hi! When executing a rather large CREATE OR REPLACE VIEW statement (116 lines of SQL code, a SELECT statement with 80 columns in the SELECT clause and 32 left joins in the FROM clause) we get the error in the title of the thread. Also, after once see