How to wire VI for 2 encoders using NI9401

I have the attached vi that measures period.  My understanding is that the NI 9401 can measure period for up to 4 encoders at once.  Do I need one DAQ sequence per encoder, (e.g. the attached vi should measure period for 2 encoders simultaneously)?  I want to run up to 16 encoders, so, do I need to copy/paste this code 16 times in order to collect period data for 16 encoders simultaneously?
I am using cDAQ9174 and NI 9401.  My understanding is that the 9401 can measure up to 4 encoder signals.  If I put a second NI 9401 into the cDAQ9174, can I measure 8, or does the cDAQ9174 limit the number of counters that can be accessed independently?  If I have to use two cDAQ9174's, plugged into one PC, does Labview recognize the eight slots as unique, e.g. 1-8, instead of two sets of 1-4 for the addressing of the channels? 
Any generic advice on measuring many encoders (period) simultaneously is welcome.
Thanks,
Dave
Solved!
Go to Solution.
Attachments:
counter forum feb 13 2013.vi ‏31 KB

-          Even if you put two NI 9401 into the cDAQ-9174, remember that the counters are in the chassis and this device just has four counters.
-          You can run counter tasks in parallel.
-          If you plug two cDAQ-9174, MAX recognizes two different devices.
Regards

Similar Messages

  • How  to write code for font family using swing?

    how to write code for font family using swing?
    i tried this code.but i got only font styles.but i need font family.observ this code
    import java.awt.*;
    import java.awt.event.*;
    public class fontSelect extends java.awt.Dialog implements AdjustmentListener, ItemListener, TextListener, ActionListener {
    public Font selectedFont; //to get result
    public boolean isSelected = false;
    public Color selectedBackground, selectedForeground;
         public fontSelect(Frame parent, boolean modal) {
              super(parent, modal);
         String fntName[] = getToolkit().getFontList();
    GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
    String[] names = ge.getAvailableFontFamilyNames();
              //{{INIT_CONTROLS
              setLayout(null);
              setVisible(false);
    //setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              setSize(insets().left + insets().right + 380,insets().top + insets().bottom + 282);
              setBackground(java.awt.Color.lightGray);
    fontList = new java.awt.Choice();
              //fontList = new java.awt.List(0,false);
              add(fontList);
              fontList.setBounds(insets().left +25,insets().top + 50,137,144);
              //label1 = new java.awt.Label("Example:-");
              //label1.setBounds(insets().left + 220,insets().top + 36,84,30);
              //add(label1);
              exampleText = new java.awt.TextField();
              //exampleText.setText("sample string ");
              //exampleText.setBounds(insets().left + 40,insets().top + 50,84,21);
              //add(exampleText);
              label2 = new java.awt.Label("Font Family:-");
              label2.setBounds(insets().left + 25,insets().top + 30,70,19);
              add(label2);
              isBold = new java.awt.Checkbox("Bold");
              isBold.setBounds(insets().left + 320,insets().top + 90,60,18);
              isBold.setFont(new Font("Times New Roman", Font.BOLD, 12));
              add(isBold);
              isItalic = new java.awt.Checkbox("Italic");
              isItalic.setBounds(insets().left + 250,insets().top + 90,48,17);
              isItalic.setFont(new Font("Times New Roman", Font.ITALIC, 12));
              add(isItalic);
              showFont = new java.awt.Label("samplestring ",Label.CENTER);
              showFont.setBounds(insets().left + 240,insets().top +50,120,30);
              showFont.setBackground(java.awt.Color.white);
              add(showFont);
    label11 = new java.awt.Label("Size:-");
              label11.setBounds(insets().left + 290,insets().top + 120,70,19);
              add(label11);
              fontSize = new java.awt.Choice();
    add(fontSize);
              //label11 = new java.awt.Label("Example string");
              fontSize.setBounds(insets().left + 290,insets().top + 140,60,23);
              fontSize.setBackground(java.awt.Color.white);
              btnSelect = new java.awt.Button();
              btnSelect.setLabel("Select");
              btnSelect.setBounds(insets().left + 280,insets().top + 190,87,24);
              add(btnSelect);
              btnCancel = new java.awt.Button();
              btnCancel.setLabel("Cancel");
              btnCancel.setBounds(insets().left + 280,insets().top + 230,91,24);
              add(btnCancel);
              label3 = new java.awt.Label("Background:-");
              label3.setBounds(insets().left + 24,insets().top + 90,94,18);
              add(label3);
              rBackground = new java.awt.Scrollbar(Scrollbar.HORIZONTAL,255,0,0,255);
              rBackground.setBounds(insets().left + 24,insets().top +110 ,197,21);
              add(rBackground);
              gBackground = new java.awt.Scrollbar(Scrollbar.HORIZONTAL,255,0,0,255);
              gBackground.setBounds(insets().left + 24,insets().top + 135,197,21);
              add(gBackground);
              bBackground = new java.awt.Scrollbar(Scrollbar.HORIZONTAL,255,0,0,255);
              bBackground.setBounds(insets().left + 24,insets().top + 160,197,21);
              add(bBackground);
              label4 = new java.awt.Label("R");
              label4.setBounds(insets().left + 12,insets().top + 110,12,18);
              label4.setFont(new Font("Times New Roman", Font.BOLD, 12));
              label4.setForeground(java.awt.Color.red);
              add(label4);
              label5 = new java.awt.Label("G");
              label5.setBounds(insets().left + 12,insets().top + 135,12,18);
              label5.setFont(new Font("Times New Roman", Font.BOLD, 12));
              label5.setForeground(new Color(-16744448));
              add(label5);
              label6 = new java.awt.Label("B");
              label6.setBounds(insets().left + 12,insets().top + 160,12,18);
              label6.setFont(new Font("Times New Roman", Font.BOLD, 12));
              label6.setForeground(java.awt.Color.blue);
              add(label6);
              rBackValue = new java.awt.Label("255");
              rBackValue.setBounds(insets().left + 225,insets().top + 110,24,12);
              rBackValue.setFont(new Font("Times New Roman", Font.BOLD, 12));
              rBackValue.setForeground(java.awt.Color.red);
              add(rBackValue);
              gBackValue = new java.awt.Label("255");
              gBackValue.setBounds(insets().left + 225,insets().top + 135,24,12);
              gBackValue.setFont(new Font("Times New Roman", Font.BOLD, 12));
              gBackValue.setForeground(new Color(-16744384));
              add(gBackValue);
              bBackValue = new java.awt.Label("255");
              bBackValue.setBounds(insets().left + 225,insets().top + 160,24,12);
              bBackValue.setFont(new Font("Times New Roman", Font.BOLD, 12));
              bBackValue.setForeground(java.awt.Color.blue);
              add(bBackValue);
              label7 = new java.awt.Label("Foreground:-");
              label7.setBounds(insets().left + 20,insets().top + 185,94,18);
              add(label7);
              rForeground = new java.awt.Scrollbar(Scrollbar.HORIZONTAL,0,0,0,255);
              rForeground.setBounds(insets().left + 20,insets().top + 205,197,21);
              add(rForeground);
              gForeground = new java.awt.Scrollbar(Scrollbar.HORIZONTAL,0,0,0,255);
              gForeground.setBounds(insets().left + 20,insets().top + 230,197,21);
              add(gForeground);
              bForeground = new java.awt.Scrollbar(Scrollbar.HORIZONTAL,0,0,0,255);
              bForeground.setBounds(insets().left + 20,insets().top + 255,197,21);
              add(bForeground);
              label8 = new java.awt.Label("R");
              label8.setBounds(insets().left + 10,insets().top + 205,12,18);
              label8.setFont(new Font("Times New Roman", Font.BOLD, 12));
              label8.setForeground(java.awt.Color.red);
              add(label8);
              label9 = new java.awt.Label("G");
              label9.setBounds(insets().left + 10,insets().top + 230,12,18);
              label9.setFont(new Font("Times New Roman", Font.BOLD, 12));
              label9.setForeground(new Color(-16744448));
              add(label9);
              label10 = new java.awt.Label("B");
              label10.setBounds(insets().left + 10,insets().top + 255,12,18);
              label10.setFont(new Font("Times New Roman", Font.BOLD, 12));
              label10.setForeground(java.awt.Color.blue);
              add(label10);
              rForeValue = new java.awt.Label("255");
              rForeValue.setBounds(insets().left + 220,insets().top + 205,24,12);
              rForeValue.setFont(new Font("Times New Roman", Font.BOLD, 12));
              rForeValue.setForeground(java.awt.Color.red);
              add(rForeValue);
              gForeValue = new java.awt.Label("255");
              gForeValue.setBounds(insets().left + 220,insets().top + 230,24,12);
              gForeValue.setFont(new Font("Times New Roman", Font.BOLD, 12));
              gForeValue.setForeground(new Color(-16744384));
              add(gForeValue);
              bForeValue = new java.awt.Label("255");
              bForeValue.setBounds(insets().left + 220,insets().top + 255,24,12);
              bForeValue.setFont(new Font("Times New Roman", Font.BOLD, 12));
              bForeValue.setForeground(java.awt.Color.blue);
              add(bForeValue);
              setTitle("Choosing font");
              //{{REGISTER_LISTENERS
              exampleText.addTextListener(this);
              btnSelect.addActionListener(this);
              btnCancel.addActionListener(this);
              isBold.addItemListener(this);
              fontList.addItemListener(this);
              isItalic.addItemListener(this);
              fontSize.addItemListener(this);
              rBackground.addAdjustmentListener(this);
              gBackground.addAdjustmentListener(this);
              bBackground.addAdjustmentListener(this);
              rForeground.addAdjustmentListener(this);
              gForeground.addAdjustmentListener(this);
              bForeground.addAdjustmentListener(this);
    for (int i = 0; i < (int)fntName.length; i++)
    fontList.addItem(fntName);
              showFont.setFont(new Font(fntName[0], Font.PLAIN, 12));
    // GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
    //String[] names = ge.getAvailableFontFamilyNames();
    for ( int i=0; i<names.length; i++ )
    System.out.println( names[i] );
              selectedBackground = showFont.getBackground();
              selectedForeground = showFont.getForeground();
              int i = 8;
              do {
                   fontSize.addItem(""+i);
                   if (i<=30) i+=2;
                   else if (i<=70) i+=4;
                   else i+=8;
              } while (i<150);
              try {
                   fontSize.select(2);
              } catch (IllegalArgumentException e) { }
         //{{DECLARE_CONTROLS
         //java.awt.List fontList;
    java.awt.Label label11;
         java.awt.Label label1;
         java.awt.TextField exampleText;
         java.awt.Label label2;
         java.awt.Checkbox isBold;
         java.awt.Checkbox isItalic;
         java.awt.Label showFont;
         java.awt.Choice fontSize;
    java.awt.Choice fontList;
         java.awt.Button btnSelect;
         java.awt.Button btnCancel;
         java.awt.Label label3;
         java.awt.Scrollbar rBackground;
         java.awt.Scrollbar gBackground;
         java.awt.Scrollbar bBackground;
         java.awt.Label label4;
         java.awt.Label label5;
         java.awt.Label label6;
         java.awt.Label rBackValue;
         java.awt.Label gBackValue;
         java.awt.Label bBackValue;
         java.awt.Label label7;
         java.awt.Scrollbar rForeground;
         java.awt.Scrollbar gForeground;
         java.awt.Scrollbar bForeground;
         java.awt.Label label8;
         java.awt.Label label9;
         java.awt.Label label10;
         java.awt.Label rForeValue;
         java.awt.Label gForeValue;
         java.awt.Label bForeValue;
    private Font constructFont() {
    int l;
    try {
    l = Integer.parseInt(fontSize.getSelectedItem());
    } catch (NumberFormatException e) {l = 12;}
    selectedFont = new Font(fontList.getItem(fontList.getSelectedIndex()>=0?fontList.getSelectedIndex():0 ), (isBold.getState()?Font.BOLD:0)+(isItalic.getState()?Font.ITALIC:0), l);
    selectedBackground = new Color(rBackground.getValue(), gBackground.getValue(), bBackground.getValue());
    selectedForeground = new Color(rForeground.getValue(), gForeground.getValue(), bForeground.getValue());
    return (selectedFont);
         public void textValueChanged(java.awt.event.TextEvent event) {
              Object object = event.getSource();
              if (object == exampleText) showFont.setText(exampleText.getText());
         public void actionPerformed(java.awt.event.ActionEvent event) {
              Object object = event.getSource();
              if (object == btnSelect) {
    isSelected = true;
    selectedFont = constructFont();
         dispose();
    } else if (object == btnCancel) {
         selectedFont = null;
    selectedBackground = null;
    selectedForeground = null;
    dispose();
         public void itemStateChanged(java.awt.event.ItemEvent event) {
              Object object = event.getSource();
              if (object == isBold) showFont.setFont(constructFont());
              else if (object == fontList) showFont.setFont(constructFont());
              else if (object == isItalic) showFont.setFont(constructFont());
              else if (object == fontSize) showFont.setFont(constructFont());
         public void adjustmentValueChanged(java.awt.event.AdjustmentEvent event)
              Object object = event.getSource();
    constructFont();
    showFont.setBackground(new Color(rBackground.getValue(), gBackground.getValue(), bBackground.getValue()));
    showFont.setForeground(new Color(rForeground.getValue(), gForeground.getValue(), bForeground.getValue()));
    if (object == rBackground) rBackValue.setText(""+rBackground.getValue());
              else if (object == gBackground) gBackValue.setText(""+gBackground.getValue());
              else if (object == bBackground) bBackValue.setText(""+bBackground.getValue());
              else if (object == rForeground) rForeValue.setText(""+rForeground.getValue());
              else if (object == gForeground) gForeValue.setText(""+gForeground.getValue());
              else if (object == bForeground) bForeValue.setText(""+bForeground.getValue());

    Okay, that's better. It would have been nice if the code was formatted, and if there was about 20% of that code. (Your example could have been just one JLabel and nothing else, for example.)
    Anyway, now that you've posted that code, what is your question about it? I see you are calling a "getAvailableFontFamilyNames" method; do you have a question about that? If so, what is the question?

  • How to set value for Dropdown control using Querystring filter wepart

    Hi,
    I have a dropdown in my customized list form and need to set the value for the dropdown control using query string filter web part.
    I am able to set value for textbox control using Query String Filer web part.
    But, since the dropdown values are not populated on form load, the value is not set for dropdown control.
    How to load the values in dropdown control on form load and set a value using Query String filter webpart?
    Thanks,
    dhijit

    Hi,
    According to your post, my understanding is that you want to filter choice field using Query String Filter web part.
    To filter using query string filter web part, we can set the default value for the choice field in the query string filter web part panel as below, then connect to the list.
    Now it would be filter by the value you have set.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to Create Placement for contingent worker using API in 11i?

    We need to Create Placement for contingent workers using an API or program without using EBS forms.
    On the People form, there is an Action - Create Placement that does just what we need. We can select an Ex-contingent worker, create placement, and save. This creates a new Period Of Placement (PDP) record for the contingent worker with a new primary assignment. The result is the contingent worker can have multiple periods of placement to reflect different jobs they have worked on, for example one contract from Jan 10 - April 4, another from May 1 - 20, and a third starting Aug 7 without an end (yet).
    There are several APIs we find in the Integration Repository for 11i dealing with Contingent Workers, Assignments, and changing a Period of Placement, but we can't find any for creating a PDP.
    Thank you if you can advise on how to do this.
    Skip

    We need to Create Placement for contingent workers using an API or program without using EBS forms.
    On the People form, there is an Action - Create Placement that does just what we need. We can select an Ex-contingent worker, create placement, and save. This creates a new Period Of Placement (PDP) record for the contingent worker with a new primary assignment. The result is the contingent worker can have multiple periods of placement to reflect different jobs they have worked on, for example one contract from Jan 10 - April 4, another from May 1 - 20, and a third starting Aug 7 without an end (yet).
    There are several APIs we find in the Integration Repository for 11i dealing with Contingent Workers, Assignments, and changing a Period of Placement, but we can't find any for creating a PDP.
    Thank you if you can advise on how to do this.
    Skip

  • How to customize DMS for EH&S using KPRO

    Hi all,
    I am triing to configure DMS for EH&S using KPRO. It seems there are some specificities link to EH&S for using DMS with Kpro.
    Id like to find documentations and / or help to know the different steps to achieve for configure DMS for EH&S using KPRO.
    Anybody can tell me the different steps to do and / or give me some documentations?
    Thanks
    /Ludo

    Hello Ludo,
    As Documentum is a separate document storage system, it requires a connector (Standard Interface) to connect to SAP-DMS.
    As I am not expert in this field so will not be able to help you but still I have some information like, Documentum will be used as the Main Application & all data & objects will be created or linked to SAP objects in the Background and the Content Services for SAP application integrates the Documentum content management system with the SAP R/3 system. It is an interface to the SAP R/3 system based on SAPu2019s standard DMS and ArchiveLink interfaces.
    I think your question is more relevant for DMS forum. May be you can post your theread there, so that you can get right answer or may be on this forum someone else can help you who has worked on this scenario.
    Regards,
    Niraj

  • How to increase memory for building project using ant in ECLIPSE

    Hi All,
    for all java projects and java applications in eclipse i am giving -Xms and -Xmx to increase heap memory.
    But the same failed when i run ant. it says Out of Memory Error.eventhough i had 1GB ram in system.
    How to increase memory for Building through ANT.
    Thanks,
    J.Kathir

    even if this is not a eclipse forum
    In the package explorer view or navigator view right click on the build file select "Run as / Ant Build ...". On the JRE Tab you can enter the VM Aguments like -Xmx512m
    Consult the java dokumentation how to set the memory of the jvm.

  • How to issue checks for payments done using f-53

    Hello ,
    Iam unable to print a check created manually,can some one  please explain me how to  you print it....what i did was:
    i paid using f-53 and then  created check lots and in fbz5 i entered all the details required but still i get the error :
    LINE ITEM FOR OUTGOING PAYMENT CANNOT BE DETERMINED : CHECK
    PLEASE EXPLAIN ME IN DETAIL HOW TO PRINT A MANUALLY CREATED CHECK.
    Thanks,
    Vinay.

    Hi Vins,
    Below mentioned is the full cycle for payment using cheque printing which we had are using in our project.
    Expense Booking: T-code- FB60 This will result in following financial entries.
    Dr Expense account
        Cr Vendor
         Cr TDS
    (ii) Make payment to vendor through Bank: T-code-F-53
    Dr Vendor
    Dr TDS authority
         Cr Bank
    (iii) Use FBZ5 for cheque printing. It is possible that  there are more than one cheque lots in the system. please choose the relevant cheque lot before printing.
    Hope I had been able to help you out. Pls assign points.
    Rgds
    Manish

  • How to configure systems for ABAP Proxy use

    Can somebody please point me to the documentation regarding the configuration settings for the use of ABAP proxies, on both the XI and client sides? I have performed readiness checks as specified by SAP, the ABAP Proxy tests all pass, yet when I write a program with a proxy, the message does not appear in the integration engine monitor.
    I think I have missed something in configuration settings, but don't know for sure. hence the request.
    Kind Regards,
    Tony.

    Hi,
    Please follow the below configuration steps for ABAP proxy:
    ABAP Proxy configuration:
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Thnx
    Chirag

  • How to Debugg workflow for Article Creation using MM41 In IS Retails System

    Existing system they are using business BUS1001006,Event Created for triggering workflow when you create article using transaction code MM41.
    I could see one more business object named ZBUS100106 for triggering workflow when you Create an article.
    I just want to debugg the workflow to add some additional validations to trigger workflow when i can create article using transaction code MM41.
    Let me know how to debugg the workflow.
    Thanks in Advance.

    ZBUS100106 is nothing but Custom Business Object of BUS100106 creating by extending BUS100106.
    You can debug Business Object code thru putting breakpoint in Code and executing the Business Object thru SWO1.
    For your requirement you could possibly use SWB_COND Tcode so as to limit workflow lanches.
    Refer [this|http://mailman.mit.edu/pipermail/sap-wug/2003-November/011005.html].
    Regards
    Shital

  • How to skip authorisation for infotype when using dynamic selection ?

    Hi folks,
    I have a problem here.
    When im using dynamic selection screen, i cannot skip authorisation for subtypes of an infotype. Eg. if my record for 0185 have records that do not have authorisation for the subtypes. Dynamic selection will filter away this record and will not get me into the Get Peras as id i use to run has authorisation configured. IT will skip out of Get Peras.
    However, if im not using dynamic selection screen, i will use the normal pnpce fields, i will be able to get the record, as i do my authorisation check using function module in the get peras, and i did not declare 0185 in the infotypes.
    May i know if there is any solution to this problem as dynamic selection screen is a standard...
    Thanks,
    lihui

    hi,
    however i cannot skip authorisation for the whole pernr as i need the authorisations for the processing reports.
    Currently the case is like this..
    i have a authorisations for infotype 0185. i have 2 subtypes records such as ZA and ZB. the user does not have authorisation to read ZB but has authorisation to read ZA.
    However, when use dynamic selection, it will skip out the pernr.
    If the pernr 0185 records has only ZA subtype but no ZB subtype, it will not skip this pernr when using dynamic selection.
    Anymore idea how to overcome this?

  • How to manage source for java project using eclips?

    Hi,We use TFS 2013 and VS 2013 for source control ,now we want to start mobile app using eclips,
    How to control source of that project,How we can have features of tfs source control on that type of project such a mobile that use eclips.
    thanks
    Thanks. Bahar Ghadami Web Developer And Technical expert

    Hi Bahar,
    You can manage your source code with both Eclipse and My Eclipse.
    Please follow this link to install the Plugin (Team Explorer Everywhere) to manage your source code.
    http://msdn.microsoft.com/en-us/library/hh301122.aspx

  • How do I pay for my purchase using the Apple Financing?

    I applied for the financing option in Canada. It says they deal with TD bank and that I would get a credit card from them. I'm wondering how and where would I pay for my purchace that I made on the website so I don't get charged interest?
    Thanks
    Robert
    iPhone4

    I have the exact same problem, Apple is so vague about how to repay using financial services.

  • How to generate wsdl for complex type using wscompile?

    Hi
    Since couple of days I am trying to generate the the wsdl for following classes
    abstract class Key implements serializable{
    class sikeKey extends Key{
    int siteKey;
    class AddressKey extends siteKey{
    int addressId;
    class Model{
    AddressKey key = new AddressKey();
    }I am using following ant script for wscompile
          <wscompile
              fork= "true"
              base="${dest.dir}/war/WEB-INF/classes"
              server="true"   
              features="wsi"
              mapping="${dest.dir}/war/WEB-INF/Address_Mapping.xml"
              sourceBase="${war.dir}/WEB-INF/classes"
              optimize="false"
              debug="true"
              keep="false"
              verbose="true"
              xPrintStackTrace="true"
              config="${acws-config-dir}/Address_Config.xml">
              <classpath>
                            <pathelement path="${acws.classpath}"/>
                            <pathelement path="${war.dir}/WEB-INF/classes"/>
                   </classpath>
          </wscompile>
    <taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile">
        <classpath path="${acws.classpath}"/>
    </taskdef>It generates the wsdl but without all complex type.
    <complexType name="AddressWebServiceModel">
    <sequence>
    <element name="addKey" type="tns:AddressKey" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="AddressKey">
    <sequence>
    <element name="siteID" type="string" nillable="true"/>
    <element name="addressID" type="int"/>
    </sequence>
    </complexType>Here it should create the right mapping for classes siteKey so that the webservice call can be mapped with the response of this Model.
    Any one know how to configure the above script for proper mapping of complex type?

    Add the concrete subclasses of Key in an <AddtionalType> element in your config.xm. file.

  • How to pay for icloud? I no longer trust apple with my credit card. How can we pay for icloud without using a credit card?

    Having had recently a problem with my credit card with itunes (the only place I ever used that particular card), and several fraudulent charges, I no longer wish to give my credit card information to itunes or any other apple outfit. Can we pay for icloud by cheque, or money order, or some other way, perhaps a bank account where I would leave just enough money to cover the payment. This would be the only I would pay for icloud. Please let me know. thanks.

    See here:
    http://support.apple.com/kb/HT4874
    iTunes Store credit or gift cards cannot be used as a form of payment to upgrade your iCloud storage (payment methods accepted include credit and debit cards).

  • How to set config for content protection using Adobe Access for an HLS VOD stream?

    Hi,
    I am trying to do content protection for HLS VOD stream using AdobeAccess in AMS 5.0.1,
    I have followed the steps mentioned in the below documentation.
    http://help.adobe.com/en_US/adobemediaserver/devguide/WS52621785137562 06-4b6aabd1378392bb59-7fe8.html
    Here is my configuration snippet from httpd.conf :
    <Location /hls-vod>
        HLSHttpStreamingEnabled true
        HLSMediaFileDuration 8000
        HttpStreamingContentPath "/mnt/webroot/vod"
        HLSFmsDirPath ".."
        HLSJITConfAllowed true
        HLSEncryptionScope server
        HLSProtectionScheme AdobeAccessV3
        HLSDrmContentID httpd_conf
        HLSDrmCommonKeyFile  "../creds/common-key.bin"
        HLSDrmLicenseServerURL  "http://<licenseserver>/flashaccessserver/sampletenant"
        HLSDrmTransportCertFile  "../creds/cert-trial.der"
        HLSDrmLicenseServerCertFile  "../creds/cert-trial.der"
        HLSDrmPackagerCredentialFile  "../creds/cert-trial.pfx"
        HLSDrmPackagerCredentialPassword <plain text password>
        HLSDrmPolicyFile  "../creds/ad-policy.pol"
        HLSDrmKeyServerURL  "http://faxs.adobe.com"
        Options -Indexes FollowSymLinks
    </Location>
    When i hit the video url from desktop chrome browser,apache error log says:
    [warn]  Error fetching encryption params:/mnt/webroot/vod/sample_video.mp4
    [error] mod_hlshttp [403]: Encryption error while processing /mnt/webroot/vod/sample_video.mp4, Ref: [6:Key uri missing]
    And when i tried the video url on ipad device using the AccessPlayer Sample given by Adobe, the error log came as:
    DRM error Major[3363] minor[0]NSerror:[(null)]
    Any idea where i am going wrong?
    Is the configuration i am going at httpd.conf accurate?
    Any help is greatly appreciated !!
    Thanks in advance,
    Maria

    Hi Rodrigo,
    Though both Azure Blob and Azure applications support custom domain, one domain could have only one DNS record (in this case is CNAME record) at one time. For Steve's case, he has 3 domains, blog.smarx.com, files.blog.smarx.com and cdn.blog.smarx.com.
    > I would like to find a way to storage my html page that I need to edit under the same domain.
    For this case, a workaround will be adding a http handler in your Azure application to serve file requests. That means we do not use the actual blob url to access blob content but send the request to a http handler then the http handler gets the content
    from blob storage and returns it.
    Please check
    Accessing blobs in private container without Shared Access Secret key for a code sample.
    Thanks.
    Wengchao Zeng
    Please mark the replies as answers if they help or unmark if not.
    If you have any feedback about my replies, please contact
    [email protected]
    Microsoft One Code Framework

Maybe you are looking for

  • Down Payment Posting in Assets Under Construction

    Hi In case of AuC, when we post the down payment, the standard Accounting entry created is: Vendor Advance A/c Dr Asset Under Construction (Down Payment) Dr      To Bank A/c      To Asset Clearing A/c When we Post the invoice , the A/c entry passed i

  • How to generate TDS certifcate and CHallan forms

    Hello All, How to generate TDS cerficates and challan forms for Pakistan withholding tax in ECC system, Regards, Ramana

  • Launch new UIX Fiori app without Fiori Launchpad

    Hi, I want to integrate a new SAP Fiori APP in the SAP Netweaver Portal. I used the UI5 iview template to call Fiori BSP, but the standard BSP FIN_TE_APV does not have any index.html page, then when I try to test it an error is returned. I also tried

  • ~~[DONE]~~ Installing Oracle 10g Rel. 2 on linux distros...

    Hello guys, I wanted to ask if anyone of you tried to install oracle 10g release 2 for personal use on any linux distro (free distros). If yes which linux did you try? Message was edited by: sysdba

  • ERROR message! importing Motion files back into FCP. please help.

    ok...so i started my project, everything worked seamless from fcp to motion and back...and then bam! error: 1 file recognized, 0 access denied, 1 unknown. ive done everything that i know, ive reinstalled, fcp studio and operating system...ive been ov