Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3911

Compiled program works, but crashes in IDE

$
0
0

I am updating an old app written in API1 (Xojo 2019r1.1) that controls a programmable power source using GPIB. I wrote the app originally for 120 VAC meters with a provision to also handle 277 VAC. At the time, I could control the power supply from the debugger, but we didn’t have 277 volt meters to calibrate. Now that we do, I can set 277 volts and calibrate the meter, but when complete, the power source crashes when I turn off the voltage. After making some changes to the code, I find that any time I send a query or command to the power source, both the power source and the Xojo app hang and have to be reset. After pulling whats left of my hair out for two days (even running earlier versions of the app that used to work, but no longer do), I compiled the latest version and ran it. At least then app and the power supply talk to each other, but the original problem still exists.

I am looking for suggestions to (1) get the app to run in the debugger without hanging everything or (2) come up with a way to log what is happening so I can resolve the problem. I haven’t done any logging like this since using CB86 back in the 1990s. (The power source has three voltage ranges and I think my problem is trying to change range and voltage from one range to the other).

7 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 3911

Trending Articles