Base Plugins

class qtpyvcp.plugins.plugin.DataChannel(fget=None, fset=None, fstr=None, data=None, settable=False, doc=None)[source]
getString(*args, **kwargs)[source]

Channel data getter method.

getValue(*args, **kwargs)[source]

Channel data getter method.

setValue(value)[source]

Channel data setter method.

class qtpyvcp.plugins.plugin.DataPlugin[source]

DataPlugin.

getChannel(url)[source]

Get data channel from URL.

Parameters:url (str) – The URL of the channel to get.
Returns:(chan_obj, chan_exp)
Return type:tuple
initialise()[source]

Initialize the data plugin.

This method is called after the main event loop has started. Any timers or threads used by the plugin should be started here.

terminate()[source]

Terminate the data plugin.

This is called right before the main event loop exits. Any cleanup of the plugin should be done here, such as saving persistent data.