AnsweredAssumed Answered

read data array after use FETCH

Question asked by nakanuruk on Jan 13, 2016
Latest reply on Jan 26, 2016 by tomc
Hi  
How do read data from buffer after use FETCH?  By use VEE program.?
I need convert C program to  VEE Program (Below)

SCAN(@1000:1255)

---------------------------------------------------------------------------------------------------------

/* Get readings from Multimeter */
errStatus = viQueryf(E1412A, “FETC?\n”,”%,10lf”,readings);
if(VI_SUCCESS > errStatus){
printf(“ERROR: viQueryf() returned 0x%x\n”,errStatus);
return errStatus;}
for (ii=0;ii<10;ii++) {
printf (Reading %d is: %lf\n”,ii,readings[ii]); }

---------------------------------------------------------------------------------------------------------  

Outcomes