Do we have any Markup Syntax to generate Chart

Hi,
i am new to this websheet application development.
Was successful to create a websheet application with few datagrids.
Now i want to include a chart in a section of type text, where i have a table with 2 columns.
in column 1 i need show some text and in column 2 i need to show chart.
but could not understand how can i include a chart inside a section of type text.
As we have a way to display sql query as a part of Text Section with help of [[sql : ]] syntax, in similar fashion do we have anything for
displaying a chart?
if it is possible any guidance will be most appreciated.
thanks
srinivas p

If you are looking for accessing objects that are eligible for GC but are not GC,than it should be very difficult.As Java does not give you memory access to its variables.

Similar Messages

  • Generating charts in batch

    Hi!
    I have the requirement to generate charts/graphs as image files in batch (hundreds of them in one batch). This chart images should be stored in table's blob column or in files on server's file system and later used for viewing on "static" web pages. This batch will be triggerd by cliking on button by a user or without user interaction from scheduler.
    How can ADF charts can be used for this purpose?
    So, is there any Java API for generating charts without GUI (like ChartDirector for JSP/Java http://www.advsofteng.com/cdjava.html)?
    Regards,
    Sašo Celarc
    Edited by: Sašo Celarc on Jun 22, 2011 2:37 AM

    I found the oracle.dss.graph.Graph (http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e12063/oracle/dss/graph/Graph.html). As understood this package exists behind ADF Charts? Am I right?
    Are there any useful examples how to use methods from this package?
    Sašo

  • Cannot generate chart in PDF using BI Publisher

    I have a java program to generate chart in PDF using BI publisher. In some platforms the chart cannot be generated. Get the following exception.
    [061812_075947838][][ERROR] java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.apps.xdo.template.rtf.img.RTFChartUtil.invokeMethod(Unknown Source)
    at oracle.apps.xdo.template.rtf.img.RTFChartUtil.generateChartAsBase64(Unknown Source)
    at oracle.apps.xdo.template.rtf.XSLTFunctions.chart_svg(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.xdo.parser.v2.XSLExtFunctions.callStaticMethod(XSLExtFunctions.java:111)
    at oracle.xdo.parser.v2.XPathExtFunction.evaluateMethod(XPathExtFunction.java:307)
    at oracle.xdo.parser.v2.XPathExtFunction.evaluate(XPathExtFunction.java:226)
    at oracle.xdo.parser.v2.XSLValueOf.processAction(XSLValueOf.java:101)
    at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xdo.parser.v2.XSLTemplate.processAction(XSLTemplate.java:191)
    at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:512)
    at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
    at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
    at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
    at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(Unknown Source)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
    at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
    at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
    at com.edocs.common.reporting.batch.BatchEventHandler.generatePDFFile(BatchEventHandler.java:327)
    at com.edocs.common.reporting.batch.BatchEventHandler.processBatchRequest(BatchEventHandler.java:252)
    at com.edocs.common.reporting.batch.BatchEventHandler.service(BatchEventHandler.java:136)
    at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.executeInternal(BatchReportProcessorTask.java:126)
    at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.doProcessTask(BatchReportProcessorTask.java:46)
    at com.edocs.pwc.tasks.CommonTask.processTask(CommonTask.java:166)
    at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.processTask(Unknown Source)
    at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NoSuchMethodError: oracle.dss.util.CustomStyle.<init>(Ljava/io/InputStream;)V
    at oracle.dss.graph.CommonGraph.setStyleStream(CommonGraph.java:10774)
    at oracle.dss.graph.CommonGraph.setStylePath(CommonGraph.java:10743)
    at oracle.dss.graph.CommonGraph.setStylePathXML(CommonGraph.java:12138)
    at oracle.dss.graph.CommonGraph.setXML(CommonGraph.java:13348)
    at oracle.dss.graph.CommonGraph._setXML(CommonGraph.java:15821)
    at oracle.dss.graph.CommonGraph.setXML(CommonGraph.java:14751)
    at oracle.dss.graph.Graph.setXML(Graph.java:5243)
    ... 60 more
    In office word bi publisher plugin, load the xml, the chart can be generated.
    The above exception only occurs in some linux and solaris platforms, but never occurs in windows.
    The following plateform throws exception.
    Oracle Linux Server release 5.6 + java version "1.6.0_25"
    The following plateform doesn't throw exception.
    Enterprise Linux Enterprise Linux Server release 5.4 (Carthage) + java version "1.6.0_05"
    The strange thing is in those platforms which can throw exception, if the code is not running in EJB, the chart still can be generated.
    In other words, if the normal web or standalone app invokes that program; the chart can be generated.
    The java code is as below.
         public static void generate(String inputXML, String pdfTempPath, String outputPDF) {
              Reader reader = null;
              try {
                   File xmlFile = new File(inputXML);
         reader = new BufferedReader(new InputStreamReader(new FileInputStream(xmlFile), "UTF-8"));               
              ByteArrayOutputStream tmpXSL = new ByteArrayOutputStream();           
              RTFProcessor rtfProcessor = new RTFProcessor(pdfTempPath);
                   rtfProcessor.setOutput(tmpXSL);
                   rtfProcessor.process();           
              ByteArrayInputStream in = new ByteArrayInputStream(tmpXSL.toByteArray());
              FOProcessor processor = new FOProcessor();
              processor.setData(reader);
              processor.setTemplate(in);
              processor.setOutput(outputPDF);
              processor.setOutputFormat(FOProcessor.FORMAT_PDF);           
              processor.generate();
              catch(Exception e) {
                   e.printStackTrace();
              finally {
                   try {
                        if(reader!=null) {
                             reader.close();
                   } catch (Exception e) {
    Can anyone explain why this exception is thrown?
    Thanks a lot.

    Hello Tux Dueñas,
    I think you need to have ACL's setup in Oracle 11g in order to be able to connect to the BI Publisher server. Check the following link on how to setup ACL's in 11g...
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/afterup.htm#BABFCBJI
    Thanks,
    Machaan
    Edited by: Machaan on Jan 25, 2011 11:49 AM

  • Does anybody have any experience on generating SSH key in Labview?

    I'm developing a tool in Labview and this tool needs to generate SSH key then copy them out. I don't see a function in Labview that can generate SSH key pairs. I've tried external programs puttygen.exe and ssh-keygen. None of them are ideal solutions. Because puttygen needs mouse and button press interactions (user interface) and ssh-keygen needs cygwin installation. 
    Does anyone have any better ideas?  
    Thanks very much!

    I have another question:
    I used ssh-keygen with System Exec.vi. The code works fine on my XP machine. But it doesn't work on windows 7 enterprise machine. It seems that windows 7 has different security settings. But I tried to use different location for the working directory for System Exec.vi and it still wouldn't work.
    I've attached a snapshot of my code here. I even tried to just have ssh-keygen in the command line and it didn't work either.
    Does anyone have any ideas?
    Thanks very much!
    Attachments:
    ssh-keygen.png ‏24 KB

  • I have lost Boinx in Video Generator, Fotomagico is installed but can't access the plug-in, any ideas?  Have reinstalled FCE to no avail.

    I have lost Boinx in Video Generator plug in Effects, Fotomagico is installed but can't access the plug-in, any ideas?  Have reinstalled FCE to no avail. I don't understand as was working fine then just gone. Any help would be much appreciated.
    Liz

    I think the suggestion by JimHdk is fair simple. Most Internet services providing email offer a way to access email via a browser like Safari instead of using the Mail app. You start Safari, got to the webmail webpage, enter a user name and password and are provided with a list of waiting emails. You can read emails, reply to emails, delete emails and create new emails on those sites. This is a very common way for people who travel a lot and who encounter your problem, to access their emails.
    If you don't know the website for your webmail contact your provider.

  • TS1363 I'vw tried everything here multiple times, anyone have any luck with another non-apple generated solution?

    Any time I try to connect to itunes, windows recognizes the ipod, but it never comes up in itunes. When the bubble for "trust" or "dont trust" comes up, I tap trust. Then I hear the window sound for disconnecting something from a usb port. I tried all the apple solutions, nothing helped at all. Anyone have any ideas? I tried full restoring the ipod too, and now I've got an empty ipod that I cant connect to itunes....fantastic...

    After having communicated with Bose extensively over the last two months I'm pretty sure there is no solution to this.  Bose are not the only phones that exhibit this, but there are only a handful that do and they all support multi-link technology in BT 4.0.  One theory is that in searching for other devices to link is what causes the skipping, but in none of these is there an option to turn off multi-link (which might be the solution).
    The good news is that CES has introduced a TON of new BT headphones, and we'll see these come to market this spring.  One or more of them may well work for folks (for audiophiles the best looking one so far is Sennhesier's Momentum series, already a respected model among wired sets, the BT version is getting excellent early reviews.  But pricey).  Unless you need something immediately my advice would be to wait a few months and see what comes out.
    You are correct that Powerbeats have sync issues -- sync issues are common with bluetooth but some makers do better than others.  My portable BT receivers, for example, have excellent sync across all apps.  But as I noted above, this isn't a good solution for those on the go (pairing a portable BT receiver with otherwise wired phones -- although if folks are interested my new favorite is the Fidelio X2/27 model with these.  Truly audiophile level sound, at a reasonable price.  But not something I'd take out of the house :>).

  • Is there any direct syntax for summing two values

    Friends,
                       I just have a problem of summing up two or more similar product_id 's  quantities.
    for ex:  assume an Internal Table IT_PRODUCT. consider it has two fields one is PRODUCT_ID ( Primary key in Database ) and the other field is QUANTITY.
    IT_PRODUCT.
    PRODUCT_ID           QUANTITY
    I1001SA101                    10
    I1001SA101                    20
    my desired output is to sum up the similar product_id' s of the internal table and to have only one summed record in the internal Table.
    IT_PRODUCT
    PRODUCT_ID           QUANTITY
    I1001SA101                    30
    Is there any direct syntax to do the same or suggest me some more methods.
    Pradeep.

    Use COLLECT statement..
    Check this code...
    DATA : BEGIN OF itab OCCURS 0,
    matnr LIKE ekpo-matnr,
    menge LIKE ekpo-menge,
    END OF itab.
    DATA : itab2 LIKE itab OCCURS 50 WITH HEADER LINE.
    SELECT matnr menge INTO CORRESPONDING FIELDS OF
    TABLE itab FROM ekpo UP TO 20 ROWS.
    LOOP AT itab.
      COLLECT itab INTO itab2.
    ENDLOOP.
    Message was edited by:
            Perez C

  • Zcso_Doc_Proce_services====CCDFE does not have any Inactive   versions

    If copy the class form standard Class To Zclass  it comes the Error….
    when Check and Acivity this error come's
    Zcso_Doc_Proce_services====CCDFE does not have any Inactive   versions

    Dear shaik arief,
    1)Copy all related objects of the class to Zclass.
    2) Activate all although gives error.
    3)go to se80 -->Right click on class -> Check the syntax
    Probably this will solves the problem
    Regards
    Bhupal Reddy

  • Do we have any such Report in SAP HR..???

    Dear Team,
    I have one sceniro it goes like....
    Suppose i have project/system where many emp works on various assignments and projects and among them I want to capture/record following details from each Business Units...
    So, do we have any standard repots/technique in SAP HR by using which i can capture above said details.
    Inputs parameters will be:
    1.Emp#
    2.Cost of the project
    3.Revenue  Generated.
    4.and Billing.[After posting or draft/final bill]
    Many thanks,
    Shabbir Maniyar.

    Yes, below mentioned 3 fields/parameters comes in HR part.
    1.Emp#
    2.Cost of the project
    3.Revenue Generated.
    But where as Billing comes into FICO, But still i want to take data from FI to HR and generate the report with Billing cost as well.
    Bottom line is all these are mixture of FI and HR related.

  • Do we have any method to list out the servers that are critical and the component/monitor causing the server to turn into critical state in SCOM 2012

    Hello Team,
    We are monitoring 1000 servers in our environment and out of 1000 servers, we have approximately 100 servers showing as critical state on the server state view.
    We can get the critical servers list from SCOM console, but we are not able to get the information about the component responsible for the server to be critical. Using Health explorer to find the root cause for 100 servers is really impossible and time consuming.
    Do we have any method to list out the servers that are critical and the component/monitor causing the server to turn into critical state?
    Advance thanks for your help.
    Regards,
    Dinesh
    Thanks &amp; Regards, Dinesh

    Hi,
    As far as I know alerts with severity as criticla may cause windows computer in a critical state, we can try below code to find all critical alerts:
    get-alert -criteria 'ResolutionState=0 AND Severity=2' | select Name,ResolutionState,TimeRaised | export-csv c:\Alerts.txt
    Criteria Syntax http://msdn.microsoft.com/en-us/library/bb437603.aspx
    Values to use.
    Resolution State 
    Severity Values for Alerts
    0       =   New
    0 = INFORMATIONAL
    255   =   Closed
    1 = WARNING
    2 = CRITICAL
    Hope this helps.
    Regards,
    Yan Li
    Regards, Yan Li

  • Is there any way I could generate CAB (M$ stuff) files at run time?

    Hi,
    I was wondering if there is any way I could be using to generate a CAB file at runtime. Sure, it has to be a Java Class or Library.
    The goal is to set some files in the configuration settings and then sending this CAB to a Windows Mobile powered device.
    I have been googling for such a thing, but had no joy.
    Does anyone have any idea?
    Cheers

    Create a zip and rename it to .cab. - that's what half of the cab files around are.
    (not a serious suggestion, but there are at least four different CAB file formats, zip included, some used in Microsoft official products, others in common products that run on Windows like Install Shield, and you need to find out what whatever is going to read it expects to be in the-file-that-happens-to-end-in-CAB before you can look for code to write it)
    (which reminds me of a web content filter at one company I used to work out which blocked all URLs which ended in CAB, so every now and again you'd get blocked from sites which used hex session keys in their URLs)

  • With green chroma concept, I removed the green background, now the green background is seen black. I don't want to have any other background clip, but I would like to change the background black to white. Please help me.

    With green chroma concept, I removed the green background.  Now the green background is seen black. I don't want to have any other background clip, but I would like to change the background black to white. Same like the advertisement clip in the Apple Website.  Please help me.

    If you want the whole of the project background to be white, you can change the colour in FCP X preferences.
    If you just want white for a section or clip, use a custom Generator from the Generators Library and change it to white in the Inspector.
    Andy

  • Query i need  Chart of account name It does not have any transactions.

    hi.
    i need a small query..
    As per my Requirement..
    Normally we are creating chart of account..
    Each account May or may not have transactions
    like Journal Entries we can pass debit and credit..
    I want to put in query generator if i run the query..
    It will shows the Chart of accounts names
    it does not have any transactions..
    Plz update me..
    If u doesn't  not  understood plz inform me..

    Hi,
    Pls Check this query.
    It will give the accounts which do not have entry in Journal Entry
    SELECT ACCTCODE, ACCTNAME FROM OACT WHERE ACCTCODE NOT IN (
    SELECT DISTINCT ACCOUNT FROM JDT1
    Regards,
    Amrut Sabnis.

  • Time management issue -Employees dont have any periodic interval of working

    Hi Experts,
    We are implementing negative time management for one of the client where there are dynamic work schedules exist.
    The employees dont have any periodic interval of working. The off days for employees are also not fixed.(even holiday calender is not fixed)
    Currently they have legacy system where time administers (around 35 time admins ) put in DWS and off days for the employees for that month,
    and based on that the time administrition happens with the help of time machine. after payroll run happens in legacy system.
    what is the SAP solution - for such type of work styles? where dynamic work shcedules are there.
    People dont have fixed shifts to work on.
    points will be rewarded fully, people who are not sure about their solution - please sorry
    Thanks
    Jay

    Hi,
    We had implemented such a scenario for our customer.
    For this you have to implement 'OPEN WORK SCHEDULE RULES' which means employee can work at any time throughout the week and can take 'OFF' at any day of the week.
    Employee can work from any time in the day to any time he/she wants.
    follow the steps below to create the OPen WSR:-
    1.Create one DWS with 24 hours as planned working hours.
    2. Create the PWS with all 7 days working using the 24 hours DWS.
    3. Create the WSR rule using the above PWS.
    4. Generate the WSR.
    5. Assign to your employees and check it will work.
    Thanks & Regards, SWapnil Mishra

  • [Solved] ALSA "This sound device does not have any controls" XDJ-R1

    Hey guys,
    I have a XDJ-R1 which includes a 24bit 44.1khz USB soundcard that can be used to record audio from the mixer.
    When I plug it in it's detected fine. However using alsamixer (or amixer) I don't see any audio controls for volume.
    If I start pulseaudio it will detect the device just fine. However, at 100% volume the audio seems rather low. I'm seeing about -24db while my mixer shows the output at around +2db. I suspect the ALSA volume is rather low. But have no way of changing it as I can't seem to see any controls!
    Here are some command outputs:
    alpaly -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: XDJR1 [PIONEER XDJ-R1], device 0: USB Audio [USB Audio]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    aplay -L
    null
    Discard all samples (playback) or generate zero samples (capture)
    default:CARD=Intel
    HDA Intel, ALC269 Analog
    Default Audio Device
    sysdefault:CARD=Intel
    HDA Intel, ALC269 Analog
    Default Audio Device
    front:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    Front speakers
    surround40:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    default:CARD=XDJR1
    PIONEER XDJ-R1, USB Audio
    Default Audio Device
    sysdefault:CARD=XDJR1
    PIONEER XDJ-R1, USB Audio
    Default Audio Device
    front:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    Front speakers
    surround40:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    iec958:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
    amixer -c 1
    (output is empty)
    cat /proc/asound/devices
    2: [ 0- 0]: digital audio playback
    3: [ 0- 0]: digital audio capture
    4: [ 0- 0]: hardware dependent
    5: [ 0] : control
    6: [ 1- 0]: raw midi
    7: [ 1- 0]: digital audio playback
    8: [ 1- 0]: digital audio capture
    9: [ 1] : control
    33: : timer
    (with pulseaudio on) pacmd list-sources
    3 source(s) available.
    index: 2
    name: <alsa_input.usb-Pioneer_PIONEER_XDJ-R1_PIONEER_XDJ-R1-00-XDJR1.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY
    state: SUSPENDED
    suspend cause: IDLE
    priority: 9049
    volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
    balance 0.00
    base volume: 65536 / 100% / 0.00 dB
    volume steps: 65537
    muted: no
    current latency: 0.00 ms
    max rewind: 0 KiB
    sample spec: s24le 2ch 44100Hz
    channel map: front-left,front-right
    Stereo
    used by: 0
    linked by: 1
    fixed latency: 99.95 ms
    card: 1 <alsa_card.usb-Pioneer_PIONEER_XDJ-R1_PIONEER_XDJ-R1-00-XDJR1>
    module: 5
    properties:
    alsa.resolution_bits = "24"
    device.api = "alsa"
    device.class = "sound"
    alsa.class = "generic"
    alsa.subclass = "generic-mix"
    alsa.name = "USB Audio"
    alsa.id = "USB Audio"
    alsa.subdevice = "0"
    alsa.subdevice_name = "subdevice #0"
    alsa.device = "0"
    alsa.card = "1"
    alsa.card_name = "PIONEER XDJ-R1"
    alsa.long_card_name = "Pioneer PIONEER XDJ-R1 at usb-0000:00:1d.1-2, full speed"
    alsa.driver_name = "snd_usb_audio"
    device.bus_path = "pci-0000:00:1d.1-usb-0:2:1.0"
    sysfs.path = "/devices/pci0000:00/0000:00:1d.1/usb2/2-2/2-2:1.0/sound/card1"
    udev.id = "usb-Pioneer_PIONEER_XDJ-R1_PIONEER_XDJ-R1-00-XDJR1"
    device.bus = "usb"
    device.vendor.id = "08e4"
    device.vendor.name = "Pioneer Corp."
    device.product.id = "0170"
    device.product.name = "PIONEER XDJ-R1"
    device.serial = "Pioneer_PIONEER_XDJ-R1_PIONEER_XDJ-R1"
    device.string = "front:1"
    device.buffering.buffer_size = "26448"
    device.buffering.fragment_size = "6612"
    device.access_mode = "mmap"
    device.profile.name = "analog-stereo"
    device.profile.description = "Analog Stereo"
    device.description = "PIONEER XDJ-R1 Analog Stereo"
    alsa.mixer_name = "USB Mixer"
    alsa.components = "USB08e4:0170"
    module-udev-detect.discovered = "1"
    device.icon_name = "audio-card-usb"
    ports:
    analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown)
    properties:
    active port: <analog-input>
    What might I be missing? Why can PA figure the device out but ALSA can't?
    Last edited by EvanPurkhiser (2014-04-16 09:27:13)

    I'm interested in recording from the mixer over USB.
    The device also supports playback into the mixer, but I assume this is designed for use in conjunction with using the device as a MIDI-Controller, which I don't have any intentions of doing.
    What I've been doing to check the levels of the device is to play a track through the device (making sure that the VU meter for the channel is peaking at around 0db), record using `ffmpeg -f pulse -i 1 recording.wav` and then running `ffmpeg -i recording.wav -af "volumedetect" -f null /dev/null`
    Which looks something like this:
    [Parsed_volumedetect_0 @ 0x1f0eb80] n_samples: 10265206
    [Parsed_volumedetect_0 @ 0x1f0eb80] mean_volume: -26.1 dB
    [Parsed_volumedetect_0 @ 0x1f0eb80] max_volume: -12.0 dB
    [Parsed_volumedetect_0 @ 0x1f0eb80] histogram_12db: 21
    [Parsed_volumedetect_0 @ 0x1f0eb80] histogram_13db: 238
    [Parsed_volumedetect_0 @ 0x1f0eb80] histogram_14db: 1619
    [Parsed_volumedetect_0 @ 0x1f0eb80] histogram_15db: 7703
    [Parsed_volumedetect_0 @ 0x1f0eb80] histogram_16db: 29370
    I actually _can_ record directly from alsa, but I have to tell it the format, rate, and channels of the device.
    [netbook/scratch/]> arecord -D hw:1 test.wav
    Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
    arecord: set_params:1233: Sample format non available
    Available formats:
    - S24_3LE
    [netbook/scratch/]> arecord -D hw:1 -f S24_3LE test.wav
    Recording WAVE 'test.wav' : Signed 24 bit Little Endian in 3bytes, Rate 8000 Hz, Mono
    arecord: set_params:1239: Channels count non available
    [netbook/scratch/]> arecord -D hw:1 -f S24_3LE -c 2 test.wav
    Recording WAVE 'test.wav' : Signed 24 bit Little Endian in 3bytes, Rate 8000 Hz, Stereo
    Warning: rate is not accurate (requested = 8000Hz, got = 44100Hz)
    please, try the plug plugin
    [netbook/scratch/]> arecord -D hw:1 -f S24_3LE -c 2 -r 44100 test.wav
    Recording WAVE 'test.wav' : Signed 24 bit Little Endian in 3bytes, Rate 44100 Hz, Stereo
    The volume is still just as low as recording with PA though

Maybe you are looking for

  • How to send a list item value to URL to open data related to item value

    Hi, Iam using Apex4.0 and iam facing some problem. Iam unable to send selected list item value to the url specified in the HTMl region. Here i want to open the data related to list item value in other page. List item - :Familyp i want to pass this se

  • Bad optical drive? Can't boot from install, loss of memory....help!

    I seem to have a series of issues which I noticed today with a drop in hard drive memory. I typically hover around 105 GB and for unexplainable reasons dropped to 76 GB.(I'm getting this number from the bottom of a Finder window) I started to do some

  • Can't get a jar file to work

    Hi All, I have a moronic question. I have a simple jar file called xmlpowertoolkit.jar and I can't get any of the classes in it imported into my simple console app. I unpacked the jar file to look at the namespace hierarchy since I have no documentat

  • : how to convert string into uppercase string in java

    iam having string in lower case i need to convert it to uppercase using java.please help me

  • I wish the iPad had a simple desktop/document launcher

    I have played continuously with my iPad for about 3 weeks. The one thing I find to be a struggle is the moving around of documents between programs, etc. It would be cool to have a document launcher, like a Dragthing for the iPad, or be able to put a