DAQ and Encoder Connections

"Please help a DAQ/Motion neophyte ....
I'd like to synchronize/correlate a load cell output with the a linear stage position via the on-board encoder. The on-line documents show Ch.A to PFI8_Source, Ch.B to DIO6_Up_Down, and GND to DGND. However, the Agilent HEDL-5504-A encoder that I have has A+ and A-, B+ and B-, I+ and I-, and GND channels (i.e., seven connectors). What is the proper way to connect to the terminal block of the SCC-2345 to communicate with my PCI-6036E DAQ device for this encoder? Thanks in advance ... Jerry"

Yes it's correct. What's happening is that the 24-bit counter is rolling over from 0 to its max value of 2^24 -1. You probably want to see is something like 3, 2, 1, 0, -1, -2, ..., right? You can do that fairly easily in software. The following isn't perhaps the most formal or elegant, but it'll get the job done.
Your count value is stored in an unsigned 32-bit integer datatype, but only bits 0-23 are used. Note that bit 23 is "on" for the largest half of the numbers, the ones we'll want to treat as negative positions.
First convert your count from a u32 to an i32. Then if bit 23 is "on", replace the count with (count - 2^24). Note: the 2^24 constant should be an i32 datatype.
Topic 2. Using a DAQ-STC counter to m
easure position from a quadrature encoder is not a foolproof measurement. Have your read through the tutorial and app note yet?
http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/6f25cba2cd73417786256869005e5fc3?OpenDocument
If you care about repeatability after back-and-forth moves, or if your system experiences oscillations at the end of motion, you will probably need a true quadrature interface. You can either build the quadrature interface circuit described in the tutorial / app note, or buy a 660x-series counter/timer board which has quadrature built in.
Other advantages of the 660x series are:
- tracks +/- positions on its own without software conversions
- can use index channel for repeatable hardware reset of "zero" position.
The cheaper 6601 can meet your needs for today, but be aware of the following improved features in the 6602:
- 4 additional counters
- 3 DMA channels for buffered operations instead of 1
- 4x higher resolution
on timing (80 MHz vs. 20 MHz)

Similar Messages

  • Very slow Export to Media Encoder and Media Encoder connecting to dynamic link server

    My flow is this: Open After Effects CC, import an image sequence, go to File > Export > Add to Adobe Media Encoder Queue...
    Every other time i do this it will take 2-3 mins before Media Encoder even shows the splash screen, then it'll take another 1-2 mins to open.
    Next, I'll select my custom preset over on the right side of the window, then hit the Play button to begin encoding.  Sometimes nothing will happen at all, sometimes I'll see the Orange stripped bar on the lower left and the message Media Encoder connecting to dynamic link server and that'll last 5+ minutes and I end task to get out of AE and ME. Sometimes, ME will begin encoding right away and zip through the small animation sequence quickly without issue.
    I have WIndows 7 Pro, I'm on a work network with access to the internet  and AE has been updated 24 days ago.  I have a subscription and I'm signed on.  However, sometimes I do not have the Creative-Cloud icon in my systray.
    Thanks,

    Thanks.  I have 16GB Ram, 64bit Win7,  Intel(R) Core(TM) i7-3970X @ 3.50GHz 3.50GHz.  AE is set to have maximum disk cache of 46GB. RAM reserved for other applications: 5GB RAM available for AE, PR, Pl, (some triangular icon [edit] which is ME ), Ps: 10GB. nothing else checked on that screen.
    Typically just a mail client, 1 or 2 sessions of Firefox, 1 or 2 network folders open when i launch AE.
    The last couple of times specifically, i had a 450 frame animation sequence at native 720p.  then i added a curves layer on top of it in AE, then added two ~600x300px  logos, one in each lower corner, then added a new solid layer which i used as a vignette. Finally over that i added a 720p still image which i held for another 15 seconds beyond the animation.
    For the above, i ended-task, rebooted, brought it up again and it lauched ME quickly, then i got the stripped bar and connecting message until i ended task on that, then the 3rd time was the charm - everything opened quickly and it began to encode quickly.
    The next three uses late afternoon yesterday were 150 frame animations at 480x270 and they all seemed to work fine.  I created the sequence in 3ds max, then closed and went into AE.  Then I'd close AE render another sequence, back into AE etc...

  • Unable to retrieve clouds on VMM server. Please make sure the server name is correct and try connecting again

    I getting this annoying error "Unable to retrieve clouds on VMM server. Please make sure the server name is correct and try connecting again."  I've followed the recommended documentation for setting up SPF and Azure using the following:
    http://www.hyper-v.nu/archives/mvaneijk/2013/01/installing-and-configuring-system-center-service-provider-foundation/
    I've gone thru the troubleshoot steps from the following:
    http://blogs.technet.com/b/scvmm/archive/2014/03/04/kb-the-windows-azure-pack-service-management-portal-does-not-retrieve-cloud-settings.aspx
    http://social.technet.microsoft.com/forums/windowsazure/en-US/363e7dae-7370-4605-bc8d-b98fa6dc9d8e/unable-to-register-vmm-server
    So you don't need to send me those links.
    I found a few others which pointed me to the event logs WindowsAzurePack\MGmtSVC-AdminAPi and AdminSite.  In these event logs, I see a lot of event ID 12 and 1046.  The contents of event id 12 is the following:
    Log Name:      Microsoft-WindowsAzurePack-MgmtSvc-AdminSite/Operational
    Source:        Microsoft-WindowsAzurePack-MgmtSvc-AdminSite
    Date:          6/19/2014 3:27:55 PM
    Event ID:      12
    Task Category: (65522)
    Level:         Error
    Keywords:      None
    User:          IIS APPPOOL\MgmtSvc-AdminSite
    Computer:      usw-azure-01.uswired.com
    Description:
    Error:ManagementClientException: Resource not found.
    <Exception>
      <Type>ManagementClientException</Type>
      <Message>Resource not found.</Message>
      <StackTrace><![CDATA[
       at Microsoft.WindowsAzure.Server.Management.ManagementClientBase.<ThrowIfResponseNotSuccessful>d__2b.MoveNext()
       at Microsoft.WindowsAzure.Management.TaskSequencer.<>c__DisplayClass1e`1.<RunSequenceAsync>b__1d(Task previousTask)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.Server.SystemCenter.AdminExtension.Controllers.SystemCenterAdminController.<GetResourceProviderAsync>d__2e7.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.Server.SystemCenter.AdminExtension.Controllers.SystemCenterAdminController.<GetAutomationResourceProvider>d__2b6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at lambda_method(Closure , Task )
       at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3f.<BeginInvokeAsynchronousActionMethod>b__3e(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<>c__DisplayClass2a.<BeginInvokeAction>b__20()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult)]]></StackTrace>
      <HttpContext>
        <User IsAuthenticated="true" Name="USWIRED\Administrator" />
        <Request>
          <RawUrl>/SystemCenterAdmin/GetAutomationResourceProvider</RawUrl>
          <UserHostAddress>fe80::c179:19c8:c5f2:7309%12</UserHostAddress>
          <Headers>
            <Header Key="Cache-Control" Value="no-cache" />
            <Header Key="Connection" Value="Keep-Alive" />
            <Header Key="Content-Length" Value="2" />
            <Header Key="Content-Type" Value="application/json" />
            <Header Key="Accept" Value="application/json, text/javascript, */*; q=0.01" />
            <Header Key="Accept-Encoding" Value="gzip, deflate" />
            <Header Key="Accept-Language" Value="en-US" />
            <Header Key="Host" Value="usw-azure-01.uswired.com:30091" />
            <Header Key="Referer" Value="https://usw-azure-01.uswired.com:30091/" />
            <Header Key="User-Agent" Value="Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko" />
            <Header Key="x-ms-client-session-id" Value="c343c29d-20b1-412b-be94-879409205700" />
            <Header Key="x-ms-client-antiforgery-id" Value="0crwi2qNk20bMr6C04/vKd4L28WG1nd8JKBdOlCCp+xlph40YeL2oTdmeiTkPmE272S2dqmGQMNo+FElKkG2MdR0Xhq41RU/t8PrFjcG0Vgx4a8dgZLbfKVURo9n84F1XWtJOkTTUK/OeNVWBrK1+w=="
    />
            <Header Key="x-ms-client-request-id" Value="dcc427c7-40fc-4fdd-9a70-7622969ff40d-2014-06-19 22:27:55Z" />
            <Header Key="X-Requested-With" Value="XMLHttpRequest" />
            <Header Key="DNT" Value="1" />
            <Cookies>
              <Cookie Name="AdminSiteFedAuth" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (2000 characters)" />
              <Cookie Name="AdminSiteFedAuth1" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (424 characters)" />
              <Cookie Name="__RequestVerificationToken_Admin" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (128 characters)" />
            </Cookies>
          </Headers>
        </Request>
      </HttpContext>
    </Exception>, operationName:SystemCenterAdmin.GetAutomationResourceProvider, version:, accept language:en-US, subscription Id:, client request Id:dcc427c7-40fc-4fdd-9a70-7622969ff40d-2014-06-19 22:27:55Z, principal Id:USWIRED\Administrator, page request
    Id:c343c29d-20b1-412b-be94-879409205700, server request id:
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-WindowsAzurePack-MgmtSvc-AdminSite" Guid="{5E78D550-1384-5A96-C12A-CB6DA7BC6365}" />
        <EventID>12</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>65522</Task>
        <Opcode>0</Opcode>
        <Keywords>0x0</Keywords>
        <TimeCreated SystemTime="2014-06-19T22:27:55.971935000Z" />
        <EventRecordID>399</EventRecordID>
        <Correlation ActivityID="{FAA512AF-E0A9-4F2A-80EF-09F72D2F7918}" />
        <Execution ProcessID="3424" ThreadID="2308" />
        <Channel>Microsoft-WindowsAzurePack-MgmtSvc-AdminSite/Operational</Channel>
        <Computer>usw-azure-01.uswired.com</Computer>
        <Security UserID="S-1-5-82-4118156790-2181488624-806685255-2797011695-3958995103" />
      </System>
      <EventData>
        <Data Name="message">ManagementClientException: Resource not found.
    &lt;Exception&gt;
      &lt;Type&gt;ManagementClientException&lt;/Type&gt;
      &lt;Message&gt;Resource not found.&lt;/Message&gt;
      &lt;StackTrace&gt;&lt;![CDATA[
       at Microsoft.WindowsAzure.Server.Management.ManagementClientBase.&lt;ThrowIfResponseNotSuccessful&gt;d__2b.MoveNext()
       at Microsoft.WindowsAzure.Management.TaskSequencer.&lt;&gt;c__DisplayClass1e`1.&lt;RunSequenceAsync&gt;b__1d(Task previousTask)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.Server.SystemCenter.AdminExtension.Controllers.SystemCenterAdminController.&lt;GetResourceProviderAsync&gt;d__2e7.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.Server.SystemCenter.AdminExtension.Controllers.SystemCenterAdminController.&lt;GetAutomationResourceProvider&gt;d__2b6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at lambda_method(Closure , Task )
       at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass3f.&lt;BeginInvokeAsynchronousActionMethod&gt;b__3e(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass37.&lt;&gt;c__DisplayClass39.&lt;BeginInvokeActionMethodWithFilters&gt;b__33()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass4f.&lt;InvokeActionMethodFilterAsynchronously&gt;b__49()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass4f.&lt;InvokeActionMethodFilterAsynchronously&gt;b__49()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass4f.&lt;InvokeActionMethodFilterAsynchronously&gt;b__49()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass37.&lt;BeginInvokeActionMethodWithFilters&gt;b__36(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass25.&lt;&gt;c__DisplayClass2a.&lt;BeginInvokeAction&gt;b__20()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass25.&lt;BeginInvokeAction&gt;b__22(IAsyncResult asyncResult)]]&gt;&lt;/StackTrace&gt;
      &lt;HttpContext&gt;
        &lt;User IsAuthenticated="true" Name="USWIRED\Administrator" /&gt;
        &lt;Request&gt;
          &lt;RawUrl&gt;/SystemCenterAdmin/GetAutomationResourceProvider&lt;/RawUrl&gt;
          &lt;UserHostAddress&gt;fe80::c179:19c8:c5f2:7309%12&lt;/UserHostAddress&gt;
          &lt;Headers&gt;
            &lt;Header Key="Cache-Control" Value="no-cache" /&gt;
            &lt;Header Key="Connection" Value="Keep-Alive" /&gt;
            &lt;Header Key="Content-Length" Value="2" /&gt;
            &lt;Header Key="Content-Type" Value="application/json" /&gt;
            &lt;Header Key="Accept" Value="application/json, text/javascript, */*; q=0.01" /&gt;
            &lt;Header Key="Accept-Encoding" Value="gzip, deflate" /&gt;
            &lt;Header Key="Accept-Language" Value="en-US" /&gt;
            &lt;Header Key="Host" Value="usw-azure-01.uswired.com:30091" /&gt;
            &lt;Header Key="Referer" Value="https://usw-azure-01.uswired.com:30091/" /&gt;
            &lt;Header Key="User-Agent" Value="Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko" /&gt;
            &lt;Header Key="x-ms-client-session-id" Value="c343c29d-20b1-412b-be94-879409205700" /&gt;
            &lt;Header Key="x-ms-client-antiforgery-id" Value="0crwi2qNk20bMr6C04/vKd4L28WG1nd8JKBdOlCCp+xlph40YeL2oTdmeiTkPmE272S2dqmGQMNo+FElKkG2MdR0Xhq41RU/t8PrFjcG0Vgx4a8dgZLbfKVURo9n84F1XWtJOkTTUK/OeNVWBrK1+w=="
    /&gt;
            &lt;Header Key="x-ms-client-request-id" Value="dcc427c7-40fc-4fdd-9a70-7622969ff40d-2014-06-19 22:27:55Z" /&gt;
            &lt;Header Key="X-Requested-With" Value="XMLHttpRequest" /&gt;
            &lt;Header Key="DNT" Value="1" /&gt;
            &lt;Cookies&gt;
              &lt;Cookie Name="AdminSiteFedAuth" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (2000 characters)" /&gt;
              &lt;Cookie Name="AdminSiteFedAuth1" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (424 characters)" /&gt;
              &lt;Cookie Name="__RequestVerificationToken_Admin" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (128 characters)" /&gt;
            &lt;/Cookies&gt;
          &lt;/Headers&gt;
        &lt;/Request&gt;
      &lt;/HttpContext&gt;
    &lt;/Exception&gt;</Data>
        <Data Name="requestId">
        </Data>
        <Data Name="subscriptionId">
        </Data>
        <Data Name="clientRequestId">dcc427c7-40fc-4fdd-9a70-7622969ff40d-2014-06-19 22:27:55Z</Data>
        <Data Name="principalId">USWIRED\Administrator</Data>
        <Data Name="version">
        </Data>
        <Data Name="pageRequestId">c343c29d-20b1-412b-be94-879409205700</Data>
        <Data Name="acceptLanguage">en-US</Data>
        <Data Name="operationName">SystemCenterAdmin.GetAutomationResourceProvider</Data>
      </EventData>
    </Event>
    Event ID 1046 is 
    Log Name:      Microsoft-WindowsAzurePack-MgmtSvc-AdminSite/Operational
    Source:        Microsoft-WindowsAzurePack-MgmtSvc-AdminSite
    Date:          6/19/2014 3:32:56 PM
    Event ID:      1046
    Task Category: (116)
    Level:         Error
    Keywords:      None
    User:          IIS APPPOOL\MgmtSvc-AdminSite
    Computer:      usw-azure-01.uswired.com
    Description:
    Could not connect to Resource Provider. Error: Resource not found.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-WindowsAzurePack-MgmtSvc-AdminSite" Guid="{5E78D550-1384-5A96-C12A-CB6DA7BC6365}" />
        <EventID>1046</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>116</Task>
        <Opcode>0</Opcode>
        <Keywords>0x0</Keywords>
        <TimeCreated SystemTime="2014-06-19T22:32:56.854137500Z" />
        <EventRecordID>413</EventRecordID>
        <Correlation ActivityID="{C20DBEAD-388F-4CF4-80FD-21C6419CC2F1}" />
        <Execution ProcessID="3424" ThreadID="2768" />
        <Channel>Microsoft-WindowsAzurePack-MgmtSvc-AdminSite/Operational</Channel>
        <Computer>usw-azure-01.uswired.com</Computer>
        <Security UserID="S-1-5-82-4118156790-2181488624-806685255-2797011695-3958995103" />
      </System>
      <EventData>
        <Data Name="errorMessage">Resource not found.</Data>
      </EventData>
    </Event>
    The other thing I notice is that when trying to connect to the VMM. It's trying to use domain\username, yet when I try logging in with domain\username via the SCVMM Console. I get the  You cannot access VMM management server (Error ID: 1604).
     I'm not sure if this is why I can not add the VMM to WAP.  Any help would be appreciated.  Thanks
    Nick

    Hello,
    I am not sure about the answer but I guess these steps will solve your problem:
    1) Log in to the SPF server by using an account that is a member of the SPF_Admin local group.
    2) Open an elevated Windows PowerShell window.
    3) Type the following commands, and press Enter after you type each command:
    Import-module spfadmin
    New-SCSPFTenant -Name Administrator -SubscriptionId 00000000-0000-0000-0000-000000000000
    4) Close the WAP Server Management Portal, and then reconnect to it to update all items.

  • How do I run a J-type thermocouple to the usb-6363 DAQ and program labview to measure temperature?

    I have a usb-6363 DAQ and a J-type non-contact thermocouple that I am looking to connect and measure temperature through. However, the DAQ does not have any T/C inputs, which is needed to measure in the thermocouple temperature. I am connecting the thermouple to an analog input (+/-) and I am not looking to buy an amplifier, converter or any other hardware. I believe there is a way to program labview to read in the voltages of the thermocouple and convert it into accurate temperature readings. Any help/ideas?

    Hello George,
    This tutorial should step you through the basic process of configuring the device and connecting the thermocouple:
    Tutorial: Connect Thermocouples to a Data Acquisition (DAQ) Device
    http://www.ni.com/gettingstarted/setuphardware/dataacquisition/thermocouples.htm#Connecting a Thermocouple to Your Device
    From there, there are a number of things you can do- I'd recommend taking a look at the LabVIEW shipping examples (Help>>Find Examples...) as well as the DAQmx getting started tutorials:
    Getting Started with NI-DAQmx: Main Page
    http://www.ni.com/white-paper/5434/en
    At first glance, the 6363 you're using should have enough resolution to acquire usable data from a thermocouple- if you attempt reading raw voltages be sure that the acquisition range is configured for +/- 0.1V, though.
    Regards,
    Tom L.

  • Correlated analog and encoder readings with M-series

    Hardware: PCI-6220
    Driver: NI-DAQmx
    Software: VC++ 6.0
    My goal is to collect synchronized (correlated) analog and encoder readings to provide position-based voltage and current information.
    First question is regarding the potential alternatives and which is the best approach between these options:
    1) A single task that reads required analog and counter information into the same buffer, seems easy to align the data using this approach.
    2) A task to read analog data and a second task to read counter information, complicated by the need to reliably align the informatio from seperate buffers.
    Next question is simple: can the PCI-6220 read 2 seperate encoders?
    Hopefully, last question: where can I find documentation about where to connect A, B, and Z? So far all my searches have resulted in E series or 6602 counter examples and nothing on M series.
    Thanks, Ed

    Hi Ed,
    To answer your questions:
    >>First question is regarding the potential alternatives and which is the best approach between these options:
    >>1) A single task that reads required analog and counter information into the same buffer, seems easy to >>align the data using this approach.
    >>2) A task to read analog data and a second task to read counter information, complicated by the need to >>reliably align the informatio from seperate buffers
    First of all, option one is not actually an option because you cannot have one task acquire two different types of data (eg analog and counter data). Therefore, option two is the way to go. It is not as hard as it seems. You can use Channel Z to trigger the analag input channels and once the analog and counter channels are triggered at the same time their data will automatically be aligned.
    >>Next question is simple: can the PCI-6220 read 2 seperate encoders?
    The PCI 6220 has two 32 bit counter channels, so it is possible to read two separate encouders. Here is a link to the product data sheet for this card: http://sine.ni.com/apps/we/nioc.vp?cid=14130⟨=US
    >>Hopefully, last question: where can I find documentation about where to connect A, B, and Z? So far all my searches have resulted in E series or 6602 counter examples and nothing on M series.
    You are right, it is difficult to find out where to connect channels A, B, and Z! The easiest to find this information is to create an NI-DAQmx counter Task in MAX (Measurement and Automation Explorer). Once you have followed all of the steps to create the task you will see the task information in the middle of the screen. There will be a settings tab and inside this tab it will tell you what pins to connect A, B and Z to. I went ahead and created tasks for ctr 0 and 1 in MAX to get the information on which pins to connect to A, B, and Z.
    For ctr0: For ctr1:
    A: PFI8 PFI3
    B: PFI10 PFI11
    Z: PFI9 PFI4
    Please let me know if you have any further questions. Have a great day!
    Jennifer

  • How to limited Media Encoder connect the media server?

    how to limited Media Encoder connect the media server?
    I have a adobe media server3 for liniux and  hava a live IP.
       I can  use the Media Encoder connenct the media server anywhere  when I use the live IP.
    I want to know how to limited Media Encoder connect the media server.
    thank you!

    You can use an authorization plugin, or you can use server side actionscript to validate credentials (as of FMS 3.0, you can use get variables in the RTMP URL)

  • HTTP Stream stops after instant encoder connection lost

    Hi,
    We use amazon cloud front and Open Broadcaster to livestream also using jwplayer. Some time we experience internet problem on our local system and encoder lost its connection to server but it just took 1 or 2 second. RTMP stream not effecting by this problem and all clients works fine but mobile client (iphone, ipad) stuck last 10 second before connection lost and playing this 10 second every time when i open stream on my tablet.
    The only solution that i have find, deleting these folder and restarting server.
    mnt/application/livepkgr/streams
    mnt/application/livepkgr/events/_definst_/liveevent
    I use this FMS url "rtmp://<server-adress>/livepkgr?adbe-live-event=liveeven"t and Play path/stream key is "kamera5"
    Url for jw payer is, http://<server-adress>/hls-live/livepkgr/_definst_/kamera5/event.m3u8
    Also, I figured out today the .m3u8 file not updating after connection lost with new .ts file, it is always same when i download it every time.
    How can i setup the server to play http after instant connection losts?
    Thank you.

    Hi
    Is the encoder configured to use Absolute Time Code (ATC)
    This is necessary for HLS and HDS. It is required for smooth transition between different stream bitrates and in cases of encoder failure and/or restart.
    This could be the root of your issue when the connection between encoder and publishing server is interupted.
    Bit more detail:
    ATC comes as timestamps within the header of Messages Packet format for the RTMP.
    RTMP message packets format has been defined here http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/rtmp/pdf/rtmp_specifi cation_1.0.pdf
    Basically the timestamp field in Type0 chunk must be a absolute time based on some wall clock.
    Timestamp field is interpreted as integral number with least count as 1 millisecond and it should be always increasing.
    This is how the timestamps would look with following events from encoder
    Without ATC
    With ATC
    Publishing start
    Publishing start
    Sending rtmp audio message, timestamp 0 ms
    Sending rtmp audio message, timestamp 12000 ms
    Sending rtmp video message, timestamp 2 ms
    Sending rtmp video message, timestamp 12002 ms
    Sending rtmp audio message, timestamp 4 ms
    Sending rtmp audio message, timestamp 12004 ms
    Sending rtmp video message, timestamp 5 ms
    Sending rtmp video message, timestamp 12005 ms
    Sending rtmp audio message, timestamp 6 ms
    Sending rtmp audio message, timestamp 12006 ms
    Sending rtmp audio message, timestamp 8 ms
    Sending rtmp audio message, timestamp 12008 ms
    Publishing Stop -
    Publishing Stop -
    Wait for 1000 seconds
    Wait for 1000 seconds
    Publishing Start again
    Publishing Start again
    Sending rtmp audio message, timestamp 0 ms
    Sending rtmp audio message, timestamp 13008 ms
    Sending rtmp video message, timestamp 3 ms
    Sending rtmp video message, timestamp 13011 ms
    Sending rtmp audio message, timestamp 4 ms
    Sending rtmp audio message, timestamp 13012 ms
    Sending rtmp video message, timestamp 6 ms
    Sending rtmp video message, timestamp 13014 ms
    Sending rtmp audio message, timestamp 7 ms
    Sending rtmp audio message, timestamp 13015 ms
    Sending rtmp audio message, timestamp 8 ms
    Sending rtmp audio message, timestamp 13016 ms
    So here timestamp is the timestamp defined for Message header of the RTMP protocol. It is integral number of milliseconds. As you notice here, in case of ATC based timestamps, they are based on actual wall clock, always increasing.
    Can you check on the encoder side that ATC is configured ?
    Thanks.

  • When choose DAQ and when choose GPIB?

    Whats the difference between DAQ and GPIB?

    Zurdo..
    A very open ended question but I will give it my best shot. I would suggest searching on our website for additional info. GPIB is simply a communications protocol much like serial. Many instrument vendors provide a GPIB "port" on their instruments in order to control and automate the configuration, display, and acquisition. When you use GPIB you install a GPIB board on the host computer and then connect that via a cable to the instrument. There are then instrument drivers available for communicating with the instrument via its given set of commands/instructions. Most of the instrument drivers are written in LV.
    DAQ is different in the fact that there is no instrument involved. You install a data acquisition card in your system and then wire that directly up to the phenomenon you want to measure (i.e pressure transducer, voltage source, current, etc). National Instruments then provides a driver and LV interface to configure the board for acquisition.
    So...which one you choose is up to what you have available. If you have a standalone instrument from a vendor such as Keithley, Agilent, etc that does all of the measurements then you probably will use GPIB. If you are wanting to take measurements from some external sensor then you probably will want to choose DAQ.
    StuartG

  • New FIOS customer with dropped VOIP calls and Internet connection

    I am a new FIOS customer. Got my 50/25 connection a week ago, switching from a TWC 6/1 connection. Ever since the new connection, I've had numerous issues.
    My VOIP (Ooma) connection constantly drops and re-connects during conversations
    I've had random Internet connection losses, which picks up again after a few minutes
    My home alarm starts chirping every once in a while
    I've contacted Verizon several times due to these problems and have received varying answers with no resolution of the problem.
    The first time I spoke with support, the tech logged into my router and changed the WiFi channel saying that would fix the problem. It didn’t.
    The second time I contacted them, the tech ran a bunch of diagnostics and said everything looked fine so it must be an IP address conflict with my devices, because I had a couple devices using static IP addresses. He said everythinf should be DHCP and the last two digits could not be higher than 99 (192.168.1.99). He said FIOS does not support 3-digit numbers at the end.
    So I changed all my devices to DHCP and ran some online VOIP tests. It showed a packet loss of 2-5% and MOS score of 1 (which is bad). I was still getting dropped connections, so I disconnected all devices and connected just one computer to the router and tested again. I was still getting packet loss.
    Then I called support a third time, this time the tech said there were no 2-digit IP restrictions and that he was detecting there was no UPS baterry backup for the ONT which was probably causing the problem, so he dispatched a field tech to my house.
    Today the field tech came (same guy as before), he took one look at the box and said it was too close to my Electric meter and the RF from the meter was causing interference to the FIOS connection and resulting in dropped connection.
    He moved the ONT to another location and said that should fix it.
    Well, I'm still seeing packet loss and low MOS score when I run the VOIP test.
    I don't know how much of what the techs are saying is true and how much is made up stuff.
    Has anyone had similar issues and have thoughts on solutions or likely causes for dropped VOIP calls and connections? Could RF be causing this?
    I thought going from a 6/1 Cable connection to a 50/25 FIOS connection would be awesome, but this has turned out to be a nightmare, and I may have to switch back to cable if the problem is not resolved.
    I would appreciate any help.
    Thanks!

    Don't know where the packet loss is happening. I ran the VOIP test on myspeed.visualware.com and it shows a packet loss of 2-5% at different times and a MOS score of 1.
    The report says MOS should be around 4 for good VOIP calls.
    The Verizon tech who came to the house just blamed the electric meter box for RF interference and move the ONT farther away.
    My concern is that I'm getting different answers from different techs at Verizon.
    Regarding IP addresses. The Router shows a DHCP range from 192.162.1.2 to 192.168.1.254 as available for devices on the network. So, if I need to assign a static IP to a device should I use a number below 99 or above 151?
    Thanks!

  • What is the better way to open and close connection in bean

    Hello, may i ask about the best way to open and close the connection?
    At the first, the connection code is store in Conn class bean. The JSP page will call a method in Process bean to process the query and update of database. the Process bean is using th Conn to connect to database.
    In my process bean, it have a method for each type of sql like select, insert, update, and delete for each tables. Each method will call the Conn to open and close the connection. The jsp page can simply call a method retrieve or update records.
    However, when calling the processUpdate method, it is a method that update a group of tables base on the query result of another group of tables and calculation. If I calling the query method in the same bean file, it will open and close the connection many times (more than 1000 times). After open and close the connection several times, the connection to mySQL will be fail.
    Currently, i include 2 method in Process that is only calling the Conn to open the connection and close connection. When calling the openConnection method, it will also set the boolean connected in the class to true and call Conn to open connection. When calling the closeConnection method, it will also set the boolean connected in the class to false and call Conn to close connection.
    After that, i add some change to the query method which is when the connected is false, it will open the connection by calling the Conn and close the connection themself. If the connected is true, it will not call the Conn to open and close the connection because it already connected to the database.
    Now, i when i calling the query method in jsp, it can open the connection and close the connection individually. When i call the processUpdate in the jsp, this method will calling the openConnection before calling the query and calling closeConnection at the end. It not only faster the process(less open and close), it also no cause the connect to mySQL fail error again. However, it also make the coding in the bean file more longer and complex.
    Is there have any better solution?

    Use connection pooling. This will put the connection management in the hands of the webserver, not your code. Check out this post:
    http://forum.java.sun.com/thread.jspa?threadID=741788&messageID=4252932#4252932

  • Open discoverer report in new browser window and without connections page

    Hi All,
    We are using Oracle 11g Discoverer 11.1.1.4.  Requirement is to open the discoverer report in a new browser window and without connections page.
    When we are running discoverer reports with this parameters we unwantedly get the connections page of the discoverer plus which we don't want.
    Went through the documentation given in this page and followed it still the issue persists, and i see couple of threads with my issue and no updates.
    This excerpt is from the documentation available in the link
    " _plus_popup=true and framedisplaystyle=embedded launches Discoverer Plus in a new pop-up browser window that contains the Plus applet embedded in it "
    http://www.art2dec.com/documentation/docs/oas10g1012/linux/bi.1012/b13918/urlstart.htm
    and Here is what we use to invoke our reports.
    http://ipaddress:port/discoverer/plus?cn=cf_123&_plus_popup=TRUE&framedisplaystyle=EMBEDDED&wb=disc_wb_1
    Request the forum users from PRO discoverer group to help me out of this issue and expect a good discussion on this.
    Thanks in advance

    Closing the thread
    We were able to achieve by changing the browser settings in the IE 8 Browser. Disabled Tabbed browsing.

  • I am using Windows 7 Pro, 64 bit on a brand new PC, and cannot connect to the iTunes store using iTunes version 10.  HELP!!

    Ok, so after purchasing a new computer, with windows 7 pro, 64 bit, I tried downloading the newest iTunes, which at the time was 10.2.1 (i believe).  After installation, everything seemed to work, except that iTunes was unable to securely connect to the internet, use home sharing, or validate my computer.
    As troubleshooting, I first ran msconfig, and then turned OFF all programs that boot at start up EXCEPT itunes and quicktime.  After a restart, i opened itunes again, and got the same result.  That led me to believe that iTunes was NOT being blocked by another program on my machine.  I am currently running itunes 10.7 successfully on a Windows 7 32 machine at work.  Anyhow, for grins, I tried to install version 9 on the new computer, and it installed perfectly, and immediately connected to the itunes store, leading me to believe that there is nothing wrong with my software configuration (not sure if this is a safe assumption or not).  I then tried to let iTunes update itself using the automated update function.  It tried to update itself to the most current version, then 10.6.  Again, iTunes was unable to connect to the iTunes store.  I HAVE tried disabling the anti-virus software (AVG), but that made no difference. 
    I have since gone back and reinstalled iTunes 9.  Here's the catch though.  When I reinstalled using version 9, I had to redo all my library files.  I'm about 1/2 way through my CD's, and now have a substantial library file going.  The last time I let iTunes update itself to 10.6, once I realized that it was not going to connect to the store, I uninstalled iTunes, and reinstalled ver. 9.  However, when I did this, it told me it could no longer open the library file, because it was a newer .itl or .xml (i believe it was one of those two extensions) library file.  At that point, I basically started everything over again, using version 9, and have been importing CD's like a madman at night.
    Here are my questions:
    1) Is there a way to make a copy of the files that store my library info, so that if my upgrade to ver 10 IS NOT SUCCESSFUL, I can restore ver 9, but still have all of the album art work, playlists (when I import music, I create a playlist with the artists' name, and store things that way), etc. in tact? 
    2) What else can I try (firewall settings, internet options, etc.) to try and get version to to successfully install?  I would really like to get all the benfits of the newer versions.
    3) When I tried to get apple tech support before, they wanted me to pay a ridiculous 69$ fee for phone support.  I just bought an iphone 5....this should entitle me to a fresh 90 days of phone support, right?  The reason I ask here is that I could hardly understand the "tech" that answered the phone when I called for tech support last time, and to be honest, it really ****** me off that they wanted to try and milk me for another 69 bucks....I've purchased every iPhone since the 3Gs came out (pre-ordered at that), and have nearly gone broke purchasing music from their iTunes store....heck, maybe they're doing me me a favor not letting me into the store, huh?
    Any help or ideas would be greatly appreciated,
    -Brian

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • We just added a new printer and bluetooth connection to our iMac.  Now iTunes does not recognize our iPads as devices.  Have already tried restarting everything.  Any other suggestions?

    We just added a new printer and bluetooth connection to our iMac.  Now iTunes does not recognize our iPads as devices.  Have already tried restarting everything.  Any other suggestions?

    You can try the steps recommended here: http://www.apple.com/support/ipad/assistant/itunes/

  • What is the diff.b/w UD connect and DB Connect

    Hai,
              can any one expalin diff.b/w UD connect and DB connect...
    Regards

    Hi Lakshmi,
    please check the threads below
    UD and DB Connect
    DB connection,UD Connect Document
    Also this
    http://help.sap.com/saphelp_nw04s/helpdata/en/a6/c0e51914e842e19bda39dbbe4fe78c/frameset.htm
    hope this helps!
    Regards
    Chandru

  • PHP and MySQL Connection problem

    I am trying to make a PHP MySQL on a remote server connection in Dreamwesaver CS3.
    When I enter the information (host, user, password, etc.) and hit TEST, I get the following error message.
    "Access Denied. The file may not exist, or there could be a permission problem. Make sure you have proper authorization on the server and the server is properly configured."
    I know the user, password, etc. work, as I can access the MySQL database with other software.
    I checked with my host and they say there are no permission problems on their end.
    I have checked the settings on the Test Server page in Site Setup and everything looks correct and works there.
    I have not seen this particular problem described in other forum postings (although there are a LOT of postings on this topic!).
    Any help would be appreciated.

    I thought my testing server was the remote server and is always on as far as I know. I don't know how to turn it on or off.
    Is there some other testing server that I should be aware of?
    Frank
    Date: Wed, 3 Jun 2009 15:43:02 -0600
    From: [email protected]
    To: [email protected]
    Subject: PHP and MySQL Connection problem
    I know you are using remote, but is your testing server on? if not turn that on and see if that does it. it just happened to me working on remote server and could not get mysql conn to work, until I turn on my testing (developer server), then I was able to connect to mysql and the tables that I created in phpmyadmin remotly was downloaded.
    >

Maybe you are looking for