|
|
调用dll函数时,说明如下,
SSIDLL_API int __stdcall SSIConnect(HWND hwnd, long Baud, int Port);
where:
• hwnd is the handle of the window whose procedure will receive Windows
messages from the library.
• Baud is the baud rate to use
• Port is the COM port number to open
Return Values
• SSICOMM_NOERROR if the COM port was opened successfully.
• An error code if an error occurred (see Table 1-1 on page 1-32)
Example
int status;
// using baud rate of 9600, com port number 1
status = SSIConnect(m_hWnd, 9600, 1);
请问如何把example中的函数转换到labview中呢
主要是这个hwnd,不知道怎么弄
希望老大给指点一下,最好能给个labview8.2或以下版本的例子
谢谢了
附件里是dll文件和完整的pdf说明书,我这里的仅仅是其中的一个函数 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|