Why do I get a deserialization warning when capturing from a camera with SPMD?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 5 Mai 2021
Réponse apportée : MathWorks Support Team
le 26 Juil 2021
I am trying to use Basler cameras to record videos. I have succeeded on 4 machines I set up several years ago using the Add-on: Image Acquisition Toolbox Support Package for GenICam Interface.
Recently, I have tried setting up the same system on a new Windows machine. However, I get the following warning when I run my code:
Lab 1:
Warning: An error occurred when running a class's loadobj method. The
object that was loaded from the MAT-file was a copy of the object before
the loadobj method was run. The rest of the variables were also loaded from
the MAT-file.
The encountered error was:
Error using videoinput (line 202)
ADAPTORNAME must be specified as a character vector or string.
> In parallel.internal.pool.deserialize (line 29)
In parallel.internal.pool.deserializeFunction (line 12)
In spmdlang.remoteBlockExecution>iDeserializeInputs (line 179)
In spmdlang.remoteBlockExecution>iPrelude (line 119)
In spmdlang.remoteBlockExecution (line 36)
However, the cameras seem to be operating as expected. Does this warning message indicate that there's something wrong with my code or setup?
Réponse acceptée
MathWorks Support Team
le 5 Mai 2021
Errors encountered when loading an object always manifest as warnings and the warning in this case specifically says it is falling back to the copy of the object from deserialization before any specific loadobj function was applied. These warnings do not suggest anything negative from your workflow. As long as you are experiencing the expected behavior of your application, there should be nothing to worry about from this warning message.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur GenICam Interface dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!