Platforms to show: All Mac Windows Linux Cross-Platform

Back to EDSModuleMBS module.

EDSModuleMBS.GetCameraList as EdsCameraListMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Canon EOS Digital MBS Cameras Plugin 12.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Gets camera list objects.

Lasterror is set.
Returns the camera list object or nil.

Some examples using this method:

EDSModuleMBS.GetEvent

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Canon EOS Digital MBS Cameras Plugin 12.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
This function acquires an event.

In console application, please call this function regularly to acquire the event from a camera.
Lasterror is set.

Some examples using this method:

EDSModuleMBS.Initialize

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Canon EOS Digital MBS Cameras Plugin 12.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Initializes the libraries.

When using the EDSDK libraries, you must call this API once before using EDSDK APIs.
Lasterror is set.

EDSModuleMBS.Lasterror as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Canon EOS Digital MBS Cameras Plugin 12.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The last error code of any EDS function in all the classes.

EDSModuleMBS.LoadLibrary(file as folderitem, IsVersion2 as Boolean) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Canon EOS Digital MBS Cameras Plugin 12.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Loads the SDK.
Example
dim file as FolderItem

// find DLL in application folder
if TargetWin32 then
file = GetFolderItem("EDSDK.dll")
elseif TargetMacOS then
// find Framework in inside frameworks folder in app bundle
dim frameworks as FolderItem = app.ExecutableFile.Parent.parent.Child("Frameworks")

file = frameworks.Child("EDSDK.framework")
else
MsgBox "not supported."
end if

// load framework or DLL
if EDSModuleMBS.LoadLibrary(file) then
// continue
end if

Pass folderitem for framework on Mac or DLL on Windows.
Returns true on success.
After loading, you need to call Initialize method.

If you use 2.x SDK, please set IsVersion2 to true.
For 3.x SDK, please set IsVersion2 to false.
The 3.x SDK uses 64-bit integer, while the older one uses 32-bit integers.
Using wrong switch, you get wrong numbers.

See also:

EDSModuleMBS.LoadLibrary(path as string, IsVersion2 as Boolean) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Canon EOS Digital MBS Cameras Plugin 12.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Loads the SDK.

Pass path for framework on Mac or DLL on Windows.
Returns true on success.
After loading, you need to call Initialize method.

If you use 2.x SDK, please set IsVersion2 to true.
For 3.x SDK, please set IsVersion2 to false.
The 3.x SDK uses 64-bit integer, while the older one uses 32-bit integers.
Using wrong switch, you get wrong numbers.

See also:

EDSModuleMBS.Terminate

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Canon EOS Digital MBS Cameras Plugin 12.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Terminates use of the libraries.

Calling this function releases all resources allocated by the libraries.
Lasterror is set.

The items on this page are in the following plugins: MBS Cameras Plugin.


The biggest plugin in space...