×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Mathcad Reference Sheet and API Problems

Mathcad Reference Sheet and API Problems

Mathcad Reference Sheet and API Problems

(OP)
Hi

I have a mathcad sheet that will read a large block of data from an excel file, then filter based or 2 or 3 search terms. The filtered data is then used in the calculations.

The search terms, and all other variables will be entered via the API from a web interface.

The programming loops etc needed to filter the data do not need to be visible on the sheet, in fact i would prefer it itf they weren't visible as they just confuse matters. I have tried hiding the sections containing the programming loops etc using areas, but this causes problems with the API, it ignores any changes to variables within the hidden sections.

I am experimenting with using the 'Reference' function to reference the original worksheet (with programming loops etc visible) and create a summary worksheet. Standard variables work ok e.g.
  Main Sheet -> T:=50
produces
  Summary Sheet -> T=50

However, when i call a variable that has been computed or looked up I just get a 'variable not defined' message. When I open the main sheet everything is working fine.

Anybody got any ideas?

Cheers  

RE: Mathcad Reference Sheet and API Problems

(OP)
OK i have done a bit more digging on this. The problem seems to be coming from some "READFILE" commands I have at the start of the master sheet. These read the source data from an excel worksheet, which is then filtered as mentioned before. It is the "READFILE" function that does not seem to be working when referencing the master worksheet. Can anyone think of a way around this?

Cheers

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources