How can I establish an enum typedef for use with state machines and action engines?

Hey all--
I have an action engine with several instances.  Any time that I add a method to the engine, I have to modify all of the calling code to update the constant that determines the method being called.  There must be a smarter way to address this problem but my LV experience is insufficient to identify it.  Can any of you wiz-bangs tell me if it is possible to make a type def (I can do this) and use it with each instance of the action engine call so that changing any instance also updates the typedef?
Thanks.

Take your enumerator.  If it is not a control (ie constant), change it to a control.
Under File Menu, select New > Custom Control.
Move (or copy) your Enum Control to the Custom Control.  Change the Control to Strict Type Def (the selection to the right of the wrench).  Save it.
(EDIT: ** OOps, the picture shows the wrong one.. sorry**)
Copy that new Strict Type Def control to your code.
See images below.
OR.. If you're using LV8.x, and using a project, I would recomment that you do it from within your project explorer.  Simply insert a new "Control".  The rest of the steps are similar, except that you can insert it from your project. 
R
Message Edited by JoeLabView on 07-08-2008 06:47 PM
Attachments:
TypeDef.PNG ‏33 KB

Similar Messages

  • Partitioning an External 320gb drive for use with Time Machine and...

    I want to be able to use my Western Digital 320GB external drive for use with Time Machine and to use as extra storage space on both my Mac and when I boot into Windows Vista.
    Is this possible?
    I was playing around in Disk Utility and would I partition the part I want to use for Time Machine with the Mac OS Journaled, and whatever I want as space for windows, use a MS - DOS format?
    Has anyone done this before?
    Cheers-

    Unless you are using 64 bit version of MSWindows (64 bit XP/Vista), it won't be able to handle a disk with GUID partition table (GPT). Disks with Apple Partition Map (APM) or GUID partition table are the only ones that Time Machine will work with (not MBR disks). Note also that the MBR/APM/GPT are at the DISK level and not the partition level, so don't mix the format with partitioning scheme. Time Machine disks are meant to live in the Mac universe (for now, anyway) and sharing with the MSWindows 32-bit universe is not possible.
    See http://img87.imageshack.us/my.php?image=macpcdiskdd06sv8.png for some additional background.

  • HT201514 Why can't I select my disk for use with Time Machine with OS 10.6.8?

    I have used Time Machine for some time with my MacBook Pro. However, my backup disk does not show in Time Machine. It did however, offer me the chance to stop a backup, so I checked that off. Now I can't even set up Time Machine; every time I slide the switch to On, a window pops up that says something about Airport Extreme, which I know nothing about and doubt I that I use.

    Pudge7 wrote:
    I have used Time Machine for some time with my MacBook Pro. However, my backup disk does not show in Time Machine. It did however, offer me the chance to stop a backup, so I checked that off.
    It sounds like the backups may be damaged;  try to Repair them, per #A5 in Time Machine - Troubleshooting.

  • Partitioning an ext. HD for use with Time Machine HFS+/FAT32

    Hi, I hope that this question is not already answered somewhere - I did a couple of searches but couldn't find the answers I need.
    I'm setting up an external LaCie 500GB HD (USB 2.0) for a friend, in order to use it for Time Machine backups (one partition) and as a non-backuped "data dump" (music / films etc.).
    My plan is the following: Partition the ext. HD into a 200 GB HFS+ Journaled partition for use with Time Machine, and a 300 GB FAT32 partition for data (FAT32 to ensure the interoperability with PCs).
    I have a couple of questions (apart from if you think the proposed setup is good in general):
    1. The Time Machine partition would be used to back up a MacBook with a 120GB HD - in your opinion, is 200GB too much/enough/too less space?
    2. In general, does Time Machine work with partitions on ext. HDs as seen in the setup I propose? (or should I use a drive with only one partition?)
    3. are there any possible problems I might run into when partitioning a drive into two different file systems as HFS+ and FAT32?
    4. Is it OK to use the Leopard Disk Utility for this or should I use another application?
    thanks a lot for your answers!

    Hi,
    Could you please share the answers you found?
    I'm going through a very similar situation...
    Thanks!
    Beto.

  • I have an iPad2 and recently bought an iPad mini.  My husband will take over the iPad 2.  How can I get him an iCloud account associated with that iPad and his iPhone 5?

    I have an iPad 2 and recently purchased an iPad mini.  My husband will take over the iPad2.  How can he get an icloud account for this iPad (eliminating me) and his iPhone5?

    Delete your iCloud account on the iPad 2, then he can follow the instructions to create his own iCloud account on it:
    http://www.apple.com/icloud/setup/ios.html
    Then he can setup his own account on his iPhone.

  • How can I merge all of my iTunes libraries with my wife and kids so we can all share the music?

    how can I merge all of my iTunes libraries with my wife and kids so we can all share the music?
    There are 3 accounts that I want t o transfer all the music to
    Joe

    Welcome to the Apple Community.
    You can't merge accounts.
    You can however share or import content from another library/account using homesharing.

  • I need to connect a Micro SD Card to my MacBook (10.6.8) 2011 so I can switch my Magellan RoadMate GPS for use with the new Mac Content Manager from Magellan. Can I do this? from

    I need to connect a Micro SD Card to my MacBook (10.6.8) 2011 so I can switch my Magellan RoadMate GPS for use with the new Mac Content Manager from Magellan. Can I do this? from

    Hi Robert and welcome to Apple Discussions,
    There are adapters available that convert micro cards into fullsize ones.
    You will also need a USB card reader if you do not have one.
    Good luck,
    Alan

  • Can anyone recommend a good printer for working with an iMac and a MacBook Pro wirelessly?

    Can anyone recommend a good printer for working with an iMac and a MacBook Pro wirelessly?

    canon pixma 6200 series works

  • Which iMac for use with Photoshop CS5 and Lightroom

    Any opinions on which iMac is best for use with Photoshop CS5 and Lightroom. Not sure if the 2.7 i5 with 512 graphics card is Plenty of power or if upgrading to the 3.1 i5 or 3.4 i7 is a wiser choice given the price differences. Appreciate the help

    So I was reading over your post, and even though this is older and has to do with CS5, I have some information for CS6 that will be relevant to your question now that it is time to upgade the software. In general Photoshop has always been more about RAM than Processing power, though that is important too. Until CS5 it could never quite take advantage of what multi-core processors really had to offer, and even the graphics card didn't really effect much of it outside of certain features and the 3D optio
    Now that is no longer true and Adobe can effeciently use all aspects of the computer to give you much better performance.
    So much so that I was able to buy a brand New ASUS with the following specs:
    Dual Core 2.2GHz Processors
    8GB of RAM (4GB original to the machine)
    Windows 7 Home Premium 64Bit OS
    320GB HDD w/ 5400RPM
    This machine not only runs photoshop CS6 and Launches in less than 5 Seconds... it can run Premier and After Effects as well, and this Laptop cost me less than $400 (on sale at Best Buy 2 Weeks Ago. You don't have to buy something this cheap, but isn't it great that you can and still run Master Collection effectively?
    You can read my details on how to buy a Photoshop CS6 Laptop, what specs you need, comparison between Mac and PC and watch the video of my Photoshop Speed Test by reading this article:
    http://robertoblake.com/blog/2012/06/buying-a-photoshop-cs6-laptop

  • Best hard drive for use with Time Machine

    Hi,
    Has anyone determined what the best external hard drive is for use with Time Machine? Is there a particular one that works exceptionally well with Time Machine, or is it much of a muchness?
    I'm looking for a Firewire 400 & Firewire 800 drive that STAYS ON all the time, and doesn't automatically spin down or spin up like the rubbish WD My Book drives do.

    I can't tell you if it is the "best" hard drive for you to use with TM, but I'm quite happy with the 500 GB Buffalo Technology DriveStation Combo TurboUSB I bought recently. It is quiet, quite inexpensive for the capacity (I paid about $120 for one on sale at Fry's), & completely compatible with OS X & TM.
    Best of all for me, it automatically powers down when my iMac sleeps. It also spins down after a time if the Mac's Energy Saver preference "Put hard disk(s) to sleep when possible" is checked; otherwise it remains spun up until the Mac is put to sleep or switched off.
    It comes with "Turbo" USB & Memeo "AutoBackup" software, neither of which I installed. (The box didn't claim these extras came in a Mac version but both Mac & Windows versions were included on the CD.) Out-of-the-box, I reformatted the drive with the Apple Partition Map scheme & two partitions, a 160 GB one for cloning my internal drive & the rest for TM. The drive works perfectly for both uses & seems quite fast, as one would expect from a 7200 rpm SATA drive.

  • How can you configure a WD external to work with Time Machine??

    I have an 1TB external WD MyBook drive that is connected to my network through my Linksys wireless router and am trying to figure out how to format the drive to use with Time Machine.
    I currently use the drive to store files from both my PC and my MacBook but can't seem to select the drive to use with Time Machine. I figured that I could just format the drive through the Disk Utility program, but the drive doesn't show up in Disk Utility. This may be because it is a drive connected through my router and not directly to my MacBook?!
    Here are a few questions...
    Any ideas on how to format the drive so it will work with Time Machine?
    Once formatted to use with TM, can I still use the drive to store other files from both my Mac and PC? or do I need to partition for this??
    Is it possible to set up an automatic backup schedule that will happen via my home wireless connection?
    Thanks in advance,
    Todd.

    You cannot use the drive with TM as you have it set up. TM will not work with a networked drive except a Time Capsule or a USB drive connected to an Airport Extreme Base Station (current version.)
    If you wish to use this drive for TM backups it must be connected directly to the computer. Other computers on the network can access the drive for TM backups if you turn on file sharing for the drive (select drive, press COMMAND-I, check the box labeled "Shared Folder," click on the Enable button.) The shared drive will have to be mounted on the other computers in order for them to use it as a TM backup drive.

  • I am traveling to Italy from U.S. and bought American Tourister Worldwide Adaptor Plug for my iPhone 5 andiPad 2. The instructions saying is not for use with grounded plugs and can only be connected with non-grounding circuits. Will this adaptor work?

    I am traveling to Italy and bought an American Tourister Worldwide Adaptor a plug for my iPhone 5 and iPad 2. The instructions say it is not for grounding use and not for use with grounded plugs. Will this work?

    That adaptor should work.

  • External HD for use with Time Machine

    I have a new MacBook Pro with 320GB HD. I want to buy an external HD to use with Time Machine for a back up. HOw much capacity should I be looking at for the external? Is 500GB enough or is it possible to partition a 1TB unit for use as backup and extra storage (photos, music, etc...)?
    Thanks.
    This should have been posted in the late model forum. Sorry.

    tsoup2u wrote:
    Can I use disk utility to partition once plug in HD?
    Yes, you can. Click the Partition tab. Click options and set the partition scheme to GUID. One option is to have one partition a bit smaller than your internal HDD, which you can use for a bootable clone (SuperDuper or Carbon Copy Cloner).
    See this post for a great discussion of backup strategies:
    http://discussions.apple.com/thread.jspa?messageID=9423426&#9423426

  • Quiet external hard drive for use with Time Machine?

    Few questions related to Time Machine:
    1- what external hard drive that would be good to use with Time Machine, that also runs relatively quietly? Since TM runs 24/7, am looking for one that is quieter than my current G-tech.
    2- Please confirm what size is optimal relative to the size of the internal hard drive.
    3- I currently use a separate external hard drive as my bootable disc.  Is it possible/preferable to have these be on one and the same drive?
    Thank you.

    1. I like these (have three of them) - literally whisper quiet:
    http://eshop.macsales.com/shop/firewire/1394/USB/EliteAL/eSATA_FW800_FW400_USB
    2. You should allow 2 - 3 times your internal drive's size for TM.
    3. No, it'd be best to be on another drive - you can create separate partitions, but if/when the drive fails, both of your backups would be gone. So, keep your clone on a separate disk. In fact, it's good to have two different backups.

  • Advice - External HD for use with Time Machine?

    Hi,
    Just wanted to know what's best for me to buy. Looking into what's available has only made me more confused...
    I want a HD that:
    - Works well with Time Machine and my Macbook
    - Will copy everything from my computer rather than drag-and-drop or manual file choice (although that's more the program I use than the HD itself, right; Time Machine does that as far as I know?)
    - Enough space for all of my video files from my video camera (there's quite a lot of them)
    I want to start deleting some video files from my computer and my video camera but I don't want to lose them, so that's the major use really. As long as they'll all fit and if I want one back on my computer again it'll be easy enough to find it and put it back on...
    Any ideas? Keep in mind that I live in Perth, Western Australia...
    (And I apologise for the ignorance/lack of proper techy terms!)

    Hi Eleanor,
    I'm from Sydney so it's great to see another Aussie on here! Welcome to the forum.
    Just a couple of points that I would keep in mind in addition to the correct advice already given:
    Apple recommends having a dedicated drive for Time Machine, so ideally you wouldn't use it for anything else. Also, as a guideline, they recommend having a Time Machine drive at least twice as large as the primary drive in your computer so that enough space is always available. The more space, the further back your backups will go before needing to be written over.
    You can put other stuff on the drive but ideally it's better (if your budget allows) to get a second external drive for video camera files and the like. Those video files also grow pretty big as you've probably noticed, so they will need room to move as well. External drives are cheaper than ever, so two drives is the best bet.
    One final recommendation/option is to go for a Time Capsule as your Time Machine drive. The benefit here is that it works wirelessly so you won't have to plug it into your USB/firewire port at all. It just backs up without any action from you whatsoever, which is what makes it ideal. If you don't yet have a WiFi network, here's your chance to dive in. If you do, it's a natural fit for your network.
    So my ultimate recommendation is: 1) Time Capsule 2) USB/firewire drive.
    I hope that helps!
    Message was edited by: Michael271

Maybe you are looking for

  • Nokia E60 & Apple Bluetooth keyboard: reconnection...

    I'm using my Nokia E60 with Apple's Wireless Bluetooth keyboard. I have installed Nokia's Wireless Keyboard Software 1.30 to my phone and the keyboard works very well! But there is one big problem: reconnection. I have paired the keyboard with my pho

  • How do I create new versions of a large number of images, and place them in a new location?

    Hello! I have been using Aperture for years, and have just one small problem.  There have been many times where I want to have multiple versions of a large number of images.  I like to do a color album and B&W album for example. Previously, I would c

  • Billing planes

    Friends, How Billing planes (Milestone) can be used in the down payment processing? Here we are collecting 30% payment during sales order creation & 70% during shipment. Thanks

  • Question about classpath on startup

    Hello, I need a clarification about classpath value on Weblogic startup. I set "Class Path" value by Administration Console. When I start my Weblogic Server by "startWebLogic.sh" my classpath modification is not working. It need that just restart my

  • Zen 8/16/32GB: drag and drop (UMS) with Wi

    I am still unsure regarding the drag and drop capability of the Zen 8/6/32GB. From various post here and there, I understand that external SD card is UMS, but internal memory remains MTP. On the other side, the anythingbutipod guys report that: - In