dnaviaux

David Naviaux

80 Reputation

6 Badges

5 years, 89 days
Micro Dynamics Engineering, Inc.
Springfield, Oregon, United States

MaplePrimes Activity


These are replies submitted by dnaviaux

@acer Thank you!

That works great!  Is there a way that I can make the image less blurry compared to the original .png?

Thanks again, David

@acer 

with(ImageTools):
img := ImageTools:-Read("C:/Users/david/Pictures/2985A/VCSEL_Driver_For_Analysis.png"):
printf("Before image\n"):
Preview(img);
#Display(img):
Embed(img):
printf("After image\n"):

The code above outputs the preview image between the "Before.." and "After.." text as desired, but the image is not very clear, as shown below:

The Embed() command prints a very nice quality image but it doesn't appear until after the "After.." text, which is not ideal for my purposes.  

Any help you can give would be greatly appreciated.
Thank you, David

Here is the image saved to the .png file:

@nm 

I'm a bit rusty with my Dynamic Systems knowledge...

Thanks,

David

Thank you Acer,

I have now setup my indexing program (X1) to work properly with Maple files.

Thanks again,

David

Thank you Robert,

I have 15 years of software, firmware, Matlab files, plus a lot of other files that I have on my server from past work.  I am frequenty looking for work that I have done in the past.

I have been using X1 for years for that purpose but it wasn't locating any Maple files.  I since discovered that I had not configurated it to index those files.  I'll have to look into Advanced Find and Replace.

Thanks again,

David

I was able to isolate this problem to a single service that was runnning on my Windows 10 pro. computer; the "Nahimic service."  Apparently this is a common service installed by several audio and video drivers.  ASUS, the MFG of my motherboard, had an updated audio driver that when I uninstalled the previous driver and installed this one, the problem was solved.

 

 

@acer 

kernelopts(version) returns: `Maple 2020.2, X86 64 WINDOWS, Nov 11 2020, Build ID 1502365`

I see!  When changing to "&%s;" in my nprintf() statements, all works okay.

 

What I don't understand, is why it was working fine until I copy/pasted one of my greek character nprintf() lines to add another character.

I see that pasted lines did not include the & nor the ;.

Thanks acer!

 

@acer 

Thank you acer.  I look forward to an example.

I'm sure that with each automatically generated report, I'll get it more finely tuned so that it can almost be a template for future electronic design.

@acer @mmcdara 

I was doing some experiementing and I came across the echofile property of the interface() proc.  However, I have not been able to get that to work.  When I enter: interface(echofile="eraseme.html") an error is reported stating that echofile is not a valid property of interface.  

Is this a valid property?

@acer 

I'll do some experimenting...  How difficult would it be to redirect a plot to another worksheet as you did with the table?  

 

@mmcdara 

I am intrigued and will look deeper into using LaTeX if redirecting to a worksheet turns out more difficult than I am anticipating.  Unfortunately, I am not fluent in LaTeX.  My only experience with LaTeX was graduate school and publishing a paper or too many years ago.  I do not think that it would take too long to get up to speed though.

Thank you

 

@acer 

Thank you!  I did some experimenting with the code that you provided, and I think that directing output to a separate worksheet would work great for me.  Here are my final goals.  I have primarily 3 needs for output:

  1. (Design) Design and analyze electrical circuits (for my eyes only).  This would consist of maybe several worksheets that get included into a "master worksheet" that when executed executes all of the worksheets.
  2. (Summary) Summarize a design by generating various tables (for my eyes only) showing:
    1. design goals (e.g. input voltage or current range, output voltage or current range, frequency char., etc.) 
    2. calculated component values
    3. a table of critical component values and characteristics (i.e. part numbers, tolerances, temperature sensitivity, etc.)
    4. resulting uncertainties and a comparison to the design goals
    5. transfer equations (e.g. current(ADC) - measured current as a function of the ADC reading, etc.)
    6. "C" code for the transfer equations so I can test the prototypes.
  3. (Client) Produce reports for my clients that show the results of an analysis:
    1. a table of critical component values and characteristics (i.e. part numbers, tolerances, temperature sensitivity, etc.)
    2. resulting design characteristics:
      1. uncalibrated uncertainties
      2. calibrated uncertainties
      3. temperature related characteristics
      4. frequency response characteristics
      5. etc.
    3. "C" code for the various nominal transfer equations for my clients programmers

During the design phase, I frequently make changes to design goals and component characteristics (e.g. tolerances, temperature sensitivity, and other non-ideal characteristics) as required to meet a designs requirements (Design) so I will be generating multiple reports for my eyes only (Summary).  Once the design is complete, I will generate a report for my clients (Client).  It looks like writing to a new worksheet will work perfectly since if I can output it to a worksheet in the design phase, I can also output it to a separate worksheet that I can make a .pdf file of for myself or my clients simply by executing the "master worksheet."

As you know, I am new to Maple.  I am switching over from Matlab that much of the above was very difficult or not possible to do.  

I should say that at the moment, I have been applying what I am learning about Maple to a design that I am currently working on (13-channel programmable current LED driver).  I will also eventually be producing several graphs that will also need to be placed in the output worksheets.  

Is it possible to place a plot on a separate worksheet?

@mmcdara 

Yes it is related to the linked thread. I'll try to be more careful when posting.

I have found that redirecting the DocumentTools:-Layout:-Table() output and most special characters to a file does not work as I would expect.

Is there a way to do that (e.g. a special file extension)?

Is it possible to redirect the output to another worksheet?

@acer @Carl Love 

I wanted to thank you both for the detailed explanations and example of how to use printf() with special symbols.

I don't think I could have figured that one out with help.

Merry Christmas!

David

@mmcdara 

Merry Christmas!

1 2 3 Page 1 of 3