levylabpitt / Instrument-Framework

An object-oriented framework for LabVIEW based on JKI SMOs.
BSD 3-Clause "New" or "Revised" License
4 stars 7 forks source link

RC Remote Control #63

Closed ciozi137 closed 2 years ago

ciozi137 commented 2 years ago

Needs to be preallocated clone (not shared clone)

ciozi137 commented 2 years ago

OR handle state differently (for example input/output class wire)

ciozi137 commented 2 years ago

Architecture has changed: Remote Control provides API methods

image

Instead of calling RemoteControl.lvclass:Remote Client.vi, Instrument.lvclass:Remote Client.vim calls

image which each call RemoteControl.lvclass:Connect.vi, RemoteControl.lvclass:Send and Receive.vi, RemoteControl.lvclass:Disconnect.vi, respectively.

image image image

This architecture change gives control of the remote control lifetime to the instrument class (it can decide to hold open the connection)