Channel name lost when averaging waveform

Hi, I am writing an application where data is acquired for DAQ continuously. Data is averaged for example every 1ms and then written to file. Problem is that channel names are lost when doing averaging. I am using 'averaged DC-RMS.vi'. I could copy the attribute before averaging and then write them back afterwards, but doesn't sound like good solution for streaming data application with several channels. Is this a bug or feature? Is there any other way to maintain channel names?
BR Marko 
Here is sample picture:
Attachments:
Lost Channel name.png ‏29 KB

Hi Marko,
I have toiled with this same problem, without finding a
solution.  It seems trivial enough, yet the answer still eludes me.  Could you please post your code for others to
learn from.
Thanks
Alan 

Similar Messages

  • Labview 7 index waveform array by channel name string

    I was messing around with the index array waveform function with a waveform array(3 elements). I had used the set waveform attribute vi with the name input set to "Channel Name." The index waveform array function would not return any data when I was passing a particular channel name to it. Inside the vi I noticed that the name input has to have the format "NI_ChannelName" to match the string constant. Is this explained in the documentation anywhere?? Wouldn't it be more useful to make this string constant a string control input that we wired data into?? Then we could index the waveform array based on any name input that we set with the waveform attribute function.

    Hi 08,
    despite reanimating an 11 year old thread that information you requested is given in the "Set Waveform Attribute Function" help as written by Brandon…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Distinguishedname (dn) for desktop type and default channel name

    I am trying to use amadmin and the corresonding xml files to load some values for the portal. In particular, I'm trying to set the desktop's services attributes for default desktop type and the default channel name.
    When configured via the admin console, this is what shows up in the directory server:
    $ /usr/bin/ldapsearch -h grouper.mitre.org -b o=isp -Duid=amadmin,ou=people,o=mitre.org,o=isp -w portal4now -s sub 'sunPortalDesktopDefaultChannelName=MitreTabContainerChannel' | head -30
    cn="cn=ContainerDefaultTemplateRole,o=mitre.org,o=isp",cn=SunPortalDesktopService,o=mitre.org,o=isp
    cn="cn=ContainerDefaultTemplateRole,o=mitre.org,o=isp"
    cn=cn=ContainerDefaultTemplateRole,o=mitre.org,o=isp
    objectClass=costemplate
    objectClass=top
    objectClass=extensibleObject
    sunPortalDesktopType=mitre
    sunPortalDesktopDefaultChannelName=MitreTabContainerChannel
    sunPortalDesktopEditProviderContainerName=JSPEditContainer
    sunPortalDesktopDpLastModified=1058818147443
    sunportaldesktopdpcanview=true
    cosPriority=0
    what do those CN values mean? Especially the quoted pieces.
    what do i put in the ModifyServiceTemplate element for amadmin? Here's what I have so far (untested):
    <Requests>
    <OrganizationRequests DN="o=mitre.org,o=isp">
    <ModifyServiceTemplate serviceName="SunPortalDestkopService"
    schemaType="Dynamic">
    <AttributeValuePair>
    <Attribute name="sunPortalDesktopDefaultChannelName"/>
    <Value>MitreTabContainerChannel</Value>
    </AttributeValuePair>
    <AttributeValuePair>
    <Attribute name="sunPortalDesktopType"/>
    <Value>mitre</Value>
    </AttributeValuePair>
    </ModifyServiceTemplate>
    </OrganizationRequests>
    </Requests>

    I am running into the same issue. Setting the desname parameter (e.g. desname=temp.pdf) doesn't have any effect. Has anyone found a solution to this?
    Thanks,
    Brian

  • Digital waveform channel names are incorrect

    I create a task at runtime where the user selects which physical digital input channels to use and the names for each.  I then sample these digital inputs and write the waveforms to a TDMS file.  The file has the correct data, but only the first channel has the correct name.  Attached is example code that shows the problem.  What am I doing wrong?  I do a similar setup for analog inputs and it works fine.
    Attachments:
    Digital Channel Names.vi ‏89 KB

    How are you entering the names?  Here is text straight from the LabVIEW Help
    name to assign specifies a name to assign to the virtual
    channel this VI creates. If you do not wire a value to this input, NI-DAQmx uses
    the physical channel name as the virtual channel name. If you use this input to
    provide your own names for the virtual channels, you must use the names when you
    refer to these channels in other NI-DAQmx VIs and Property Nodes, such as the
    source input of the DAQmx Trigger
    VI.
    If you create multiple virtual channels with one DAQmx Create
    Virtual Channel VI, you can specify a comma-separated list of names to assign to
    the virtual channels. If you provide fewer names than the number of virtual
    channels you create, NI-DAQmx automatically
    assigns names to the virtual channels. 
    Are you entering multiple names seperated by a comma?
    Regards,
    Jon S.
    National Instruments
    LabVIEW R&D

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

  • Did IOS8 upgrade w/iPhone5 / lost names associated when using e-mail - only displaying telephone numbers / what are the steps to correct to show names?

    Did IOS8 upgrade w/iPhone5 / lost names associated when using e-mail - only displaying telephone numbers / what are the steps to correct to show names?

    maybe OP want to extract all numbers from his inbox using regular expressions?

  • Keeping Digital Waveform Graph Channel Name constant

    Hello All,
    I have currently run into a problem where LabView decides to change all of the channel names in my waveform graph to some type of default setting, e.g. Line 1, Line 2 etc.  I was wondering is there a possible way to keep the channel names on the digital wave form constant even if I change some of the digital waveform parameters, or pass a null digital waveform constant through one of the channels?  Any help on this would be much appreciated.
    Example:
    Problem
    Digital Channel Name Before:                                 Change Parameter:                              Digital Channel Name After:
    Valve 1                                                                     Only Channel 1&2 used                            Line 1
    Valve 2                                                                                                                                       Line 2
    Valve 3

    Hi di_1,
    Are you trying to add more elements to a property node?  Just grab the bottom and drag it down...check out the pictures.
    Stephen S.
    National Instruments
    1 Test is worth 1000 expert opinions
    Attachments:
    propertynode.png ‏83 KB
    grab the bottom of node.png ‏65 KB
    drag it down for more properties.png ‏96 KB

  • Please help me assign channel names

    Hi Im trying to log select data when any of 24 signals rises above 5 V which I have done with Greater or Equal Express VI. I'm having a hard time getting this data to my file via Write to Measurement File. A waveform plot that I have connected to this signal has no problem extracting the channel names from the signal. However they aren't as easy to get into my data file. I have been searching quite a bit and I know I need to convert to array to get names then back to dynamic for the file making. I'm not having any luck with this approach.  I have quite a few dummy channels involved and I thought about extracting channel names from mx, but obviously I'm only interested in the selected signals of specific channels that have specific voltages.  
    Thanks.
    Attachments:
    need help channel names.png ‏32 KB

    Hi nwiman,
    I looked a little into your code and I want to point a few things out to you.  I think you now have the Write to Measurement File almost worked out correctly.  Firstly, I want to let you know you are using a DAQmx task, and because we don't have you MAX configuration, we don't know what that is.  I chose to simulate a USB-6351 to get some analog inputs, it is titled Dev1 in my MAX.  Also, to avoid a buffer overflow error from DAQmx while it is waiting for the user to determine the file path, I used a File Dialog express VI to get the path before the While Loop starts.  Lastly I unchecked "Ask user to chose file" in the properties of Write to Measurement File and chose "append to file.  I also want to point out that your code has Tab constants, but the Write to Measurement file is set up for Comma delimited. To show you the functionality of the write to measurement file, I wired the signal after the DAQmx read to the write to Measurement File, and it works how I think you would expect it to.  I recommend using charts for your output signals and when they look like you would expect them, wire them into Write to Measurement File. 
    To run the snippet I have attached, you must simulate a USB-6351 in MAX.  Follow this link to add the simulated device to MAX, once it is in MAX you should not need to create a task or anything, just make sure it is named "Dev1".
    Regards,
    Chris
    National Instruments
    Applications Engineer
    Attachments:
    modified.png ‏555 KB

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

  • Photoshop CS6 using javaScript to truncate alpha channel name

    Hello,
    I'm a production artist and I work with PSD files that were created in Adobe Scene7 Image Authoring Tool. These PSDs contain a background layer along with 1-20 alpha channels. My script has to make a new blank layer for every alpha channel in the document. Then it fills the new layer with light gray. So far, my code accomplishes this. However, I'd like to apply the name of the alpha channel to the layer, but I need the name to be truncated. Every alpha channel starts with one or more characters followed by a backslash and then finishes with one or more characters. Here's an example:
    An alpha channel might be named:  Floor\floor
    In this example I need my layer name to be just:  floor. This means all character to the left of the backslash, including the backslash itself needs to be discarded. I was using the subSring() statement to do this. When I try to step through the code, line by line in ExtendScript, I immediately get an error that says Unterminated String Constant and Line 31 of my code is highlighted. I suspect it doesn't like the way I wrote the backslash character, although I surrounded it in double quotes to define it as a string.
    Can anyone tell me why I'm getting this error?
    Below is my code with lots of comments to walk you through the process. I wrote where the error occurs in red type.
    I'm new to JavaScript so I'm not sure my while loop is accurate.
    #target photoshop
    // The #target photoshop makes the script run in PS.
    // declare variable to contain the active document
    var myDoc=app.activeDocument;
    // declare variable to contain the number of alpha channels, excluding the RGB channels
    var alphaChan = myDoc.channels.length - 3;
    alert(alphaChan + " alpha channels exist");
    // create loop to make new layers based on number of alpha channels, fill layer with gray and apply alpha channel name to new layer
    for (a=0 ; a<alphaChan ; a+=1){
    // make new blank layer
    myDoc.artLayers.add();
    // fill blank layer with gray
    var color = new SolidColor();
    color.rgb.red = 161;
    color.rgb.green = 161;
    color.rgb.blue= 161;
    myDoc.selection.fill(color);
    //variable stores alpha channel name
    var alphaName = myDoc.channels[3+a];
    // variable stores lenght of alpha channel name
    var lz = alphaName.length;
    // declare index variable to initialize position of 1st  character of alpha channel name
    var x= 0 ;
    // truncate alpha channel name by removing all characters preceding the "\" symbol
    while (alphaName.subString(x) != "\"){          (ExtendScript gives an error for this line and highlights the backslash and surrounding quotation marks)
        alphaName = alphaName.subString((x+1),z);
        x+=1;
        z-=1;
    return alphaName;
    // remove the backslash from alpha channel name
    alphaName = alphaName.subString((x+1),z);
    //  apply truncated alpha channel name to corresponding layer
    myDoc.artLayers[a].name = alphaName;

    while (alphaName.subString(x) != "\"){ 
    should be
    while (alphaName.subString(x) != "\\"){ 

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

  • How do I add the channel-name to mixed signals?

    Hello,
    I want to save a XY-Signal to a tdm-File and import it into DIAdem.
    So I merged the X- with the Y-Signal and connect the merged-signal to the "Write To Measurement File" VI.
    In DIAdem I can see both signals but their name are "Untitled" and "Untitled 1". I don't know how to fix that.
    If I use the low-level storage VIs, the other problem occures. I can give the X and Y-Channels my desired names, but they are in waveform - I want them as numeric channels in DIAdem.
    So how can I give the mixed-signal the names
    or
    how can LabVIEW say to DIAdem that it is a numeric signal?
    KR
    Lukas
    Message Edited by schmiddy on 01-11-2008 04:31 AM

    Hey Lukas,
    To name your dynamic signals you can see this KB "How Do I Rename Signals in Dynamic Data?".  After you name your signals appropriately, you could then merge them together and write to a tdm file.  DIAdem will then be able to read the channel names from the tdm file.  I hope this helps.
    Best Regards,
    Software Engineer
    Jett R

  • Web configuration lost when upgrading to advanced server admin

    Hello,
    after setting correctly the basic configuration,and setting the web servives, we did the upgrade to advanced option and then we focues to other apple problems like getting network connection, starting xgrid,etc), and then is when we realized that the web settings, server name, etc were lost when we moved to the advanced server admin.
    grrrrr!
    any idea?
    thanks

    I would most emphatically recommend that you get your boss to sign off on you having no liability nor culpability for any results of work he expects you to do "on the side".
    People study and learn for years - and appropriately so ! - in order to accomplish this kind of work effectively and efficiently.
    If you are learning and have a non-production environment to work with and potentially wipe & reinstall where need be, then by all means, go for it (start learning).
    But otherwise your boss should accept that s/he is getting what they're paying for, and since it is nothing, they should be prepared for that.
    It is neither technically nor professionally advisable to foist a task such as this on someone and expect the result(s) to be that of a trained professional in that field. The fundamental concern is the disconnect there, and the unacceptable risk this situation could put you in, either now or in the future.
    To the matter at hand, I generally recommend strongly against an upgrade, as compared to a (verified good) backup, wipe and reinstall and configure from the outset as "Advanced."
    For computer management, you will want to run your server as an Open Directory Master,
    and as such, you must must must have verified working DNS lookup(s) for your server's FQDN, prior to proceeding with re-installing & reconfiguring it.

  • Is it possible to create an action to copy channel name text and insert into channel in CS5?

    I am a screen printer and I print my separations from Photoshop. I routinely work with multi channel files or RGB files with additional spot color channels. I have created actions to place my registration marks, re-size images, etc to get ready to print but I manually have to create the text labels for each screen if they are missing from the original artwork.
    The files I work with have channels named as "Base White, Red, Green, 284 Blue" etc indicating the ink color. What i would like to be able to do is click an action that would copy the text from the channel name and insert it into a separate or each/all channels near the top of the file so that when I print each positive it has a corresponding label for ink color.
    I am not sure if this is even possible, and I am limited on my knowledge when it comes to actions and have pretty much got lucky in the past getting them to do what I want without unnecessary steps.
    On my registration target action it creates a new channel with each individual reg mark then combines them into one separate channel in which I just copy the contents and select all the ink channels and fill with black to make them appear, i'm happy with the steps it takes as it isn't too much trouble and if this could do the same with labels I would be happy with that.
    Thanks in advance!

    What i would like to be able to do is click an action that would copy the text from the channel name and insert it into a separate or each/all channels near the top of the file so that when I print each positive it has a corresponding label for ink color.
    Actions are, as far as I can tell, plainly incapable of this, Scripts on the other hand are not.
    So you could try asking for help over at
    http://forums.adobe.com/community/photoshop/photoshop_scripting?view=discussions
    or
    http://ps-scripts.com/bb/viewforum.php?f=9&sid=353cb093927c497650e802701e6fff40

  • What's lost when you reconfigure Enterprise Manager?

    Hi all,
    Going straight into the questions:
    What's lost when you reconfigure a EM? And,
    What's stored in the EM Repository?
    Configuration: Windows 2003 Server Enterprise, Oracle 10g release 2
    All of the EM consoles stopped working after we changed the host name on a Windows Server. The EMC services refuse to start.
    It seems that using emca to reconfigure the EMs fixes the problem. But the other problem is that EMCA mentioned that all configuration would be lost.
    I tried searching around the forum, Google and the official documentation but couldn't find much details.
    It would be much appreciated if you could help me out a bit.
    Thanks,
    Benjamin

    EM repository consists set of tables in a database containing state information for the managed environment and information about the management packs. It is used as a back-end store by the Oracle Management Servers, providing distributed control between clients and managed nodes.

Maybe you are looking for