AN26-Frequently asked questions in Vzense ScepterSDK development

Written By:Sophia.feng Updated: 2024-12-31

FAQ

Common error code causes & solutions

Error codeMeaningCausesSolutions
-11Image retrieval timeoutThe SDK did not receive the image packet, scGetFrameReady() is 0. The current buffer data is empty, and no image can be obtained.Method1: Check the camera logs to see if the camera is in a disconnected state.
Method2: The console cannot achieve the frame rate set by the camera.
-23The time from frame readiness to frame acquisition exceeds 1 second.The current scGetFrame() retrieves an image that is not the latest, but at least 1 second old.You can immediately call scGetFrame() after scGetFrameReady().
-101Repeated scInitialize() calls. Not scShutdown() after the scInitialize() callscInitialize() and scShutdown() should appear in pairs.
-104Command issuance failed
-108Indicates that scStartStream() was not called to obtain the data streamCamera removedAdd self-check for camera online/offline status. Check the loop logic at the scGetFrameReady().

Windows

Q1. Where is the default log save location?

Solution: The default log path is: C:\Users\<user name>\AppData\Local\Scepter\Log.
Note: If it’s the Nebula version, you need to change “Scepter” in the above paths to “Vzense”.

Q2. Why are there frequent errors after a few frames when using the SDK to capture images with multiple cameras connected?

Situation: Check if the connected network is Gigabit. Observe the status of the indicator lights on the camera’s network port; a yellow light indicates Gigabit, while a green light indicates Fast Ethernet (100 Mbps).

Linux

Q1. Where is the default log save location?

Situation: The default log path is: /home/<user name>/.config/Scepter/Log.
Note: If it’s the Nebula version, you need to change “Scepter” in the above paths to “Vzense”.

Q2. Download the SDK, and the Linux operating platform shows “libxxx_api.so file too short”.

Situation: You need to extract the SDK package on the corresponding operating platform, instead of directly dragging the extracted files into different operating systems.
Method1: Download locally via git clone.
Method2: Download the compressed package locally (e.g., xxx.tar.gz).

Related Posts

WELCOME TO VISIT

USA Office Address: 5451 Great America Parkway, Suite 301,Santa Clara, CA 95054

Headquaters Address: Building F, Innovation Park II, No. 1, Keyuan Wei 1st Road, Laoshan District, Qingdao, Shandong, China