Filename in legend

Hello.
Quite a basic question but several trials and none worked..
So in the legend I just want to display the filename without the channel as in "channel name (file name)". I tried free text with "@@ChnFileName(CurrChnNo)@@" but it did not worked out.
How cn I do this?
Best regards,
Brice
Solved!
Go to Solution.

Hi Brice,
You've got the right idea, but the channel property you need to use is "SourceDataFileName", and you need to use either the ChnPropGet() or ChnPropVaGet() function or the new Data.GetChannel(CCN).Properties approach available in DIAdem 11.0 and later:
@@ChnPropGet(CCN, "sourcedatafilename")@@ 
Brad Turpin
DIAdem Product Support Engineer
National Instruments

Similar Messages

  • How to change the text in the legend of a graph programmat​ically in labview

    I have many graphs in one plot and want to show the legend the name of the graph (i.e. the filename). How do I change the text in the legend programmatically?

    Create a property node for your graph. Use the property node "Active Plot" to define which plot (or line) you want to rename. Then write the new legend label to the property node "Plot.Name". See attached.
    Tim
    Attachments:
    legend.vi ‏12 KB

  • Legend, error bars, 2nd y axis etc

    Hello all,
    Measurement Studio is a powerful program. But it's graphing functions need improvement. As a scientific tool, for example, the lack of plotting error bars in CWGraph is unforgivable. And many other essential functions for producing decent graphs are missing. So I attempted to try to fill in some gaps. The attached program intends to do following:
    1) Plots x- and y error bars.
    2) Legends for data sets,
    3) Graph saving,
    4) Graph printing
    Notes:
    1)Error bars are not plotted symmetrically. They can be improved.
    2)Legends can be improved by making them automatically located in the empty part of the plotting area. And the routine doesn't work well for the logarithmic scale.
    3)Since the point sizes are tied to line size, it is impossible to use larger symbols without increasing the size of the lines!
    4)y axis and the 2nd axis labels as rotated have terrible looking fonts.
    5)When printing to a pdf file, filename can be automatically set to a default filename so that a dialog box can be avoided.
    I hope the attached program is useful.
    Sincerely,
    Cem
    P.S.
    The program plots 5 data sets. 4 of which use left y-axis, the last one uses the right axis. Only y error bars are plotted. (x error bars optional). The legend text appears on the left upper corner. User can enable/disable legend, lines connecting data points, error bars, and grid lines. When log axis is chosen, the legend placement is screwed up.
    Attachments:
    plottest.zip ‏6 KB

    Thanks for sharing this with us Girit. I'm sure this will help out alot of people on the forum.
    For your legend, this document provides another way you might be able to create a legend and not have to deal with finding an empty place on the graph.
    Thanks again
    Bilal Durrani
    NI

  • Legend box

    I have a bar chart in my report, but I dont want the legend box to appear besides my chart.
    How do I do this?

    Joe,
    The chart is created with Oracle Graphics. You must use Oracle Graphics to make this change. Here is how to do it in Graphics (cut this from the help reference). Look at the property palette for the chart in reports to determine the filename of the chart to edit in Graphics. PLEASE NOTE, that in the next release of Reports, we will not be using Oracle Graphics, but moving to BI Beans - specifically, the Chart Bean.
    How do I remove the legend?
    If I want to create a chart without a legend, how do I delete the legend created by default?
    Deselect the Show Legend checkbox on the Frame property sheet. (This can be reached via either the right mouse menu or the Chart menu.)
    Regards,
    The Oracle Reports Team

  • Logical filename in broadcasting

    Hi everyone,
    We want to use the bursting functionality to broadcast a report to the portal. We'll split the result to profit center so each profit center gets a seperate pdf document. Now a few hundred pdf files get created but it's unclear which file containts data for which profit center (without opening each file). Is there a way to add the profit center to the filename of the pdf document created? We've lookad at the variable on filename creation but these are not sufficient.
    Kind regards,
    Alex

    Hi Alex,
    I've found a discussion between SAP dev and another customer... where dev refers to the following...
    Filename: (Mandatory) this name is used for the directory name. This
    name is also the technical name of the directory in the database. The
    query_name/tempalate name is taken as default.
    "Display Name: If provided, replaces the Filename for user display on
      the portal.
    If a control query is used (which may generate multiple files), then
    the end files are names based on query_name/tempalate name + index."
    Do you have the option of a display name?
    Please read the following...
    Broadcast to the Portal 
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/29/f50b40c6c01961e10000000a155106/content.htm
    I hope this helps
    thanks
    Orla.

  • In Photoshop Express, cannot sort images in album by filename in thumbnail view (for slideshow)l.

    In Photoshop Express, I want images to appear sorted by filename.  In the "view as a table" it sorts fine.  When I revert to the thumbnail view, the arrangement is random.  The dropdown "show" list does not offer an option for showing by filename.  If I select the"custom" option, it means I would need to sort 300 images by filename MANUALLY (!!!), a job that a computer does in milliseconds.  Anyone with a solution?  Thanks.

    fwiw, with my images in the 'Folder Location' view the photos are in order by their Windows filename. That is the same order as the hardcopy album the photos came from. So I then created a PSE Album. I selected all my photos and moved them into that album. The order of the pictures was retained in the Album. That worked out great. I wanted my PSE images to be in the same order. I thought I would do it with tags. But creating an album seems to work just fine.

  • Filename in non-english are not saved correctly

    hi
    I recently (last week) installed archlinux.
    I come from manjaro so I am to some extent familiar with archlinux.
    now I am trying to solve some issues that have poped up in arch that there were not in manjaro( mostly because manjaro was pre-configured).
    when I use jdownloader to save youtube videos the files names are displayed correctly in jdownloader but not in konsole or dolphin file manager. (they are shown as "????" characters).
    this happens for Persian and Russian characters.
    I thought this was jdownloader issue but this doesn't happen on my pc that has a manjaro installed on it.
    and another thing that makes it weird is that if i create files in dolphin with say Persian language they are shown and treated correctly. but the ones that are created by jdownloader have this issue.
    and another related symptome is that some files that I download from subtitle websites that are in zip format and have some rare European characters in them (like the French and German ones) I cant open them or extract them in dolphin file manager.
    I had a similar issue like this in manajro but in manajro I used file-roller to open the files and that app would work with this files correctly.
    but in archlinux even file-roller has this issue.
    can somebody help me with this?

    Lone_Wolf wrote:
    rezad,
    it was a long time ago i had that problem and locale handling is like a black box to me.
    It's easy to reverse if it doesn't help though, why don't you try it ?
    I have tried it.
    adding other encoding before the famous en-US,UTF-8 one gives warning for default lang and falling back.
    I see these error when running apps from command line.
    adding other encodings after that encoding doesn't show this warning but i have a suspicion that it mean that other encoding are suppressed,
    i have to try it with a file with a wired but known encoding and then adding that encoding to config and testing again.
    my problem is how do i find the filename encoding?(not find content encoding)
    this is the file in question. can somebody tell me what is the filename encoding?
    https://www.sendspace.com/file/fwmxpc
    EDIT:  my findings on this matter.
    even adding all the langs to /etc/locale.gen and then using locale-gen command doesnt fix this. cause this are different issues.
    this problem as a whole doesn't have a solution, cause linux unlike windows doesn't have a default inbuilt filename encoding and it all depends on your environment.
    linux just treat the filename in the encoding you tell it. so it cant detect anything cause there is nothing to detect.
    from its perspective filename are just binary data ready to be interpreted as wished by the user.
    widows on the other hand uses UTF-16.
    plz if anybody have another contradicting point ,then reply but plz dont say I have to use correct encoding. the only way to fix it is using convmv util and that requires finding the correct original encoding.
    thanks for all the replys.
    Last edited by rezad (2015-04-20 14:45:14)

  • Filename in Attachement payload

    Hy,
    I have to detach an email attachement on my file System.
    That's works but I'm not able to maintain the same filename.
    Can anybody help me.
    Thanks
    Mat

    Hi Mattia,
    If your file name is a part of your email atttachment ( the payload ), then you can dynamically create your file name.
    To do this,in the filename of the receiver file adapter, give the filename a <b>%var%</b>.
    Anything between % is treated as a varibale by XI. Now, under variable name substitution, you will have to give the value of var and this will act as the filename.
    You can access the payload using <b>payload:</b> and the XPATH.
    For info on how to do this, check the topic<b> VARIABLE SUBSTITUTION</b> in this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    hope this helps,
    Regards,
    Bhavesh

  • Filename in PDF portfolio?

    Sorry for what I'm sure is an easy(lame) question.
    I don't want to show the filename when creating a PDF portfolio and I've hunted for the answer without any luck.
    How do I only show the image or show a custom text/ title but not the XXXXX.jpg filename?
    thx!
    > just to clarify.... when viewing a PDF portfolio of images I don't want to show the image filename below the image.

    Hi,
    I've been trying to hide the file name myself. It seems intuitive that, while in the Modify area of the PDF Portfolio, under "Specify File Details" that one would simply unclick "Name" under "Columns to Display".
    But all that seems to do is hide it while I'm within the Modify section. I save and go back to view the pdfs and there are the file names.
    Anyone out there know the answer? Even if it's just a link to more info, that would be great. I need to get this out but without the filenames. I've searched in Google but no good info.
    BTW, the Description option is a nice touch and shows upon immediate hover. That's why I don't need to show a file name. Plus, you can write more in the description than is viable/sensible in a file name.
    Thanks for your help.

  • Filename in J2SE Adapter with Variable Substitution

    Hello,
    Within the J2EE receiver fileadapter (and ftp) from SP13 it is possible to compose the target filename and directory based on the payload of a message using variable substitution.
    I wonder if it is also possible to use variable substitution with the J2SE fileadapter. For this it is not documented but i thougth that the same java libraries are used for the J2EE an J2SE file-adapters.
    Aybody??
    Really Nobody??
    Message was edited by: Emile Hermans

    Hello,
    the J2SE Adapter does not support variable subsition. Therefore we created our own class which gets called from the main SAP XI class "XMB2FileProcessor.class" wich is in the jar "aii_msg_adapter.jar". In your own class you can do what ever you need to chane the file name. In the configuration you can set your own parameter to search the payload for a string you want to replace. We also had to come up with our own timestamp, e.g. file2005-11-10 which SAP does not let you do, only the full timestamp is possible.
    One other nice thing is that you can develop our JAVA class local and test it with your local J2SE Adapter Engine on you PC before you deploy it.
    Steps to do:
    1. JAD the SAP class
    2. Put a call in the SAP class
    3. Compile the class
    4. Put the class back in the archive
    5. Create your own class
    6. Create a jar file for it
    7. Put the jar file in the tech_adapter directory
    8. Change the run_adapter start cmd to include your jar file
    It works great, the only issue is if you patch the J2SE engine you have to do step 1 to 4 again but that should it very easy to do.
    Cheers
    Stefan

  • Filename in Photo Gallery

    Since updating my iPad2 to iOS 8, the filenames have vanished from the photo gallery. I am a designer and I used to take the filename of photos as reference for my clients. I have more than 8000 pictures in the gallery. Please HELP
    Hate Apple so much for ruining my work.

    I Can't ever recall seeing file names in the default Photos app. Perhaps you were using iphoto on your iPad which is no longer supported? Check the App Store for other photo handling apps To find one that shows the file names. I use Photo Manager Pro to show photos to my clients. It does a better job of that than the Photos app. you can set the preferences there to display the file name.

  • Filename in Webdynpro for a PDF created with Smartform

    Hi,
    I created a PDF with Smartform in my Webdynpro-Application.
    When I click the save button there is a default filename f.pdf .
    How can I change the filename?
    Regards
    Marcus Schug

    Hi Experts,
    any update on this?
    I am facing the same problem with ESS payslip (smartform/Hrform): my customer wants to have custom file name for download salery statements from the portal. Do you know how to change the default form name unknown.pdf to e.g.. "payslip_month_year"?
    I spent a lot of time to find any possibility to get and change the file name but without success till now.
    Please respond.
    Regards,
    Zdzislaw Kaczmarczyk
    Edited by: Zdzislaw Kaczmarczyk on Jun 14, 2010 4:41 PM

  • FileName in Sender File Adapter Module

    Hi Folks,
    In my sender file adapter have written a module to read the picked file name. The protocol used is NFS.
    Notice that the file name read in the module has the absolute path, including the directory path. E.g The file name xyz has to be picked from source directory
    XIServer\Outbound. In the module when I retrieve the file name, it comes up as
    XIServer\Outbound\xyz. Is this expected behaviour?
    I was expecting just the file name<xyz> to be retrieved.
    Thanks,
    Anand

    HI,
    Create an UDF and write this code.
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key =
    DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName;
    in Adapter u will have Adapter specific parameters check the file name check box.
    Using this UDF u will get the file name at target side.
    Regards,
    Phani.

  • FileName in ABAP XSLT Mapping

    Dear SDN,
    In an integration scenario we are using sender File Adapter and a  ABAP XSLT Mapping.
    Is there any way to get the source FileName from such mapping.  Im trying to use the adapter-specific message attributes, but it doesn't work, and I didn´t find an example, probably I and doing somthing wrong.
    regards,
    GP

    Thank you for your help,
    I just try to access the adapter-specific attibutes using:
    <xsl:stylesheet version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:key="java:com.sap.aii.mapping.api.DynamicConfigurationKey">
    <xsl:variable name="filename"  select="key:create('http://sap.com/xi/XI/System/File', 'Directory')" />
    </xsl:stylesheet>
    but the following error raised:
    <SAP:Stack>Error while calling mapping program YXSLT_TEST (type Abap-XSLT, kernel error ID CX_XSLT_RUNTIME_ERROR) Call of unknown function</SAP:Stack>
    have you had this situation?

  • Filename in document

    Hi all,
    Just new to Mac so I've to learn a lot.
    How can I insert the filename (semi)automaticly into the document.
    I have a template document and save this as .... I want the filename to appear in the document.
    Is this possible?? If yes HOW

    As far as I know, we are in a forum dedicated to Numbers '09
    For Numbers v1.0.2, you take care of what was posted several times:
    go to my iDisk:
    <http://idisk.me.com/koenigyvan-Public?view=web>
    and download for free
    For_iWork:iWork '08:forNumbers:paste_thename.zip
    and or
    For_iWork:iWork '08:forNumbers:paste_thepath.zip
    Yvan KOENIG (from FRANCE mercredi 21 janvier 2009 17:56:54)

Maybe you are looking for

  • IOS5.0.1 Bluetooth does not work existing equipment you need to check which type of headset/handsfree kit work

    I have just upgrade to the 4S and at the same time it has has IOS5.0.1 upgrade before using the phone. I find that teh latest version of blue tooth does not with handsfree/headsets I have. I now have to find out if it will work. Apples view is they h

  • Satellite T110-11U - Error message when starting computer

    I have a 6 month old Satellte T110-11U running a manufacturer installed OS - Windows 7. Every time I start the computer I get an error message: There as a problem starting , C:\ users\home\AppData\local\imagusud.dll , The specified module could not b

  • Two-Sided Printing in HP LaserJet 1020

    I have just installed my HP LaserJet 1020 Printer by installing the 1022 driver after I had a search in the discussions. But the function of two-sided printing is disabled, I don't know whether it's related to the 1022 "improper driver" as 1020 is no

  • How do I change a photo from iPhoto back to color?

    I recently took a picture of my friend, and when i uploaded it into iphoto, i clicked on the b&w, and sepia color effects. I determined I did not like them, and now I cannot figure out how to change my photo back to the original color. Please help.

  • Using login credentials from the first page

    Hi guys hopw one of you will help me!! I a jsp page which takes the username and password.(this is login.jsp) If the login is successful the page enters into another jsp which has a list of what the user wants to do. Everything is working fine at tht