From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Communicating with NI 1722 Camera through Test Stand using LabView VI

Hi

How do i tell the NI 1722 Smart Camera to start a test and read back the test result(eg Pass/Fail or a barcode info).I know that we can use TCP/IP commands for this but i am not sure how do we read the data back from the camera.I have written a sequence in Vision Builder AI3.6,generated Labview VI for it(using Tools option).Now i need to use this VI to run the testHow do i do this?

 

gill

0 Kudos
Message 1 of 5
(3,454 Views)

Hi gill,

 

You didn't have convert the sequence in Vision Builder to LabVIEW. If you want to be able to run the inspection in TestStand, follow the steps here.

0 Kudos
Message 2 of 5
(3,444 Views)

Hi

Thank you for reply.Are these steps valid for the newer versions of TS and Vb.I have Test Stand4.1.1 and Vision Builder3.6 and my sequence is generating "Error" at the open inspection step.

0 Kudos
Message 3 of 5
(3,437 Views)

Hi

The error message is         

Error executing SubstepAn error ocuured calling 'Execute Step' in _NIVBAITESTStandSteps in 'NIVBAITestStandAPI''Post'.

Any suggestions?

0 Kudos
Message 4 of 5
(3,417 Views)

I am not sure why this is happening. While looking into this, I came across another forum post that discusses this error: http://forums.ni.com/ni/board/message?board.id=330&thread.id=10168&view=by_date_ascending&page=1 .

 

Try the troubleshooting steps they have done, and let us know if that solves the problem. 

Vivek Nath
National Instruments
Applications Engineer

Machine Vision
0 Kudos
Message 5 of 5
(3,408 Views)