Note:
Please install the VT-Image Camera ActiveX before using these samples.
Setup File: ..\..\OCX\VTCamera.OCX.exe


2011-09-02
Add data conversion function
1 Use the new conversion library to convert the output long format data address to a uint8 format two-dimensional arrays, see the DataToMemery event
2 The output data format is related to the color mode settings on the interface, select the BW24 output as 24 bit data, select Gray as 8 bit data, select rawdata as 8 bit raw data
3Add code library functions
int VTLV_AllocMemery(int nSize, long * ptr)

int VTLV_ReleaseMemery(long ptr)

int VTLV_MemeryCopy_Ptr2Ptr(long _from, long _to, int nSize)

int VTLV_MemeryCopy_Ptr2ImageData( long _from, UINT8* _to, int nWidth, int nHeight, int nBit)
Note:Function VTLV_AllocMemery the requested memory will be released with VTLV_ReleaseMemery after completion of the application. (the user can be released after the VTLV_MemeryCopy_Ptr2ImageData function is used.)


2011-09-04
Modify data conversion function
1 Add DataToMemery button, there are specific data content displayed on a video display on the left (the standard is 2 dimensional array, please try to ensure that the first dimension data is large enough).
2 DataToMemery event only support Rawdata and Gray normal data display.
3 The user can convert the 2 dimensional array to the desired format by calling IMAQ ArrayToImage.vi.
4 After the conversion of the data and the data you want to go up and down the opposite, you can use the VTCam.vi to provide another method of obtaining data ReadFrameToMemeryTransform. Just set the reverse value as ture.
5 The various settings of the camera can be seen in the description code of OCX file.



