Queued State Machine, not a state machine?

I've been reading up a bit on design patterns that seem popular among LabVIEW users, and I have a question with regards to the design pattern described in the following article:
http://expressionflow.com/2007/10/01/labview-queued-state-machine-architecture/
I don't see how this is a state machine at all. To me it just looks like a producer/consumer pattern for queuing up actions (what is described in the article as states) to be executed in the consumer loop. I don't see where a state machine comes into play, determining state transitions based on current state and inputs, like shown in the following:
http://zone.ni.com/devzone/cda/tut/p/id/3024
Am I completely off?

Yeah exactly.
I was thinking a nice way to implement something QSM-like would be to produce instances of a message handler object that maintains its own state and a message queue. You could produce a new object for network I/O that inherits from the general message handler, one for managing the UI, data aquisition etc. They would communicate in a network by passing messages back and forth to their respective queues and each would be a true implementation of a state machine.
Has to be right up LabVIEW's visual alley
Edit:
Now that I come to think of it, this would be almost exactly what could be done compactly with LabVIEW event handlers and user-generated events.

Similar Messages

  • Oracle Error - statement handle not executed state

    Hello,
    A BCA scheduled job has failed and returned with the following error. Does anyone have an idea to fix this error.
    Connection or SQL sentence error: (DA0005): [Exception: DBD, ORA-24338: statement handle not executed State: N/A] The following data providers have not been successfully refreshed
    Thanks
    -Gopi

    Please provide more information on what Crystal Reports or Business Objects product you are using. The more details you can provide, the quicker the resolution...
    Ludek

  • Running DAQ-9188 with LV13 runs great on developing machine not on target machine

    Hi
    Running DAQ-9188 with LV13 runs great on developing machine, built exe, transferred to new machine and I cannot get the values to update. Front panel opens everything looks good but no updated values, and no errors. Can someone help?  Thanks.

    Looks like others are pointing you in the right direction let me just add a few things.
    You must have a project to build an EXE.  You add VIs to the project and then under the Build Specifications in the project you can right click and create a new EXE build.  Here you must specify what the top level VI is which is the thing that gets ran when you run the EXE.
    After that you need to make an installer.  To do this go back to the project, and right click Build Specifications but this time make a build for the Installer.  Here you need to say what things to include in the installer.  You can choose to include the EXE you built earlier.  In addition to that under the "Additional Installers" section you can choose to add other installers.  The default one selected will be the run-time engine.  That thing you went and downloaded.  
    Other things you'll need depend on what is in your EXE.  Did you use DAQmx?  Then you'll need to include it in the additional installers.  Did you use XNET?  Include it.  Did you use Report Generation? Internet Connectivity Toolkit?  Vision?  VISA?  etc.
    It is some times hard to know what to include that's why in 2013 NI added a feature to try to can for things you used and include them.
    Including these things will balloon the installer.  Expect several GBs for the installer if you used DAQmx and other things.  Once these are installed on a new machine you can make an update installer that doesn't include these things, and just includes the updated EXE.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Cisco Agents goes to Not ready state

    Hi,
    I have use IPCC ver:4.0(5) SR01ES09_Build095.
    We have encountered that our cisco agents automatically change state and it will goes from log-in state to Not ready state.
    what was the solution where i have to check the logs.
    regards
    Salman

    Hi Salman-ahmad,
    This could be the way you have your agents or CSQ configured, you can configure IPCC to have them to automatically goto Not ready or stay in ready. Have you check your system parameter's?
    Under RMCM Subsystem, click the resource link on the left hand side,
    there is a "automatically Available" radio box you need to select.
    Otherwise you maybe hitting this bug.... Are these your symptom's?
    CSCsf11662 Bug Details
    Agent goes to Not Ready after making Outbound call from Ready state
    Symptom:
    Agent makes outbound call from ICD extension (to a non-ICD extension), when
    the agent finishes the call, they go into Not Ready state when they expect
    to be returned to Ready state.
    Conditions:
    - Cisco Customer Response Solutions (CRS) 4.0(3)
    - Agent makes outbound call from ICd extension whilst in Work state (after just finishing an incoming ICD call).
    - Agent places the outbound call on Hold at some stage during the call.
    Workaround:
    If the above scenario occurs, Agent needs to manually change to Ready state.
    HTH, Please rate if so
    Regards,
    Justin

  • DPM: Agent unreachable - Can not map machine account Resolution state

    Hello,
    We have 15 DPM servers with latest patches (3.0.8193.0). Currently we are having below error messages into two of our DPM servers. Could you help us to resolve these problems?
    Alert: DPM: Agent unreachable - Can not map machine account
    Source: DPMSERV011
    Path: DPMSERV011.xxx.xx.com;DPMSERV011.xxx.xx.com
    Last modified by: System
    Last modified time: 10/31/2013 2:00:02 PM Alert description: DPM agents on some of the protected servers are not reachable because machine account cannot be mapped.
    DPM Server: DPMSERV011.corpaa.aa.com
    Resolution steps:
    Verify that both protected server and the domain controller are responding. Then in Microsoft Management Console (MMC), open the Group Policy Object Editor snap-in for the local computer and verify the local DNS client settings in Local Computer Policy\Computer
    Configuration\Administrative Templates\Network\DNS Client.
    (Note: The DNS Client is disabled at both DPM and agent server)
    Alert view link: "http://DataSERV54021.xxx.xx.com:51908/OperationsManager?DisplayMode=Pivot&AlertID=%7b925c8b34-0d99-4bd2-a754-71354bd89f0e%7d"
    Notification subscription ID generating this message: {6EED81DB-935D-651F-4ACA-194C1FDBB428}
    Regards
    Abul Hasnat
    Abul Hasnat

    Hello,
    The servers are pingable and there is no local firewall. The servers are communicating but some sync jobs are failing. The Sync set to every 45 min.
    Thank ypu
    Abul Hasnat
    Abul Hasnat

  • How to add a state to an existing state machine?

    Hello,
    I have a state machine with 5 states. See attached vi (LabVIEW 7.1).
    Now I want to add another state ("wait") between state Druck Aufbau and Druck Abbau. How can I do that?
    I tried to add a state to the enum on the left and then I noticed that I would have to modify every enum in the vi and the case structure as well.
    Is there an easier way?
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Attachments:
    Hysterese_Disc.vi ‏75 KB

    You should replace all enums of the state machine with your type def'ed one. Thus, every change you make will be propagated throughout your state machine. When you need to add or delete states, change the typ def (so the Enum.ctl), and then all the enums will change. Thats the very reason of type definitions. In future, always use type defed enums.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • SCOM 2012 SP1 exchange edge transport queue is showing as not monitored state.

    Hi,
    We have exchange servers which is being monitored by both SCOM 2007 and SCOM2012 SP1, in SCOM 2007 R2 exchange edge queue is getting discovered, but in SCOM 2012 SP1 it is showing as not monitored state.
    Please help me in resolving this issue.

    Hi,
    What kind of MP did you import on SCOM 2012? Meanwhile, please try the following suggestions.
    1. Start the Remote Registry service. 
    2. Enable File and Printer Sharing 
    3. Check the network connectivity between the management server and the Exchange Server and ensure the FQDN of the Exchange Server can be resolved. 
    4. Clear the HealthService queue on the Exchange Server:
    a. Stop System Center Management service.
    b. Go to C:\Program Files\System Center Operations Manager 2007\, and rename the “Health Service State” folder.
    c. Restart System Center Management service.
    Niki Han
    TechNet Community Support

  • JFileChooser (again!) slow in JRE 1.6.14 on some machines, not others

    I am running ImageJ (from the NIH) on several of our machines and on some machines JFileChooser is lightning fast, while others exhibit the same slowness spoken of in another JFileChooser thread that is now in a locked state. We open large image files (tif, png) located on our SAN and from the network traffic I see in Windows Task Manager while opening a folder containing the images I would guess that JFileChooser is actually opening the files (intentionally or not), not just obtaining a folder listing. It's similar to the same issue of opening a large folder of images with the view set to thumbnails - it takes about the same amount of time. I have tried the suggestions in that thread to no avail - the environment the machines are running is:
    Windows XP SP3
    Java JRE 1.6.0_14
    Can anyone comment on what JFileChooser is doing and how I can get it to stop this? Is it a Windows environment setting so that the native API calls made by JFileChooser will behave differently? Thoughts?
    Thanks,
    Tom

    I can't be absolutely sure, but we have several seemingly identical machines used for the purpose of reading medical images and several of them appear to work correctly (very fast loading and population of the folder's contents) and others don't. I have been using eclipse to enhance the software tool we're using (ImageJ) and using the debugger I can see that when the JFileChooser object is being instantiated and populated with entries a tremendous amount of network traffic occurs. This network traffic is equivalent to the amount I see when the same folder is opened in My Computer using a thumbnails view of the folder contents. Apparently, the network is delivering approximately 300-400 MB of images. As far as configuration of the Windows machines is concerned I haven't found a significant difference yet, though I admit I am not a Windows desktop admin and may not know of some configuration item that could be responsible. I assume (though could be mistaken) that both My Computer and JFileChooser are ultimately using similar API calls to get the folder content entries?

  • Share Point 2013 MP for SCOM 2007 R2 - Not Monitored State

    Hi All,
    I have imported SharePoint 2013 MP in SCOM 2007 R2 and the sharepoint farm group is in "not monitored" state, moreover only one computer name out of all sharepoint farm servers is being populated in unidentified machines (rest are not being
    shown anywhere in Microsoft SharePoint folder).
    I have followed all the steps as per installation guide of sharepoint 2013 (foundation & Server) MP. Configured run as account has the farm admin rights.
    Please help as it seems discovery is not working properly.
    Regards,
    Prabh.

    Hi,
    Hope the below blog be helpful:
    Configuring the SharePoint 2013 Management Pack
    http://blogs.technet.com/b/kevinholman/archive/2013/05/14/configuring-the-sharepoint-2013-management-pack.aspx
    Please go through it.
    Regards,
    Yan Li
    Regards, Yan Li

  • "Java Virtual Machine not loaded"

    I get this message every time I boot up. It just started recently. Anyone know how to fix that? Everything seems to run okay, but that annoying box pops up every time.
    "Java Virtual Machine not loaded"
    Thanks in advance.
    kar

    To state the obvious:
    1 - Install JAVA
    2 - Java is installed: change your PATH vaialbe to point to the folder with JAVA.EXE in it.
    3 - check to be sure your CLASSPATH variable is correct -- this will not give you the error you describe, but it will make other things very anoying.
    4 - If everything in 1-3 look good, then uninstall, delete any remaining JAVA folders and reboot (cold boot), and then re-install JAVA and pay attention to any errors that may be generated (It sounds like something messed up your install before).

  • To time machine or not to time machine

    Hi folks,
    I have a 2011 iMac (21.5" /  2.8Ghz i7 / 8GB Ram / 1TB 7200 RPM HDD). I have never done a clean instal of the OS. I am now running Yosemite and she's a bit clunky. Logging in takes about 5 minutes. apps are crashing, sometimes they wont even launch, and lots and lots of beach balls!! Ive decided its finally time to bite the bullet and do a clean install of Yosemite. My question is: how heavily should I use time machine for the resotre? I have around 6 OS's worth of updates and who knows how many in app updates. I don't want to bring along any corrupted bits in apps to the new snappy instal. Would it be wise to go and download all the app installers and do a fresh instal of the apps? Or is a recorvery from time machine just as good? Any thing else I should be thinking of when it comes to documents, files and libraries like iTunes or adobe Lightroom??
    I have never needed to use time machine for recovery since I migrated to mac in 2011 when I bought this imac. Last time i did a reformat and install of an OS it was windows XP -which I'm glad to have this problem.
    Thanks for the wisdom
    Dale

    dalewestae wrote:
    Thanks Drew. I'm in full agreement with you about the clone. It's a good idea for sure.
    A)
    What I meant by granular is that MA/SA are kind of all or nothing. All apps or no apps. what if I don't want a bunch of apps I have installed because they are no longer useful. Same with User Data and Other Data. For example I have a bunch of gopro videos on my HD from a vacation in my "movies" folder. I've already edited the content and made a video. All I want is the final video. I don't need the 50GB of raw footage sitting on my internal drive. I will keep the Raw on my time machine and now a second copy on my bootable clone. If I use MA/SA I have to take those files in the restore because I do want my other movies. In time machine can't I open "movies" - select all folders except "Costa Rica GoPro"  and click restore?
    B)
    The question is really geared towards  apps. Is there a benefit to restoring apps by actually downloading new installers via the web/app store. Since those are clean installs too. My concern is that application restores via time machine or MA/SA may have those tiny bits of data that make the software not 100% since some of my apps were installed years ago and have undergone not only OSX updates but their own in app update process (fragmentation) Like firefox for example..... I cant even image how many times it's been updated in the last 4 years. Obviously clicking the apps box is really easy and I'd prefer it.
    I may be over thinking it but I really only want to do this once. Since I will be spending a considerably large chunk of time I want the computer to be a efficient as possible.
    A)
    You can selectively restore from Time Machine as you state (into an brand new user account), but I think you will find that grabbing all the User data & then deleting the stuff you don't want is faster than pecking away and restoring items individually. Are you even aware where all the important files live (calendars, contacts etc). When it comes to Apps do you know where any required support files are stored?
    Otherwise you need to dig into the hidden ~/Library for things like keychains, Mail settings, Safari history… not to mention the app DB's like iTunes, iPhoto etc.
    B)
    All or nothing is how MA works - this is especially true of apps. MA is actually too good at bringing old data over IMO - it brings too much, not too little.
    You don't just get the .apps from /Applications. With MA's 'Applications' option you get App support files that may exist in any of the Libraries (Fonts, updaters, plugins, template data – basically all the junk you are running away from).
    If you really want to restore a few apps from the TM copy or clone do so (provided these are 'drag installed' apps), but it is far better to get the latest release from the developer's site (not software aggregators). The App store makes it very quick to install your apps too. Apps that use packages may install support files elsewhere, so dragging the app from a backup is not enough to have it all.
    Fragmentation in terms of files is not an issue - the OS deals with that itself anyway (defragging files as they are accessed). The actual issue is having too many ancient apps with frameworks, plugins, extensions, system level background jobs and other processes that interfere with the OS.
    Clearly it is your own choice, I find it is fastest to clone the important stuff (just user data) then reinstall the handful of important apps. Apps like GrandPrespective or Whatsize make finding & purging large files easy. You may be surprised by how few apps you actually need - keep the machine lean to maximise performance.
    If you want to see what is installed take a look at an Etrecheck report, no need to post it unless you want to, but it can indicate what you have laying around on disk.
    http://etresoft.com/etrecheck

  • WMIService not returning virtual machines in the list after performing a Hyper-V VM export/import

    Hello,
    Win 8.1, VBscript
    After moving 3 servers to a new PC, my scripts don't work because WMIService is not returning the virtual machines in the list from the query.  The following query shows the problem:
    Option Explicit
    WScript.Echo "vmStatus"
    Dim WMIService
    Dim VMList
    Dim VM
    'Get instance of 'virtualization' WMI service on the local computer
    Set WMIService = GetObject("winmgmts:\\.\root\virtualization\v2")
    'Get all the MSVM_ComputerSystem object
    Set VMList = WMIService.ExecQuery("SELECT * FROM Msvm_ComputerSystem")
    WScript.echo "count "
    WScript.echo VMList.count
    For Each VM In VMList
    WScript.Echo "========================================"
    WScript.Echo "VM Caption: " & VM.Caption
    WScript.Echo "VM Name: " & VM.ElementName
    WScript.Echo "VM GUID: " & VM.Name
    WScript.Echo "VM State: " & VM.EnabledState
    Next
    This is the output:
    vmStatus
    count
    1
    ========================================
    VM Caption: Hosting Computer System
    VM Name: WBCDEVIDEPC2
    VM GUID: WBCDEVIDEPC2
    VM State: 2
    On the previous machine there would be 4 machines in the list, the host plus 3 VM's.
    Any ideas why this might be happening?  Clearly winmgmt is running or the host machine wouldn't have been returned.  I've compared as many things as I can with the previous PC (also win 8.1) and can't find any differences.  I'm assuming
    there is some basic thing about the new PC that isn't setup correctly, but I can't figure it out.
    The VM's that were moved to the new hosting machine are in fact working correctly.  There's a domain controller, a TFS server and a build machine.  The domain is functioning and clients can reach the TFS just fine.
    Thanks.
    Best Regards,
    Alan

    Hi jrv,
    Got it, you're right, it's intuitive - and cool.  Thanks for talking me into it.  It'll take time to get good, but I don't need to be good right now.
    While I was searching around (just before you last post), I found this
    site and as you say, it seems pretty straightforward.
    So when I type get-vm in my powershell, I get nothing back.  That's why I was a little slow on the uptake, I thought I was doing something wrong.
    My vm's are working just fine.  The domain is up, TFS is working, but my vm's are simply not being reported through get-vm.
    Where should I turn next?
    Best Regards,
    Alan

  • Try to download acrobat x1 and pop up appears that states process not elevated

    trying to download acrobat X1 subscription and pop up appears that states process not elevated?

    Hi Lisa,
    I would suggest running the program with Admin Rights so that the installation process can start. If the machine you are working on is a company machine, its possible you dont have enough rights on that machine. In that case, please get in touch with your Local IT team to resolve this concern.
    Cheers,
    Kartikay Sharma

  • Set calls to automaticaly go back in a ready state when not answered

    What I would like to do is when a call is not answered and it is dropped into a not ready state so it can be presented to the next Agent is have that agent that was put in a NOt Ready State come right back to a ready state. That way the Person does not have to re-selct the ready State button they can auto take the the next call. I hope I explained this correctly
    Thank you
    Dave

    Hi David,
    Yes, the call will be still held at Queue if someone doesn't answer it in the CSQ, it will try to reach the next available agent based on the criteria selected inside the CSQ.
    One thing which is to be considered while making Agents to go to Ready state automatically after RONA (Ring On No Answer) is, if the Agents take long time to return back to their seat and start handling calls, there might be many calls who have landned (depends on the call volume and Agent count) on their phones but due to non-availability of Agents , the overall call wait time will increase accordingly.
    Hope it clarifies.
    Anand
    Please rate helpful posts..

  • User is in team state but not in team summary - Cisco supervisor desktop

    We have Cisco supervisor desktop where supervisor can see user in team state but not in team summary?? Any clue why is could be happening??
    Any help is much appreciated
    Thanks!

    Hi David,
    Not sure of setting an alert but Supervisor can use "Table 17. Summary display data"
    Agents Not Ready : The number of agents in this CSQ who are currently in the Not Ready state.
    And "Table 12. Team Summary display data (cont’d)"
    Max Not Ready : The longest time the agent spent in the Not Ready state today.
    And also refer the section "Creating Supervisor Work Flows"
    Using the Supervisor Work Flow Administrator feature, you can configure your desktop to perform certain actions based on queue statistics for calls waiting and calls in queue for specified skill groups.
    Refer the below link for more information on this.
    http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_8_5/user/guide/csd85ccxug-cm.pdf
    Hope it helps.
    Anand
    Pls rate helpful posts !!

Maybe you are looking for

  • UDP client stuck in infinite loop

    public static void main(String args[]) throws Exception       BufferedReader inFromUser= new BufferedReader(new   InputStreamReader(System.in));       DatagramSocket clientSocket= new DatagramSocket();       InetAddress IPAddress = InetAddress.getLoc

  • How can we generate a report in master data?

    hi, can we generate a report in master data,if yes pl give me the procedure, i am un able to get it. thanks & regards venkat

  • The proverbial "can of worms"

    Well thanks to all I have solved my remote linking from an external html, to specific swf frame problem. But now, as usual another problem has reared its ugly head. I have a button(s) with a spotlight animation effect in the "over state". It works fi

  • Monitoring templates and notification rules

    Hello I was able to create monitoring templates defining the thresholds I needed and create de notifications rules. Now where can I see them being used ? How can I see the results of a template? Where do the notifications rules publish the informatio

  • Removing thumbnails for deleted photos

    I have deleted a lot of photos from my computer using Graphic Converter because of its useful Find Duplicates function. Unfortunately, the thumbnails are still visible in iPhoto. Is there a way to easily delete them? Thanks, Frank