I am new to Measurement Studio, and am trying to get a Graph into my dialog. I got hte control on the dialog tool bar, and onto the dialog, went and added a control variable with the Class Wiizard... now I want to plot some data, and I get errors during compiles from the following:
unsigned char *buf;
...
buf = new unsigned char[xfer_len];
...
for(...
len = m_xem->ReadFromPipeOut(0xb1, pkt_len, buf+(pkt_len*i));
...
m_CNiGraphCtrl1.PlotY( (CNiUInt16Vector)buf);