示例#1
0
extern "C" int QSICamera_StartExposure (double Duration, bool Light)
{
	QSI_func = __func__;
	try {Q.StartExposure (Duration, Light);}
	catch (...) {return 0;}
	return 1;
}
示例#2
0
extern "C" int QSICamera_get_AntiBlooming (QSICamera::AntiBloom *pVal)
{
	QSI_func = __func__;
	try {Q.get_AntiBlooming (pVal);}
	catch (...) {return 0;}
	return 1;
}
示例#3
0
extern "C" int QSICamera_put_SelectCamera (char *serialNum)
{
	QSI_func = __func__;
	try {Q.put_SelectCamera (serialNum);}
	catch (...) {return 0;}
	return 1;
}
示例#4
0
extern "C" int QSICamera_get_CameraGain (QSICamera::CameraGain *pVal)
{
	QSI_func = __func__;
	try {Q.get_CameraGain (pVal);}
	catch (...) {return 0;}
	return 1;
}
示例#5
0
extern "C" int QSICamera_get_ReadoutSpeed (QSICamera::ReadoutSpeed &pVal)
{
	QSI_func = __func__;
	try {Q.get_ReadoutSpeed (pVal);}
	catch (...) {return 0;}
	return 1;
}
示例#6
0
extern "C" int QSICamera_put_ManualShutterOpen (bool newVal)
{
	QSI_func = __func__;
	try {Q.put_ManualShutterOpen (newVal);}
	catch (...) {return 0;}
	return 1;
}
示例#7
0
extern "C" int QSICamera_put_PreExposureFlush (QSICamera::PreExposureFlush newVal)
{
	QSI_func = __func__;
	try {Q.put_PreExposureFlush (newVal);}
	catch (...) {return 0;}
	return 1;
}
示例#8
0
extern "C" int QSICamera_put_FanMode (QSICamera::FanMode newVal)
{
	QSI_func = __func__;
	try {Q.put_FanMode (newVal);}
	catch (...) {return 0;}
	return 1;
}
示例#9
0
extern "C" int QSICamera_get_FanMode (QSICamera::FanMode &pVal)
{
	QSI_func = __func__;
	try {Q.get_FanMode (pVal);}
	catch (...) {return 0;}
	return 1;
}
示例#10
0
extern "C" int QSICamera_get_ImageArray (unsigned short *pVal)
{
	QSI_func = __func__;
	try {Q.get_ImageArray (pVal);}
	catch (...) {return 0;}
	return 1;
}
示例#11
0
extern "C" int QSICamera_get_CoolerOn (bool *pVal)
{
	QSI_func = __func__;
	try {Q.get_CoolerOn (pVal);}
	catch (...) {return 0;}
	return 1;
}
示例#12
0
extern "C" int QSICamera_get_LastExposureDuration (double* pVal)
{
	QSI_func = __func__;
	try {Q.get_LastExposureDuration (pVal);}
	catch (...) {return 0;}
	return 1;
}
示例#13
0
extern "C" int QSICamera_get_ImageReady (bool *pVal)
{
	QSI_func = __func__;
	try {Q.get_ImageReady (pVal);}
	catch (...) {return 0;}
	return 1;
}
示例#14
0
extern "C" int QSICamera_StopExposure (void)
{
	QSI_func = __func__;
	try {Q.StopExposure ();}
	catch (...) {return 0;}
	return 1;
}
示例#15
0
extern "C" int QSICamera_put_ShutterPriority (QSICamera::ShutterPriority newVal)
{
	QSI_func = __func__;
	try {Q.put_ShutterPriority (newVal);}
	catch (...) {return 0;}
	return 1;
}
示例#16
0
extern "C" int QSICamera_put_SetCCDTemperature (double newVal)
{
	QSI_func = __func__;
	try {Q.put_SetCCDTemperature (newVal);}
	catch (...) {return 0;}
	return 1;
}
示例#17
0
extern "C" int QSICamera_get_ManualShutterMode (bool *pVal)
{
	QSI_func = __func__;
	try {Q.get_ManualShutterMode (pVal);}
	catch (...) {return 0;}
	return 1;
}
示例#18
0
extern "C" int QSICamera_get_CoolerPower (double *pVal)
{
	QSI_func = __func__;
	try {Q.get_CoolerPower (pVal);}
	catch (...) {return 0;}
	return 1;
}
示例#19
0
extern "C" int QSICamera_get_PreExposureFlush (QSICamera::PreExposureFlush *pVal)
{
	QSI_func = __func__;
	try {Q.get_PreExposureFlush (pVal);}
	catch (...) {return 0;}
	return 1;
}
示例#20
0
extern "C" int QSICamera_get_CCDTemperature (double *pVal)
{
	QSI_func = __func__;
	try {Q.get_CCDTemperature (pVal);}
	catch (...) {return 0;}
	return 1;
}
示例#21
0
extern "C" int QSICamera_put_HostTimedExposure (bool newVal)
{
	QSI_func = __func__;
	try {Q.put_HostTimedExposure (newVal);}
	catch (...) {return 0;}
	return 1;
}
示例#22
0
extern "C" int QSICamera_get_FilterCount (int &count)
{
	QSI_func = __func__;
	try {Q.get_FilterCount (count);}
	catch (...) {return 0;}
	return 1;
}
示例#23
0
extern "C" int QSICamera_put_CameraGain (QSICamera::CameraGain newVal)
{
	QSI_func = __func__;
	try {Q.put_CameraGain (newVal);}
	catch (...) {return 0;}
	return 1;
}
示例#24
0
extern "C" int QSICamera_get_Position (short *pVal)
{
	QSI_func = __func__;
	try {Q.get_Position (pVal);}
	catch (...) {return 0;}
	return 1;
}
示例#25
0
extern "C" int QSICamera_put_ReadoutSpeed (QSICamera::ReadoutSpeed newVal)
{
	QSI_func = __func__;
	try {Q.put_ReadoutSpeed (newVal);}
	catch (...) {return 0;}
	return 1;
}
示例#26
0
extern "C" int QSICamera_put_Position (int newVal)
{
	QSI_func = __func__;
	try {Q.put_Position (newVal);}
	catch (...) {return 0;}
	return 1;
}
示例#27
0
extern "C" int QSICamera_put_AntiBlooming (QSICamera::AntiBloom newVal)
{
	QSI_func = __func__;
	try {Q.put_AntiBlooming (newVal);}
	catch (...) {return 0;}
	return 1;
}
示例#28
0
extern "C" int QSICamera_get_ShutterPriority (QSICamera::ShutterPriority *pVal)
{
	QSI_func = __func__;
	try {Q.get_ShutterPriority (pVal);}
	catch (...) {return 0;}
	return 1;
}
示例#29
0
extern "C" int QSICamera_put_IsMainCamera (bool newVal)
{
	QSI_func = __func__;
	try {Q.put_IsMainCamera (newVal);}
	catch (...) {return 0;}
	return 1;
}
示例#30
0
extern "C" int QSICamera_put_BinY (long newVal)
{
	QSI_func = __func__;
	try {Q.put_BinY (newVal);}
	catch (...) {return 0;}
	return 1;
}