Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I use ImageToArray function in Borland C++?

In C language a can't write
MyArray = CWIMAQViewer1->Image->ImageToArray
because I need to indicate the element of array for Assign the value.
 
I can not  assign a entire array as in Visual Basic
 
 
Sorry my english is very bad!!!
0 Kudos
Message 1 of 2
(3,036 Views)
It looks like you are trying to use the VB syntax in C, which as you have seen will not work.  I have attached part of an example program from our website.  This uses the image to array function in C.  I think this will help get you started.
 
Ryan M.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,022 Views)