Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Vision Executable does not work

I have Imaging source camera dmk 23g445. It is a great camera with very sensitive sensor but there are first of all issues with it in MAX.

It works OK with manufacturers software and drivers.

In MAX it appears as 2 camera: DirectShow and GigE camera. Works very good as a Directshow camera quite stable but as GigE camera is a bit less stable. To make it working I have to reduce packetsize to 1400KB and FPS 3.75. If the value is any higher the images would be distorted. That is a first issue. So there are 2 question related to it: is it possible to use it as a DirectShow camera on clients PC after creating exe file? and Second question is: why packet size and FPS  should be so low?

 

There are some LabView examples provided by manufacturer but I could not get how to use them in my program as the look like completely different to what I am using to make application. They do not use MAX at all.

 

 

After creating executable of my application on another PC I faced different problem: It just does not work.

Exe starts but it does not show images from camera. Everything else is working but there is nothing to analyze. I have marked ENABLE DEBUGGING when I was creating executable but it still dous not show any errormessages.

It is less stable in MAX as well. Most of the time it just does not work at all,  shows a message Error 0xBFF69031 The system did not receive a test packet....

When it works with the same low FPS and Packet size it does not work in exe file.

 

I have on my PC LabView 8.6.1

Vision 8.6

NI-Imaqdx 4.0

 

I have installed LabView Run-Time 8.6.1

and VAS_August2012 on another PC where I would like to run exe.

 

And to add to the question LAst week I have tried to install it as well on Friday it did not work, but when I came back and tried it on Wednsday exe file worked OK.

I removed  and reinstalled it again and now I could not make it working again.

Any ideas wher to start to sort this ?

 

 

 

0 Kudos
Message 1 of 2
(4,334 Views)

Hi Sergey,

In regard to the packet size, you may be limited by your network hardware. Could you check whether you mean 1400 KB or 1400 Bytes?

There are a number of troubleshooting steps we can start with:

 

  1. Would you be able to confirm whether you are able to see a live feed in MAX? (Test the Grab function) and how you are connecting the camera to the computer? (E.g. USB / Ethernet / etc).

 

Untitled.jpg

 

2. The Manufacturer examples you mentioned - would you be able to provide links or alternatively upload in a zip file to the forums?

 

3. Could you also confirm whether the deployment machine has a Vision Acquisition Software (VAS) license?

Deployment note linked below: http://digital.ni.com/manuals.nsf/websearch/E83D7AD86A5548FA862578D500547FE5

 

 

4. When using the camera on the deployment machine, can you confirm that you have the drivers installed for your specific camera?

 

 

5. Also, when you package the EXE up using the installer, have you ensured that you included the “IMAQdx 4.0.0”, “NI Vision Run Time Engine” and “NI Vision Common resources” under Additional Installers category? (As well as the LV run time engine) 

 

Capture.PNG

 

Regarding you error code, I have found a KB which may be useful. It also includes a number of solutions to your specific error.

http://digital.ni.com/public.nsf/allkb/4D0ECFAA9AD9FF3E8625792600551A1E?OpenDocument

 

Let me know how you get on. I look forward to hearing back from you,

 

 

__________________________
Aidan H

Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 2 of 2
(4,272 Views)