AnsweredAssumed Answered

read Binary Format (FORMat REAL,32) with SICL

Question asked by overtheocean36 on Apr 4, 2011
Latest reply on Apr 5, 2011 by odanzy
Hi,

l'm trying to load IQ data from analyzer using raw GPIB command ( SICL)

to do so l use ( simplified):

iwrite (instance, "FORMat REAL,32",sizeof("FORMat REAL,32"),s,NULL);
iwrite (instance, "TRAC:IQ:DATA?",sizeof("TRAC:IQ:DATA?"),s,NULL);
iread (instance, strres, ss, NULL, &actual);


my understanding is the returedn data strres is a char * ..so how do l convert it to  float ?

regards,

Michael  

Outcomes