www.vtiinstruments.com
EX10xxA Programming
123
}
status = vtex10xxA_set_channel_conversion(vi, e_channels, NUM_E_CHANNELS, TYPE_E);
if(status != VI_SUCCESS)
{
printf("ERROR CONFIGURING EU CONVERSIONS\n");
return -1;
}
status = vtex10xxA_set_channel_conversion(vi, t_channels, NUM_T_CHANNELS, TYPE_T);
if(status != VI_SUCCESS)
{
printf("ERROR CONFIGURING EU CONVERSIONS\n");
return -1;
}
/* configure the filter frequencies */
status = vtex10xxA_set_filt_freq(vi, channels, NUM_CHANNELS, 4.0);
if(status != VI_SUCCESS)
{
printf("ERROR CONFIGURING FILTER FREQUENCIES\n");
return -1;
}
/* configure the voltage channel range */
status = vtex10xxA_set_channel_range(vi, v_channels, NUM_V_CHANNELS, 10.0);
if(status != VI_SUCCESS)
{
printf("ERROR CONFIGURING CHANNEL RANGE\n");
return -1;
}
/* configure the FIFO (deg F, blocking mode) */
status = vtex10xxA_set_fifo_config(vi, 0, 0, 0, 1);
if(status != VI_SUCCESS)
{
printf("ERROR CONFIGURING FIFO\n");
return -1;
}
/* configure the trigger model */
/* reset the trigger model to default settings */
status = vtex10xxA_reset_trigger_arm(vi);
/* set the trigger timer */
status = vtex10xxA_set_trigger_timer(vi, TRIG_TIMER);
if(status != VI_SUCCESS)
{
printf("ERROR CONFIGURING TIMER\n");
return -1;
}
/* set the trigger count */
status = vtex10xxA_set_trigger_count(vi, MAX_SCANS);
if(status != VI_SUCCESS)
{
printf("ERROR CONFIGURING COUNT\n");
return -1;
Summary of Contents for EX1000A
Page 28: ...VTI Instruments Corp 28 EX10xxA Introduction EX1044 DIAGRAM ...
Page 29: ...www vtiinstruments com EX10xxA Introduction 29 FIGURE 1 5 EX1044 TABLE TOP USAGE ...
Page 34: ......
Page 56: ......
Page 74: ......
Page 130: ......
Page 282: ......