Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Jattie

  1. Jattie

    12V Installation

    Seems fine to me. Charging the battery would all depend on statring condition of battery and the type of charger and it's maximum current capability. If you have a 120 A/H battery it means that the battery can supply 120A for one hour, so assuming it's a lead acid battery you can charge it at...
  2. Jattie

    Need method to create 640*480 random data @ 60 Hz and update to scr

    What is your problem? In sending it to screen or generating the data? If you simply need random data you can use rand or srand to generate random numbers and just loop throught your array and populate the array with the randow variables.
  3. Jattie

    Win32 process notification

    You can intercept the windows messages and get the window information if I undersatnd you right!
  4. Jattie

    initializing multidimentional arrays

    Yes, you can not do it like that. You have to use a string related function like a stringcopy or sprintf. Using sprintf like this. sprintf(month[1],"%s","Jan");
  5. Jattie

    how to create Dynamic Loadable Library(DLL)

    Export the headers (prototype defenitions) to a header file .h and set the targe to .dll in stead of .exe.
  6. Jattie

    zero-span

    Use a simple voltage divider using two resistors. |------ 0-12V < R1 > | |------ 0-5V < R2 > |------- 0V Using the e24 series (I think) you can use 1k2 for R1 and 1Kfor R2. You'll have to play around with your math to get values that is closer to real world values...

Part and Inventory Search