LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication with camera link camera (VieWorks)

Hello together,

my problem is nearly 3 months old. Unfortunately without a solution (NI Forum and NI support).

 

I would like summarise:

 

I want control the Vieworks camera with a LabVIEW program. That means I must control the camera attributes. NI support told me: I can control only the camera attributes, which I can see in the MAX. In the MAX I see only 4 attributes (data bit, exposure time, analog gain, analog offset).  But the VieWorks camera has much more (e.g. AOI, Binning). NI support told me again: You have to generate a new *.icd file with the NI Camera file Generator and add the other attributes. This new *.icd file must be loaded in MAX and the new attributes should appear. If the attributes in MAX, then You can use the attributes in a LabView program with the Attributes SubVI’s.

 

I generated a new *.icd file with the new attributes (e.g. AOI, Binning). I can see this attributes in the MAX, but this attributes (AOI, Binning, Channel) doesn’t work. I think I use the wrong commands, but what are the right commands (see NI_CFG.png)? Maybe this is the problem. The commands are in the VieWorks manual. Does anybody have experience with the commands / code?

 

Do you mean I should open a new post? Maybe the user doesn’t read this post, because the post is too old.

 

Greetings zaepfle

0 Kudos
Message 21 of 25
(942 Views)

> If the attributes in MAX, then You can use the attributes in a LabView program with the Attributes SubVI’s.

Not true.  I can see expose time in MAX.  but I can NOT set the value I want.  I must set expose time to 300us.  MAX won't let me.

 

Did you try the my VI ?  I posted yesterday.

 

George Zou
0 Kudos
Message 22 of 25
(933 Views)

Hi Zoe,

yes I tried your VI. But this is unfortunately not what I want. I want control the camera attributes. I attached a VI to control the exposure time. It works on my computer (PCI1433, VieWorks camera).

If you use your VI, the MAX doesn't have a connection to the camera. Maybe this is the reason, that you can't set the value.

 

greetings zäpfle

 

 

0 Kudos
Message 23 of 25
(917 Views)

My VI works ok for setting the exposure time of the camera.

It bypass MAX.  MAX does have a connection with the camera.  MAX has an unwanted minimum limit way biger than 300us.

Anyway, my project is done.  Shipped. 🙂

 

 

 

George Zou
0 Kudos
Message 24 of 25
(907 Views)

Congratulations

 

My problem isn't solved.  

But now I try to programming (in LabVIEW) the available attributes. Maybe I get a solution during the programming.

 

greetings zaepfle

 

0 Kudos
Message 25 of 25
(895 Views)