我用工控机,主板带看门狗。有一个debug的示范文件。需要把看门狗写到vb的应用程序当中去。 eg:setup Watchdog Timer of 30 second Under the DOS run DEBUG,then put in: 0 2E 87 0 2E 87 ;analysis code 0 2E 07 0 2F 08 ;Sslsct LOGIC Device 0 2E F5 0 2F 00 ;select time unit as second 0 2E F6 0 2F 30 ;setup Time Count as 30 second 需要把这一段程序写到vb里,并且可以运行。现在可以写进去,但我不知道vb在xp系统下怎么打开i/o的端口,使看门狗运行。求助!!!!
eg:setup Watchdog Timer of 30 second
Under the DOS run DEBUG,then put in:
0 2E 87
0 2E 87 ;analysis code
0 2E 07
0 2F 08 ;Sslsct LOGIC Device
0 2E F5
0 2F 00 ;select time unit as second
0 2E F6
0 2F 30 ;setup Time Count as 30 second
需要把这一段程序写到vb里,并且可以运行。现在可以写进去,但我不知道vb在xp系统下怎么打开i/o的端口,使看门狗运行。求助!!!!