Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

I am running the NI-IMAQ\Sample\MSVC\Grab examples but a "no interface found" error message appears although I have connected my webcam.

Hi Charlton,

Big thanks for the code but I am using LabVIEW 7.1. Smiley Sad

Hope u can repost to suit my version. Smiley Happy

Thank you again! 

0 Kudos
Message 11 of 16
(4,640 Views)

Hi Charlton,

Big thanks for the code! Smiley Wink

But i'm using LabVIEW 7.1..

Hope u can repost the code that suits my version

Thank you again!

0 Kudos
Message 12 of 16
(4,640 Views)
looky,
 
This version should suit you better.
 
Carlton
CLA
0 Kudos
Message 13 of 16
(4,636 Views)
Thanks.
I've got the sample program Smiley Happy
0 Kudos
Message 14 of 16
(4,630 Views)
Hi Charlton,

I still could not find the solution for write output file function.
I have some questions here (please refer to the pic)
 
 
For No.1 - How can i just use this T/F flag to be connected to the color output loop? i've tried but they can't be wired together.
 
For No.2 - Alternatively, can i use this match score and set it to be the condition for the loop? (e.g. when the score is larger than 750, red will be printed out as the output. But these two are from different kind of data type.

That's all.
 
Thank you in advance.Smiley Wink
0 Kudos
Message 15 of 16
(4,611 Views)
Hi,
 
The comparison VIs and values are pretty irrelevant to the program.  I only added them to make the example useable and to demonstrate how to use the true/false values from 4 different boolean controls to write one string to the file.  I'll answer No. 2 first, though.  You are right in saying that you can use the score to print out the specific color value, but the output is a 1-D array, so you will just have to index the array to get the specific score to compare.  This is the same reason you cannot connect the T/F flag to the loop.  The output is a 1-D array and the loop input is looking for a single value, so indexing this output array will give you the single value.  Hope this clears some things up!
Carlton
CLA
0 Kudos
Message 16 of 16
(4,604 Views)