Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to change attributes for GigE camera in Ni-Max

Hi - upon deploying a teststand/labview app with a basler aca-1300 gige camera, I was getting "unable to acquire image" from the application error handler.  I ran the basler python viewer and, although I had to mess with packet size and interpacket delay, it was able to capture images so its not a firewall or jumbo packet issue.  But after exiting pylon, the LV app still did not acquire.  So, I figured I would install Ni-Max so I could see the attributes there and see if I could do an acquisition.  After setting up Ni-Max I can see the camera in the list of devices under network devices, but there are no attributes tab nor acquisition controls.  (see attached)  Using the latest Ni-daqMx and runtime IMAQ(licensed).  The Basler .icd and xml files are in the public folder as they should be.  Thanks for any insight.

0 Kudos
Message 1 of 7
(3,312 Views)

Hi,

 

I ran into problems in the past that some other software installation caused IMAQdx to work inproperly.

So could you please check if IMAQdx is installed(not IMAQ as you mentioned earlier)?

If it is already installed and you are still getting this problem, reinstall the IMAQdx driver, or update to the latest one if possible.

0 Kudos
Message 2 of 7
(3,011 Views)

Ah - turns out labview would set the packet size to 8000 as a default so my ethernet card couldn't handle it.  I needed to set the packetsize property with a DAQmx property node call within the labview code.  Still can't change any attributes in Ni-Max but I don't need to.

0 Kudos
Message 3 of 7
(2,960 Views)

Hi I'm running in to same kind of issue and have to set the packet size property node but not sure of the attribute exact name. Could you tell me what is the attribute exact name or from where I can get that name ?  

0 Kudos
Message 4 of 7
(2,430 Views)

Hi ugg88,

 

Don't know if you still have the problem. The property node is not in DAQmx but in IMAQdx.

With it, you can set specific parameters of your image acquisition.

Here is a snapshot of my code (sorry, comments are in french).

Let me know if it's ok.

Capture.PNG

 

LabVIEW Architect - Founder and CEO - Phalanx
---------------------------------------------------------------------------------------------------
Tout le succès d'une opération réside dans sa préparation. - Sun Tzu
Message 5 of 7
(642 Views)

@JiPé wrote:

Hi ugg88,

 

Don't know if you still have the problem. The property node is not in DAQmx but in IMAQdx.

With it, you can set specific parameters of your image acquisition.

Here is a snapshot of my code (sorry, comments are in french).

Let me know if it's ok.

Capture.PNG

 


As far as I can understand . you need to enable Jumbo frames to get a possibilities to use "default" packet size 8000. Usually UDP is used for ethernet-based cameras and Jumbo usually enabled (also usually network card with Jumbo support used for such cameras).

Message 6 of 7
(635 Views)

JiPé, Thank you for checking . Yes I used the same logic by setting the packetsize property to 1500.

0 Kudos
Message 7 of 7
(622 Views)