キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

.NET Attribute CAmera

Hi
I am developping a program in DotNet using a LineScan Dalsa Camera.
I have the ICd file and i can acquire frame. However in dotNet it is impossible to send serial frame to the camera like in CVI or LV ( imgSessionSerialWrite )!!!!
With the CWIMAQ.SetProperty method i cannot set the exposure time!!! In The ICD file the property exists!

What is the way to change camera property in IMAQ!

Thanks
0 件の賞賛
メッセージ1/6
4,179件の閲覧回数
Have you looked at the CWIMAQ.set_CameraAttribute() function yet?
Alex Person
NI-RIO Product Support Engineer
National Instruments
0 件の賞賛
メッセージ2/6
4,138件の閲覧回数

hi

Yes i use this function...
i want to send serial frames in dotnet to use custom property .
We do not have a method for that like in CVI (imgSessionSerialWrite and imgSessionSerialRead)?

Thanks

 

0 件の賞賛
メッセージ3/6
4,128件の閲覧回数

I have already try to create a DLL in CVI and pass th SessionID of the CWIMAQ object as the handle of the acquisition.
I have tried to send frames in CVI with the functions above

 

0 件の賞賛
メッセージ4/6
4,127件の閲覧回数

Hi Kikou:

 

I guess I'm not sure what the current issue is.  Are you not able to use the CWIMAQ.set_CameraAttribute() function?  That should be the .NET equivalent to imgSessionSerialWrite.  Please let us know if you are experiencing problems with this function.

Alex Person
NI-RIO Product Support Engineer
National Instruments
0 件の賞賛
メッセージ5/6
4,100件の閲覧回数

Hi

The method CWIMAQ_SetCameraAttribute allows us to get attribute specified in the icd file of the camera.
This function works and the problem i have is i think due to the camera.
Indeed, you cannot set for instance the exposure time before setting the video mode...

 

Another problem, if i want to recover custom property like  the temperature of my CCD , i need to send serial frames. In DotNet API these function do not exist lilke LV or CVI...

I have another issue:
I want to dynaically set the ROI of my acwuisition Image. I cannot specifie a number of lines or columns (width or height) superior to the MAX configuration.
To do that i have to change programaticaly the icd file it is very amazing!

Thanks

 

0 件の賞賛
メッセージ6/6
4,088件の閲覧回数