2 4
2 4
2 4
2 4
2 4
PCL-813 User's Manual
There are two ways to change your program’s settings:
1
. Modify corresponding parameters directly.
If you want to change the A/D start channel number, for example, you
do not need to issue any function calls to change this setting, just
change the corresponding parameter in your Parameter Table.
Example (C language):
extern pcl813(int, unsigned int *);
unsigned int param[60];/* Parameter Table*/
main()
{
.
.
.
param[15] = 0x0;
/* A/D start channel */
param[16] = 0xA;
/* A/D stop channel */
pcl813(5,param);
/* S/W triggered A/D
conversion
*/
.
.
param[15] = 0x2;
/* A/D start channel */
pcl813(5,param);
/* S/W triggered A/D
conversion
*/
.
.
}
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com