You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
364 B
21 lines
364 B
|
4 weeks ago
|
#include <windows.h>
|
||
|
|
#include <stdio.h>
|
||
|
|
#include <conio.h>
|
||
|
|
#include "dask.h"
|
||
|
|
|
||
|
|
|
||
|
|
void main(){
|
||
|
|
|
||
|
|
I16 card;
|
||
|
|
|
||
|
|
if ((card=Register_Card (PCI_7200, 0)) <0 ) {
|
||
|
|
printf("Register_Card error=%d\n", card);
|
||
|
|
exit(1);
|
||
|
|
}
|
||
|
|
//setting ExtTrig Line to high
|
||
|
|
DO_WriteExtTrigLine (card, 1);
|
||
|
|
printf("Press any key to exit\n");
|
||
|
|
getch();
|
||
|
|
Release_Card(card);
|
||
|
|
}
|