Error checking....channel encoder

Hello I want to ask how I can make in labview something like error checking...maybe channel encoder...it is possible...because | want to chcecks errors by sending data through serial port...it is good choice channel encoder?? and if yes...how I can make it??

thanx...I hope it will help me

Similar Messages

  • Using a Counter to error-check External Sample Clock

    Hi all,
    I am newish to labview and am working on a data acquisition project. I've managed to get the basics under control, but here's my situation and question...
    -- I am using the S-6123 card to capture and record data on two or more AI channels.  I am using a rotary encoder to generate a pulsetrain that I am using via PFI0 as the sample clock for recording the AI data.
    -- This rotary encoder gives 720 pulses per revolution and an index pulse once per revolution.
    -- In my data acquisition, I am pulling 1440 samples at a time with the DAQmx "read" function.
    I have been experimenting with counters and can get the RPM out of the pulse trains well enough, however I was wondering...
    Is there some way to use the 2 counters on the card (and signal routing of the two pulse trains) to double-check that the 1440 samples I take correspond to two exact revolutions, and that I'm not getting ahead of or behind the rotation of the encoder due to missing clock pulses or reading false pulses. I have a couple of ideas on how to attempt to do it, but to me they don't seem very reliable or efficient, so I thought I'd put it to the experts to point out of there is a more obvious way of doing it.
    I have attached a pdf of the specifications of the encoder family, the pulses that will be output are on the right hand side of page 2.
    With many thanks in advance,
    Peter
    Message Edited by mumech on 07-22-2008 01:05 AM
    Attachments:
    REncoder Specs.pdf ‏312 KB

    Thanks very much for your reply. I had come across the use of counters with angular encoders but hadn't quite thought of the concept in this way.
    I will have to experiment a bit over the next day or to see what this is capable of, the examples seem quite comprehensive, however I'm not sure if I will run into issues due to the fact that I am using the rotary encoder as the sample clock for my analogue data.
    Would I indeed be able to compare these values (ideally check the position of the encoder after each set of data acquisition) without a "third party" sample clock common to both? (which isn't appropriate for this application)
    If I was only running at low speeds, I might be able to implement this by simply checking the position of the encoder after each read of the data. However, at higher speeds there might be synchronization issues due to the buffering of the analogue data. So when getting the measurement from the encoder counter chances are the analogue data was acquired at an earlier time.
    I know I haven't worded this very well, but how might I synchronise this error checking method?

  • I repeatedly get "error during rendering/encoding of menus/slideshow" message.  This process is the same on my iMac, MacBook and another iMac.  I have been burning dvd's int he same way for the past 12 months using the exact same steps successfully.

    I keep getting "error during rendering/encoding of menus/slideshows" message.  I have been burning DVD's in exactly the same way for the past 12 months and mostly on my MacBook which is 3 years old.  Obviously I'm using iDVD.  I purchased an iMac about a year ago and moved to use this for dvd burning without problem.  A few months ago (approximately) I started to experience problems with burning with the error message above.  I tried everything including starting the whole process from scratch right down to capturing the movie clips from my video recorder into iMovie, then using them in iDVD.  Still the same message came up.  I lost count of how many times I repeated the process with different clips and variations and the same thing happened.  This was also the case with my MacBook and my husband's iMac.
    After taking both of mymac's tothe service centre, having new optical thingys put it and even a new hard drive on my iMac along with a new DVD burner the same thing happened.  They told me it must be the process that I am using that is incorrect!
    I took my 27" iMac to an apple shop and asked them to assist me while I use the same technique as I always had.  The same message came up so they tried using my clips in one of their mac's.  The same message. They tried it with different clips and the same message.  The only way we could get theirs to work was with a magic DVD which did not produce what I needed and was limited with only one page. 
    I now cannot use any of my Mac's for the intended purpose that I bought them for - to produce good media for my work!  It was suggested that I purchase some non Mac software to burn DVDs which defeats the object of having a mac with iDVD in my opinion.  I have a book on iDVD which is very informative and have followed the process to the letter and checked all the trouble shooting and still no remedy.  It was mentioned that an up-date may have caused the problem on all my macs.
    I feel that this issue should be addressed by Apple as a matter of correctness.
    I now find that on the net there are many posts in forums and such like with exactly the same (almost word for word) problems.  Please Apple, keep/regain your good name and sort this out.
    Jayne Connelly

    Thanks Bengt W for your attention to this matter.  So much appreciated.  And thanks for putting me right on the aim of forums (new to this).  Although, you may regret asking for more information.  I've added everything I can below.
    The process I used is as follows:
    Import recorded clips of between 5 and 15minutes each from my video recorder into i
    Edit the clips (remove unwanted start and endng)
    Add title to front of clips
    ‘Share’ them to ‘movie’ (export using QuickTime)folder in .mov format individually
    Open iDVD and ‘create new project’
    Select ‘favourite’ theme that I have set up forall my work dvd’s (this has been used successfully many times and I’ve triedwithout using the favourite them).
    Add 2 submenus for each group of clips
    Select submenu  - drag and drop between 3 – 6 clips in each of the twosubmenus
    Change title colours on clips
    Dragand drop image into drop zones where required
    In‘map’ view I check for any yellow warnings before burning to disc
    In an attempt to remedy the problems I’ve tried the following:
    Try new DVD discs
    Try different themes (favourites and standardones)
    Change images in drop zones
    Start whole process again even from importingfrom camera again
    Two other completely different computers (iMacand MacBook) with iDVD
    Go to apple shop and use their computers to doin iDVD
    Try with one clip and no menu pages added
    Use a clip that I already have that did notoriginate from my camera
    Turn computer off and restart
    New hard drive
    New optical lense (thing)
    New DVD burner
    Saving to disc image rather than dvd disc
    Other points:
    I also have a ‘flip’ and ‘iPhone’ whereI’ve imported footage camera which, although limited, records and makes videoclips and burns them to DVD through iDVD without problem.
    For example, I have just gone through steps 5 - 11 using some clips that were already imported from my iphone to iPhoto and dragged across.  I used a theme that I've used before which has failed and added one sub menu page where the clip went.  It burned to disc image successfully.
    The startup disc, I believe will have no space issues asit’s a new hard drive with no use apart from this.  That could have been an issue before (I didn’t check it) butnot now.
    Other technical stuff that I don't understand but you may:
    I have…… Mac OS X Version 10.6.7 with all updates onit.  Processor 2.8 GHz Intel Corei7.  Memory 4GB 1067 MHz DDR3.
    iDVD version 7.1.1
    HardwareOverview:
      Model Name: iMac
      Model Identifier: iMac11,1
      Processor Name: Intel Core i7
      Processor Speed: 2.8 GHz
      Number Of Processors: 1
      Total Number Of Cores: 4
      L2 Cache (per core): 256 KB
      L3 Cache: 8 MB
      Memory: 4GB
      Processor Interconnect Speed: 4.8 GT/s
      Boot ROM Version: IM111.0034.B02
    SMC Version (system):            1.54f36
    OPTIARCDVD RW AD-5680H:
      Firmware Revision:     3AHB
      Interconnect:    ATAPI
      Burn Support:   Yes (AppleShipping Drive)
      Cache:    2048KB
      Reads DVD:    Yes
      CD-Write: -R, -RW
      DVD-Write:   -R, -R DL,-RW, +R, +R DL, +RW
      Write Strategies:  CD-TAO,CD-SAO, CD-Raw, DVD-DAO
      Media: Toshow the available burn speeds, insert a disc and choose View > Refresh
    If you can solve this you are better than the 'apple geeks' in the shop and the service technicians in the service centre (and of course me but that's no achievement). 
    Eagerly awaiting your reply.
    Jayne

  • Error message during burning: Error during rendering/encoding

    Hello,
    I am using iDVD 6.0.2 to create a DVD. I have pictures and videos. The videos are in .ASF format and they are played on Quicktime on my computer.
    Anyway, when I go to burn the DVD, it goes through the slideshow fine. But then, once it starts videos, it stops and the following error message shows up:
    Encoding Video
    Error during rendering/encoding
    I am using a Memorex DVD-R (8x, 4.7 GB, 120 min video) dvd. Is there any way possible I can fix this problem? I really need this DVD soon. Thank you so much.

    Best Buy and Office Depot carry Verbatim by me. Use only DVD-R, not DVD+R.
    My guess is that .ASF file...........
    Suggest you create a disc image and then burn the DVD. File/Save as Disc Image...
    http://docs.info.apple.com/article.html?artnum=164927
    This will isolate any encoding/burning issues you may encounter. Once the disc image is created, double-click the .img and burn the virtual disc that should appear on your desktop, using Toast to burn the DVD. Disk Utility to burn the .img file. Usually, you can select a burning speed in Disk Utility.
    There are variations to this process based on which OS X you are using...
    Open Disk Utility (in Utilities folder in Applications folder), click on the virtual disc (maybe the .img) in the left-hand window. Click the Burn icon. A new window should drop down and your SuperDrive tray will open after clicking the Burn icon. Insert a recordable DVD. (Verbatim DVD-R preferred by me.) Click the Close button. Wait. Select a burn speed. If you hold your mouse cursor over the pop-up it says: "Select a slower speed to work around burn failures," so select 4x or slower for best results. Then click the Burn button.
    -->If the virtual disk selection won't allow you to click the Burn icon, use the .img file instead. This may have changed in 10.3.9 and did change in Tiger.
    Also, you can use DVD Player to play the virtual disk to check your iDVD project before burning to DVD. Launch DVD Player. File/Open VIDEO_TS (Open DVD Media... in Player 4.6). Find the VIDEO_TS folder and open that. (The audio folder is for DVD-Audio disks.)
    http://docs.info.apple.com/article.html?artnum=93006

  • FMLE Unexpected Error encountered in encoding process every 2 minutes

    Hi,
    We are wondering if anyone has advice as to what could be causing the following problem.
    We are having an issue where by we are getting an Unexpected error ever 2 minutes.
    We are running FMLE 3.2 on a Mac Pro server with a Blackmagic Intensity Pro Capture card
    Wed Jan 11 2012 17:49:49 : Session Started
    Wed Jan 11 2012 17:49:49 : Video Encoding Started
    Wed Jan 11 2012 17:49:49 : Audio Encoding Started
    Wed Jan 11 2012 17:51:49 : Unexpected error encountered in encoding process.
    Wed Jan 11 2012 17:51:49 : Audio Encoding Stopped
    Wed Jan 11 2012 17:51:49 : Video Encoding Stopped
    Wed Jan 11 2012 17:51:49 : Session Stopped
    Wed Jan 11 2012 17:51:51 : Primary - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Unpublish.Success
    Wed Jan 11 2012 17:51:51 : Primary - Network Status: NetConnection.Connect.Closed status
    Wed Jan 11 2012 17:51:51 : Primary - Disconnected
    Wed Jan 11 2012 17:51:51 : Primary - Connected to FMS/3,5,7,7009
    Wed Jan 11 2012 17:51:51 : Primary - Stream[1_o9kj1pu9_1@39123] Status: Success
    Wed Jan 11 2012 17:51:51 : Primary - Network Command: onFCPublish
    Wed Jan 11 2012 17:51:51 : Primary - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Publish.Start
    Wed Jan 11 2012 17:51:51 : Backup - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Unpublish.Success
    Wed Jan 11 2012 17:51:51 : Backup - Network Status: NetConnection.Connect.Closed status
    Wed Jan 11 2012 17:51:51 : Backup - Disconnected
    Wed Jan 11 2012 17:51:51 : Backup - Connected to FMS/3,5,7,7009
    Wed Jan 11 2012 17:51:51 : Backup - Stream[1_o9kj1pu9_1@39123] Status: Success
    Wed Jan 11 2012 17:51:51 : Backup - Network Command: onFCPublish
    Wed Jan 11 2012 17:51:51 : Backup - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Publish.Start
    Wed Jan 11 2012 17:51:51 : File /Users/harvardiop/Movies/bobsburgers.f4v closed.
    Wed Jan 11 2012 17:51:51 : Renaming existing file from /Users/harvardiop/Movies/bobsburgers.f4v to /Users/harvardiop/Movies/bobsburgers.4.f4v
    Wed Jan 11 2012 17:51:51 : Session Started
    Wed Jan 11 2012 17:51:51 : Video Encoding Started
    Wed Jan 11 2012 17:51:52 : Audio Encoding Started
    Wed Jan 11 2012 17:53:51 : Unexpected error encountered in encoding process.
    Wed Jan 11 2012 17:53:52 : Audio Encoding Stopped
    Wed Jan 11 2012 17:53:52 : Video Encoding Stopped
    Wed Jan 11 2012 17:53:52 : Session Stopped
    Wed Jan 11 2012 17:53:53 : Primary - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Unpublish.Success
    Wed Jan 11 2012 17:53:53 : Primary - Network Status: NetConnection.Connect.Closed status
    Wed Jan 11 2012 17:53:53 : Primary - Disconnected
    Wed Jan 11 2012 17:53:53 : Primary - Connected to FMS/3,5,7,7009
    Wed Jan 11 2012 17:53:53 : Primary - Stream[1_o9kj1pu9_1@39123] Status: Success
    Wed Jan 11 2012 17:53:53 : Primary - Network Command: onFCPublish
    Wed Jan 11 2012 17:53:53 : Primary - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Publish.Start
    Wed Jan 11 2012 17:53:53 : Backup - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Unpublish.Success
    Wed Jan 11 2012 17:53:53 : Backup - Network Status: NetConnection.Connect.Closed status
    Wed Jan 11 2012 17:53:53 : Backup - Disconnected
    Wed Jan 11 2012 17:53:53 : Backup - Connected to FMS/3,5,7,7009
    Wed Jan 11 2012 17:53:54 : Backup - Stream[1_o9kj1pu9_1@39123] Status: Success
    Wed Jan 11 2012 17:53:54 : Backup - Network Command: onFCPublish
    Wed Jan 11 2012 17:53:54 : Backup - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Publish.Start
    Wed Jan 11 2012 17:53:54 : File /Users/harvardiop/Movies/bobsburgers.f4v closed.
    Wed Jan 11 2012 17:53:54 : Renaming existing file from /Users/harvardiop/Movies/bobsburgers.f4v to /Users/harvardiop/Movies/bobsburgers.5.f4v
    Wed Jan 11 2012 17:53:54 : Session Started
    Wed Jan 11 2012 17:53:54 : Video Encoding Started
    Wed Jan 11 2012 17:53:54 : Audio Encoding Started
    Wed Jan 11 2012 17:55:54 : Unexpected error encountered in encoding process.
    Wed Jan 11 2012 17:55:54 : Audio Encoding Stopped
    Wed Jan 11 2012 17:55:54 : Video Encoding Stopped
    Wed Jan 11 2012 17:55:54 : Session Stopped
    Wed Jan 11 2012 17:55:55 : Primary - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Unpublish.Success
    Wed Jan 11 2012 17:55:55 : Primary - Network Status: NetConnection.Connect.Closed status
    Wed Jan 11 2012 17:55:55 : Primary - Disconnected
    Wed Jan 11 2012 17:55:55 : Primary - Connected to FMS/3,5,7,7009
    Wed Jan 11 2012 17:55:55 : Primary - Stream[1_o9kj1pu9_1@39123] Status: Success
    Wed Jan 11 2012 17:55:55 : Primary - Network Command: onFCPublish
    Wed Jan 11 2012 17:55:56 : Primary - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Publish.Start
    Wed Jan 11 2012 17:55:56 : Backup - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Unpublish.Success
    Wed Jan 11 2012 17:55:56 : Backup - Network Status: NetConnection.Connect.Closed status
    Wed Jan 11 2012 17:55:56 : Backup - Disconnected
    Wed Jan 11 2012 17:55:56 : Backup - Connected to FMS/3,5,7,7009
    Wed Jan 11 2012 17:55:56 : Backup - Stream[1_o9kj1pu9_1@39123] Status: Success
    Wed Jan 11 2012 17:55:56 : Backup - Network Command: onFCPublish
    Wed Jan 11 2012 17:55:56 : Backup - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Publish.Start
    Wed Jan 11 2012 17:55:56 : File /Users/harvardiop/Movies/bobsburgers.f4v closed.
    Wed Jan 11 2012 17:55:56 : Renaming existing file from /Users/harvardiop/Movies/bobsburgers.f4v to /Users/harvardiop/Movies/bobsburgers.6.f4v
    Wed Jan 11 2012 17:55:56 : Session Started
    Wed Jan 11 2012 17:55:56 : Video Encoding Started
    Wed Jan 11 2012 17:55:56 : Audio Encoding Started
    Wed Jan 11 2012 17:57:39 : Audio Encoding Stopped
    Wed Jan 11 2012 17:57:39 : Video Encoding Stopped
    Wed Jan 11 2012 17:57:39 : Session Stopped
    Wed Jan 11 2012 17:57:40 : File /Users/harvardiop/Movies/bobsburgers.f4v closed.
    Wed Jan 11 2012 17:57:40 : Primary - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Unpublish.Success
    Wed Jan 11 2012 17:57:40 : Primary - Network Command: onFCUnpublish
    Wed Jan 11 2012 17:57:41 : Backup - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Unpublish.Success
    Wed Jan 11 2012 17:57:41 :
    The following is our FMLE Profile XML
    <?xml version="1.0" encoding="UTF-16"?>
    <flashmedialiveencoder_profile>
        <preset>
            <name>Custom</name>
            <description></description>
        </preset>
        <capture>
            <video>
            <device>Intensity NTSC/PAL</device>
            <frame_rate>24.00</frame_rate>
            <size>
                <width>720</width>
                <height>480</height>
            </size>
            </video>
            <audio>
            <device>Blackmagic Audio</device>
            <sample_rate>22050</sample_rate>
            <channels>2</channels>
            <input_volume>75</input_volume>
            </audio>
        </capture>
        <encode>
            <video>
            <format>H.264</format>
            <datarate>500;</datarate>
            <outputsize>640x426;</outputsize>
            <advanced>
                <profile>Baseline</profile>
                <level>3.1</level>
                <keyframe_frequency>5 Seconds</keyframe_frequency>
            </advanced>
            <autoadjust>
                <enable>false</enable>
                <maxbuffersize>1</maxbuffersize>
                <dropframes>
                <enable>false</enable>
                </dropframes>
                <degradequality>
                <enable>true</enable>
                <minvideobitrate></minvideobitrate>
                <preservepfq>false</preservepfq>
                </degradequality>
            </autoadjust>
            </video>
            <audio>
            <format>MP3</format>
            <datarate>48</datarate>
            </audio>
        </encode>
        <restartinterval>
            <days></days>
            <hours></hours>
            <minutes></minutes>
        </restartinterval>
        <reconnectinterval>
            <attempts></attempts>
            <interval></interval>
        </reconnectinterval>
        <output>
            <rtmp>
            <url>rtmp://p.ep39123.i.akamaientrypoint.net/EntryPoint</url>
            <backup_url>rtmp://b.ep39123.i.akamaientrypoint.net/EntryPoint</backup_url>
            <stream>1_o9kj1pu9_%i@39123</stream>
            </rtmp>
            <file>
            <limitbysize>
                <enable>false</enable>
                <size>10</size>
            </limitbysize>
            <limitbyduration>
                <enable>false</enable>
                <hours>1</hours>
                <minutes>0</minutes>
            </limitbyduration>
            <path>bobsburgers.f4v</path>
            </file>
        </output>
        <metadata>
            <entry>
            <key>author</key>
            <value></value>
            </entry>
            <entry>
            <key>copyright</key>
            <value></value>
            </entry>
            <entry>
            <key>description</key>
            <value></value>
            </entry>
            <entry>
            <key>keywords</key>
            <value></value>
            </entry>
            <entry>
            <key>rating</key>
            <value></value>
            </entry>
            <entry>
            <key>title</key>
            <value></value>
            </entry>
        </metadata>
        <preview>
            <video>
            <input>
                <zoom>75%</zoom>
            </input>
            <output>
                <zoom>75%</zoom>
            </output>
            </video>
            <audio></audio>
        </preview>
        <log>
            <level>100</level>
            <directory>/Users/harvardiop/Movies</directory>
        </log>
    </flashmedialiveencoder_profile>
    Thank you,

    Hi. I am currently having the same problems, only i do believe my settings are correct. However the error appears every thirty seconds. What am i doing wrong?
    <?xml version="1.0" encoding="UTF-16"?>
    <flashmedialiveencoder_profile>
    <preset>
    <name>Custom</name>
    <description></description>
    </preset>
    <capture>
    <video>
    <device>Blackmagic HD 720p 50 - 10 Bit</device>
    <frame_rate>25.00</frame_rate>
    <size>
    <width>1280</width>
    <height>720</height>
    </size>
    </video>
    <audio>
    <device>Line In</device>
    <sample_rate>44100</sample_rate>
    <channels>2</channels>
    <input_volume>75</input_volume>
    </audio>
    </capture>
    <process>
    <video>
    <crop>
    <left>15</left>
    <top>15</top>
    <right>15</right>
    <bottom>15</bottom>
    </crop>
    </video>
    </process>
    <encode>
    <video>
    <format>H.264</format>
    <datarate>2048;</datarate>
    <outputsize>640x360;</outputsize>
    <advanced>
    <profile>Baseline</profile>
    <level>4.1</level>
    <keyframe_frequency>8 Seconds</keyframe_frequency>
    </advanced>
    <autoadjust>
    <enable>false</enable>
    <maxbuffersize>1</maxbuffersize>
    <dropframes>
    <enable>false</enable>
    </dropframes>
    <degradequality>
    <enable>true</enable>
    <minvideobitrate></minvideobitrate>
    <preservepfq>false</preservepfq>
    </degradequality>
    </autoadjust>
    </video>
    <audio>
    <format>AAC</format>
    <datarate>128</datarate>
    </audio>
    </encode>
    <restartinterval>
    <days></days>
    <hours></hours>
    <minutes></minutes>
    </restartinterval>
    <reconnectinterval>
    <attempts></attempts>
    <interval></interval>
    </reconnectinterval>
    <output>
    <rtmp>
    <url>rtmp://p.xxxxxxx.i.akamaientrypoint.net/EntryPoint</url>
    <backup_url>rtmp://b.xxxxxx.i.akamaientrypoint.net/EntryPoint</backup_url>
    <stream>xxxxx</stream>
    </rtmp>
    </output>
    <metadata>
    <entry>
    <key>author</key>
    <value></value>
    </entry>
    <entry>
    <key>copyright</key>
    <value></value>
    </entry>
    <entry>
    <key>description</key>
    <value></value>
    </entry>
    <entry>
    <key>keywords</key>
    <value></value>
    </entry>
    <entry>
    <key>rating</key>
    <value></value>
    </entry>
    <entry>
    <key>title</key>
    <value></value>
    </entry>
    </metadata>
    <preview>
    <video>
    <input>
    <zoom>25%</zoom>
    </input>
    <output>
    <zoom>50%</zoom>
    </output>
    </video>
    <audio></audio>
    </preview>
    <log>
    <level>100</level>
    <directory>/Users/xxx/Movies</directory>
    </log>
    </flashmedialiveencoder_profile>

  • Error in rendering/encoding in iDVD v 7.1.2 with MacMini & music in intro not playing

    I am having some difficulty in creating a DVD in iDVD.  I've created  50+ home DVDs before, but now I am getting this error message every time:
    Error in rendering/encoding
    "There was an error during rendering/encoding of the menus/slideshows. The burning process has been canceled."
    My process is the same every time:
    1.  I use iMovie and export the movie,
    2.  Add it into a new iDVD project, add music etc.
    3. Click Burn
    I have cleared the iDVD cache, tried to recreate the project several times, tried to save the project as a disc image or video_ts folder and get the same error every time.
    Additionally, I cannot get any music from itunes to play in the intro.  I've tried music from itunes purchases and music i've added via my cds.  I've never had an issue either playing in the intro before. 
    I am wondering if my DVD burner gave out.  If so, is there a way to check that?  Can I create the DVD image up to the point of burning and use homesharing to burn onto another Mac in the house (none of them have iDVD, but all can burn)?
    Help!
    Janetta

    What version of iMovie are you using and how are you exporting out of iMovie to iDVD?
    Where is your iTunes library located.  Some have reported problems with getting iTunes tracks to play when the library was on an external HD.
    Follow this workflow to help assure the best qualty video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process.
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    If you can create a disk image of the project that will play with DVD Player then we've narrowed down the problem to the burn process.
    Can you burn a DVD data disk via the finder?
    OT

  • Error during movie encoding - tried all the common things, any suggestions?

    HI, Attempting to burn a DVD from iDVD 7.11
    I'm getting the "Encoding Error: There was an error during movie encoding" dialogue at the end of an attempted burn. Tried several times and many of the suggestions already on the forum
    I have "shared" the movie from iMovie. When it first opens iDVD I have to change the default setting of "best Performance" to "Professional Quality" and the video mode to PAL (I'm in Australia). I change it both in the preferences pane (a change which seems to be ignored when I restart the program) and in the project info.
    - I'm trying just to make a disc image, but haven't got past this first step to getting it to DVD...
    - There is only the movie in my project (I've not added audio or pics in iDVD)
    - I've used the "Modern" theme and deleted the default drop zones and menu audio,
    - I've checked the chapter markers are not at the start of the movie or near any transitions,
    - There are no special characters in the titles,
    - All titles and menus are within the TV safe zone,
    - I've deleted the com.apple.iMovie.plst files and emptied trash,
    - I've tried deleting encoded assets,
    - Repaired permissions, restarted the computer, checked for updated software,
    - (tried a "safe boot" as someone suggested somewhere, but the program couldn't find the movie or audio files),
    - I have 660GB free on the main hard drive,
    - I've disconnected external drives,
    - no error appear in map view,
    - I preview the project and all appears fine,
    The original footage was filmed for me. I was given a DVD which I ripped into an MP4, import into iMovie, edited the audio, added AIFF audio, added a jpeg image and 2 transitions. (Unfortunately the audio on the original I was given is unusable, else I could just copy the DVD I was given.)
    So if anyone has further suggestions as to what might resolve this issue, please let me know!

    Thanks for your post F, much appreciated
    The project is 123 minutes, 4.16GB and it's being broadcast on TV, so I need max quality I can get (without spending money!)
    I think I have sort of solved the problem - addressing what you've identified in a slightly different way.
    Since my previous post, I noticed that clicking on the "Media" tab in the side pane, and selecting "Movies", my project was listed, but when I clicked on it, rather than the thumbnail I get on other movies I've processed, I got this text:
    "This iMovie project can't be used because it hasn't been prepared for sharing yet. To prepare it for sharing, open it in iMovie and choose Share > Media Browser.... "
    I did that (7 hours processing) then successfully created the disc image (2 hours processing). I have now burnt the DVD using disc utility (1 hour processing). It plays OK on the computer, but I'll need to check it on a normal player before marking this as thread solved (I don't have one here at home).
    Unfortunately somewhere in all this processing the video has significantly lost quality. I thought I'd used all the highest quality setting, but will have to go back and check each step again. Unless someone reading this post has noticed anything I've done so far that would compromise video quality. The audio is fine - which for this project is the most important aspect.
    So in regard to my initial problem; it seems there is a problem in iDVD not recognising/remembering the set preferences when using the "Share > iDVD " function in iMovie.
    To summarise my solution for anyone else who experiences the same issue,
    When sending a project from iMovie using "Share > iDVD " it seems you must also choose "Share > Media Browser.... "
    This may be specific only to the case where PAL is required.
    PS
    I should also note, incase it made any difference, that I found the default headings in the chapter menus had dashes in them (i.e. it defaults to "Scenes 1 - 6", so I changed to "Scenes 1 to 6"). The only other modification I made since my original post was using stills instead of moving thumbnails for the chapter selection.

  • BEA-380000: General runtime error: Read channel closed - intermittent

    I am encountering this error code intermittently. My production has been live from past 20 months and I see this error very recently and its like once a week.
    I doubt if this has something to do with the network and as this is very generic error(BEA-380000) I am not able to find any pointers on this error.
    My environment
    Solaris 10,Weblogic 10.3(Not clustered)
    fault="<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-382500</con:errorCode>
    <con:reason>OSB Service Callout action received SOAP Fault response</con:reason>
    <con:details>
    <con1:ReceivedFaultDetail xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
    <con1:faultcode xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Server</con1:faultcode>
    <con1:faultstring>BEA-380000: General runtime error: Read channel closed</con1:faultstring>
    <con1:detail>
    <con:fault>
    <con:errorCode>BEA-380000</con:errorCode>
    <con:reason>General runtime error: Read channel closed</con:reason>
    <con:location>
    <con:node>RouteNode1</con:node>
    <con:path>request-pipeline</con:path>
    </con:location>
    </con:fault>
    </con1:detail>
    </con1:ReceivedFaultDetail>
    </con:details>
    <con:location>
    <con:node>PipelinePairNode1</con:node>
    <con:pipeline>PipelinePairNode1_request</con:pipeline>
    <con:stage>stage1</con:stage>
    <con:path>request-pipeline</con:path>
    </con:location>
    </con:fault>"
    Cheers
    Sridhar

    Matt,
    How are you invoking local proxy from HTTP proxy (using route node or service callout)? Is local proxy calling another proxy/business service? Do you have fault handling implemented?
    Can you also check server log to figure out any additional error information (like stacktrace)?
    Regards,
    Anuj

  • Error checking no longer works when filling in a form - FF 29

    I am running FF 29.0 and when I try to fill in the following form, the error checking on the form does not work, I cannot tick the checkbox and the 'Submit' button remains 'greyed-out'.
    The problem persists in 'Safe' mode. Here is the form in question:-
    https://digitalmailbox.com.au/registration
    Hope a solution can be found.
    Regards
    Dennis W

    I don't normally use Internet Explorer but on this occasion I thought I would give it a try.
    IE 11.0.9600.17105 handles the above registration page without a problem.
    Is the problem with FF 29 or with the webpage in question?
    Regards
    Dennis W

  • Error during rendering/encoding -- PLEASE HELP!!

    Hey everybody!! After trying twice to burn this project to DVD, I'm about ready to rip my hair out!! First of all, here's the specifics about my computer:
    Mac OS 10.3.7 / 800 MHZ Power PC G4 / 256 MB SDRam / My programs are iMovie 4 and I have iDVD5
    OK, I'm trying to burn a movie that is about 1 hour, 23 minutes long. Even though my movie is not 90 minutes long, iDVD does tell me that it is too long and that I need to click on "Best Performance" in my iDVD Preferences. No problem, I did that. (By the way, at the time of the burning, I have about 5.1 GB on space left on my hard drive.)
    Before burning I do repair permissions and delete my "com.apple.idvd.plist".
    So, it burns and burns for roughly 6 hours. Right at the very end, the disk spits out and an error message comes up saying:
    Encoding Video
    Error during rendering/encoding:
    This is very frustrating because I need to get this video done by tonight and turn it in by Monday morning!!
    Any suggestions?? Please help!!! Thanxx!!

    I have about 5.1 GB on space left on my hard drive
    I don't think that's enough. Remember a DVD is 4.7GB (which iDVD first stores on your hard drive) plus temporary files that iDVD needs.

  • Error checking transport group configuration in System BQS

    Hi Everyone,
    I made a client export from Production to Quality. It went successfully,, I noted the requests numbers and transported them from PRD to Quality, but while transporting there was a tp error(which i did not note), next i went to the quality import queue and saw all the 3 requests had come. But when i click the adjust queue icon im getting the following error message "Error checking transport group configuration in System BQS" .  Afterwards i tried to delete the requests from quality to retransport  from production but still im not able to delete those requests from quality. Can anyone help me solve this.
    Regards,
    Rahul

    Hello Rahul,
    regarding the error message:
    "Error checking transport group configuration in system"
    It's mostly related to the TMSADM RFC destination. Kindly follow the below mention steps:
    1. Logon to client 000 with user DDIC.
    2. STMS   > System   > Overview   > Select the system in which you are logged in   > Click on the menu says EXTRAS   > Generate RFC Destinations
    Perform the above steps in all the systems configure in your TMS. This should resolve the issue.
    Best regards,
    Tomas Black

  • Windows vista system, continuously trying to download a DRM file in Adobe Digital Editions application shows "Error check activation". I have authorized the Fire Wall and still the same.

    windows vista system, continuously trying to download a DRM file in Adobe Digital Editions application shows "Error check activation". I have authorized the Fire Wall and still the same.

    Since Re-activation as suggested by the link above is not working for you, Can you please confirm the following:
    The OperatorURL is reachable. ( you can find the operatorURL from the acsm file by opening it in notepad,etc)
    And Book is still available on the book-store for purchase.
    (If any of first two are not available, you might have to talk to distributor for next action item to get the book. Since you will have record of purchasing the book, (in my opinion) they should provide you the new token for downloading the book)
    And please confirm this that you used the same userID for downloading that you used when you first fulfilled/downloaded the book.
    (If it is the case, then you have to use the correct userID)
    I hope it helps.

  • Hp laserjet m1536dnf mfp. "Connection error Check connection".

    i have hp laserjet m1536dnf mfp.  when tried to enable eprint at the web services setup menu... i get "Connection error Check connection".  Network and Internet connection works fine.  Please help?
    It seems like the Printer is having a hard time connecting to the ePrint server to get me the email address. 
    Thanks,
    John

    Hi,
    My firmware is up todate.
    I have tried all the recommended support steps... currently had the printer on manual IP.  Still same connection error.
    Product Name: HP LaserJet M1536dnf MFP Formatter Number: P932T2L Serial Number: CNC9C7WB2W Service ID: 21270 Firmware Date: 20110405 Disable Fax: No Telecom Version: 04-015-001 Location: USA ADF Installed: Yes Max Monochrome Print Quality: FastRes 1200 Controller Number: 52 Duplexer Version: 0 Device Description: HP LaserJet M1536dnf MFP Language: English Asset Number: 153 Company Name:   Contact Person:   Device Location: warehouse Product Security: Off Quiet Mode: Off
    Hardware Address: 10:1f:74:46:4f:20 Host Name: NPI464F20 IPv4 Address: 10.0.1.112 Status Ready   IPv4 Address: 10.0.1.112 Subnet Mask: 255.255.255.0 Default Gateway: 10.0.1.1 IP Configured By: Manual WINS Server: 0.0.0.0 Preferred DNS Address: 205.152.37.23 Alternate DNS Address: 205.152.150.23 Status: Connected Hardware Address: 10:1f:74:46:4f:20 Link Speed and Duplex Negotiation: Automatic
    Link Speed: 100 Mbps Duplex: Full Auto Crossover: Enabled

  • What do you think of my Bash Script? What about the error checking?

    Well what do you think of this Bash script
    It works
    I gave it some problems (i.e. unpluged the ethernet, messed up the URL's, uninstaled some programs...) to see if would report errors and stop or just keep going... But it did
    I just kind of thought up a way to do some error checking with the commands that I know.....
    What is a better way to do error checking?
    What do you think I should add/Do to this script?
    #!/bin/bash
    # Shell script to make a USB Tumb Drive for Flashing BIOS on a Lenovo Ideapad Y510.
    # This script needs to be owned and run as ROOT with the "sudo command"
    # i.e. sudo usbbiosflasher
    # If you have anyideas send me a PM on ubuntufourms.org my user name is HunterThomson
    # Name/Rename this script usbbiosflasher and save it to the ~/home directory.
    # Then run the command- chown root:root usbbiosflasher
    # Then run the command- chmod 755 usbbiosflasher
    # Then copy the script to the directory /usr/bin.
    # Run this comand to do that- sudo cp ~/usbbiosflasher /usr/bin
    # You also must have the program "mbr" installed
    # You can install the mbr program by running this comand in the shell on Ubuntu
    # sudo apt-get install mbr
    # In Arch Linux you have to get it from Aur
    # First you will need to know a few things...
    # You will also need to know the Mount Point i.e. /media/disk and the /dev path i.e. /dev/sdb1.
    # You can find these by using the df -T comand.
    # Run df -T in the shell. Then plug in the USB Thumb Drive and run the df -T comand agin.
    # The new listing is the USB Thumb Dirve.
    # Also check to make sure the File System tipe is vFAT or FAT16 or FAT32.
    # If it is not use gparted to format it to FAT32.
    # I am farly certen that all USB Thumb drives come formated with FAT file system out of the BOX.
    # You may want to fromat it anyway just to make sure.
    echo "Interactive Shell Script to Make a USB Thumb Drive \for Flashing BIOS On a Lenovo Ideapad Y510"
    echo ""
    echo "You will need to have the program mbr installed"
    echo "If you are on Ubuntu Linux you can retreve it form the repositories"
    echo "If you are on Arch Linux you will need to get it from the Aur repository"
    echo "Open anuther shell and \do that now..."
    echo ""
    verify="n"
    while [ "$verify" != y ]
    do
    printf "Do you have mbr installed... yes or no?"
    read AN1
    echo ""
    printf "You answered... $AN1 I have installed mbr. Is this correct... y or n?"
    read verify
    done
    echo ""
    if [ "$AN1" == "no" ]
    then
    echo "Install mbr now. Then run this script agin"
    exit
    else
    echo "contunuing script"
    fi
    echo ""
    # The next comand will make a directory to put needed files into. Note this file and everything init will be owned by root.
    mkdir ~/usbbiosfiles && check1="yes"
    if [ "$check1" = "yes" ]
    then
    echo "Made directory usbbiosfiles... OK"
    else
    echo "Could not \make directory usbbiosfiles"
    echo "look above \for \info"
    echo "Fix the problem and run this scrip agin"
    exit
    fi
    # The next two comands will get the FreeDOS file and the .ROM file.
    cd ~/usbbiosfiles && checka="yes"
    if [ "$checka" = "yes" ]
    then
    echo "Changing to the usbbiosfiles directory... OK"
    else
    echo "Could not Change to the usbbiosfiles directory"
    echo "look above \for \info"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    wget "http://www.fdos.org/bootdisks/autogen/FDOEM.144.gz" && check2="yes"
    if [ "$check2" = "yes" ]
    then
    echo "Download of FreeDOS... OK"
    else
    echo "Could not Download FreeDOS"
    echo "look above \for \info"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    wget "http://ubuntuforums.org/attachment.php?attachmentid=78460&d=1216648756" && check3="yes"
    if [ "$check3" = "yes" ]
    then
    echo "Download of the BIOS.ROM \file... OK"
    else
    echo "Could not Downlad the BIOS.ROM \file"
    echo "look above \for \info"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    # The next comand will name the .ROM file to the right name.
    mv ~/usbbiosfiles/attachment.php?attachmentid=78460\&d=1216648756 ~/usbbiosfiles/06CN29WW.bios.update.tar.bz2 && check4="yes"
    if [ "$check4" = "yes" ]
    then
    echo "Renameing of the BIOS.ROM \file... OK"
    else
    echo "Could not rename the BIOS.ROM \file"
    echo "look above \for \info"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    echo ""
    # The next two comands set the variables. DEVX for the path i.e. /dev/xxx and MOUNTX for the mount point i.e. /media/xxx
    verify="n"
    while [ "$verify" != y ]
    do
    echo "You will need to know the Mount Point and the dev Path. You will also need to \make sure the File System \type is vFAT, FAT16 or FAT32."
    echo ""
    echo "With the USB Thumb Drive unpluged, Open another shell and run the comand df -T Then plug \in the USB Thumb Drive and run the comand df -T one \more time. The new device listed is the USB Thumb Drive. Note the Mount Point and The dev Path and the File system Type i.e. vFAT... If the File System \type is not vFAT, FAT16 or FAT32 you will need to fromat it with gparted. You may want to format the USB Thumb Drive anyway just to \make sure. In any \case delete all files and directorys on the USB drive before you go any ferther with this program."
    echo ""
    printf "Enter the dev path the USB Thumb Drive is at?"
    read DEVX
    echo ""
    echo "Are you sure $DEVX is the dev path of the USB Thumb Drive... y or n?"
    read verify
    done
    echo ""
    verify="n"
    while [ "$verify" != y ]
    do
    printf "What is the Mount Point of the USB Thumb Drive?"
    read MOUNTX
    echo ""
    echo "Are you sure $MOUNTX is the Mount Point of the USB Drive... y or n?"
    read verify
    done
    echo ""
    install-mbr --enable A1 --partition 1 --force --timeout 0 $DEVX && check5="yes"
    if [ "$check5" = "yes" ]
    then
    echo "Installing MBR on USB Thumb Dirve... OK"
    else
    echo "Could not install MBR on USB Thumb Drive"
    echo "look above \for \info"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    tar xjf ~/usbbiosfiles/*.tar.bz2 && check7="yes"
    if [ "$check7" = "yes" ]
    then
    echo "Unpacking BIOS.ROM file... OK"
    else
    echo "Could not unpack BIOS.ROM file"
    echo "look above \for \info"
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    gunzip ~/usbbiosfiles/FDOEM.144.gz && check8="yes"
    if [ "$check8" = "yes" ]
    then
    echo "Unpacking FreeDOS files... OK"
    else
    echo "Could not unpack FreeDOS files"
    echo "look above \for \info"
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    mkdir ~/usbbiosfiles/fdoem144 && check9="yes"
    if [ "$check9" = "yes" ]
    then
    echo "Made directory fdoem144 in direcoty usbbiosfiles... OK"
    echo ""
    echo "Going to \sleep \for 5secs"
    else
    echo "Could not make directory fdoem144 in usbbiosfiles directory"
    echo "look above \for \info"
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    modprobe loop && sleep 5 && check0="yes"
    if [ "$check0" = "yes" ]
    then
    echo "Modprobeing loop... OK"
    else
    echo "Could not \modprobe loop"
    echo "look above \for \info"
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    mount -o loop ~/usbbiosfiles/FDOEM.144 ~/usbbiosfiles/fdoem144 && check10="yes"
    if [ "$check10" = "yes" ]
    then
    echo "Mounting FreeDOS on the fdoem144 directory... OK"
    else
    echo "Could not \mount FreeDOS on the fdoem144 directory"
    echo "look above \for \info"
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    cp ~/usbbiosfiles/fdoem144/* $MOUNTX && check11="yes"
    if [ "$check11" = "yes" ]
    then
    echo "Copying FreeDOS files to $MOUNTX... OK"
    else
    echo "Could not copy FreeDOS files to $MOUNTX"
    echo "look above \for \info"
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    cp ~/usbbiosfiles/*.ROM $MOUNTX && check12="yes"
    if [ "$check12" = "yes" ]
    then
    echo "Copying BIOS.ROM files to $MOUNTX... OK"
    else
    echo "Could not copy BIOS.ROM files to $MOUNTX"
    echo "look above \for \info"
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    sync && check13="yes"
    if [ "$check13" = "yes" ]
    then
    echo "Runing the syncing command... OK"
    else
    echo "Could not run the syncing command"
    echo "look above \for \info"
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    umount ~/usbbiosfiles/fdoem144 && check14="yes"
    if [ "$check14" = "yes" ]
    then
    echo "Unmounting of FreeDOS... OK"
    else
    echo "Could not unmount FreeDOS"
    echo "Look above for errors or problems reported and fix the problem"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this script agin"
    rm -r ~/usbbiosfiles
    exit
    fi
    verify="n"
    while [ "$verify" != y ]
    do
    printf "Do you see any errors... yes or no?"
    read AN2
    echo ""
    printf "You answered... $AN2 to errors. Is this correct... y or n?"
    read verify
    done
    echo ""
    if [ "$AN2" == "yes" ]
    then
    echo "User Repoted... Error"
    echo "Look above for errors or problems reported and fix the problem"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this script agin"
    rm -r ~/usbbiosfiles
    exit
    else
    echo "Success"
    echo "I did a lot of error checking too and didnt find anything"
    echo ""
    echo "Go get a pen and paper to write down these instructions"
    printf "Then hit the Enter to continue"
    read WAIT
    echo ""
    echo "Now leave the USB Thumb Drive pluged into your computer and Reboot. When the Lenovo Logo POST screen appears hit F2 to enter the CMOS setup utility. Go over to BOOT tab and go down to HardDrive \(Not Boot Order) \then \select the USB Thumb Drive as the 1st hard drve. Then F10 and yes to save changes. Your compter will reboot agin. Then when the Lenovo Logo POST Screen appers on reboot hit F4 to enter the BIOS FLASHING program. The USB Thumb Drive will be seen as the C drive \in the list on the Left, Select it. Then \select the .ROM \file \in the list on the Right and start the BIOS FLASH. \(NOTE Your hart may stop beating... This is normal) Pray to any God you know of and your computer should restart just like normal. Hit F2 and the BIOS will now stay it is 06CN29WW. You will need to \set the boot order to the way you like it and other things \if you need to because they have been changed to the default."
    fi
    echo ""
    echo "End of script"
    Last edited by hunterthomson (2008-08-10 11:17:47)

    Personally.....  (this is just how I would have written it - if it works, then it's good enough for me though )
    I would change this whole block:
    verify="n"
    while [ "$verify" != y ]
    do
    printf "Do you have mbr installed... yes or no?"
    read AN1
    echo ""
    printf "You answered... $AN1 I have installed mbr. Is this correct... y or n?"
    read verify
    done
    echo ""
    if [ "$AN1" == "no" ]
    then
    echo "Install mbr now. Then run this script agin"
    exit
    else
    echo "contunuing script"
    fi
    To this much shorter code:
    MBR='/usr/bin/install-mbr' # Or where ever you expect it to be
    if [ ! -x $MBR ] ; then
    echo "mbr doesn't appear to be installed."
    echo "If it is installed, check it's location, make sure it's executable and then make sure the MBR variable in this script is correct"
    exit 1
    fi
    I wouldn't have used the checkXX variables for each stage:
    mkdir ~/usbbiosfiles
    if [ $? != 0 ] ; then
    #failed
    echo "Could not \make directory usbbiosfiles"
    echo "look above \for \info"
    echo "Fix the problem and run this scrip agin"
    exit 1
    else
    echo "Made directory usbbiosfiles... OK"
    fi
    There is an issue with the way you do your verifications - the user can never get out unless they answer 'y' or hit CTRL+C. Something like this gives them options:
    verify="n"
    while [ "$verify" != "y" && "$verify" != "n" ]; do
    echo "You need to answer 'y'es or 'n'o"
    read verify
    echo $verify | tr "[:upper:]" "[:lower:]" # This converts the answer to lowercase so replies entered in upper case will still work
    done
    if [ $verify != 'y' ] ; then
    exit 1
    fi
    One last thing I try to do in scripts... Declare all your binaries as variables at the start of the program, then execute the binary program by using the variable. For example:
    # Binaries
    TAR='/bin/tar'
    CP='/bin/cp'
    CHMOD='/bin/chmod'
    # Execute tar and chmod the created file
    $TAR cvzf /tmp/tarfile.tar.gz /etc/*.conf
    $CHMOD 400 /etc/*.conf
    This way, it's easy to change the path in future without having to hunt through the script if the paths change, and it also ensures you're calling the programs using the full paths to make sure you're not executing some strange variant or alias that someone has setup. If I use `chmod` 30 times in a script, and the path changes in the future or on a different system (`chmod` is a bad example cause it's highly unlikely to change, but you know what I mean), then all you need to do is update the variable at the start of the script, and it all works again without having to script-hunt and change it 30 times.

  • Error "Check Table TFBEFU_CR : entry 10 does not exist" getting

    Hi All ,
    While doing Goods Receipt for Prodn Order , error "Check Table TFBEFU_CR : entry 10 does not exist" getting Prompted.
    Could u pls help me to solve it
    Regards
    Sandeep

    you need to apply the OSS  note 107588. it is excatly for the same problem yoy mentioned here.
    check the note

Maybe you are looking for

  • Configuring &Implementing custom UUP  in Weblogic portal server 10.2

    Hi, Please try to post some reply..it's urgent............. I'm trying to implement a custom UUP for external RDBMS(Oracle) in Weblogic 102. protal server. when I'm trying to publish the application it's giving the following error message: <Dec 19, 2

  • Regarding function module CUD0_GET_CONFIGURATION

    Is the function module CUD0_GET_CONFIGURATION obsolete in ECC 5.0 version. Can anyone tell me the replacement for this and also why this fn module is used? Thanks Sai

  • Calday YTD, MTD in Query Designer

    I have to show daily sell in a company + sell value from the beginning of the month, and from the beginning of the year. how to get YTD and MTD values for specified day i Query Designer. I know I need to create variables that will work on calday, but

  • Wres XP and I have an old windows program on floppiesindows 16 bit programs

    Running VMWare Fusion and Boot Camp. Great system. BUT Fusion XP (required by Fusion) won't run 16 bit programs-and I have one that I am addicted to, but can't install it. Anybody know a workaround that will keep me in Fusion? (Maybe I need to put th

  • Error: Unable to connect to database using connection_pool

    Hi experts I have created repository and reports on my windows machine using ODBC , Now i have tranfered this to on unix with OCI, But when i am connecting to my dtabase it is showng the error: Error: Unable to connect to database using connection_po