Need some input about a class I'm making.

Hi guys.
Take a look at this class:
public class MyClass {
public static final byte A_PARAM1 = (byte)0x80;
public static final byte B_PARAM2 = (byte)0x40;
public static final byte A_PARAM2 = (byte)0x20;
public static final byte B_PARAM2 = (byte)0x10;
public MyClass(byte param1, byte param2) {
// Other functions go here...
}As you can see from the code the constructor takes two byte's. I wanted the static variables to be the values for that constructor A/B_PARAM1 and A/B_PARAM2 for param1 and param2 respectively. It depends on the parameters (bytes) on what other behaviour the class will have. You know, A_PARAM1 OR'ed(bitwise) with B_PARAM1. I'm sorry if I'm not making any sense as I'm not that good with explaining things.
I'm sure that most of you can already see some problems with this approach. For one, typesafety. Is that the correct term for that? Another problem is I'll be making a lot of these classes and each will have a different number of parameters for them. One or two can have as much as 5 parameters.
One solution I'm thinking about is to have the parameters(mostly just byte's) represented as a class. Maybe an generic abstract class with just simple functions of getting and setting the value. The different subclasses will contain the static variables. I was also thinking that the class that will be using it as values will be the only one that can create the subclasses of the abstract parameter class.
I don't know. Am I making any sense?
Anyway. Could anyone give me some input? Am I doing this right or is it just too much that I should just stick with what I'm currently doing? How would you go on with the problem?
Thanks in advance.

Hello again. The EnumSet class is making me scratch my head a bit.
I'd like to return to my initial idea of extending a class that will represent a parameter. Take a look at this:
public class MutantCarThing {
     public static final byte HAS_EYES = (byte)0x80;
     public static final byte HAS_NOSE = (byte)0x40;
     public static final byte HAS_TEETH = (byte)0x01;
     public static final byte ONE_WHEEL = (byte)0x80;
     public static final byte ONE_DOOR = (byte)0x40;
     public static final byte HAS_WINDSHIELD = (byte)0x01;
     private byte facialFeaturesParam;
     private byte carFeaturesParam;
     public MutantCar(byte facialFeaturesParam, byte partsFeaturesParam) {
          this.facialFeaturesParam = facialFeaturesParam;
          this.partsFeaturesParam = partsFeaturesParam;
          // Stuff
public class MutantCarMaker {
     public void make() {
          // Mutant car that has only eyes and one wheel.
          MutantCar mc = new MutantCar(MutantCar.HAS_EYES, MutantCar.ONE_WHEEL);
          // Mutant car with a nose, eyes, and only one door.
          MutantCar mc = new MutantCar(MutantCar.HAS_NOSE | MutantCar.HAS_EYES, MutantCar.ONE_DOOR);
          // Etc...
}This is just an example and as I've said earlier, I'll be writing lots of these classes. The good thing here is that all of them have some common behaviors, both the xxThing and xxMaker class. I'll just make a base abstract class and extend. My only dilemma is the darn parameters (eg. facialFeaturesParam, carFeaturesParam). One xxThing class can have as much 5 parameters(usually as byte) and have a completely different names for the bit flags for each byte. That's why the idea of a Parameter class came to mind. I'm having a hard time grasping EnumSet.
I guess what I want to do is just to make instantiating a xxMaker object more simple.
xxMaker xm = new xxMaker(xxMaker.BFLAGA1 | xxMaker.BFLAGA2 | xxMaker.BFLAGA3 | xxMaker.BFLAGA4,
                              xxMaker.BFLAGB1 | xxMaker.BFLAGB2 | xxMaker.BFLAGB3,
                              xxMaker.BLFAGC1 | xxMaker.BFLAGC2);Ugly isn't it? I just want to make this more cleaner and more structured.
So is my idea ok or is it totally off/unnecessary/stupid? How would any of you guys here do it? Or should I really get myself to use EnumSets?
Edited by: romainechester on Nov 15, 2007 6:28 PM
Edited by: romainechester on Nov 15, 2007 6:36 PM

Similar Messages

  • I need some info about the Document Class.

    Hi,
    I need some information about the Document Class, can anybody
    tell me where I can find it.
    thanks

    Emad Zedan,
    > I need some information about the Document Class, can
    > anybody tell me where I can find it.
    The concept of the document class was introduced in Flash
    CS3. What it
    does is allow you to optionally associate a custom AS3 class
    with your FLA
    in the Flash authoring tool. Your document class effectively
    *becomes* the
    main timeline. This is your chance to influence the
    underlying behavior of
    the MovieClip or Sprite instance that serves as the
    foundation for your SWF.
    If you don't associate a custom document class with your
    FLA, the FLA is
    associated automatically with a default document class called
    MainTimeline,
    which extends MovieClip.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • I need some advice about the macbook pro and iPhone 5. I took a video on my iPhone and tried to email it it said it was too big to send? So i downloaded it to my macbook pro and tried to mail it to no avail? The macbook tells me the server won't let it th

    I need some advice about the macbook pro and iPhone 5.
    I took a video on my iPhone and tried to email it it said it was too big to send? So i downloaded it to my macbook pro and tried to mail it to no avail? The macbook tells me the server won't let it through other mail goes through any ideas how to resize it or what it might take to send it?

    I agree with LowLister, the best option for you to share the video online is to upload it to your online storage account for example : Box, Dropbox, SkyDrive (All of them provide free storage beginning from 2GB).
    You can upload the files which you want to share in this online storage and then they have sharing options in which you'll will get the link of the file to be sent and send the email. You're good to go!
    Tip : You can store multiple files for backup purposes.

  • I need some information about jre 1.5 and jre 1.6.

    Hello guys,
    I need some information about jre 1.5 and jre 1.6.
    Suppose if i have jre 1.5 customized with "additional language support" installed in my my desktop, and later on i install jre 1.6. will this jre over write all the esisting settings which was present in jre 1.5?
    In short will the version upgrades disable the features of the old Version even though the old version is present in the desktop?
    Thanks in advance for your answers.

    In <2j_j3.1889$[email protected]> =?iso-8859-1?B?VG9t4XMgU3XhcmV6?= writes:
    > Hi all, I am developing an acquisition data system for biomedical
    >signals and I need to transmit this data from my hardware to PC using the
    >USB port. For this, I am writing a device driver for Windows 98
    ^^^^^^ ^^^^^^ ^^^^^^^ ^^
    That's not a trivial step. I would write a small C/C++ program that
    exercises your driver (for robustness) just to be sure it's working
    right first without crashing your system.
    >The problem is that I don't know to use this driver in LabView.
    >For now, I think to use a "code interface node" with code writen in C or a
    >"call library function" with a DLL.
    That's correct. _After_ you got your C/C
    ++ test program (and USB
    driver) above working, then you can convert this little test program
    into a DLL or CIN, which can interface with LabView. A DLL might be
    easier (slightly) to write, but the CIN will work faster with LabView
    and can be designed to be reentrant. The Code Interface Reference
    Manual should guide you. Remember, this is a task for an _experienced_
    C programmer. You'll need to use handles to pointers into all your
    dynamic arrays and such passed into LabView.
    After you got your CIN or DLL written, you can use a special CIN
    function node to "link" (or bind) your CIN object into LabView's VI
    diagram.
    SOME THOUGHTS:
    There are many hardware devices already on the market today that come
    with Windows 98 drivers and DLL (or even CIN) libraries that would work
    immediately with LabView. Why don't you save yourself three months of
    work and simply buy one of these?
    /\ Mark M Mehl, alias Superticker (Supertickler to some)
    <><> Internet: [email protected]
    \/ Preferred
    UUCP: uunet!iastate.edu!mehl
    Disclaimer: You got to be kidding; who would want to claim anything I said?

  • I need some information about File Download & File Upload

    Hi  All,
    Can any one help me on this, I need some information about File Download & File Upload.
    I read tutorial abt file upload and download but some of methods in tutorial are deprecated so i need clear information abt File upload and Download, if possible Code examples.
    Thanks
    Ragards
    Ravi Golla

    Hi Ravi
    Check out thses links for examples:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    /docs/DOC-8661#22 [original link is broken]
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/202a850a-58e0-2910-eeb3-bfc3e081257f
    Otherwise you can simply follow this code for file download
    Use the code like this.
    1) Create the button and bind the action for it.
    2)then write this code in the action.
    3) do not write any thing in the init method.
    try {
    final byte[] content = this.getByteArrayFromResourcePath("C:
    xyz.properties");
    final IWDCachedWebResource resource = WDWebResource.getWebResource(content, WDWebResourceType.UNKNOWN);
    try {
    final IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(resource.getAbsoluteURL(), "WD_Filedownload", false);
    window.open();
    catch(Exception e)
    wdComponentAPI.getMessageManager().reportException(new WDNonFatalException(e), false);
    5) writr the method getByteArrayFromResourcePath
    //@@begin others
    private byte[] getByteArrayFromResourcePath(String resourcePath)
    throws FileNotFoundException, IOException {
    FileInputStream in = new FileInputStream(new File(resourcePath));
    ByteArrayOutputStream out = new ByteArrayOutputStream();
    int len;
    byte[] part = new byte[10 * 1024];
    while ((len = in.read(part)) != -1) {
    out.write(part, 0, len);
    in.close();
    return out.toByteArray();
    //end
    Similarly for file upload
    Similarly for upload in to server path also do the same
    IWDAttributeInfo attInfo =
    wdContext.getNodeInfo().getAttribute("upload");
    binaryType =
    (IWDModifiableBinaryType) attInfo.getModifiableSimpleType();
    uploadedName = binaryType.getFileName();
    File filename =new File("
    <server name>
    <folder name>
    "+uploadedName ); );
    try {
    FileOutputStream out = new FileOutputStream(filename);
    out.write(b);
    out.close();
    } catch (FileNotFoundException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();

  • I need some resources about flash effects

    Hello,everybody,I'think I need some resources about flash effects.
    Hope someone can provide me some useful site about this.thanks!!

    > Its taking a lot of space in my HDD, like i mentioned earlier i was trying to edit a 6 second intro and it took 20GB on my HDD. What the hell is that... Is that normal???
    See this:
    FAQ: Why is my output file huge, and why doesn't it play back smoothly in a media player?
    Start here to learn After Effects:
    http://adobe.ly/AE_basics
    As the others have said, your computer barely meets the minimum system requirements, so you'll need to be patient and organized when working with video software like After Effects. Rick gave some good advice along these lines. Here is more: http://adobe.ly/eV2zE7

  • Hello please i need some information about the blackberr...

    hello please i need some information about the blackberry instant messenger is how does it work , i heard that i send messages for free from a blackberry to a blackberry is it true ? does it need internet ? and does it matter if the other phone is in another country'
    thank you alot

    Hello,
    Here is a page with much information about BBM:
    http://na.blackberry.com/eng/devices/features/im/blackberry_messenger.jsp
    Hope that helps! If not, Please come to:
    http://supportforums.blackberry.com/rim/
    and register an account. Then post to the applicable forum.
    Thanks!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Need some info about getting started with the GE70 2PC Apache

    Hi guys!
    I'm about to getting the new GE70 2PC Apache gaming notebook from MSI and since I'm really putting alot of money in this I really wanna handle it gently :p So I got some questions about this, since It'll be the first time I'd but a gaming notebook.
    1) 1st of all, what do I do when I've first started the laptop? Do I place in the CD and install all the newest drivers from that CD? Afterwards install an anti virus and then I should be good to go?
    2) I heard the Haswell i7 processors from Intel produce a hell of a lot heat. When I turn on turbo fan and turbo boost and I reach temperatures of around 90°C, would it harm the hardware of my laptop? Could any damage take place? Or would my processor/graphic card have a shorter life expectancy?
    3) The graphic card would be the GTX 850m. Now I'm wondering, is on this particular laptop -> (MSI-ge70-2pc-019be-apache-azerty), is the graphic card the DDR3 version or the GDDR5 version? Because I heard even the GTX 765m can outperform the 850m DDR3. But I also heard that the GDDR5 version of this graphic card is noticeably better than the 765M graphic card.
    4)Is it wise to keep the processor going on turbo boost (3,4 Ghz) forever?
    5) Will I have internet problems? I heard alot of people having internet problems with the killer lan drivers lately..
    6) What laptop do you think I should pick in overall? The 2PC Apache version or the GE70 2OE version (the one without SSD) ?
    8) My Brother has the GE70 2OE which has the 765m graphics card, but he only has around 60 fps when he's playing League Of Legends, and LoL isn't the most demanding game right.. The FPS sometimes even drops to 40 (even when he's ALONE with no one around him). It feels like his FPS is capped at 60? Because most of the time it's just 60. But when I look at the settings I saw the FPS is uncapped.. I believe with this graphics card he must atleast achieve a constant 70-80 fps on this game right? Might something be wrong in the settings of the graphics card?
    7) Is there anything I should know before I start gaming on this laptop? (something I should do to have best performance or something..?)
    Grtz

    Well...
    1. When you get the laptop, use MSI Burn Recovery and make the backup disks (I prefer DVD's myself...). This way if something happens, you can reinstall all the software like you just bought it.
    2. Haswell does produce quite a bit of heat. As long as you don't get much higher than 90C you should be ok. If you're getting into the high 90's or even 100C range, you probably need to replace the heatsink compound. MSI has had a number of issues with that aspect on notebooks. It is easily done though.
    3. The only way to really answer that question is probably to contact MSI about it.  >>How to contact MSI.<<
    4. Turbo boost isn't really user controlled. I wouldn't worry about it.
    5. You might have issues. I'm honestly  not too sure. I know most people haven't had issues recently, but that's all relative. The drivers seem to be working rather well right now to be honest.
    6. Depends what you want and what is available. Maybe the GE70 20E + buy an SSD will be cheaper than just buying the Apache version. I don't really know, but you could always look into it.
    8. The 765M is a decent card....but remember, it's NOT the same as a 760 on a desktop. It's roughly equivalent to a 750 in the desktop world. That's not a bad card by any means, but you aren't going to be able to get 60+ FPS at 1920x1080 in many games. LOL is rather demanding as a game though to be perfectly honest. (throwing my personal opinion in on this, I always buy the highest end item I can in this case, because you won't be able to get any better really in the end until the next laptop comes out).
    7. I would setup all your games in the NVidia control panel to use the NVidia high performance graphics processor. That way there is no confusion and it will use the right video card.
    You don't really need to update drivers UNLESS you're having an issue (like BSoD's or game freezes or something similar).
    The MSI customer service in the EU really seems to be hit or miss. Some people seem to get good service, some people get really crappy service. I'm honestly not sure what the problem is over there. =/

  • Need some films about component usage

    hi,friends
    i am a rookie for webdynpro. and i want to learn more about how to use component usage.can someone share me some films about it.
    thanks in advance.

    Hi
    Go to the below link of help.sap.com
    http://help.sap.com/saphelp_erp2005/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
    Regards
    _SS

  • I need some information about scripts

    hi,
    i need detailed information about scripts.tell me where it will available.
    bye
    sreenu.

    Hi,
    Posting in the ep forum,I believe you require Information on javascripts and client side eventing(EPCF).
    Here is the link that you need with regard to this:
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/3e98408d953154e10000000a1550b0/frameset.htm
    (Or go to SAP NetWeaver Developer’s Guide->
    IT Scenario-Driven Enhancements to Applications->Running an Enterprise Portal->Core Development Tasks->Creating and Managing Content->Client-side Eventing)
    The below document can also be useful.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/enterprise portal client.pdf
    If you need an illustration of how epcf can be used , you can refer to this blog
    /people/arulraja.ma/blog/2004/12/18/how-to-include-loading-message-in-a-portal-iview-ep6-sp2
    Regards,
    Harish
    (Please award points for helpful answers)

  • I need some information about drivers

    Hi all, I am developing an acquisition data system for biomedical
    signals and I need to transmit this data from my hardware to PC using the
    USB port. For this, I am writing a device driver for Windows 98 that receive
    data and put it in a memory buffer. I have a VI which graphs this data in
    LabView 5.0. The problem is that I don´t know to use this driver in LabView.
    For now, I think to use a "code interface node" with code writen in C or a
    "call library function" with a DLL. But I need some help with the "code
    interface node" because this VI don´t use a .c file. Shortly, I apreciate
    some help with this VI or some idea for use the USB port in LabView. Thanks.
    Tomás

    In <2j_j3.1889$[email protected]> =?iso-8859-1?B?VG9t4XMgU3XhcmV6?= writes:
    > Hi all, I am developing an acquisition data system for biomedical
    >signals and I need to transmit this data from my hardware to PC using the
    >USB port. For this, I am writing a device driver for Windows 98
    ^^^^^^ ^^^^^^ ^^^^^^^ ^^
    That's not a trivial step. I would write a small C/C++ program that
    exercises your driver (for robustness) just to be sure it's working
    right first without crashing your system.
    >The problem is that I don't know to use this driver in LabView.
    >For now, I think to use a "code interface node" with code writen in C or a
    >"call library function" with a DLL.
    That's correct. _After_ you got your C/C
    ++ test program (and USB
    driver) above working, then you can convert this little test program
    into a DLL or CIN, which can interface with LabView. A DLL might be
    easier (slightly) to write, but the CIN will work faster with LabView
    and can be designed to be reentrant. The Code Interface Reference
    Manual should guide you. Remember, this is a task for an _experienced_
    C programmer. You'll need to use handles to pointers into all your
    dynamic arrays and such passed into LabView.
    After you got your CIN or DLL written, you can use a special CIN
    function node to "link" (or bind) your CIN object into LabView's VI
    diagram.
    SOME THOUGHTS:
    There are many hardware devices already on the market today that come
    with Windows 98 drivers and DLL (or even CIN) libraries that would work
    immediately with LabView. Why don't you save yourself three months of
    work and simply buy one of these?
    /\ Mark M Mehl, alias Superticker (Supertickler to some)
    <><> Internet: [email protected]
    \/ Preferred
    UUCP: uunet!iastate.edu!mehl
    Disclaimer: You got to be kidding; who would want to claim anything I said?

  • Need some advice about hot backup under linux

    hi, I want some advice about db files hot backup between two machines(Named A and B).A is primary machine which will write and read database and have the lastest db file. B is backup role and no database file in it.
    Now I want hot backup A's db file to B in order to B have the lastest db file too.
    At A,my db file support transaction and environment, and I set autoremove unnecessary log files.
    The code such as follows:
    dbenv->set_flags(dbenv, DB_AUTO_COMMIT |DB_LOG_AUTOREMOVE | DB_TXN_WRITE_NOSYNC, 1);
    ret = dbenv->open(dbenv, NULL,
    DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_MPOOL | DB_INIT_TXN ,0)
    I don't want to use db_hotbackup utility. and db_hotbackup may be backup files to the same machine with different dir.
    How can I make machine A's db files backup to machine B.
    Thanks for your help.
    Best Regards
    hangsy

    Hi Hangsy
    Now I want hot backup A's db file to B in order to B
    have the lastest db file too.What do you mean? Do you want to have the latest version... from when you did the latest backup, or you want to keep it updated in the same time with the main database?
    I don't want to use db_hotbackup utility. and
    db_hotbackup may be backup files to the same machine
    with different dir.You can copy the backup anywere you want.
    If you want to run recovery on a different machine, it must be the same pointer size and endianness as the original machine.
    Database and log file archival: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/archival.html
    It is usually simpler to take the hot backup on the main machine and run recovery there before copying the databases to the remote system.
    In this setup, only the databases are required on the remote system, not the log files.
    Since you are using NOSYNC, you should run a checkpoint which will ensure you that the database files are up to date.
    Please read "Recovery procedures" ( http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/recovery.html ) first. "you cannot perform a hot backup of databases and log files, restore the backup and then run normal recovery -- you must always run catastrophic recovery when using hot backups."
    Regards,
    Bogdan Coman

  • Need some inputs

    hi,
    I have created a web service wherein on submitting the employee name, i can get the balance in the account of the employee.
    my service communicates with database which is an excel sheet. and the client is a servlet which invokes the service.
    hi all,
    I have created a web service wherein on submitting the employee name, i can get the balance in the account of the employee.
    my service communicates with database which is an excel sheet. and the client is a servlet which invokes the service.
    i have used Apache soap implementation for this.
    I have tried this out of my interest and want to get some inputs as where does this application stand.
    Also if anyone can tell me wht can be a real world financial application which i can try making as web service.
    How can i make this available on the net.
    any help would be highly appreciated.
    Thanks and regards
    neha

    Generally webservices are more useful in solving business application in which multiple organizations are involved. Suppose if one organizations creates the services they perform as webservices the other organization can use those services. For example customer order servise, health insurance and all. Better you send a mail to mail id then I can help you more. [email protected]

  • Need some info about current market on SAP HANA

    Hello all,
    Iam ajay. I have 2 years experience on java and i learned SAP ABAP and want to learn SAP HANA. I I have some doubts regarding current market on SAP HANA and how people are using HANA now. I have searched a lot in google and contacted many people but i didn't get the good answer. I hope this post provide me the required info. Thanks in advance.
    Can somebody please give some info. about the following.
    What exactly does the following mean and what is the future of these areas?
    BWI with HANA
    BODS with HANA
    HANA modelling and implementation.
    HANA Migrations.
    SAP UI5 with HANA.
    please spare some of your valuable time and help me on this.
    Thanks,
    Ajay.

    Hi
    I agree its a common HD webcam with a resolution of 1Mpix.
    You can record the video in Mpeg format and the pictures would be taken in format: 160x120, 176x144, 320x240, 352x288, 640x480, 1280x720, 1280x800

  • [VIA] Just need some input on a problem I have

    I need the experts on this forum to help me with a problem I have. The M/B (6590 KT4 Socket A) had a few problems a while see. Since that time I have not updated my PSU as advised  so I expect some abuse for that  .
    Any way I managed in the to fix that problem as you can see. However a further problem occured which was that the PC ,at will , would restart - this ended being the reset switch which I disconnected and this has never happened since. Now I have another problem !  .
    The PC will simply hang with no response at all.  It seems only to happen when I am running the capture software. I have checked for updates and applied these to the program (hauppauges WnTV). This set up was running on another PC with a M/B (in my opinon) of inferior quality without a problem (I have since sold that PC).
     I will admit I have not run the PC without this program running to see if that is the cause. However I just needed input on suggestions. My PSU is as I said earlier the same as before which is an X Pro 400w these are the shameful Voltage rails :
    +5v = 35a
    +12v = 20a
    -5v = 0.5v
    -12v = 0.8v
    3.3v = 22a
    5+VSB=3a
    Also when the PC hung I got the following readings from PCAlert:
    1.76 Vcore
    3.3v = 3.26v
    +5v= 4.97
    +12v = 12.24
    CPU temp = 44c
    System temp = 38c
    I must admit that the previous PC had a separate USB2 (which is how the Happauge unit connects) card whereas this PC I use the onboard card. I was also thinking about the RAM as it was one I bought from a computer fair (hears groans) - This is  normally something I do not do.
    Help input would be appreciated

    Quote from: Dr Stu on 26-November-05, 05:58:45
    look on the PSU label for the Max Combined Watts 3.3v & 5v and post what it says
    KT4 doesn't have a 4pin 12v connector, right? so that board depends on 3.3v and 5v rails
    The Max watts are 210Watts
    Quote
    While waiting for the experts, three things come to my mind:
    - IRQ problem, most often some/the card is in the wrong slot.
    - Graphics driver, most often you have updated too far.
    - Memory problem, most often mixed, but could also be there are things/drivers meeting in the memory that doesn't like eachother. If you have a lot of Autostarting thing that could be the reason, like a CD copying program and the capture program.
    It cannot be an IRQ conflict as the Capture card is USB2. Graphics card has up to date drivers. Startup software on this PC is no different to the preivous apart from PCAlert4
    Quote
    "...It seems only to happen when I am running the capture software..."  Have you tried another program system intensive demanding ? If you have done, and nothing happens, it would show that the capture device/driver is giving problems. Is that USB device self powered or takes it's power from USB port ? It's running at USB 2.0 speed ? 22 A to 3.3v. rail is poor for your Mobo.  You should post your complete PC specs.
    I dont really have any other software than can do that. The USB device is powered by itself.
    PC is as follows:
    AMD 2100+
    1 512mb ram
    2 HDD - 1 80gb Hitachi 1 120gb hitachi
    Nvidia Geforce mmx 64mb ram Graphics card
    1 SCSI CDROM Teac
    1 SCSI CDRW Yamaha
    1 IDE DVDROM Sony
    1 IDE DVDR LG
    Quote
    Make sure that the pathway to were you want to save the captured video is set correctly. I believe you can set the Audio quality and the Frames Per Second (FPS) and I think that you can set the compression, If in doubt try it without compression and see if that works. I too have a TV card and it seems to me that you are having a config problem. Hope that helps.
    The location where the files are captured to is to the secondary drive which is the 120gb
    Hope thats enough information 

Maybe you are looking for

  • How to restrict user or responsibility in Transit Move Order(source subinv)

    Dear All, In my personalization task to restrict responsibility in Transit Move Order screen only restrict source sub inventory will be show please guide me for this. Can any way to use through profile option if yes then what profile i use for this?

  • My safari keeps freezing and giving a rainbow spinning circle

    Hi,      I've had my Macbook Pro for about 5 months now.  Just recently, I've been having issues with my Safari.  Every once in a while, a spinning rainbow-colored wheel pops up and then the webpage freezes and loads nothing.  I am looking for a solu

  • Extract text from a line using power shell

    I'm beginner, exploring options in powershell. File with the following info: Line 1: 22-Aug-2014 : Entry 1.Info : Alex : here it says "Hello World" ok? Line 2: 24-Aug-2014 : Entry 1.Info : Micheal : here it says "Welcome to my world" Line 3: 24-Aug-2

  • IBM Thinkpad 600 - Using a higher capacity Harddisk

    Hello,           I have a Thinkpad 600E that I guess has a limitation of 6 GB. I fried up the old harddisk which was a Hitachi make so got a used IBM Travelstar harddisk from my friend, which is  20 GB. I want to know if I can use this right away on

  • Are i++, i-- atomic and thread safe for int i

    I want to minimize the sync time multiple threads take to contend for a shared pool, which is implemented as a FIFO. My plan is to: 1. Use a int variable "count" to trace the free obj count. Hence eliminates the need of synchonized methods size() and