Noesis Forum : Visilog Software Forum Index Noesis Forum : Visilog Software
Image processing forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Probleme pilotage camera ieee1394 sous Visilog 6.7

 
Post new topic   Reply to topic    Noesis Forum : Visilog Software Forum Index -> Acquisition
View previous topic :: View next topic  
Author Message
bmeunier



Joined: 01 Oct 2007
Posts: 18

PostPosted: Fri Feb 20, 2009 8:33 am    Post subject: Probleme pilotage camera ieee1394 sous Visilog 6.7 Reply with quote

Bonjour,
Meme en remplacant "Viewer" par "Acquisition" (modif 6.6 -> 6.7), le code ci dessous destiné à piloter une caméra Sony IEEE1394 , est compilable mais ne fonctionne plus. La table "ltParamMore" ne semble pas initialisée. Comment peut on accéder dorénavant aux paramètres bas niveaux de nos caméras ? Merci d'avance.
Bruno

Sub ChangementShutter()
Dim ltParamMore() As Long
ltParamMore = Viewer.CamPropertiesMore
' Mise du shutter à sa valeur minimale
ltParamMore(2) = ltParamMore(0)
Viewer.CamPropertiesMore = ltParamMore
End Sub
_________________
bruno meunier
Back to top
View user's profile Send private message
Noesis
Administrateur - Site Admin


Joined: 30 Jan 2006
Posts: 169
Location: Gif Sur Yvette - Crolles

PostPosted: Fri Feb 20, 2009 2:32 pm    Post subject: Modification des paramètres des caméras Reply with quote

Bonjour,

Effectivement, la propriété Acquisition.CamPropertiesMore retourne un tableau vide sous Visilog 6.7.
La gestion des paramètres des caméras a été simplifié sous Visilog 6.7. Vous disposez maintenant des fonctions suivantes pour accéder aux paramètres des caméras:
    - GetCamListParam
    - GetCamParamInfo
    - SetCamParamInfo
Ces fonctions sont évidemment documentées (Chapitre 8 du Programming Guide).

L'équivalent de votre code est le code suivant:
Code:
Sub ChangementShutter()
Dim stInfoParam As VlgParamCam

    ' Récupération des informations sur le paramètre Shutter
    Call Acquisition.GetCamParamInfo("Shutter", stInfoParam)

    ' Mise du shutter à sa valeur minimale
    stInfoParam.vValue = stInfoParam.lMin
    Call Acquisition.SetCamParamInfo("Shutter", stInfoParam)
End Sub

Noesis
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Noesis Forum : Visilog Software Forum Index -> Acquisition All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group