+ Reply to Thread
Results 1 to 15 of 15

Plotting Voltage Changes"

Hybrid View

  1. #1
    Registered User
    Join Date
    04-12-2007
    Posts
    14

    Plotting Voltage Changes"

    hi,
    i have this set of data (d.jpg). each cell is 2ms.
    I want to compute how much is spent on each set (shown as one color) until the sate changes. In other word, the values are voltages, so i want to know how often the voltage toggles. then plot the toggling instances.
    thanks
    Last edited by raedbenz; 08-06-2008 at 02:55 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello raedbenz,

    So that you can receive a fast answer to your post, please change your title to something more descriptive like, "Plotting Voltage Changes". If you haven't already done so, please take some time to review the forum's rules on posting. You can click on this link Forum Rules

    Sincerely,
    Leith Ross

  3. #3
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    macro

    Hi
    paste your data in col A & B and run the macro.
    Ravi
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-12-2007
    Posts
    14
    Quote Originally Posted by ravishankar
    Hi
    paste your data in col A & B and run the macro.
    Ravi
    Hi Ravi,,
    thanx for the reply, i get warning about security level, when i click the macro.
    here it is :untitled.JPG

    thnaks

  5. #5
    Forum Contributor
    Join Date
    02-23-2006
    Location
    Near London, England
    MS-Off Ver
    Office 2003
    Posts
    770
    Yes... do as the message says.

    To change the macro security level so that it asks you whether to run macros or not, (in Excel 2003) do the following:
    1. Tools -> Options...
    2. Select the Security tab
    3. Click [Macro Security...]
    4. Set the level to 'Medium'
    5. Click [Ok] on each open form
    6. Close and reopen the workbook that contains the macro

    This is a 'one-time' requirement and the setting is stored with Excel, not with the document.

  6. #6
    Registered User
    Join Date
    04-12-2007
    Posts
    14

    change time interval

    Quote Originally Posted by ravishankar
    Hi
    paste your data in col A & B and run the macro.
    Ravi
    hi,,
    i really appreciate your effort.
    but i need to know the following, in case i need to change the time interval (instead of 2m to 1 ms or 100us).
    I found inside the macro code these two lines:

    Cells(e, 4) = Cells(e, 4) + 2

    i tried to do it like that
    Cells(e, 4) = Cells(e, 4) + 1
    is that ok for 1 ms ??
    one last thing, how can i change the graph type?
    Thanks

    Raed
    Last edited by raedbenz; 08-08-2008 at 07:43 PM.

  7. #7
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    macro

    HI
    you can use 1 ms or fractions there off (0.5 or 0.025(for 25 micro seconds))
    you can record the macro for the chart of your choice and replace the codes.
    Ravi

  8. #8
    Registered User
    Join Date
    04-12-2007
    Posts
    14
    hi,,
    one more thing, how do u compute the number of cells is it by computing the cells that have the same color or what?
    bcoz the values i have are in 2500 cells and no way to color each voltage level.
    thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1