TCP architecture advice and suggestions

Hello All,
Just trying to come up with some ideas for architecture implementation.  I am needing to communicate to multiple cRIO modules and typical use TCP in the past to communicate with each cRIO module.  I now have the problem of having multiple cRIO modules running and I want to be able to split the command set into generic and specific commands.  i.e a Generic command is received and handled in the same way for each cRIO chassis from the host controlling PC.  This allows me to have a generic type def command set and several specific type def command sets within a project.  I was hoping to use a poly on the cRIO side (and the host) in order to adapt to which command set it has received and use a different state machine (Which will all be similar) depending on which type def command it has received.  This should avoid me having one large type def CMD enum which contains all of the generic commands, all the commands for cRIO A, all the commands for cRIO B etc.
Essentially I know this isn't going to work but is there any other ways of doing this?  Is this touching on the realms of dynamic dispatch by selecting which vi is run at runtime? Is it time to bite the bullet and use classes? Etc etc
If anyone can shed some light it would be appreciated.
I have thought of workarounds but that is not what I am after really, just if there is a way of doing it properly and if so where to go read up next.
Many Thanks in advance
Craig
LabVIEW 2012
Attachments:
Example Problem.png ‏27 KB

Hi Craig,
If it was me building this program I would go down the dynamic dispatch/ classes route as it will allow the architecture to be very scalable as the system needs to expand.  I think any other method of implimenting this will have limitations which can be avoided by using the dynamic dispatch/ classes design. 
In terms or where to read up on this and how to get started ni.com has a lot of documentation on this subject a simple search will find many results but I have included a few below that may help to get you started.
If you have any more questions then please feel free to post back an I will be happy to help you further.
Intro to LVOOP
What the Heck is OOP
Best Regards
Matt Surridge
National Instruments

Similar Messages

  • I upgraded to Mountain from Snow and find that there is now a problem adding iphoto to the cloud.  I have iphoto '08,version 7.1.5.  Tried to follow one poster's advice and upgrade to 9.1 but I need 9.0 first and I can't find that.  suggestions? thanks!

    I upgraded to Mountain from Snow and find that there is now a problem adding iphoto to the cloud.  I have iphoto '08,version 7.1.5.  Tried to follow one poster's advice and upgrade to 9.1 but I need 9.0 first and I can't find that.  suggestions? thanks!

    You have to buy iPhoto from the Mac App Store.

  • When I try to launch itunes I get an error mesage saying that Apple application support was not found and suggests that I uninstall and re-install it, but that doesn't work

    When I try to launch itunes I get an error mesage saying that Apple application support was not found and suggests that I uninstall and re-install it, but that doesn't work

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    Start with the section Install missing components which should address your particular error. Otherwise the steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If you've already tried a complete uninstall and reinstall try opening iTunes in safe mode (hold down CTRL+SHIFT) as you start iTunes, then going to Edit > Preferences > Store and turning off Show iTunes in the Cloud purchases. You may find iTunes will now start normally.
    tt2

  • TTL signal vs TCP-IP, parctical and timing considerations

    We have just purchased a BioPac MP1 50 physiological recording system (www.biopac.com). We would like to start/stop an acquisition from another computer system and/or to add annotations and markers.
    To this end it seems there are two routes to consider. We could either use the built-in Trigger in/out capability with TTL signal of (0 and +5V square pulse) or use TCP-IP client-server to control it remotely (i.e. using VIs such as TCP-IP Listen). In the later case, I�d use the Beta LabView API libraries that BioPac is about to release for the MP150, instead of the dedicated AcqKnowledge 3.8.1 software, which is really good.
    Because we need to correlate event during the physiological recording of our experim
    ent, it would be ideal if the resolution were of ms accuracy (i.e. latency less than 1ms) and we need to manage up to 16 trigger channels.
    I have very little technical background knowledge on this. Thus, in order to help me evaluate a solution, I would appreciate any comments and suggestions.
    1) I would like to know first if anyone could recommend an easy solution to generate TTL signal (0 � 5V logical pulse) on both Windows and LINUX PC?
    For instance I read about using the 25-pin parallel port, but I am curious to learn about other possible alternative such as USB, USB2 with or without adapter but also a very cheap card (a couple $100 max). I am already ruling out serial connection, because I am told it is very slow and has horrendous latency.
    2) What are the latencies in read and writing/issuing TTL signals com? How does it compare with a dedicated byte stream through TCP-IP, on a dedicated cable and on a network cable?
    3) Are they any VI application that you c
    ould share to show how LabView 7.0 can talk through the respective ports to generate a pulse forming the trigger information being written or read in?
    I look forward to hearing your feedback and suggestions. Many thanks in advance.
    Donat-Pierre LUIGI

    Use TTL. It is likely that the TCP/IP messages will get there fast enough
    and that the software will respond in a timely manner but there is no way to
    be sure. It is the fastest way to get from your LV application to your
    other device. You may need to check the response time that the BioPac will
    give to the TTL input verses a TCP/IP message.
    You should also consider the level of programming needed to accomplish your
    tasks. I would strongly suggest that you get a seasoned LV programmer on
    the job or you will be wasting a lot of time and enduring needless
    frustration.
    The parallel port will respond is sub-millisecond. You should be able to
    toggle it several hundred times in a millisecond. I've had LV applications
    use the printer port for this type of communications before. I don't
    remember the bandwidth but it's more than adequate for this application.
    TCP/IP will sometimes get delayed by the OS (either Windows or Linux) due to
    other things that are happening at the time which you don't have control of.
    The message should go out in very short order (again sub-millisecond) but
    there is no control over this.
    Good luck,
    Chuck
    "Donat-Pierre" wrote in message
    news:[email protected]...
    We have just purchased a BioPac MP1 50 physiological recording system
    (www.biopac.com). We would like to start/stop an acquisition from
    another computer system and/or to add annotations and markers.
    To this end it seems there are two routes to consider. We could
    either use the built-in Trigger in/out capability with TTL signal of
    (0 and +5V square pulse) or use TCP-IP client-server to control it
    remotely (i.e. using VIs such as TCP-IP Listen). In the later case,
    I'd use the Beta LabView API libraries that BioPac is about to release
    for the MP150, instead of the dedicated AcqKnowledge 3.8.1 software,
    which is really good.
    Because we need to correlate event during the physiological recording
    of our experiment, it would be ideal if the resolution were of ms
    accuracy (i.e. latency less than 1ms) and we need to manage up to 16
    trigger channels.
    I have very little technical background knowledge on this. Thus, in
    order to help me evaluate a solution, I would appreciate any comments
    and suggestions.
    1) I would like to know first if anyone could recommend an easy
    solution to generate TTL signal (0 - 5V logical pulse) on both Windows
    and LINUX PC?
    For instance I read about using the 25-pin parallel port, but I am
    curious to learn about other possible alternative such as USB, USB2
    with or without adapter but also a very cheap card (a couple $100
    max). I am already ruling out serial connection, because I am told it
    is very slow and has horrendous latency.
    2) What are the latencies in read and writing/issuing TTL signals
    com? How does it compare with a dedicated byte stream through TCP-IP,
    on a dedicated cable and on a network cable?
    3) Are they any VI application that you could share to show how
    LabView 7.0 can talk through the respective ports to generate a pulse
    forming the trigger information being written or read in?
    I look forward to hearing your feedback and suggestions. Many thanks
    in advance.
    Donat-Pierre LUIGI

  • Payment Advice and Check print - RFFOUS_C

    Hi All,
    Requirement is to print Payment Advice and check in same page and if multiple invoices then check in first
    page is voided and actual check is printed in last page at the end of Payment run (F110).
    RFFOUS_C is the program used to print both check and payment advice but currently this program print one invoice and check per page.
    (1) Is there any configuration available in FBZP to print multiple invoice in one page with check ?
    or
    (2) Is it feasible to customize RFFOUS_C program as this program generate check number per invoice and Data base update inside loop processing.
    Please suggest....any solutions.
    Thanks.

    Hi,
    I have same requirement.
    I want to print the payment advic and check for each vendor.
    For example, for vendor A if i have 10 invoice then it should print generate one payment document with 10 invoice document.
    and suppose i have two vendors  then it should generate the two payement document one for each vendor.
    can we control payement by each vendor?
    What confuguration i need to do for the same.
    Kindly help.
    Regards
    Sachin

  • Comments and Suggestions Please

    Dear Apple List,
    We are looking for comments and suggestions on how to improve and enhance our website - both aesthetically and perhaps in terms of function.
    We would really appreciate any advice you might have. Thank you
    http://www.thebaandekmontessori.org

    There is something mysterious in people's behaviour. If they bought something and they never experienced any problem with it, they tend to stay with that brand, but if they encountered difficulties and especially if that happened more than once, they tend to steer away from that brand. If you buy a certain brand of car and it is at the dealer for repairs more often than you like, your next car will probably be another brand.
    I have had my share of problems with Seagate disks (7200.11 series that were notoriously bad and had a failure rate of more than 100% after several were replaced under warranty), so my natural tendency was to steer away from Seagate and look for other options. However, when I considered the price of their 7200.14 series, I was tempted again, but at the same time turned off by their meager 1 year warranty and the reviews on for instance NewEgg. Those reviews are generally rather meaningless, because you never know how people have handled and installed their stuff, but nevertheless it was a mark on the wall for me. In my specific case I needed 25 identical disks to start with and based on price, warranty and reputation I selected Seagate Constellation ES (the Enterprise editions) drives, which up to now have performed flawlessly for 6 months. I have to admit I have never used WD drives at all apart from the Velociraptor which is still going strong in my old system, but they seem to have a good reputation, have a nice warranty period and are somewhat reasonable priced.
    I have no idea how much space you need, what future plans you have (do you need to get a parity raid in the future) and stuff like that, but WD Caviar Blacks have a solid reputation for single disk use or in striped arrays. OTOH in parity arrays they are lousy, so if you may consider a parity array on a dedicated controller, the Blacks are out.
    For setting up your disks, have a look at http://forums.adobe.com/thread/662972

  • I'm still struggling with being able to sync ipad3 and iphone 4s to itunes after upgrading software to ios 6. I've gone through all the recommendations by Apple and suggestions from other forums and nothing seems to work. Help!!!!!

    I'm still struggling with being able to sync ipad3 and iphone 4s to itunes after upgrading software to ios 6. I've gone through all the recommendations by Apple and suggestions from other forums and nothing seems to work. Help!!!!!

    Sounds like you have a battry issue but don't want to believe it.
    If a car was running fine on one tank of gas, then you filled it up with another tank of gas and it began to run funny, one might suspect that tank of gas. But let's just say coincidence blew a valve-- would you think the new tank of gas was the culprit?
    BUT WAIT!! It just might have been! The gas could have been of higher octane and put more more strain on the valves; you know, like going from 87 octane (OS6) to 93 octane (OS7) and showing you the engine was on the edge of compromise.
    Sometimes you have to go with common sense. If everything else is ruled out, it must be the battery. And if it runs fine one moment in OS6 but immediately ***** in OS7, I'd believe my battery was suspect-- though comfy-- in OS6 but the OS7 showed its true power.
    Moreover, if you had the answer-- or didn't want to believe someone's more competent advice-- why did you even call?  You've already shown that you don't know much when you asked if you could go backwards after setting up the new OS as a new phone.
    Additonally, if you're such the know-it-all, but yourself the $29 battery and put it in yourself. It's a piece of cake.
    <Edited By Host>

  • Some problem about SAP R/3 ~ I need some detail solutions and suggests

    I need some detail solutions and suggests about below these problems:
    Problem 1: SAP Management Console cannot start successfully
    •     Problem 1.1: Click on SAP Management Console, but yellow light continues for a long period of time.
    •     Problem 1.2: In DOS, startsap command cannot start SAP R/3.
    •     Problem 1.3: Oracle 9i database automatically shutdown by itself.
    •     Problem 1.4: There is very low disk storage left (say less than 50MB) in the hard disk where Oracle 9i database is installed in the server.
    Problem 2: Problems in User Maintenance and Security of the SAP R/3 System
    •     Problem 2.1: Super user account password was lost (e.g. SAP* password was lost)
    •     Problem 2.2: Super users DDIC and SAP* were dropped in table usr02 in Oracle.
    •     Problem 2.3: Some users have been locked or deleted by an ABAP programmer who has been granted with almost superuser profiles.  For example, an ABAP programmer has been granted a profile of SAP_ALL and SAP_NEW but the system administrator would like to restrict all programmers form using SU01, SU02, SM01, so that no programmers can maintain other user's accounts.
    Problem 3: Problems in the configuration of client copy
    •     Problem 3.1: A copied client from the Client 000 cannot be customized.
    •     Problem 3.2: No sample data in IDES after a successful client copy.
    •     Problem 3.3: Logging on without being authorized.  A new client is created and client copied and transported successfully.  However, anyone can log into the system using user SAP* with the default password PASS.
    Problem 4:  Problems in the installation of SAP R/3 Server
    •     Problem 4.1: Computer Name of the SAP R/3 server has been changed after the full installation of Oracle 9i and SAP R/3.
    •     Problem 4.2: A network card of a server was faulty and it was replaced by a new network card but the SAP R/3 license was expired.
    •     Problem 4.3: You would like to reinstall SAP R/3 on a server which has previously installed with SAP R/3 but the same error message appears during the re-installation.
    Problem 5: Problems in the backup and recovery of Oracle 9i Database
    •     Problem 5.1: A redo log file was lost and the database could not be started.
    •     Problem 5.2: A group of data files were accidentally deleted and the database could not be started.
    •     Problem 5.3: Both the online redo log files and archived redo log files have been damaged.
    Problem 6: General problems regarding the general operations and the connection to the SAP R/3 System
    •     Problem 6.1: After a reboot of the Windows 2003 Server, SAP service is not automatically started.
    •     Problem 6.2: Some users complained that the performance of SAP R/3 is really very slow.
    •     Problem 6.3: A user complained that his/her password was correct but he/she could not lock on the client because it was locked.

    Problem 2
    2.1  If user account of the sap* is lost u can retrive by loging into os level as sidadm type this command
    DELETE  SAP<sid>.USR02 where BNAME='SAP*' AND MANDT=100
    This 100 is the client in which u want to delete the sap*
    after that restart the server and login as sap* with the default password as pass
    there is also another way of doing this if needed u can catch me at [email protected]

  • SharePoint 2013 Snippets usage advice and help

          
    SharePoint 2013 Snippets usage advice and help  
    I am new to SharePoint Site development.  I am creating a simple public website to look similar to their old one.
    I have created a masterpage that looks OK using the design manager, and also a page layout. I have got the website looking half OK.
    I seem to have difficulties all the time when it comes to snippets - and finding specific help on how to use each individual one.
    So the main question - where would you advise I go to get help?
    The current snippet issue is:
      > regarding to top navigation menu
      > I have inserted one into the masterpage - and got it working
      > However it will not let me do submenus when I go into Edit Links
      > But I then went to site settings and did the edit links from there
      > It let me there - but it's a different menu !! (I now have two)
      > I can't see this second menu from within the snippets - it defaults to one that does not allow sub menus
      > So how do I change the snippet to look at the menu I was able to edit
    But more generally - when I get this kind of issue, where to I look for the solution?
    Thanks in anticipation

    Hi Mike,
    Go through the links for SharePoint 2013 Snippets. It'll help you in a better way.
    SharePoint 2013 Design Manager snippets
    Indul Hassan
    Microsoft Community Contributor
    http://www.indulhassan.com
    You Snooze.. You Lose !!

  • My iPod 5th gen touch went through the washing machine. It still works but it has water in the screen and I can't get it out. I put it in uncooked rice for a day but it didn't work. And suggestions??

    My iPod 5th gen touch went through the washing machine. It still works but it has water in the screen and I can't get it out. I put it in uncooked rice for a day but it didn't work. And suggestions??

    Leave it in the rice for at least a day and change the rice every other day or so. The rice and iPod should be in a sealed container.
    Apple will exchange your iPod for a refurbished one for $149. They do not fix yours.
    Apple - iPod Repair price              
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the screen yourself if you are up to it
    iPod Touch Repair – iFixit

  • My new ipod touch is not recognised in itunes or Windows 7 on any of my computers/laptops.  I've followed the online advice and still no luck.  Help much appreciated!

    My new ipod touch is not recognised in itunes or Windows 7 on any of my computers/laptops.  I've followed the online advice and still no luck.  Help much appreciated!

    Does it charge?
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Try another cable
    - Look at the dock connector on the iPod. Look for abnormalities like bent or corroded contacts, cracked or broken plastic.
    - Make an appointment at the Genus Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • The search function in the itunes store does not work.  It will accept a request and suggest searches but then it locks up and will not search.  Clicking on the magnifying glass or a suggested search does nothing.  Re-installing itunes has not helped.

    The search function in the itunes store does not work.  It will accept a request and suggest searches but then it locks up and will not search.  Clicking on the magnifying glass or a suggested search does nothing.  Re-installing itunes has not helped.

    everything you stated here is exactly what i have done and have got nowhere. i have windows 7 64 bit on a hp 8 g of ram desktop. im also looking for help

  • Usage of CRM_ORDER_MAINTAIN SAP Help Link and Suggestions Required

    This is regarding CRM_ORDER_MAINTAIN fm
    Currently we are using function module crm_order_maintain outside Loop i.e calling once for all the contracts as sap crm performance standard ,
    Is there any standard documentation where we can find that states CRM_ORDER_MAINTAIN should be only used outside loop,
    As some are telling us to use in Loop Endloop because of timeout error in background job with contract having 180 line items,Which i feel that this create unneccessary load on execution (Not Recommendable)
    Please share any comments and suggestion this and also provide me the SAP Help Link on this

    Hi,
    for example to you, look for FM CRM_LRP_APPOINTMENTS_GET_DIAG which using CRM_ORDER_MAINTAIN and parameter  it_appointment.
    Hope this helps.
    Regards, Kostya Khveshchenik

  • I downloaded Lion on my iMac.  It apparently cleaned out the hard drive.  Nothing shows up from before.  It looks like a brand new computer.  It is backed up on Time machine.  Any idea of why this happened and suggestions on restoring?  Thanks.

    I downloaded Lion on my 4 yr old iMac.  The download stalled at the last minute so I clicked "CANCEL".  When it was restarted, Lion was there, with no apparent option but to go ahead and install so I assumed it was okay.  Didn't transfer data from "another computer" when prompted - assumed it would transfer from that computer.  It apparently cleaned out the hard drive.  It looks like a brand new computer.  None of my apps, programs,  files, or thousands of photos.   It is backed up on Time machine, but it's a sickening sight.  Any idea why this happened and suggestions before restoring?  Thanks.

    I cannot find this 300GB "Backup" in the Finder, only in the Storage info when I check "About This Mac".
    You are probably using Time Machine to backup your MacBook Pro, right? Then the additional 300 GB could be local Time Machine snapshots.  Time Machine will write the hourly backups to the free space on your hard disk, if the backup drive is temporarily not connected. You do not see these local backups in the Finder, and MacOS will delete them, when you make a regular backup to Time Machine, or when you need the space for other data.
    See Pondini's page for more explanation:   What are Local Snapshots?   http://pondini.org/TM/FAQ.html
    I have restarted my computer, but the information remains the same. How do I reclaim the use of the 300GB? Why is it showing up as "Backups" when it used to indicate "Photos"? Are my photos safe on the external drive?
    You have tested the library on the external drive, and so your photos are save there.  
    The local TimeMachine snapshot probably now contains a backup of the moved library.  Try, if connecting your Time Machine drive will reduce the size of your local Time Machine snapshots.

  • I need some detail solutions and suggests about below these problems ?

    I need some detail solutions and suggests about below these problems:
    Problem 1: SAP Management Console cannot start successfully
    • Problem 1.1: Click on SAP Management Console, but yellow light continues for a long period of time.
    • Problem 1.2: In DOS, startsap command cannot start SAP R/3.
    • Problem 1.3: Oracle 9i database automatically shutdown by itself.
    • Problem 1.4: There is very low disk storage left (say less than 50MB) in the hard disk where Oracle 9i database is installed in the server.

    3.1 - If you client copy from client 000, you need to go to SCC4 and set the client to customizing chnages allowed;
    3.2 - If you do a client copy from client 800 (the one that SAP delivers data in) you should have data. Client 000 is empty (almost).
    3.3 - You should be able to change the password of SAP* PASS user.
    I am not sure which version you are dealing with, but ERP2004 and ERP2005 allow you to change the password suring installation.
    Also, there is a parameter that can be maintained that allows you to log on as SAP*. If you set as not available, no one can log on.
    Hope it helps,
    Leonardo De Araujo

Maybe you are looking for

  • How can I file a complaint about an employee who has been messing with me on purpose (on trades)?

    Hello. What's the best way to file a complaint against an employee who basically tried to ruin all game trades for me? She just stands there in the customer service section doing nothing, she paces back and forth while customers are waiting, and she

  • Substyle of theme is displayed in preview but not in map

    Hi All, i am developing a map with the oracle sample schema oe and i want to display customer data based on the two parameters credit_limit and income_level. i created two advanced styles: for income_level: <?xml version="1.0" ?> <AdvancedStyle>     

  • EWA report not getting

    Dear Experts,         I am facing an issue regarding EWA report after application of ST-PI patch 6 of (2005_1_700)         and ST-A/PI (01K_ECC600).After applying these patches when i send session_data for EWA         report to SDCC_OSS.It is not get

  • JDBC Receiver Adapter with Native SQL String

    Hi experts I need to use a JDBC Receiver Adapter with Message Protocol of Native SQL String, but I don´t understand how to create my data type for XML Document Format. I studied the following example from the SAP Library, INSERT INTO tableName (colum

  • ABAP Proxy Class - GET_BUSINESS_SYSTEM_ERROR

    I am using ABAP proxy in R/3 to send data to third party system thro' XI. In our development XI it works fine but in our QA-R/3 I am getting error "An error occurred when determining the business system (NO_BUSINESS_SYSTEM)". Does anyone has any idea