Values change after initialization.


RDDay

Recommended Posts

Hi,

I initialize some global values from registry values in the auto start sequence. 


// setup LabJack I/O drivers
include(c:\Program Files(x86)\LabJack\Drivers\LabJackUD.h)
using("device.labjack")

// set Registry Variables  (defaults)
global TmpMax = Registry.TmpMax
global TmpMin = Registry.TmpMin
global VacTimeOn = Registry.VacTimeOn
global VacTimeOff = Registry.VacTimeOff

 

While monitoring these values in the watch window, they change when I enter the program.  They  become the minimum value of the knob component their assigned to for changing.

2023-02-09_15-19-51.jpg

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.