HHS StartTempCtrl Error

Hello,

I’m having an issue with a HHS library command, and I’m sure there is a quick fix for this that I’m not thinking of. As shown in the pictures below, I keep getting an error saying my HHS isn’t initialized despite having a submethod that initializing them. I initialized them using CreateUSBDevice as the error suggests using. I exported the HHS variables from the submethod, so I’m confused as to why I am getting this error with the StartTempCtrl command.

HHSerror

Thank you!

Would only let me add one image, here is the command
tempctrl

oh, sounds like whichever variable you are using to initialize the HHS in the submethod isn’t being outputted.

Could be that you are using the same variable name and that could cause issues with your start temp ctrl command. Try doing your initialization step in the main method and see if that helps.