10-20-2005 05:14 PM
cdCAPI RCOpenSource ( cdSourceInfo* pSourceInfo, cdHSource* pSource )
where cdSourceInfo is defined as:
typedef struct{
cdSourceType SurceType; // Type of the device
cdUInt32 rsrvd; // Reserved
cdStr63 Name; // Device model name
//(Invalid if cdSRC_TYPE_HOST)
#ifndef macintosh
cdStr63 NameInOS; // Device model name in OS
#endif
cdPortType PortType; // Port type
cdPortDescripUnion u; // Union of I/O port descriptor
} cdSourceInfo;
Thanks for any help.
10-23-2005 09:56 PM
Hello rohrdt,
The key to calling a function like that is to identify the intrinsic C datatype that the particular parts of the struct are using. In other words, you need to find out exactly what a cdSourceType is. This also applies to the other data types that are used in the struct. I would assume that a cdUInt32 is a 32 bit unsigned integer. For the other data types, they should be defined in a header file that came with your driver. Once you know what these data types map to, you should be able to pass the appropriate numeric or string through the Call Library Function Node.
Hope that helps.
11-15-2005 04:04 AM
11-15-2005 08:48 AM
11-16-2005 08:49 AM
hi,
as of now i have got a liitle control of the canon camera.
i am trying to integrate the DLL from the PSremote s/w .
http://www.breezesys.com/PSRemote/
i was able to control the shutter , aperture and zoom .
but not able to get the image into labview .
can u give a copy of the SDK ....since i dont have a copy to work now,
thanks and regards,
sundar
11-17-2005 07:55 AM
11-17-2005 10:33 AM
11-17-2005 09:57 PM
11-19-2005 05:21 PM - edited 11-19-2005 05:21 PM
# include "SDK_includes_here.h"
# include "SDK_includes_here.h"
# include "SDK_includes_here.h"
// You need a class for your method.
// If you have many methods, you can add them to the same class
__gc class CanonClass
{
public:
// constructor
CanonClass() { }
// destructor
~CanonClass() { }
// method
cdCAPI MyMethod( cdSourceInfo* pSourceInfo, cdHSource* pSource )
{
return RCOpenSource ( cdSourceInfo* pSourceInfo, cdHSource* pSource );
}
};
Message Edited by Tomi M on 11-20-2005 01:26 AM
Message Edited by Tomi M on 11-20-2005 01:27 AM
04-13-2010 10:09 PM
Hi Rohrdt,
Did you ever get the SDK for the canon DSLRs interfaced with labview? I see it has been a few years since the last post here.
There is no .NET supplied, just a number of dlls and a .lib file