First foray in LVOOP mixed with Action Engine functionality, would appreciate comments

Hello (LVOOP) experts!
I am a big fan of Action Engines (AEs), and use them very regularly.
Now, say I wanted to have a Logging module that writes text to a log file, I can create an Action Engine for this and all is well, i.e. I can drop this VI anywhere in my hierachy and it basically just works. I like to encapsulate AE in a lvlib.
So, what if I wanted a second Logging module, doing exactly the same thing, but operating on a different file. Well, I could create a new copy of the Action Engine in the project, duplicating the code and giving the second AE a different name. This is of course a bit clumsy, as what if I wanted 100 of these!
I suppose I could make the AE re-entrant (cloned) use VI server to obtain a second copy of the AE, but I have not tried this.
So what I decided to do is make a LV Class, and just instantiate a second class as needed. I really really really like the ability of AEs to drop them anywhere without wiring all the way through the hierachy, so that was a design goal with my LVOOP implementation. As far as I can tell, one way to do this is using single element named queues (sort of a singleton design pattern).
The attached code is my attempt, I would really appreciate comments, both positive and negative.
nrp
CLA
Attachments:
Logger LVOOP.zip ‏54 KB

tst wrote:
What you've basically built is a SEQ-based, by-ref class (although you pass a name, not a reference), which is certainly a valid construct. dqGOOP has been doing that for years and the singleton example also uses this, as you mentioned.
Some comments:
You really don't need the object as an input. It can be a constant on the diagram.
You could make this a by-ref system and pass the object which holds the queue reference, similar to the singleton example. This has less chance of braking, IMO.
Instead of acquiring the queue in each member VI, create an LV2 manager VI - when it gets a name it looks up its reference in an array. If it doesn't find it, it creates a new ref and returns it. If it does find it, it returns it. That simplifies some of the code you have to replicate for every member VI.
The fact that you have to replicate code at all for member VIs is annoying. It would be great if LVOOP had by-ref support built-in or could at least create data access VIs from a template.
1. Fixed. I copied this technique from Dr D's Xylophone project. I thought if you drop the class constant on the BD it actually creates a new object each time?
2. Not sure I get you on this one, could you provide some more enlightenment please.
3. Done. Probably not the most efficient implementation though...
4. Agree it sure is annoying!
New version with basic queue manager attached!
nrp
CLA
Attachments:
Logger LVOOP v2.zip ‏75 KB

Similar Messages

  • 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

  • Loading in a second Actions panel with the same functionality as the first, but independent from it

    The actions panel is perfect at what it does; however, if you have a few action sets and, in order to eliminate scrolling, you need to expand them into a double row of buttons, it quickly becomes difficult to maintain. As soon as you delete an action or add an action to it, it disorders the others and you have to reorganize again, which becomes a vicious cycle. I like to keep things organised and neat with all that I do and pretty much the only way to have this feature is to expand it on the back end of the software or, if possible, create a script that loads a second Actions panel with the same functionality as the first but completely independent from it. I assume that the SDK will not allow us to expand on the software in this particular way, as Photoshop is not open source; however, maybe this suggestion will be taken into account for future updates or versions since I have yet to find a suitable way to do this.
    Thank you in advance.
    Kind regards

    That would depend on the links on the page. Some pages have links that refer to different areas on the same page. If you want to force a link to open in a new tab, you can middle-click it.

  • Action Engine Data Space associated with an executable

    I am thinking of using an AE (Action Engine) for my project. I have basically 3 top level VI which I use to display and control the machine behavior (they are essentially duplicates of each other). If I invoke the AE (same name), will the AE will be sharing the data with the 3 top level VI in a single executable?

    I have not tried that in LV 8.+ yet so I will speculate.
    Since NI is pretty good about making sure old stuff still works, I suspect you should be OK.
    If not, you will have to explicitly specify the applicaiton instance they run in.
    For all of these types a questions, I stongly urge you "Build early, build often" just to make sure you do not get blind-sided when the dead-line approaches.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Community Nugget 4/08/2007 Action Engines

    Action Engines, What are They?
    “An action engine is Ben's term for a functional global which includes extra actions other than just holding the data.”
     (tst , 03-13-2007 01:18 PM)
    In a nut shell tst has nailed it except for the “Ben’s term” part. I was originally exposed to the term "Action Engine"
    by reading the book ""LabVIEW Applications Development A Course on Advanced LabVIEW Programming Techniques*”.  But
    before I get into details of the Action Engine (AE), I will attempt to clarify some terminology.
    Functional Globals
    Functional Globals (FG) are VIs that are functionally equivalent to LabVIEW globals. Functional Globals store
    information. You can read them or write them and that is it. No fancy stuff. Functional Globals are also referred to as
    LV2 globals because LV2 did not have globals but it did support Un-initialized Shift Registers (USRs). The USR is the
    entity that stores the information.
    USR.jpg
    USR’s
    Shift Registers (SR) come in two varieties “Initialized” and “un-initialized”. The presence or absence of a wire
    feeding the SR from outside the loop distinguishes how LabVIEW will implement the SR. If there is NO wire feeding a
    shift register (A), then the SR is not initialized. This is called an “Un-Initialized Shift Register”. The USR variety
    is implemented as static buffer that is re-used from call to call. The values written to the USR in and earlier call
    persist for access (B) in latter calls**. A Functional Global exploits this behavior by implementing two methods of
    interacting with the contents of the USR.
    Functional Global.JPG
    In the “Write” action (not shown) the value of “Numeric in” is placed in the USR. In the “Read” action the contents of
    the USR are returned via Numeric out.
    Action Engines
    An Action Engine (AE) can be thought of as a machine (Engine) that performs some useful task (action) often on
    something (typically but not limited to data in a USR). Functional Globals are very specific type of Action Engine.
    They have two actions “Write” and “Read”. They operate on the data stored in the USR either by replacing or using the
    contents of the USR. So AE’s are a superset of Functional Globals. In many documents the terms AE and FG are
    interchangeable. A recent poll on LAVA has indicated that Functional Global is the most popular term. Since this Nugget
    was prompted by answering the question “what is an AE?” in the remainder of this document you will find that I will
    generally use the term AE.
    Do What to What?
    AE design revolves around the ways the shared resource must be accessed manipulated or monitored. In a Functional
    Global, the actions “Write” and “Read” are appropriate. That is not necessarily the case for AEs. AEs can have entirely
    different set of actions depending on the interaction requirements for the information stored in the USR. A short list
    follows.
     A Configuration AE could allow for multiple processes to share a single copy of the system configuration (in a USR) by
    providing actions like “Set Device ID”, Set Device ON-Line…
    A hardware device can be realized as an AE that presents actions appropriate to the physical phenomenon being measured
    or controlled.
    A DO Port Controller AE could store a reference to the physical device in one SR and the port status in another SR and
    have action like: Set Main Motor On”, “E-Stop”, …
    An Instrument can be implemented to store the device name and settings with actions like “Set Input ON” “Auto-Scale Y”
    and “Get Trace”,…
    Screen Stacks can be implemented by using control references in one USR and maintain a screen view stack in another
    then implementing actions like “Set Config Screen”, “Set Login Screen”, “Back”…
    Users can be managed using an AE with action such as “Add New User” “Set Password”, “Disable User”…
    The list goes on and is limited only by our imagination. Here is an example that shows how a running average can be
    maintained.
    Running_Average_Example.jpg
    Running Average Example
    The Running Average Example shown above shows how a running average can be maintained using an AE. The AE is
    initialized before the While Loop executes. On each iteration of the loop the simulated measurement value (random
    number) is used to update the history of all measurements (Add Number(s)) and the mean is calculated (Calc Mean).
    Please note that although the buffer of all measurements is affected in every step of this example, the buffer (USR in
    the sub-VI) contents are never part of this VI’s diagram. Since the history is stored in the sub-VI, the history can be
    acted on from more than one thread as shown below.
    Parallel_Loops.jpg
    In the parallel Loops Example the history is initialized and then two loops run in parallel with one updating the
    history and the other plotting the average. Since the History resides inside the USR of the sub-VI the two while loops
    are effectively sharing the same block of memory, the block used to store the USR. The Sub-VI was implemented as shown
    in the following sequence of images.
    Init.jpg
    As was the case with Functional Globals, the actions are implemented as a type def’d enum***** driven case structure.
    Appropriate code is present in each case to realize the intended actions. In the “Init” case, contents of “Array in”
    are used to initialize the history. In our example above we did not pass an initial array value. Therefore the “Init”
    resets the history (cleared the array).
    Add Num.JPG
    The operation of the AE when the “Add Number(s)” action is called varies depending on its usage. If the caller passes a
    non-empty array, it is appended to the array. Alternatively, passing a value via the Numeric in” control, and leaving
    the “Array in” un-wired adds a single element to the history. We used the Numeric In input so we were continually
    building our history one value at a time.
    Calc_Mean.JPG
    When the “Calc Mean” action is invoked, the average is calculated and returned.
    This Nugget is continued in the next post
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Solved!
    Go to Solution.

    Nugget continued
    The Traffic Cop Behind the Scenes
    A detail I have not mentioned up until now is that AEs should be implemented as VIs that are not reentrant***. VIs that are not reentrant can only be executing in one context at a time. LabVIEW will ensure that if there is ever a situation were two contexts are attempting to act on the same AE at the same time, LabVIEW will schedule the first and the subsequent will wait until the first call completes. This is similar to a traffic cop preventing more than one vehicle from entering an intersection at the same time. The Traffic Cop is illustrated in the following timing diagram were we look at how the processing of two threads is affected by using a single AE.
    Execution_Timeline.JPG
    In the figure above the processing time of two processes “P1” and “P2” are illustrated by a red or blue solid arrow respectively. In the parallel loops example shown earlier, P1 could be the “Calc Mean” loop and P2 could be the “Add Number(s)” loop.
     t0 - t1
    Both processes are executable and run their assigned tasks. Neither process is accessing the AE.
    t1 – t2
    P2 continues to run while P1 calls the AE. Since the AE is idle it is available to run so P1 continues execution running inside the AE until all work inside the AE completes. The dotted arrow shows that the thread for P1 is executing in the data space allocated for the AE.
    t2 –t3
    At t2 the AE terminates and both process run as in t0 – t1.
    t3 – t4
    This time segment is similar to t1 – t2 with P2 running in the AE.
    t4 – t5
    Similar to t2 – t3 the AE terminates and both process run.
    t5 – t6
    Similar to t1 – t2. P1 take control of the AE.
    t6 - t7
    At t6 P2 attempts to call the AE. Since the AE is not idle it is not available to run. P2 is placed in a resource wait state (it is NOT running) waiting for the resource to become available. The dotted horizontal arrow indicates the process is not executing.
    t7 –t8
    At t7 the call of the AE by P1 that started at t5 completes and P1 continues to execute outside of the AE. When the call by P1 completes the AE becomes available. The process P2 is marked as executable. The scheduler includes P2 in its executable threads and the AE is available. P2 then executes inside the AE until the call completes.
    The Beauty of the AE
    This behavior of a non-reentrant VI is a wonderful feature we can exploit to eliminate race conditions. Race conditions are the nemesis of many a developer. In hardware this was solved with clocked enabled logic. In LV we solve race conditions with Queues, Semaphores, Rendezvous, Occurrences, and Action Engines!AEs can eliminate race conditions when all operations involving updates of the data stored in the USR are done INSIDE the AE. A very simple illustration of how the encapsulation of USR manipulation is shown in the following set of examples.
    Port_With_Global.jpg
    This VI is intended to demonstrate how two bits of an eight-bit port can be used to control the running state of two pumps. To illustrate the control process, one pump will be set running at start-up and then every half second the state of both pumps will be toggled to simulate switching of the supply. This example uses globals and fails miserably.
    Port_With_Global.jpg
    In this example we start out by initializing a global variable so that bit “1” (zero based) is the only bit set in an array of eight bits. This turns on Pump 2 to start. Then the “Port Update” and a “State Change” loops run in parallel. In the “Port Update” loop the state of the port is read from the global and used to update the GUI.
    In the “State Change” loop, the port status is read and the first Boolean is inverted before being written back to the global. Similarly for the second Boolean. Since the read of the globals both occur before the subsequent data processing, one of the threads will be processing old data.
    Port_With_Action_Engine.jpg
    The Action Engine version codes up the same way as the global version but now all of the data manipulation of the port states are encapsulated in the Action Engine  “Port Controller”. This encapsulation ensures all operations involving the data in the USR are forced to happen sequentially even though we did not have to implement any code to achieve this affect.
    The key point to take away from this example is a shared resource (the port status in the case) when implemented as AEs come with resource contention resolution built in provided that all manipulation of the shared resource takes place inside the AE.
    Action Engines to the rescue!
    Action Engines are not a replacement for Queues, Rendezvous and the other synchronization techniques. They are typically called for when your design dictates that a single resource must be shared by more than one parallel process and none of the LabVIEW provided techniques are sufficient. They require a design of their own to ensure they work correctly. They also have to be developed and supported.
    This Nugget is continued in the next post
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Array of variable-length lists in Action Engine

    I'm starting work on a application that consists of multiple sub-panels which each present a specific subset of the hardware functionality.  The hardware appears to the host mostly as memory-mapped registers.  I'm considering implementing the hardware interface in an Action Engine (AE) so that LV will automatically arbitrate among the hardware access requests from the sub-panels and because it (seems to me) to make the data flow more clear than the current implementation that uses a veritable plethora of queues, notifiers, and rendezvous to send requests and results between the sub-panels and the hardware interface at the top-level.
    The challenge is this, though:  Certain hardware addresses need to be modeled in multiple sub-panels -- maybe data at a certain address changes the functionality of some other addresses, or maybe different bit-fields within an address are part of different functional groups.   
    So any of sub-panel can request a read or write to the hardware, but often several of them need to see the resulting data.
    In order to keep the design modular and expandable I don't want to hard-code anything in the hardware AE that is specific to the sub-panels.   Instead, I intend to have the sub-panels "register" with the hardware AE indicating for which addresses they need to receive updates when some hardware address is read or written to.  This means the AE will have to keep the "registration" data in an un-initialized shift-register (USR).  But I want the hardware accesses to run as fast as possible, so I would like to ask for some suggestions how to implement this as efficiently as possible (avoiding, for example, clusters of arrays...)
    I imagine the sub-panel registration info might consist of a user-defined event reference (created inside the sub-panel VI) and a list of hardware addresses that the sub-panel is modeling.   Then when the hardware AE gets a request to read or write at some address it will also generate events to broadcast the data to the sub-panels that have registered for that address.   This will probably include 20-25 subpanels registering for a collective total of about 700 hardware addresses.  
    I'm less concerned about memory than speed.
    So, a few possibilities come to mind for how to implement the registration data in the AE USR:
    A) Have one 2-D array where the array contains one row per hardware address (~320), and columns contain the event refs for all the sub-panels registered for that address.   The width of the array would depend on whichever address has the greatest number of sub-panels registered for it (maybe 4-5?), but that still means the array would be pretty large (about 6.5 kbytes if a reference is a 32-bit value?)
    On the other hand, indexing into this array to look up the sub-panel references for the current address would be relatively quick and easy since the hardware address is the row number.
    B) Have two arrays where the array size is the number of sub-panels:  One 1D array for the registered event refs and one 2-D array for the addresses.  But different sub-panels will have different quantity of addresses registered, so that means the "width" of the address array would be as big as the largest number of addresses registered by one sub-panel (maybe 20?).   This would use a total of only about 1.5 kbytes, but I would have to search through all 25 address arrays to see if the current address is registered.
    C) or, some other way that I have not though of.   
    Once the "registration" data is received from the sub-panels during program initialization it is never changed, only read.   So at first glance it would seem (A) would be the faster implementation.  But I don't know what, if any, performance hit there would be from having such a large array in a USR, which is why I'm asking here.
    Any thoughts or suggestions would be greatly appreciated.
    Thank you and Best Regards,
    -- J.

    JeffBuckles wrote:
    Any thoughts or suggestions would be greatly appreciated.
    Thank you and Best Regards,
    -- J.
    Quick thought (hardly!)...
    I have used a "Self-Addressed Stamped Envelope" architectrure for those type os apps.
    DAQ device has a queue it monitors for subscription requests (Think of a in-box for Marketing deparetment).
    When client is created it submits a request via the queue for the subscription request that included a ref to its update queue and a list of teh channels it wants to watch. The clients then wait for updates.
    The Marketing department pass the request for updates (in-box of marketing department) to the production department (I used an AE to pass the mailing list) who picks through the acquired data and passes updates as requested to all of teh subscribing clients.
    Just sharing ideas,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Action Engine indicators do not update?

    This action engine is part of a larger test. I call it every 15 minutes to test for temperature stabilization (four consecutive readings at 15 minute intervals within three degrees)
    It seems to work as far as detecting stabilization but I don't understand why it's numerical array indicators do not update.
    If you run this by it's self and fill numbers in the Temperatures array control all the indicators work.
    But when it is a sub-vi all the indicators remain grayed out or in their initialized state when I open it while it is running.
    I even have brought the Stab Array out with a terminal thinking it would be updated every time the sub-vi ran, but it is not.
    What is going on here?
    Solved!
    Go to Solution.
    Attachments:
    Check Stab.png ‏50 KB

    It seems to work OK for me.
    Here's what I did:
    Put snippet on block diagram
    Disconnected Function control from Type Def
    Wired controls and indicators to connector pane
    Then I placed the AE in a main program. Being lazy, the main uses a breakpoint to stop each execution of the loop so you can vary the Temperature inputs.
    steve
    Weinberg's Second Law: If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.
    Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
    question. Give "Kudos" to replies that help.
    Attachments:
    main.vi ‏10 KB
    AE.vi ‏18 KB

  • Importing HD to mix with SD footage.

    Hi,
    I just got an HDV camera today (Sony FX1) and I have a wedding to film this weekend, so I'm kind of learning as much as I can right now both about filming with this camera and editing in FCP. (I've used FCP for a couple of years, but this is my first experience with HD.)
    I'm currently using Final Cut Pro HD 4.5.
    I plan to shoot the wedding with the FX1 as my front (main) camera and film in HDV. I am going to use a Canon GL2 as a second camera.
    When downconverting to SD for editing, it looks as though the video from the FX1 will have black bars at the top and bottom - something I don't mind, but my customer may have questions about.
    1) Will it be odd to mix footage from the FX1 that has been downconverted to DV with standard DV footage from the Canon GL2? Is there a way to import the footage (anamorphic, or whatever) so that there are no bars? Or, what is the correct setting for importing into FCP? Again, the bars don't bother me and if they have to be there, I can tell the customer that in the future I'll deliver it to them in HD.
    2) When I do edit for HD, will it look odd when switching between the FX1 and GL2? I don't mind the GL2 having bars on the side.
    I guess my overall question is: What's the best way to import footage into FCP 4.5 when using HDV, and are the bars going to be there no matter what if I deliver the final video in standard DV? Again, the bars don't bother me, I'm just worried about how the customer will view this.
    Thanks,
    - John

    I deal with similar issues with legacy 4x3 Beta SP mixed with HD quite a bit. I'm speculating, as I have not had to mix HDV and DV yet, but this is how I would try to deal with it were I in your shoes.
    You can put both in a time line, but it will be painful to edit this way. One or the other will need to be rendered, and the actions you take with the footage will cause you to have to render again. And again. And again. No Joy.
    I would look for a down convert with edge crop from the camera. This will chop off the edges of your HDV frame. As mentioned above, this might have a different name, but the key is to get footage that is of the same format (DV) and aspect ration (4x3) as your GL footage. Edit in DV.
    You could import it 16x9 (black bars on top and bottom as you say) DV, blow it up so the black bars go away, and then slide it back and forth in the canvas with the motion controls in order to adjust the framing. Indeed you might have to do this if you did not shoot with 4x3 safety in mind. This is called "pan and scan" and it is how movies shot wide screen were squeezed onto our 4x3 TVs. If you have to do this your HDV footage will look quite poor. Down conversion and then scaling up is not good JuJu.
    But, if you can't find a way to play the hdv footage out DV 4x3 center cut, or crop or whatever your camera calls it, you might be forced into this scenario.
    You might try capturing the HDV the footage natively in a separate project. Drop this on a DV sequence. It will appear as a 16x9 image (black bars on the top and bottom.) Double click to load in the viewer and click the motion tab. The scale parameter will be at less than 100 percent. Scale it up until the black bars go away and your percentage is a round even number. Then export as self contained Quicktime movie. Name it HDV to 4x3DV. Reimport this into the DV project with your GL footage where you plan to edit.
    This avoids the scaling issue and does the down convert in FCP. I suspect this will look better than the alternative, but I have not tried it.
    Hope this helps.
    Best,
    Tom

  • Action engine/array question

    Im sure there is an easily corrected mistake I'm making. I am going to be making an action engine where I need elements added to an array, and after the array is full, toss away old data and add the new data. If someone can tell me why this array is continuing to be all zeros i'd appreciate it. Probably misuse or misunderstanding of one of the array functions. If someone could put a photo of the corrected VI rather than attach the actual VI it I'd appreciate it as I wont be on a computer with Labview until Monday. Thanks.
    CLA, LabVIEW Versions 2010-2013
    Solved!
    Go to Solution.
    Attachments:
    actionengine.vi ‏22 KB

    If you could just take a last look at this and make any more comments I'd appreciate it. I'm trying to learn how to do this stuff as efficiently as possible the first time so I don't have to backtrack/relearn. I'll take advice on anything, except tunnel and wiring as I think I can fix that myself. I'm more worried about the actual coding. And yes, I am aware my front panels aren't organized
    Message Edited by for(imstuck) on 01-22-2009 02:59 PM
    CLA, LabVIEW Versions 2010-2013
    Attachments:
    actionengine.vi ‏67 KB
    test_action_engine.vi ‏144 KB

  • First time editing a project with HD, and then burning it to Blu-ray

    Hey there everyone.
    *Newbie to HD editing alert.
    I have two problems regarding HD editing/export.
    I've been scouring the forums for several days, and I can't find a specific answer to what I need/want to know. Some things are understandable to a degree, and then there are things that seem way over my head.
    (One thing, I've read about third-party programs like Cineform, and such, and was told that those programs aren't really necessary. So, if there's some way to stay away from them, I'd like your suggestions on that. However, if in the end, that's the way I need to go for this to work, then I guess I will have to go that route).
    This is my first attempt at capturing and editing in HDV, so please excuse my ignorance if I refer to something in the wrong context.
    My main goal:
    To edit an HD wedding, shot with Sony FX-1 HD camera, and burn it to a Blu-ray disk.
    Here is the computer system that I'm working with:
    Dell Precision M6300; Intel Core 2 Duo T7700; 2.40 GHz 800Mhz; 4MB L2 Cache; Dual Core
    Operating System: Windows XP PRO SP3;
    - 4.0GB, DDR2-667 SDRAM, 2 DIMM Dell Precision M4300
    - NVIDIA QUADRO FX1600M 512MB TurboCache (256 dedicated) Dell Precision M6300
    - Hard Drive: 200GB Free Fall Sensor Hard Drive 9.5MM, 7200RPM, Dell Mobile Precision MX300 Factory Install
    - 8X DVD+/-RW, Data Only, Dell Precision M6300
    - NTFS file system
    I have been editing with Premiere Pro CS3 for the past year now.
    I used a Sony FX-1 when capturing my footage.
    I believe that I captured all the footage in HDV ok. (I made a new project and used the Load Preset of "HDV 1080i30(60i)"; and then captured all the footage thru CS3)
    My clip properties (when highlighted in the Project Panel) say that the clip is: an mpeg; and 1440x1080 (1.333).
    1. My first problem: I captured 4 clips (Clips 1-3 are 1 hour each; and Clip 4 is 16 mins long). When I place Clip 1 into the timeline . . . the only way I can describe how the audio plays in this clip is . . . the audio looks like it's looping the same 5 to 6 minutes of audio throughout the whole 1 hour clip. (ie: the video is one, long, flowing 1 hour of continuous video; but the audio connected to this same clip, seems to be playing the first 5 mins of the clip, and then repeats it at the 6th minute). You can 'visually' see this problem when you view the audio waveform in the timeline.
    The other three clips have no problem with audio at all.
    2. My second question is a bit more lengthy:
    I wanted to run a test of burning a Blu-Ray of this project's raw footage, to see how the workflow would go after I've edited the wedding.
    When I go to Export my timeline to Encore, on the Encoding Settings area, it seems to only let me use the Preset of NTSC Widescreen, with a 720x480 video. I don't see anywhere where it mentions that this project will be HD (which I thought would keep my 1440x1080 dimensions on export).
    The Format and Range areas are greyed out; and I can only choose a few things off the Preset dropdown.
    Am I missing a step? Or is this what will be exported, but once in Encore, it will be able to burn correctly on Blu-ray?
    Again, please excuse my naivety in understanding and/or mis-speaking my problem.
    Also on the Export Settings window, on the Output tab - should I check off 'Deinterlace' also? I've read and read about Interlace and Deinterlace, and I am confused as to "what to use when".
    So my specific questions are:
    1. Regarding the 'repetetive audio loop' on one of my clips - what could the problem be there?
    Will it export OK? Or should I just recapture that one clip again?
    2A. Do I Export to Encore directly, when I'm done with my timeline and want to go to burn the Blu-ray disk? Or do I need to make my timeline into 'one fluid file'?
    2B. If I'm supposed to make a file of the timeline:
    Am I supposed to be Exporting to Movie instead?
    (When I tried that, my settings under 'Video' showed up as a greyed out area for Frame Size, locked at 720x480 wi

    Continuation:
    2B. If I'm supposed to make a file of the timeline:
    Am I supposed to be Exporting to Movie instead?
    (When I tried that, my settings under 'Video' showed up as a greyed out area for Frame Size, locked at 720x480 with a ratio at 4.3. I changed the Pixel Aspect Ratio to "D1/DV NTSC Widescreen 16:9 (1.2)" and the ratio that shows beside the greyed out Frame Rate area does change to 16:9. But the size is still locked at 720x480.
    Shouldn't I be seeing 1440x1080 SOMEwhere along the export line? Or at least some sort of ratio that would pertain to HD?
    2C. Am I supposed to be Exporting to Adobe Media Encoder?
    And if so, should I be choosing:
    H.264;
    HDTV 1080p 29.97 High Quality;
    Output tab having 'Deinterlace' checked;
    using VBR, 2 Pass;
    leaving Target Bitrate default of 32;
    and Maximum Bitrate default of 40?;
    and should I be setting the 'Key Frame Distance' at 30 also?
    2D. When exporting, should I always Deinterlace footage?
    (I've read so much about Deinterlace and Interlace that I'm lost about the 'when to use either' aspect)
    3. If I absolutely have to use a third-party program like Cineform, at what point do you use that program? Is this used at the time that you capture the footage, and then import those files into PPCS3? Or is this a program that you use to Export your project when you're done with your editing?
    (I read all the information that Dan Isaacs posted about the "Premiere Pro HDV workflow Guide", but that was entirely too confusing to me right now, as a newbie to HDV, etc. I was going to attempt that way, but I ended up doing this post first).
    In my meandering throughout the CS3 forum regarding SD, HD, HDV, etc etc, I have picked up alot of information regarding certain problems and situations. I may have all the info in my head, and I'm just applying it wrong; or, I'm missing something in the mix? I'm not sure what it is, but I seem to be having quite a problem doing what seems to be something that should be 'easy'.
    I find this forum extremely helpful and understanding, so I'm looking to you all for help. I would appreciate any and all comments and suggestions!
    Thanks so much!

  • I have a hp hpe-595a, i'm trying to use stereo mix with a hot mic. anyone know how to do this?

    I'm trying to sing along with the music in the chat program Paltalk and also host a music room on the same program, I can only use the mic or stereo mix but not both at the same time.
    I have been using this chat program for over 5yrs and have always been able to use Stereo mix with the mic active, using the realteck codecs or soundblaster (what you hear)
    I can't do this with the IDT codecs supplied.

    Hey Redritr,
    Thanks for the question. iTunes purchases are billed to Store Credits first, before Credit Cards, as outlined by the following article:
    When making purchases, content credits are used first, followed by Gift Certificate, iTunes Card, or Allowance Account credits; your credit card or PayPal account is then charged for any remaining balance.
    via iTunes Store: How iTunes Store purchases are billed
    http://support.apple.com/kb/HT5582
    It also may be that the iTunes Store is prompting to verify your billing information:
    When there is a mismatch between the iTunes Store's records and your credit card company's records, you will receive an error message stating that your credit card's security code isn't valid or that your zip code does not match your bank's records.
    In most cases, this issue is caused by a formatting error in the billing address that you have provided. You can correct the issue by verifying that the information you have provided is correct, or by changing the format of your address to match the format that your credit card company has on file.
    via iTunes Store: My credit card's security code or zip code does not match my bank's records
    http://support.apple.com/kb/TS1646
    Additional Information:
    Why can’t I select None when I edit my payment information?
    http://support.apple.com/kb/TS5366
    Thanks,
    Matt M.

  • JDeveloper problem with actions

    Hello
    I'm working on my first struts application and I have any problem with actions(I think).
    When I run the application, I don't see any data from DB on my page but when I click any of these 4 buttons, then the data load from DB.....Can anybody help me....I want to see my data when the page loads for the first time, not after the button click. Thanks a lot.
    (The buttons shows the rows of the table....first,previous,next,last)
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    <html:form action="/zuctzaz.do" >
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
    <input type="hidden" name="<c:out value='${bindings.statetokenid}'/>" value="<c:out value='${bindings.statetoken}'/>" >
    <tr>
    <td>
    <table>
    <tr>
    <td>
    <table>
    <tr>
    <td><input type="submit" name="event_First" value="First" STYLE="width:35px" <c:out value="${bindings.First.enabledString}" /> ></td>
    <td><input type="submit" name="event_Previous" value="Prev" STYLE="width:35px" <c:out value="${bindings.Previous.enabledString}" /> ></td>
    <td><input type="submit" name="event_Next" value="Next" STYLE="width:35px" <c:out value="${bindings.Next.enabledString}" /> ></td>
    <td><input type="submit" name="event_Last" value="Last" STYLE="width:35px" <c:out value="${bindings.Last.enabledString}" /> ></td>
    </tr>
    </table>
    </td>
    <td>
    <table>
    <tr>
    <td colspan="3"><strong>Z�&#269;tovac� z�znam</strong></td>
    </tr>
    <tr>
    <td>Date</td>
    <td><input type="text" name="textfield1" value="<c:out value="${bindings['datZuct']}"/>"></td>
    <td><c:out value="${bindings['cisPdo']}"/> AND <c:out value="${bindings['zucZazn']}"/></td>
    </tr>
    <tr>
    <td>Place</td>
    <td colspan="2">Brusel</td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </html:form>

    Hy Again!
    I forgot to say one more thing that could be relevant:
    If i add any action from the struts-config.xml in the provider for the <defaultAction> of the portlet it works correctly.
    So the actions work correctly, the problem is that when sending back to the oracle portal the request with the new action, there is no response.
    Pls help!
    Thanx, and best regards!
    Ado

  • Help with actions

    Hi,
    I'm pretty good with actions, I use it every day.  (I'm running v 7).
    I have a bunch, a couple thousand 35mm slides to scan in and make each one a .jpg.  I'm scanning in 20 slides at one time, making a 300 meg file.  I want to have actions remember what I did.  I want to use the rectangular markee tool to
    mark a box around slide number one.  Then copy that data to a new file. Then repeat 19 more times.
    If the Actions will follow my moves all will be fine.  But, my problem is in trying to tell it to save only that copy.
    What am I missing? Is there another plug in I need? or What?
    Many thanks
    pat
    www.appleson.com

    With actions, you'll probably be stuck opening a scanned "sheet," creating the marquee box upper right (over the first slide), copying, new doc, paste, save as "1.psd". Move marquee tot the right, copy, new doc, paste, save as "2.psd". Move marquee, copy, new doc, paste, save as "3.psd". You'll have to do that 20 times in the action (you could speed up this by fiddling with copying steps in the action).
    Then run the action on each scan, and use bridge to rename the files for each sheet. Or create a pause at the save as step and input a name of your choosing. It probably depends on what you're trying to name the resulting files.

  • Can't run plugin with action. Please help....

    Hi gang, for years I used Tiffen DFX plugin and would use it (and other plugins) in a custom action to batch process a folder of images. When I upgraded from CC to CC2014, I lost that ability with DFX. My other plugins work just fine using an action but DFX does not work. I have a rapport with Tiffen and they cannot replicate the problem so they are not much help. Has anyone ever had an issue where the action would not let the plugin do it's job?
    Here's my workflow.....
    I open a test picture in PS and click the record action button. Then I'll record this custom action using several plugins one of which is Tiffen DFX. Once I'm done adjusting the image, I will stop the action from recording.
    Then, in Bridge, I'll navigate to a folder of images, select them all then go to: Tools > Photoshop > Image Processor and I'll make sure that "Run Action" is selected and click "run". The processing takes place including the custom action and everything is fine except that my DFX effect doesn't show. For some reason, I cannot use DFX with an action even though I've done this for the last few years with no problem.
    I'm wondering if any of you have any idea what may be causing this? Tiffen cannot figure it out so I thought I would head over here and see if you guys can.
    I'm running PS CC 2014 on Mac Pro system w/OSX 10.9.4
    Thanks!!!

    That sounds like a very specific problem in the plug-in itself, possibly in the part of the code that sends the processed image data back to Photoshop through the use of the gFilterRecord->advanceState() call.
    Unless somehow you have made a very basic error, such as having a selection somewhere else or are on the wrong layer, I think you're going to have to pursue this further with the Tiffen folks.  There's no reason you should see it fail like this.
    One other thing...  Does it make a difference if you have the document docked as a tab vs. in a floating window?  If you have one window open vs. many?  I ask because there was a time not too many versions ago where the actions engine in Photoshop wasn't handling the windowing properly, and a workaround was to use Tabbed view.  This is a longshot, but I figured I should mention it.
    -Noel

  • Blackberry Desktop Software freezes at message "Action Engine Loading Configurat​ion"

    I have Windows 7 Professional. My Outlook profile is saved on an Exchange server and my Blackberry had previously beeng syncing with Outlook in this setup for nearly a year without issue. 
    Recently, the desktop software freezes at "Action engine loading configuration" message and is unrecoverable. I have tried the following things to rectify the situation:
    1) Adjust the organizer settings not to sync anything except the date & time. Still happens
    2) Delete all data from the device using Desktop Software and try to resync. Same problem
    3) Uninstall and reinstall Blackberry Desktop Software and try to sync with both the original set of data and the empty, deleted data Blackberry. Same problem.
    4) Tried wiping the blackberry completely using JL Cmdr, reinstalling the OS. In this scenario I can sync Addresses but once I sync Calendar the problems happens again and I am unable to ever sync it again (Including thereafter when de-selecting the Calendar option. 
    At this point I have spent hours scouring Google for help and trying the above items. This has been disastrous for me as I rely on the sync'd data for work and have already starting missing things. 
    I don't believe there is anything wrong with the Blackberry, as it works fine and works perfectly well after re-loading a fresh, OS, etc. 
    I have tried playing with the support logs but because the software freezes before calendar can sync, nothing is in the log that states if there is a corrupt record in calender causing this. Nothing dramatically changes in my calendar between the day that syncing worked and the day it didnt.
    I've tried searching the Blackberry forums and have found some info but nothing helpful. RIM does not provide support telephone numbers and AT&T support has continuously demonstrated itself as worthless over my time with them. 
    Is there any resources left at all that I could try to get past this issue, not waste any more time, and be able to resolve the issue?
    Thank you for reading and for any input you are willing to offer.
    Solved!
    Go to Solution.

    I had a Dell PalmPilot type device in 2003 that sync'd contnously with my computer using ActiveSync. I didn't ever have to click Sync, I would make a change on either device and they would sync. 
    The fact that it is 2011 and we still work with Desktop Manager, the biggest piece of **bleep** software I still have to use, is simply pathetic. 

Maybe you are looking for

  • Process Server not recognized in CX. - Help

    Hi Team, I have configured CX, MT and PS for scenrio of VMWare to VMWare. When I navigate to Monitor -> Agent Heartbeat; I see "Unknown" value under Machine, Agent Role and Process Server tab and the PS server are unregister with timestamp. But in th

  • Missing information

    I have songs that I have downloaded. I have them on itunes, and I can see them on my IPOD in the songs list. However, when I search by artist or genere on my IPOD, I do not see the songs. I have triple checked to make sure the artist name and genere

  • FI - AR

    Hello Experts, Can some one give me brief introduction on SAP FI credit management (both AR and FSCM). Appreciate if someone can send me any configuration documents on credit management. Regards, Sriram

  • Splitting columns using xml path

    Please see my script below, This is one of the msdn user request but as he is newbie unable to put ddl and dmls.. but all he wants is doing pivot on values.. but I'm trying the same using dynamic pivot which I'm not able to achieve. Help is appreciat

  • Time Capsule Pre-Purchase questions.......

    1. Is the power supply 30watts? 2. Does the unit itself generally run hot? I would expect the heat to increase when the drive is in heavy use, but under general use with the odd Time Machine backup will the unit remain hot? 3. How long have you had y