作为1553B总线通讯软件,软件主要目的就是控制总线控制器BC和远程终端RT之间的数据交换。
本实验所用的板卡为EXC—PCI/MCH-1,相关资料可在官网下载:http://www.mil-1553.com。
//1553B_RT.CPP
#include <iostream>
using namespace std;
#include <stdio.h>
#include <conio.h>
/***API函数头文件包含***/
#include "Proto_mch.h"
#include "deviceio.h"
#include "error_devio.h"
#include "Error_mch.h"
#include "exc4000.h"
#include "excdef.h"
#include "excsysio.h"
#include "flags_mch.h"
#include "Instance_mch.h"
#include "mchIncl.h"
#include "mem_mch.h"
#include "Proto_mch.h"
#include "Proto_mch_back.h"
usint ttag;
DWORD MuxIsr(int param);
unsigned int numints=0, oldnumints = -1;
int handle;
BYTE shadowByte;
ULONG uInterruptsTotal, uInterrupts[8];
/*******1553B——RT客户端主程序********/
int main()
{
HANDLE hThreadMuxIsr;

该博客介绍了一款针对1553B总线的通讯软件设计,其核心功能在于实现总线控制器BC与远程终端RT的数据交互。实验中采用的硬件板卡为EXC—PCI/MCH-1,详细资料可在制造商官网获取。
最低0.47元/天 解锁文章
1万+

被折叠的 条评论
为什么被折叠?



