How is a Worker Role hosted?

Hi
How is a worker role hosted in Azure. What process is it in?
I'm thinking of how to test locally or an on premise version. Is the Azure host process simply a windows service?
I'm writing a solution that uses the Service Bus for Window Server 1.1 as my customers all use on-premise servers (at the moment). It would be handy if I could create a worker role for on premise solutions :)
Thanks
Graham

Hi Graham,
Thanks for your posting!
Base on my understanding, Azure worker role is used for some services would run in the background to collect, transform, and prepare data.  In other words, Azure work role could
executive function to a background processor .
In worker role project, we could see  the file named "WorkerRole.cs". The class inherited the "RoleEntryPoint".
public class WorkerRole : RoleEntryPoint
public override void Run()
// This is a sample worker implementation. Replace with your logic.
Trace.TraceInformation("WorkerRole1 entry point called");
while (true)
Thread.Sleep(10000);
Trace.TraceInformation("Working");
public override bool OnStart()
// Set the maximum number of concurrent connections
ServicePointManager.DefaultConnectionLimit = 12;
// For information on handling configuration changes
// see the MSDN topic at http://go.microsoft.com/fwlink/?LinkId=166357.
return base.OnStart();
When one worker role instance was starting, it could be executed "OnStart()" method firstly. Then in a worker role’s lifecycle is the "Run" method, typically implemented as an infinite loop, such as "While(true) ".
In fact, if the Run method terminated, the instance would be restarted or recycled again. Please see this video (http://channel9.msdn.com/Series/Windows-Azure-Cloud-Services-Tutorials/Introduction-to-Windows-Azure-Worker-Roles-Part-1).
For your question----" Is the Azure host process simply a windows service?", the answer is that one worker role can be one or more than one instance (VM).
And in your scenarios, Worker role could meet your requirement. In VS, Azure SDK support one project template named "Worker role with service bus queue". Please see this documents:
http://msdn.microsoft.com/en-us/library/azure/jj149831.aspx
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to deploy worker role to Azure cloud via portal

    Hi
    I have two worker roles in my VS Project and I need them to be running on Azure cloud. I have created the storage accounts, the worker roles are using Queues, that I created using c# code.
    I looked up some articles and they say I have to create a hosted services from top left corner, but I don't see any hosted service link on my portal. (I am thinking the new version of Azure Portal does not have hosted service link, probably been replaced
    with something else but I don't know what it is)
    Can someone please help me what to do after I create a package and have the config and package files in app.publish folder. How to deploy the  worker roles in cloud using the Portal
    Thanks
    -Sarah

    Hi,
    >>I looked up some articles and they say I have to create a hosted services from top left corner
    As far as I know, cloud service was called hosted service in old azure platform, see below old platform screenshot.
    About deploy your application to cloud service, please refer to
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-create-deploy/ for more detail information.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Worker Role Hosting

    I am a beginner in azure, so i implemented a worker role and host it on cloud through visual studio 2013 with remote machine enabled. after hosting i logged into that instance, i find the folder of worker role but no IIS hosting no service so how the worker
    role is actually hosted in that machine.

    Hi,
    A worker role is a role that is useful for generalized development, and may perform background processing for a web role. When you have a need for a background process that performs long running or intermittent tasks, you should use this role.
    Worker Role is a part of Compute however does not run IIS.
    Some of the differences between a Web Role and a Worker Role are:
    The web role provides support for presenting a user facing frontend through IIS. While you can write code to present a user interface using a worker role, the web role makes creating this type of application easier.
    In the web role, IIS handles the efficiency of threading. In the worker role you must handle threading issues yourself.
    You must provide a run method that is called to initiate processing.
    The security perimeter is different between the web and worker role. In the web role the access control lists (ACLs) for certificates are set to support IIS and network services by default. When using a worker role you must set the ACLs to support the permissions
    your application requires.
    The types of tasks a worker role is typically used are:
    Long running tasks that are asynchronous that the user does not have to wait for.
    To host application services that do not require a user interface.
    Background services listening to a queue.
    Running TCP based services.
    Compute intensive jobs.
    To know more about creating Worker Role, you might want to follow the below article
    http://windowsazure4beginner.com/Tutorial/Hello-World-Application.html
    Hope this helps !
    Regards,
    Sowmya

  • How to move worker roles to VM?

    I've developed an app that has 3 worker roles and a web role.  The client has decided that they want to put this on a VM.  I understand how to handle the web role but I am unclear how I convert the worker roles.  I've searched but I can't
    find anything that directly guides me on what's needed.  Does anyone know of a link that would show me how to convert over?

    The easiest way to develop a Windows Service in my opinion is using
    Topshelf.
    You can convert your Worker Role code across pretty easily by
    calling the Run code from the WhenStarted event, the OnStop code from the WhenStopped event and the OnStart code from the constructor of your service class.
    Alternatively, you can
    inherit the ServiceControl interface and implement the Start and Stop methods.
    Deploying the service is easy too. Simply get the built files from your console app (a Topshelf service is simply a console app) and
    invoke the app (e.g. PowerShell script) with the install parameter, then again with the start parameter.

  • Using Application Insights in a worker role using OWIN Web API 2

    Hi,
    Great work, I'm wondering if you had any guidance on using Application Insights with a worker role hosted Web API 2 application using OWIN ?
    I'm planning to create a Delegating Handler as you don't have a Begin_Request event to issue the  ServerAnalytics.BeginRequest but anyone thoughts or guidance would be appreciated.
    We are planning to try it out over the next few days so I'll report back my findings then.
    Thanks
    John

    You can start with this (just an example, please adjust to your needs):
    public class ApplicationInsightsHandler : DelegatingHandler
    private TelemetryClient telemetryClient;
    public ApplicationInsightsHandler()
    this.telemetryClient = new TelemetryClient();
    protected override Task<HttpResponseMessage> SendAsync(
    HttpRequestMessage request, CancellationToken cancellationToken)
    DateTimeOffset start = DateTime.Now;
    return base.SendAsync(request, cancellationToken)
    .ContinueWith<HttpResponseMessage>((responseToCompleteTask) =>
    HttpResponseMessage response = responseToCompleteTask.Result;
    int statusCode = (int)response.StatusCode;
    this.telemetryClient.TrackRequest(request.RequestUri.AbsolutePath,
    start, DateTimeOffset.Now - start,
    statusCode.ToString(),
    statusCode < 400);
    return response;
    Anastasia

  • 'Not running in a hosted service or the Development Fabric' exception on deployed Worker role

    We are getting this exception after a worker role has been operating fine in production for several weeks.  Once this exception starts getting reported, it will keep getting it every time the worker role tries to access anything with the Diagnostics:
    Not running in a hosted service or the Development Fabric
    Note that the role is full trust, and as I mentioned this in in production on the Azure servers, NOT in debug.  The worker role itself does some dynamic compilation, for which it needs to start a new AppDomain.  It appears that the exception is
    coming from the spawned AppDomain when it occurs.  The exception itself is triggered on a simple Trace.TraceInformation call.
    What could cause this?
    What can we do to recover from this?

    We are getting this exception after a worker role has been operating fine in production for several weeks.  Once this exception starts getting reported, it will keep getting it every time the worker role tries to access anything with the Diagnostics:
    Not running in a hosted service or the Development Fabric
    Note that the role is full trust, and as I mentioned this in in production on the Azure servers, NOT in debug.  The worker role itself does some dynamic compilation, for which it needs to start a new AppDomain.  It appears that the exception is
    coming from the spawned AppDomain when it occurs.  The exception itself is triggered on a simple Trace.TraceInformation call.
    What could cause this?
    What can we do to recover from this?
    Hi,
    I have tested this situation in Windows Azure platform and i can not reproduce your exception message, my test code in follwoing MSDN samples and i deploy it in Production status.
    The MSDN article (include Appdomain code snippets)
    http://msdn.microsoft.com/en-us/library/system.appdomain.aspx .
    Base on my understand, the "Not running in a hosted service or the Development Fabric" error message occur when Azure Emulator or Azure development fabirc, because you create a new appdomain in WorkRole, and it may cause permission errors, a similar
    posts by my research:
    https://social.msdn.microsoft.com/Forums/en-US/windowsazuretroubleshooting/thread/50987285-58ac-484e-b604-725fe01a3325
    If you still have some problems, please inform me. Thank you.
    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

  • How to develop and deploy multiple worker roles in single azure cloud services?

    I am Manikandan, From Myeasydocs.com.
    We have developed our application as web projects.  Now we are going to move to azure cloud services, i have successfully migrated our application in cloud services and it worked fine. I am having difficulties with back ground task. i have nearly 12
    schedule tasks in our applications. I need assist on creating multiple worker role creation and deployment.
    Is there is any site on explaining the worker role process in details?
    Thanks in advance .. !!

    Hi,
    In Worker role, Applications hosted within worker roles can run asynchronous, long-running or perpetual tasks independent of user interaction or input. It is a service component that is useful for generalized development, and may perform background processing
    for a web role. A worker role is frequently used for long-running tasks that are non-interactive, but you can host any type of workload.
    I suggest you to follow the below article which explains about Creating and Deploying of Web Roles and Worker Roles in Azure Cloud Service using Visual Studio.
    https://msdn.microsoft.com/en-us/magazine/jj618299.aspx
    Hope this helps !
    Regards,
    Sowmya

  • How Does The security-role Mapping Work?

              I am studying the security part of the deployment descriptor. I am confused about
              how the mapping works.
              Suppose we have
              <security-role>
              <role-name>manager</role-name>
              </security-role>
              and
              <security-role-ref>
              <role-name>FOO</role-name>
              <role-link>manager</role-link>
              </security-role-ref>
              My first question is when a client of the servlet supplies a name for authentication,
              the name supplied should be FOO or can be, say, John Smith?
              Then, according to the Servlet Specification, a security role is a logical grouping
              of users defined by the Application Developer
              or Assembler. When the application is deployed, roles are mapped by a Deployer
              to principals or groups in the runtime environment.
              My second question is how deployer maps the role, say, manager, to principals
              or groups in the runtime environment?
              Thanks in advance.
              

              Thanks a lot, Udit.
              "Udit Singh" <[email protected]> wrote:
              >
              >Hello,
              >The role-name is mapped to principals or gruops based on the security-role-assignment
              >entrires in weblogic.xml. Let us say you have a role-name FOO and you
              >want to
              >assing this role to users John and Mark. You need to make this entry
              >in weblogic.xml-
              ><security_role_assignment>
              > <role-name>FOO</role-name>
              > <principal-name>John</principal-name>
              > <principal-name>Mark</principal-name>
              > </security_role_assignment>
              >
              >so now actually the user need to supply John or Mark as user name at
              >the time
              >of authentication . Hope it helps.
              >
              >Udit
              >
              >
              >"[email protected]" entrance wrote:
              >>
              >>I am studying the security part of the deployment descriptor. I am confused
              >>about
              >>how the mapping works.
              >>Suppose we have
              >><security-role>
              >><role-name>manager</role-name>
              >></security-role>
              >>
              >>and
              >>
              >><security-role-ref>
              >><role-name>FOO</role-name>
              >><role-link>manager</role-link>
              >></security-role-ref>
              >>
              >>My first question is when a client of the servlet supplies a name for
              >>authentication,
              >>the name supplied should be FOO or can be, say, John Smith?
              >>
              >>Then, according to the Servlet Specification, a security role is a logical
              >>grouping
              >>of users defined by the Application Developer
              >>or Assembler. When the application is deployed, roles are mapped by
              >a
              >>Deployer
              >>to principals or groups in the runtime environment.
              >>
              >>My second question is how deployer maps the role, say, manager, to principals
              >>or groups in the runtime environment?
              >>
              >>Thanks in advance.
              >>
              >>
              >>
              >
              

  • How to pass input arguments to Worker Role Application using Powershell

    Hi All,
    I have a worker role running in Windows Azure Portal. I need to pass arguments to this Worker role service and get the output by using PowerShell.
    Can someone please specify how this can be achieved using PowerShell?
    Thanks and Regards,
    Vivek

    Hi,
     Please refer to the Following StackOverflow article that talks about how to configure PAAS instances for Powershell remoting.
     http://stackoverflow.com/questions/15787768/accessing-azure-cloud-service-paas-instances-via-powershell-remoting
    Regards,
    Nithin Rathnakar

  • How to know the CPU performance of Worker Role & Web Role

    Hi,
    We found out the CPU percentage for both Worker Role is less than 1% (0.77).
    Any idea why it is very less?
    Please help!
    Thank you!
    Regards,
    Krishna 

    Hi,
    We can collect our CPU utilization information, and the article below give us the detailed steps to do this.
    #http://azure.microsoft.com/en-gb/documentation/articles/cloud-services-dotnet-diagnostics/
    there are many factors that affect CPU, I would suggest you analysis of
    the information we received to find out the detailed information.
    Best Regards,
    Jambor 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Windows 8.1 with Hyper-V external switch - 802.1x not working in host nor guest

    Hi,
    I have Windows 8.1 with installed Hyper-V and virtual machines connected via Hyper-V Switch - External. 802.1x wired authentication is not working in host nor in guest machine (computer is not responding to switch requests). If I will change switch mode
    to Internal/Private it will start working.
    Do you have any idea how to get it working also in external mode?

    Hi,
    What is the physical network configuration in your environment? Are you using wireless or wired connection?
    We tested this issue as you described here, and the external switch is working fine.
    Have you tried to delete the created switches and recreate one, test this issue again?
    Yolanda Zhu
    TechNet Community Support

  • VS 2013 crashes on opening Worker Role configuration

    After creating a cloud project using Azure SDK for .NET 2.4 then Visual Studio 2013 (update 3) crashes when I attempt to edit the Role Configuration via the UI by double clicking the [Cloud Project] -> Roles -> [Worker Role Name] in Solution Explorer.
    The event details as text looks like this.
    Application Error
    Log Name: Application
    Source: Application Error
    Date: 12-09-2014 10:33:59
    Event ID: 1000
    Task Category: (100)
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: [removed].[removed].com
    Description:
    Faulting application name: devenv.exe, version: 12.0.30723.0, time stamp: 0x53cf6f00
    Faulting module name: KERNELBASE.dll, version: 6.1.7601.18409, time stamp: 0x53159a86
    Exception code: 0xe0434352
    Fault offset: 0x0000c42d
    Faulting process id: 0x1f54
    Faulting application start time: 0x01cfce63c98e92fb
    Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe
    Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
    Report Id: 8a86cb32-3a57-11e4-857a-0026b9e0fb6f
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-09-12T08:33:59.000000000Z" />
    <EventRecordID>213664</EventRecordID>
    <Channel>Application</Channel>
    <Computer>[removed].[removed].com</Computer>
    <Security />
    </System>
    <EventData>
    <Data>devenv.exe</Data>
    <Data>12.0.30723.0</Data>
    <Data>53cf6f00</Data>
    <Data>KERNELBASE.dll</Data>
    <Data>6.1.7601.18409</Data>
    <Data>53159a86</Data>
    <Data>e0434352</Data>
    <Data>0000c42d</Data>
    <Data>1f54</Data>
    <Data>01cfce63c98e92fb</Data>
    <Data>C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe</Data>
    <Data>C:\Windows\syswow64\KERNELBASE.dll</Data>
    <Data>8a86cb32-3a57-11e4-857a-0026b9e0fb6f</Data>
    </EventData>
    </Event>
    .NET Runtime
    Log Name: Application
    Source: .NET Runtime
    Date: 12-09-2014 10:33:59
    Event ID: 1026
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: [removed].[removed].com
    Description:
    Application: devenv.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.AggregateException
    Stack:
    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__4(System.Object)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
    at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
    at System.Windows.Threading.DispatcherOperation.InvokeImpl()
    at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
    at System.Windows.Threading.DispatcherOperation.Invoke()
    at System.Windows.Threading.Dispatcher.ProcessQueue()
    at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
    at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
    at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
    at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
    at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name=".NET Runtime" />
    <EventID Qualifiers="0">1026</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-09-12T08:33:59.000000000Z" />
    <EventRecordID>213663</EventRecordID>
    <Channel>Application</Channel>
    <Computer>[removed].[removed].com</Computer>
    <Security />
    </System>
    <EventData>
    <Data>Application: devenv.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.AggregateException
    Stack:
    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.&lt;ThrowAsync&gt;b__4(System.Object)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
    at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
    at System.Windows.Threading.DispatcherOperation.InvokeImpl()
    at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
    at System.Windows.Threading.DispatcherOperation.Invoke()
    at System.Windows.Threading.Dispatcher.ProcessQueue()
    at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
    at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
    at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
    at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
    at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
    </Data>
    </EventData>
    </Event>
    Just prior to the crash...
    ...it seems like VS 2013 is attempting to log me in to a company server (active directory?). Regardless of my action (providing my login credentials or cancelling the login) VS 2013 then proceeds to crash.
    My other computers
    On my private laptop that connects to the internet via a private internet connection, the same type of project loads the configuration page w.o. issues (same VS and SDK configuration).
    Others have this issue as well
    There is also a thread about this on SO, although without a solution:
    Visual Studio 2013 crashes when opening up service configuration for edit
    Can anybody provide any help about how to solve this, please?
    Br,
    Claus

    Hi Will
    Thanks for your answer - I have added my findings below:
    The problem apparently stems from the authentication process.
    If you are using your company email as username on Azure, the inherent domain name will cause the authentication method to redirect you to your company's Active Directory.
    The problem can be solved by choosing a different email as username on Azure.
    The problem can also be replicated by setting up a website with authentication using Azure Active Directory. During login through Azure AD, the exact moment you enter the domain name in your username, the login screen redirects you from the Azure AD to the
    AD at sts.[email domain name] - and consequently, the login fails. Using a different username the Azure AD authentication works flawlessly.
    Br,
    Claus

  • "Export classes in frame x" in AS3: how does it work?

    My steps:
    1. I have some beefy classes
    2. I want my SWF to show a preload anim while it loads these
    classes
    3. Using the "Export classes in frame: " option, I move my
    classes to frame 10
    4. I put a stop(); on the first frame and test w/ the
    bandwidth profiler visible.
    Desired + expected behavior:
    1. My preloader spins, and I have minimal K on the first
    frame and then the main hit on the chosen export frame.
    Observed behavior:
    1. all of my classes are available on the first frame (ala,
    all of my logic can be performed on the first frame, even though
    the framehead is sitting firmly on frame 1)
    2. there is still a spike in K on the output frame
    Notes:
    - am I just missing the point here? Is this how it always
    worked?
    - why is the Document Class available in the first frame? Is
    this mandatory w/ the new structure?
    Thanks for your time and help-
    cgs

    Thanks, moccamaximum, I believe this did open up a connection and now I have no errors.
    However, my problem still persists.
    Here is what it says in the output of my AS3 flash site:
    _root
    SWFBridge (AS3) connected: host
    SWFBridge (AS2) connected as client
    imgNum: 10
    thumb: images/image1.jpg
    image: images/image1.jpg
    thumb: thumbs/image2.jpg
    image: images/image2.jpg
    thumb: thumbs/image3.jpg
    image: images/image3.jpg
    thumb: thumbs/image4.jpg
    image: images/image4.jpg
    thumb: thumbs/image5.jpg
    image: images/image5.jpg
    thumb: thumbs/image6.jpg
    image: images/image6.jpg
    thumb: thumbs/image7.jpg
    image: images/image7.jpg
    thumb: thumbs/image8.jpg
    image: images/image8.jpg
    thumb: thumbs/image9.jpg
    image: images/image9.jpg
    thumb: thumbs/image10.jpg
    image: images/image10.jpg
    4
    _root
    4
    163
    _root
    163
    67
    _root
    67
    43
    _root
    43
    56
    _root
    56
    20
    _root
    20
    85
    _root
    85
    64
    _root
    64
    3
    _root
    3
    I don't understand how its able to trace that it is getting the images in the path, yet there are no images to be seen in the gallery!
    I found out that my gallery does work (with images and all) when loaded into a movieclip in a blank AS2 file instead of my AS3 site. Am I doomed since even localconnection will not help?

  • How to store data from Host.vi in cRIO-9074

    TejasKumar Patel
    I implemented a advance Measurement and Control system using cRIO-9074
    with c-Series I/O cards( NI 9217, 9411, 9264)
    I have some questions about it,
    (1)- Data rate from FPGA targate to host vi is too low. how can I increase
    it, when I run my host VI, sometimes all temperature sensor update at
    same time and sometimes one by one, can you please give me some hint, how
    can I correct it, I used two FIFOs for NI-9411 digital pulses, I put all
    Digital input and all analog output and input in a seperate while loop in
    FPGA targate VI.
    (2)- I have to write that data to analyse for further result. I tried all
    possible way to write data including wite to spreadsheet.vi, write to
    text.vi, Data storage.vi, Write to measurement.vi. All this VI work
    efficientlywhen it run individualy, But when I connect this VI to
    writedata from FPGA host VI. than it always give empty file.
    I saw your post in NI discussion forum about how to write data from
    Host.vi, But still I am confuse that how can I creat a protocol between
    host VI and Fpga target vi. to write the data in a file. I have nearabout
    38 channel to write data.
    (3)- I have to measure time difference between two digital pulses, to find
    a flow rate. I am using counter for it with risisng edge shot.vi, but when
    i get a timestemp when there is risisng edge for the second rising edge
    how can I get timestemp. Its like i have to measure time between two
    pulses, I triend waveform measurement.vi to find cycle period. but it not
    worked. any other was to measure it.
    I am stuck in this question since from last one month. I already followed
    NI-discussion forum solution but it doesnt work. I think the way I applied
    is may be wrong. 
    Looking forward to hear from you soon.
    Plese send an additional email copy to [email protected]
    Thank you and Best Regards, 

    Thanks Joseph for your support,
    1-      If I count the ticks between the pulses it always seems different ….because this method I already tried, but it does not work,  like some times it shows 9099 tick and at the second pulse it shows like some more or less ticks not the same ticks every time. To complete my project, the biggest problem is the data storage.
    2-      As you gives the solution in NI forum, “low level file I/O Vis such as Write to text file” FPGA target not support this VI. And mainly I want to write data from HOST.vi, because I am process those data …and I need to store it. For to figure out my result.
    3-      If I use “Write to text file. VI (Sub-VI ) to FPGA.vi, it not support because it support string data and I have FIXpoint data. And can you explain me what is low level file IO, and how can I use in fpga.vi??
    4-      Yes, for my project time stamp it really necessary, for data analysis.
    5-      I need the time stamp to find out what was the system response at the time.  As our project based on weather temperature, I need time stamp.
    Waiting for your reply,
    Thanks and Regards,
    Patel

  • What are Azure limitations for Websockets in Cloud Services (web and worker role)?

    A WebSocket Server should be built on Azure platform with OnPrem connections and have questions regarding limitations for Websockets in Azure Cloud Services - web and worker roles.
    Websockets can be configured for Web Sites and limitations are understood, but Azure Websites is not an option. 
    Nevertheless it is planned to run a web service (without UI - no web site) as a Cloud service which has secure websocket (WSS) connections to OnPrem machines. Websocket protocol is enabled for IIS8 on Cloud services web and worker roles. Azure Service Bus Relay
    is not an option.
    Questions:
    1) Are Websockets supported for Azure Cloud services web and worker roles? we assume yes
    2) What are potential limitations from Azure side to support concurrent Websocket connections? We are aware that CPU, memory etc are limitations, but are there additional limitations from MS Azure side? 
     

    Hi,
    As I know, azure cloud service web and worker role support Websockets, users can connect to the role via the special endpoint, if we use Azure cloud service, I think we can monitor the metrics such as CPU, memory, etc... and scale our cloud service via these
    metrics to keep the websockets working, refer to
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-scale/ for more information about how to scale a cloud service.
    Regards

Maybe you are looking for

  • Converting 10-bit image to RGB 24

    I am using the IMAQ 1409 board to acquire black and white image in 10-bit format. Using the vision software I am type-casting this image into an RGB image. Later am saving the images into an AVI file using VIs from developer zone. The images are save

  • Selection groups for tables and header tables

    A couple of questions or rather observations around Selection Groups for tables and conversion objectu2026 1) For tables that do not really have a date field, for instance table PDSNR, it appears that you cannot specify a selection group. Consequentl

  • Why does Mountian Lion keep changing my computer name?

    We have 2 iMacs. Both on Cloud but not in the same building, One is running Lion and the other is running Mountain Lion. When I installed Mountain Lion, the second computer decided it needed to be known as iMac (2) but at least once a week it decides

  • Why do I get an "Array element prototype" -17001 error when trying to "View Paths"?

    I added some custom types to my sequence file and to MyTypes.ini, and then opened and updated all of the .seq files under "Components/User". I'm a TestStand Newbie, but I think I did this correctly. Now, if I try to "View Paths" in the sequence file,

  • Canon MX310 printer problem

    I purchased a Gateway LX6810-01 from BestBuy this past February. It came bundled with a Canon MX310 printer. I can copy, print and fax with the printer, however I can not get the scan function to work. I worked with Canon for days and nothing they tr