/* Third integer */
result=config[2];
if (num_chan == 8) result = result << 8; /* strip upper 8 bits */
for (i=num_chan;i>0;i— )
{
if (result > = 0x8000)
{
}
else
{
}
result = result << 1;
}
/* Fourth integer */
result=config[3];
if (num_chan == 8) result = result << 8; /* strip upper 8 bits */
for (i=num_chan;i>0;i— )
{
if (result > = 0x8000)
{
}
else
{
}
result = result << 1;
}
Chapter 3
/* Isolated or non-isolated outputs */
printf ("Channel %d is configured for non-isolated output\n",i);
printf("Channel %d is configured for isolated output\n",i);
/* Output Mode Voltage or Current */
printf ("Channel %d is set to voltage output mode\n",i);
printf("Channel %d is set to current output mode\n",i);
Operating Information 23