Skip to main content
3-Newcomer
October 24, 2023
Question

READPRN file.

  • October 24, 2023
  • 2 replies
  • 11620 views

Hi, I'm currently having programming issues with converted mcxd files See attached screenshot. It's not reading PRN correctly. I have the file installed and using the read data file it finds the prn file it just won't populate the data. See attached screenshot.

Any info would be greatly appreciated. The university used to use mathcad 14 and i believe when converting the file the si units are not populating either.

Thanks,

Joshimage.png

JJ_10814212_0-1698122114465.png

 

 

 

 

 

 

 

 

 

 

 

 

 

2 replies

25-Diamond I
October 24, 2023

There is not much which can be said just seeing the pictures.

Why don't you post the working MC14 file along with the non-working Prime file ...

 

Bets guess just from the pics: Once again a problem with Primes labelling. READPRN shoub be labelled "Function" or "automatic" (= " - ") and normally should appear in upright letters, not italic ones. Try to relabel READPRN accordingly and see if it works.

 

From the pic it cannot be said whats the error the usage of cp  throws and why it occurs. Maybe cp is not defined or not labelled the same.

3-Newcomer
October 24, 2023

hi see attached files

Any info would be greatly appreciated

 

3-Newcomer
October 24, 2023

and as for the si units see attached file (cp)

3-Newcomer
October 24, 2023

JJ_10814212_0-1698131554169.png

thats the problem (licensing dramas our university is having when opening up mathcad 14.

IS that something that can be fixed? I think it will just be very beneficial for everyone if i continue to use MC14.

 

So sorry about the massive email chain.

My university won't resolve/can't resolve the issue.

Thanks so much for all of your help so far mate.

 

 

Josh

25-Diamond I
October 24, 2023

It looks like you university ran a license server where you Mathcad 14 connected and retrieved its license. For some reason this server seems not to be up and running anymore. You will have to contact the IT people from your university to ask why.

Maybe the license was time limited and expired and your university can only provide a license server for Prime anymore. I can't tell.

 

3-Newcomer
October 24, 2023
Thanks mate

3-Newcomer
October 24, 2023

How did you fix LINQ?

I can apply it to all of the other chapters and questions

25-Diamond I
October 24, 2023

@JJ_10814212 wrote:

LINQ works! Thanks Heaps!!

KLINK... not working-It won't find the file 7-4 prn.


You have to copy the prn-file in the zip-archive to the same directory where KLINK.mcdx resides (or you have to change the path in the file)

3-Newcomer
October 24, 2023
Ok, you change the file path by using the read data file?

25-Diamond I
October 24, 2023

@JJ_10814212 wrote:

How did you fix LINQ?

I can apply it to all of the other chapters and questions


I opened the LINQ.mcdx which you posted and simply deleted the three duplicate global definitions. Nothing else was necessary to do.

 

25-Diamond I
October 24, 2023

@JJ_10814212 wrote:
Ok, you change the file path by using the read data file?
 

??

 

The first argument of the function READPRN is a string which contains the full filename (drive, path, name and extension).

If no drive and path is supplied, the files is looked for in the same directory the Prime file is located.

In the files you provided no drive letter or path was given, so the prn file should reside in the same directory as the Prime file.