How to detect digiscan viewing is on? - hardware

Is there a function like "DS_viewingIsOn()" in DM script?
I found a function, DSisAcquisationAcive(), but it is not available before GMS 2.3. Can we sense the digiscan action before GMS 2.3?

I believe the command was added in GMS 2.2 and just documented from GMS 2.3 onward. Before introducing this command, there was no such scripting capability.
If you are on the GMS 2.x series you should be able to update to the latest GMS 2.x for free.

Related

pykinect2 library works only with comtypes 1.1.4 which only works with python 2.7. Hence, not able to integrate media pipe, hand tracking with it

COMtype compatibility issue :
As we know mediapipe works well with higher versions of python. i.e., 3.x and higher.
I am looking a for ways to implement features of mediapipe into pikinect2 for hand tracking and currently stuck at comtype errors.
Current suitable version of comtype for pykinect2 is v1.1.4
Kindly provide solutions to any one problem below.
An alternative solution to mediapipe at python version 2.7
Alternative way to make use of pykinect2 library for python 3.5 or higher versions without getting comtype errors.
Thanks

How can I update Couchbase Lite version 1.3.1 in Objective-C to latest Couchbase Lite version 3.0?

I am new to Couchbase lite.
I have already setup of Couchbase lite 1.3.1 in Objective-C and it's working fine. I have to upgrade this with Couchbase lite 3.0.
In latest Couchbase lite list of changes. Ex: CBLManager is not supporting, properties object is not available in CBLDocument ...
Could you please guide me how I can start this?
Any document where I can find not supporting class, methods, properties alternative?
I think you will find that there is no documentation specifically describing how to move from 1.3.1 to 3.0. The 1.x versions of CBL were sunset several years ago.
There is good documentation of the 3.0 version here:
https://docs.couchbase.com/couchbase-lite/current/objc/quickstart.html
I suspect that reading that documentation would be a very good start.

When a new version 3.X of Python is released, does it always require the Python.Net development team to release a new version of Python.Net?

I have a project that uses Python.Net for which I specify to customers that they need 'Python 3.6 or later'. However, when for example, Python 3.10 becomes the current default download from Python.org, does this mean that there will be a period of time where my applicaion won't work because Python.Net hasn't been updated to work with Python 3.10?
Or do I have to tell customers an upper bound value for the required Python verion?
That strongly depends on how are you distributing Python.NET.
If you are shipping Python.NET before 3.0 (3.0 has not been released yet) with your .NET app, it can only work with the specific python version it has been built for.
If you are asking users to install Python.NET using pip, I think it is possible to do it from source, in which case it should work with any Python 3.6+. You can check that by installing Python 3.10 preview and trying from there. Wheels of course are only built for existing python versions.
Python.NET 3.0 should be able to support future Python 3.x versions once released. But right now it is in flux, and the next release might take 6-12 months: many features are still being developed and/or reworked.

Vulkan driver api vs sdk api support

I have NVIDIA driver v 378.92 installed, and according to the nvidia website since driver version 377.14, driver supports vulkan api 1.0.42.1. My vulkan SDK api version is 1.0.42.2. However when I check for my device support info, using vkjson_info.exe in the vulkan SDK, there's stated that only apiVersion 1.0.37 is supported.
I'm a bit confused how this works, can anyone enlighten this?
The reported version could be limited by the Vulkan Loader/Runtime it finds. First is this Windows or Linux?
If you have the Vulkan SDK 1.0.42.2 installed, can you run the VIA tool? It should generate an HTML output. If you look at the "Runtimes" section, you should see which ones are available and which one it's using. For best results, try running it from the same folder as vkjson_info.exe. But, it should give you a good idea if you just run it anywhere.
"1.0.42.1" is not a Vulkan version. Vulkan only has three levels (i.e. major.minor.patch). So the "1.0.37" is likely correct and the "1.0.42.1" is likely the version of some LunarG Vulkan SDK or possibly Vulkan Runtime that comes with it.
There are usually several types of versions flying around:
The Vulkan driver version. It is of the major.minor.patch format and it is in VkPhysicalDeviceProperties::apiVersion or can be obtained by a tool such as VHCV.
Optionally SDK/Layers version on the runtime machine. LunarG Vulkan SDK versioning of the form vulkan_major.vulkan_minor.vulkan_patch.optionally_SDK_patch.
Vulkan Runtime of the runtime machine — It is basically The Vulkan Loader dll (if the application uses that). Both SDK and drivers install this (and coexist) and they use their own versioning scheme. The SDK version also installs the Validation Layers to the system.
SDK/Header on the application developer machine. Versioning as described above. The vulkan.h header is always 1.0 and so has only single number version — VK_HEADER_VERSION (which matches the Vulkan patch version — but does not have to in the future)
SDK/Header on the driver developer machine. Versioning as described above. Should really be the same as Vulkan driver version. And most likely the Vulkan RT installed by the driver will be the same version. But I think I have seen this to differ.
It should not matter, because all patch versions are supposed to be both-ways compatible (in reality not really — there were some changes, but driver makers seem to keep up so far providing updated drivers, so it is not an issue). And in fact that is the only thing I could find in the driver documentation: "Vulkan 1.0" support.
I hope you are so enlightened now that you reached the ultimate state of boredom.
377 is a beta version driver from https://developer.nvidia.com/vulkan-driver . There is no guarantee that beta feature will be carried over to the subsequent release version. And according to http://vulkan.gpuinfo.org/listreports.php it didn't (378 indeed have 1.0.37 and 377 have 1.0.42 and more importantly has the extensions you want to try). Continue to use the beta for now if you want the features within it. As for Layers and other SDK features you should not need newer drivers — in fact you should always use the latest to benefit from Validation Layer bugfixes and improvements.

What is the delta from Redis 2.8 to 3.x?

We have run redis 2.6 (and now 2.8) for some time with good success.
Looking at 3.2, I have not spotted a migration document.
Can you suggest where to find a doc describing new/dropped/changed commands and other migration topics. I could not put a finger on it.
The most significant change between 3.x and 2.x is that since Redis 3.x, it supports cluster mode.
You can get other change lists from Redis 3.2 release note and Redis 3.0 release note.