A complicated problem

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Anonymous

A complicated problem

Post by Anonymous »

To any experts

I am desperate for help with this problem, I have inherited some automated calibration software that I am responsible for looking after from a former sister company in Germany. All of the information I require is embeded somewhere in this qbasic software and I just do not understand how it runs or where to find it, there seems to be loads of different files involved when I look at the structure of the program.
The software basically calibrates an electronics saftety tester in a step by step sequence.
First of all for each step the program will set up the test equipment to pass a certain stimuli to the unit under test i.e. voltage, current resistance etc etc, then it will read back the answer it gets from the unit, calculate some correction factor using a pre-determined constant or formula that is unkown to me at the moment (it is embeded somewhere in the program)
Then it will write the correction factor back to the eprom of the unit to complete the calibration. (I'm not sure if it does this immediately but I think it is more likely that writes all steps to a text file first then blows the eprom at the end)

I have been tasked with designing some new test equipment to provide the stimuli and ultimately calibrate the units , the test equipment is clearly definned and I know what stimuli I need to apply but my problem comes in the reading , correcting and writing back of the data.

I basically want to use a calibration software that I know is capable called Procal, this software will control the equipment no problem, and then it is capable of breaking out to run a little subroutine in any language be it Qbasic C++ etc to perform the calibration operation.

Where I need help is from someone who could tell me where to find the data for each calibration step I am looking for , or to look over the program for me and advise as I know absolutely zero about qbasic. I look forward to your replies as it seems very difficult to get any answers on Qbasic from anywhere. To add to the difficulty it was originally written by a German so all of the comments and subroutine titles are in German although although all the commands are obviosly the same.

Many thanks in anticipation
Seb McClouth

Post by Seb McClouth »

If you post the code here, we might be able to help...

And learn sumfin ourselves...

grtz
Anonymous

Post by Anonymous »

That's not possible unfortunately as the program is almost 1MB
Seb McClouth

Post by Seb McClouth »

Upload it to Pete and ask him if he can put it up as a download...

1 MB, those good old days of MSDOS....

grtz

Seb
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

Uhh... its automated. You just go to contribute on the left and show where it is (browse) and it will be uploaded... (deleted last word for sake of life force)
Image
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

Pete... mabye you should make the contributing things more noticable... that way, when you leave (its gotta happen SOMEDAY... at least by the 25th anneversery of QBXP) people can keep the site alive...
Image
Post Reply