Jimmy1125 Posted December 15, 2021 Share Posted December 15, 2021 Hello! Is there a way to work on my program offline? I want to work on my scripts with data I load from previous logs. If I try now it keeps looking for the Labjack, which is not hooked up. Safe mode doesn’t let me load tests and fool around with program. Quote Link to comment Share on other sites More sharing options...
AzeoTech Posted December 15, 2021 Share Posted December 15, 2021 I'm not sure if this will get you what you want, but on the running machine, instead of doing File - Save As, do File - Save As With History and save the file to a different name. This will save the file just as normal, but also save all the accumulated history so you can play with that. You'll also probably need to bypass the LabJack driver using the SetBypass() function described in 6.13 of the user's guide. I personally use a registry variable when I have extra code to disable some feature or another when testing offline, something like registry.debug. It is set to 1 on my machine, but usually not set at all (which means it defaults to 0) on the production machine. Then I make sure any custom script for working offline is inside a check for that registry variable being 1. This makes the application run one way on my development machine, and another way on the production machine without me forgetting to remove or reset script I added. Quote Link to comment Share on other sites More sharing options...
Jimmy1125 Posted December 16, 2021 Author Share Posted December 16, 2021 i don't know which manual you are refering to as 6.13 in mine is a question and example. Quote Link to comment Share on other sites More sharing options...
AzeoTech Posted December 16, 2021 Share Posted December 16, 2021 Bypass requires 16.2 so maybe you are running an older release? Quote Link to comment Share on other sites More sharing options...
Jimmy1125 Posted December 16, 2021 Author Share Posted December 16, 2021 Doesn’t explain why the users guide online doesn’t show 6.13! Quote Link to comment Share on other sites More sharing options...
AzeoTech Posted December 16, 2021 Share Posted December 16, 2021 Hmm, not sure where you found the online guide. It might be left over from a long time ago. I'm pretty sure there isn't a link to it anywhere on our site. Use the guide included in the download so you are sure you are using the one that matches your release. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.