11-09-2008 01:37 PM
Can anybody tell me if there is a possibility of using the I/O Pins of the NI 17XX Smart Cameras for "Product Selection" or "Profile Selection" ?? If yes, which of those pins can be used and How?
For example, if there are 2 pins, it means i can store 4 different inspections on the Smart Camera. Based on the input bits, the specific Inspection number will be initiated when the Smart Camera restarts.
Solved! Go to Solution.
11-11-2008 01:20 AM
Hello Medianix,
I will have to try this out on my end and get back to you. Would you consider the possibility of using a 'Run LabVIEW VI' step to get this done?
Regards,
Vivek Nath
Applications Engineering
National Instruments
11-13-2008 03:14 PM
Hi,
The answer is yes.
Are you programming the smart camera with LabVIEW or with Vision Builder?
If you're using the smart camera with LabVIEW, we provide VIs to read/write these IO lines.
If you're using Vision Builder, the functionality is built-in Vision Builder. Which version do you have?
Thanks,
-Christophe
11-24-2008 09:16 AM
11-24-2008 11:14 AM
Since the Smart Camera I/O returns booleans and the Product Select State requires a number or string to choose which product to select, you could use a System Global Variable and at the end of each of your inspections update this with the state of the two input lines on the Smart Camera. Then, in the Product Select State, you can read the value of these two System Globals in the attached Run LabVIEW Step (which has already been compiled for the Smart Camera). This VI will convert the two boolean values to a number (0 to 3) which can be used for product select.
Hope this helps,
Brad
11-26-2008 06:29 AM
11-28-2008 11:48 AM