Software architecture for multiple device interface

Hi everybody!
I'm quite new at LabVIEW and I have a question regarding software architecture.
I have to program a software for controlling 3 motorized stage, a camera and a pump. I have separately programmed VI's that control each of them and now I would like to merge them in a single program and I don't know what is the best way to do it.
So far my sub-VIs are made of "event-based" structure that reacts when the users click on pushbuttons. Should I simply put all my sub-VIs (i.e. multiple event structures) in one big while loop? Is it the best way to do it? I've been looking for a while for references about that but I couldn't find any relevant ones and I would really appreciate your help. Also if you know good references please share them to me.
Many thanks!
Bests,
Julien

If you could give me more details or send me a link to references about it it would be awesome.
Sure, have a look at the attachement and see if it could be extended for your use?
It is a fairly simple implementation. I use it for reading for a number of different InputStream devices, such as FPGA DMA FIFO's, sockets, files, etc..
Br,
/Roger
Attachments:
LV2009 InputStreams.zip ‏1694 KB

Similar Messages

  • I have one apple ID for multiple devices in my family.  I'd like to keep it that way for itunes/app purchases.  I would like a simple step 1, step 2, step 3 response on what I need to do to separate all other features like imessage, contacts, emails, etc.

    I have one apple ID for multiple devices in my family.  I'd like to keep it that way for itunes/app purchases.  I would like a simple step 1, step 2, step 3 response on what I need to do to separate all other features like imessage, contacts, emails, etc.
    I have been reasearching how to do this on the internet, but I haven't found an easy explanation yet.  My family is going crazy over each others imessages being sent to others in the family and not being able to use FaceTime because of conflicting email addresses.  I have read that if each person gets their own iCloud account, this would work.  However, I need to know what to do after I set everyone up with their own iCloud account.  Do I make that the default email address to be contacted or can they still use their hotmail email addresses.  Any help- with easy explanation- would be much appreciated!!

    We do this in my family now.  We have one account for purchases, so it is used to share music and apps (I think that is in Settings/iTunes & App Stores).  Each iDevice has this configured.
    Then, each of us has our own iCloud account that is configured under Settings/iCloud.  That then allows us to have our own Mail/Contacts/Calendars/Reminders/Safari Bookmarks/Notes/Passbook/Photo Stream/Documents & Data/Find My iPhone/and Backup.  That Backup piece is pretty sweet and comes in handly if you replace your iDevice.  You can just restore from it.
    So we all share the Apple Store account but we all have our own iCloud accounts to keep the rest seperate or things like you mentioned are a nightmare.
    In answer to what iCloud does for you: http://www.apple.com/icloud/features/
    Think of it as an internet based ("cloud") area for all of those items listed in my response.  What you need to remember is photo stream only maintans the last 1000 pictures so don't count it as a complete backup solution for your pictures.  Even though I rarely sync with a computer these days, I do still try to sync my phone with iPhoto (I have an iMac) so that I have copies of all of my pictures.  1000 may not stretch as far as it sounds.
    Message was edited by: Michael Pardee

  • Same apple id for multiple devices

    I have been use the same apple id for multiple devices (both are iPhones running iOS 6 - one is a 4, the other a 4S.) I'd like to sync separate content for each device using the same instance of iTunes (iTunes V 10.7 installed on MacBook running OS X 10.6.8.) Can I assign the second device a separate apple id in odrer to differentiate the content? Thanks for your assistance!

    No, a second Apple ID will not work. iTunes can already tell them apart.
    When you connect the first iPhone to iTunes, check and uncheck the things you want and Sync.
    Do the same with the second iPhone.

  • Can I use the same Apple ID for multiple devices

    Can I use the same Apple ID for multiple devices?

    Yes. Up to five devices can be authorized on a single computer using the same Apple ID. You can also use the same Apple ID on multiple devices is they are all going to use the same iTunes Library by the same user. But it's ill-advised if multiple users are involved who wish to keep their devices separate from the devices belonging to other users.
    How to use multiple iPhone, iPad, or iPod devices with one computer
    Using More than One iDevice on the Same Computer
    This applies mainly to couples who are adding another device and do not want their email, messages, etc. being duplicated on both devices. To begin read: How to use multiple iPhone, iPad, or iPod devices with one computer. You need to establish a separate Apple ID and password for whomever will use the new iDevice. See Apple - My Apple ID and Frequently asked questions about Apple ID. The easiest way is to do this on the computer using iTunes: iTunes- How to set up an Apple ID within iTunes.
    On the computer create a new user account for the person with the new iDevice. This will be the user account that person will always use. He/She will no longer use the other user account. This way that person will have a separate iTunes Library
    Start by transferring the new device(s) to a new account along with all your data.  Save any photo stream photos that you want to keep to your camera roll (unless they are already in the camera roll) by opening your Photos app, tap on Albums icon at the bottom. Now, tap on My Photo Stream album; tap Select; tap on the photos you want to select;, tap the share icon (box with upward facing arrow) in the lower left corner; then tap Save to Camera Roll.
    If you are syncing notes with iCloud that you want to keep then you need to open each of your notes and email them to yourself. Later you can copy and paste the text into new notes created in your new account.
    Tap on Settings > iCloud > Delete Account (only deletes it from this device, not from iCloud; the person keeping the current account will not be affected,) provide the password to turn off Find My Phone and choose Keep on My iDevice when prompted.  Sign in with a different Apple ID to create your new account. Choose Merge to upload your data.
    Once you are on separate accounts, you can each go to icloud.com and delete the other person's data from your account.
    Note: The essence of the above was created by user, randers4. I
    have made substantial changes to improve readability and syntax.

  • Time Capsule only works for one device at a time, how to make it capable to be used for multiple devices at times

    Time Capsule only works for one device at a time, how to make it capable to be used for multiple devices at times.
    Please help to set it up, thanks in advance

    You need to give more info..
    Firstly only works for what.. networking.. backup.. wireless. You need more nouns.. more adjectives... describe what you want and what fails.. then we can figure out why.
    Most likely you have bridged it when it should be in router mode..
    Most likely you are using Lion or ML which has the airport utility bridge the TC by default.
    Change it to working as a router. That might help.
    If you press reset button it will default back to router btw.
    If you are on Lion.. use a real utility. http://support.apple.com/kb/DL1547

  • Will the apple tv 2 receive a software update for the new interface?

    Will the apple tv 2 receive a software update for the new interface?

    J.T.Holloway wrote:
    I don't love it, but I don't dislike it either.  Between the two, at least initially, I think I prefer the previous interface.
    I know that will be the case for me.
    J.T.Holloway wrote:
    The new one is a little more Apple-like with icons instead of lists, but I liked having everything right on the screen before and now I have to scroll down to get to the icons below the tv screen view.
    The old interface wasn't perfect but logical - as you say the icons are for the iPhone and iPad crowd, and as i see it will entail more scrolling and button hopping on the remote.
    J.T.Holloway wrote:
    I do like the icon look as it is more like the iPad, iPhone, Dashboard, etc.
    Quelle surprise......
    It's a bit like the redesign of these discussion fora - the new layouts are designed for the younger generation but far too much scrolling and hard work to find what you want compared to the old format.
    I HATE SCROLLINGTO FIND THINGS
    Sorry, rant over.

  • How do I design software to test multiple devices simultaneously and indpendently?

    I have a fixture for burning in up to 10 Controllers. I’ve written a VI to test one of the controllers but I’m not sure what approach to take to write the software for burning in up to 10 Controllers independently.
    The fixture's computer uses USB/GPIB with a 34970 Agilent Switcher and a junction box to switch CAN communications on and off between the computer via a 8473 USB/CAN converter and any one of the 10 controllers.
    Each controller burn-in cycle is 50 hours and I need to be able to burn-in Controllers independently, including being able to start a burn-in for any of the 10 Controllers at any time. Also I need the capability to have any number of Controllers burning in, from 1 to 10 at any time. So for example I might want to start a burn-in for a Controller then 2 hours later start a burn-in on another Controller. Each burn-in would end 50 hours later at which time I might or might not start another Controller in that station while other Controllers are somewhere in their  50 hour cycle.
    Also during the 50 hour burn-in every minute or so I would like to connect the CAN, in turn, to each station in use to send and receive CAN commands to acquire data which would be stored into a separate file for each Controller.
    In addition to help on the approach to take, I also would like help on how to create ten 50 hour timers, one for each station that would start whenever a controller burn-in starts and end after 50 hours. This is my second large Labview Project.
    Thank you for any help.
    Attachments:
    CMM_CONTROLLER_BURN-IN_D.vi ‏36 KB

    I've decided to use a Producer-Consumer architecture for this project, but it is my first experience with one and I'm having a problem.
    To operate the program as I have so far:
    1. Select an active device button (1 of 10)
    2. Select "Start Burn In"
    3. (May repeat process for any or all of the active device buttons - all 10 can be active at once)
    4. To stop burn in for any device select "Stop Burn In" for the selected active device button.
    The way I have it shown in 1.VI it does what I expect. But when I try to add code in the "TimeCheck" case of the Producer loop things do not work.
    This can be shown by removing the disabled loop in "TimeCheck".
    The intent of data in the "TimeCheck" case is to run continuously for all loaded devices as individual devices are started and stopped, or stop automatically after 48 hours.
    As an alternate approach, I also tried putting the code I have in the "TimeCheck" case directly into the "TimeOut" event, but I couldnt get that to work either. Notice in 2.VI I tried just putting a while loop into the "TimeOut" event and it doesn't execute.
    Any help is greatly appreciated.
    Attachments:
    1.vi ‏122 KB
    2.vi ‏116 KB

  • Organizing Media for multiple device usage?

    Many apologies if this is a common question (having looked here I couldn't tell if it was addressed to my specs) but I have a generalized question in reference to organizing ALL of my media (music, photos, movies/videos, files) that can be accessed and shared between the multiple devices we have in our family (Iphone4, Iphone 3GS, AppleTV, Ipad2 coming…). I feel like we have all these many files spread out over a bunch of different hard drives and devices and want to find a way, be it an App that does it or a book/how to guide I can use to compile all of my files into one source to be used and freely shared by all devices. Any help would be GREATLY appreciated, thanks!
    Joe

    Hey Randman 20,
    Thanks for the reply! Yeah, consolidating files is one thing, but more importantly, how I can access and share the music, photos and video I have on say one drive with my laptop but more importantly with my iPhones and iPad2. I have an iPhone, my wife as well and I have an iPad2 for work, and to be able to sync all these devices and manually move files from one to another without having to deal with access problems or non-allowance to put everything on any of our approved devices effortlessly.
    I dont mind taking a weekend to organize (any tips or points to software assistance would always be appreciated) its more just finding a way to have one place be the source for all of my media.
    Thanks!
    Joe

  • What is the best method for multiple language interface?

    Hi,
    I need to adapt my CVI application to multiple languages.  But I have to be able to do this on the fly.  The Localizer is great for all the panel objects and this works great.  But I was wondering what the best method is for all the dialog box text?  Right now I'm using const char defines for the text. For exampl:
    const char *CONST_NO_STRING         = "No";
    Is there a simple method, or best practice method, to load different language dialog text at run time or on the fly?
    Thanks,
    Andy

    Not sure if Andy's original concern was settled... but let's try and button this up:
    - The UI Localizer does use a text file with manually-written translated strings for each supported language
    - From the Localizer help: this will only aid in translating the panel labels.
    Use this instrument driver to easily display user interfaces in different languages. When loading a panel or menu bar, you can specify a language file that contains translations for all the labels on the panel and all the menu items. You can create different language files for the user interfaces by translating them with the User Interface Localizer utility (localui.exe).
    - If you have additional content to be translated (like the text inside a drop down box), manually loading from .lwl, or similar, files and programmatically setting those dialog box entries would be the solution. - Looks like CVI should handle multibyte languages just fine (see below), though I have never used them.
    To close, these 2 devzones are good references:
    http://zone.ni.com/devzone/cda/tut/p/id/4036
    http://zone.ni.com/devzone/cda/tut/p/id/3841
    Regards,
    Peter Flores
    Applications Engineer

  • Responsive projects autosizing for multiple devices -- best practices?

    While it's a nice idea to have the three different breakpoints on width that allow you to make some major layout changes, I'm having trouble making this work well across multiple devices.  With the high resolutions of current mobile devices, this model just doesn't seem to work well.  For example, the iPad 2 in landscape mode select the desktop layout, which isn't bad, but in portrait mode gets the tablet layout, which by default is set up to be landscape.  I changed the heights for both breakpoints to better fit the iPad, but then the iPhone in landscape gets the tablet layout, requiring a lot of scrolling.
    Given the wide range of resolutions on mobile devices, it's not at all clear how this a simplistic mechanism like this could ever work.  For one thing, it sure seems like you need to provide for both portrait and landscape layouts on tablets and phones, with Captivate using both width and height to select the best one.  Also, is there any way to tell it to fill the screen without scrolling? How about automatically leaving the area clear where there's a status bar (or telling it to hide the status bar)?
    I could just create a separate version of the project for each device, but then lose much of the value of creating a Responsive Project in the first place.  Have those of you with more experience found good ways to deal with these variables, or is the best option to just create separate versions of the project?

    While it's a nice idea to have the three different breakpoints on width that allow you to make some major layout changes, I'm having trouble making this work well across multiple devices.  With the high resolutions of current mobile devices, this model just doesn't seem to work well.  For example, the iPad 2 in landscape mode select the desktop layout, which isn't bad, but in portrait mode gets the tablet layout, which by default is set up to be landscape.  I changed the heights for both breakpoints to better fit the iPad, but then the iPhone in landscape gets the tablet layout, requiring a lot of scrolling.
    Given the wide range of resolutions on mobile devices, it's not at all clear how this a simplistic mechanism like this could ever work.  For one thing, it sure seems like you need to provide for both portrait and landscape layouts on tablets and phones, with Captivate using both width and height to select the best one.  Also, is there any way to tell it to fill the screen without scrolling? How about automatically leaving the area clear where there's a status bar (or telling it to hide the status bar)?
    I could just create a separate version of the project for each device, but then lose much of the value of creating a Responsive Project in the first place.  Have those of you with more experience found good ways to deal with these variables, or is the best option to just create separate versions of the project?

  • EOIO for multiple AE interfaces

    Hi,
    We have a requirement where we need to process interfaced flat files coming from several separate sender JMS channels in exactly the sequence that they come in.
    What we do not want is that intrfaces overtake each other because they were processed with priority or because of the file size they get assigned different rfc queues in XI.
    It is sort of an EOIO but then over multiple different interfaces.
    All the problem we have now lie in the fact that it is not entirely which inbound and outbound rfc queues are used so at the end the sequence of the interfaces is uncertain.
    Is it possible to create and use a single rfc queue (both inbound and outbound) for this situation? Would I use the JMS messaage selector value for this?
    I just need a general solution direction, I can find the details out myself.
    What is the best (most reliable) way to do this?
    Thanks a lot!
    Tom

    Hi,
    I only just now saw the answer,but that is in fact what we implemented and works like a charm. Much easier than I thought it would be.
    Thanks
    Tom

  • Fixed Layout EPUB - for multiple devices

    We are looking to create an EMAGAZINE or EPUB with a fixed layout for employee benefit guides that will be viewed on multiple devices (desktops, laptops, tablets, and mobile - both PC and MAC devices) and I am wondering what is the best style to use to accomplish this? With the new fixed layout EPUB, it creatively meets our needs, but will it work on a PC? Or tablet that is not Apple?
    What are the best options for a picture heavy/table heavy online "book" created in InDesign?
    Thanks,
    Jamie

    Hi Jamie,
    Yes you can view your fixed layout epubs on a PC/tablet, there are multiple fixed layout readers available on devices. For PC there is Readium that is a Chrome extension.
    Thanks
    -Anshul

  • Rip/ Encode DVD for multiple devices

    I have multiple iOS devices (iPad; Apple TV 2; iPhone 4; iPhone 3GS) and want to rip/ encode a DVD so I can view it on all my devices. I do not care about HD.
    I know that the 3GS has the lowest video settings. What would be the best settings for these devices? I know H.264 works but it is the other settings I do know about. Does Handbrake's Apple TV 2 setting work for all my devices. However, I would prefer not using Handbrake so what are the max video settings for the following I could use: Resolution? Frame Rate? Bit Rate?
    I understand this question could fit in a number of different topics but I figured I would start here.

    I have the original Apple TV, and based in the default Apple device settings included with HandBrake, I have found using the default original Apple TV settings works well with all my devices - with my original Apple TV (obviously), with my MacBook Pro, with my no longer activated iPhone 3G used as an iPod Touch, and with my iPhone 4.
    Why would you prefer not using Handbrake and what do you plan on using instead?
    As a test, use the default Apple TV 2 settings with Handbrake and see how it turns out for you and if to your liking with your iPad, iPhone 3GS, and iPhone 4 as well.

  • RMI for multiple remote interfaces

    We have a few classes that extend multiple remote interfaces. The stub and
    skeleton created by the weblogic rmi compiler have strange names like
    WLSkel3f2i4g44322n5l3i1r224p60697473f.class and
    WLStub3f2i4g44322n5l3i1r224p60697473f.class.
    Is this ok? How can we make it create "normal" class names?
    Thanks,
    Inbal

    try using the -nomanglednames option on the weblogic.rmic compiler.
    I think what you've got is OK - it's a result of the clever stubs weblogic
    generates for rmi.
    It's documented in the "Using weblogic RMI" guide.
    -Dominic
    Inbal Ronen wrote:
    We have a few classes that extend multiple remote interfaces. The stub and
    skeleton created by the weblogic rmi compiler have strange names like
    WLSkel3f2i4g44322n5l3i1r224p60697473f.class and
    WLStub3f2i4g44322n5l3i1r224p60697473f.class.
    Is this ok? How can we make it create "normal" class names?
    Thanks,
    Inbal

  • Managing installed apps for multiple devices

    Is there a way to create an "app playlist" in order to easily create a common set of installed apps across multiple devices?  I'm tired of having to install the same app on each of my kids devices.  Also, I don't want to enable auto install new apps because I don't necessarily want my kids to get apps that I'm installing on my devices.
    Thanks

    The un-compatible updates will not install on the iPod.
    Make sure that you retain a copy of the version that is compatible with iOS 4.2.1 since you can only redownload the latest version version from the App store.
    I would backuyp the library to an external HD by:
    iTunes: Back up your iTunes library by copying to an external hard drive
    Note that when you update an app on the iPod and then sync, the update apps is also synced to the iTunes library.

Maybe you are looking for

  • MSI Big Bang Fuzion - DirectX 11

    Got a question about the new motherboard MSI Big Bang Fuzion, is there any plans on creating support for DirectX 11?

  • Server Monitor no longer working between 10.5 client & 10.4 servers?

    I've been running Server Monitor 1.5f6 under 10.4.x on my desktop machine to monitor a dozen or so Apple Xserves running 10.4.x Server for ages (3 years?). Upon upgrading my desktop machine to Leopard the Server Monitor application no longer connects

  • Failed to load Core DLL-Adobe Reader XI

    This is the error message I got when I downloaded and upgraded from a perfectly functional Adobe Reader 9.5 to Adobe Reader XI.  It did download in protected mode but I didn't have any problems with it last time I upgraded and downloaded in protected

  • Blackberry shuts down when using camera, twitter or Facebook?

    I've never had any problems with my blackberry untill now. Every time I use Twitter, Facebook or the camera it just say 'Battery drained shutting down' no matter what level of charge it has. I'm have up dated all software and deleted then re installe

  • Limiting JMS messges to Listener Proxy

    Hi all, I'm using JMS queue for asynchronous call. The flow goes like Client Proxy -> OSB BS (JMS) -> JMS Server -> Listener Proxy Client Proxy might send hundreds of messges per second. The Listener Proxy will pick the messges in the same rate. But