Hello:
I have a C demo as below,which uses a byte array point as parament and convert it to short.Now I want to use it in LabVIEW,how can i do?
The LabVIEW picture I have catched.The input and return value's type I need in LabVIEW is I16.
Thank you.
BYTE * PixValue;
void CDMDControlDlg:nSetDMD()
{
// TODO: Add your control notification handler code here
//BYTE * PixValue = new BYTE[98304];
for(UINT i = 0;i<98304;i++)
{
PixValue[i] = 0xFF;
}
m_ddcobject.MemToFrameBuffer((short *)PixValue);//return is also a I16
m_ddcobject.LoadToDMD(17,1);
//delete []PixValue;
}