简体   繁体   English

我如何用C ++编程此板?

[英]How can i program in c++ this board?

Im trying to make a program in c++ that needs to get data from the board ni pce-6341, but i cant find any library or any information on how to do that. 我正试图用c ++编写一个程序,该程序需要从板ni pce-6341获取数据,但是我找不到任何库或有关如何执行此操作的任何信息。 can somebody tell me where im i supposed to find a library for this, or any other information that can be helpful. 有人可以告诉我我应该在哪里找到这个图书馆,或者任何其他有用的信息。

ni pce-6341

thanks in advance 提前致谢

I don't know this device and National Instruments products much but a quick search lead me to the DAQ Getting Started, Read Me First: NI-DAQmx and DAQ Device Installation Guide which mentions C. The more detailed NI-DAQmx Readme mentions MFC 9.0 C++ examples in the folder *...NI-DAQ\\Examples\\MStudioVC2008 so I assume you will need a full NI install first, then you should search for the examples folder. 我不太了解该设备和National Instruments产品,但快速搜索使我进入了DAQ入门,请先阅读我的文章:NI-DAQmx和DAQ设备安装指南 ,其中提到C。更详细的NI-DAQmx自述文件中提到MFC 9.0。文件夹*...NI-DAQ\\Examples\\MStudioVC2008中的C ++示例,因此我假设您首先需要完整安装NI,然后再搜索examples文件夹。

Further search gives the Download NI-DAQmx Shipping Examples page from where drivers can be downloaded and which points to the NI examples page where you can search for DAQmx and can download simple examples eg digital port read/write in C as well. 进一步的搜索提供了“ 下载NI-DAQmx运送示例”页面,可从该页面下载驱动程序,该页面指向NI范例页面 ,您可以在其中搜索DAQmx,还可以下载简单的示例,例如使用C语言进行数字端口读/写 Also this page states that the examples are installed only when a compatible version of NI-DAQmx is installed, not necessarily with LabView itself. 该页面还指出仅在安装兼容版本的NI-DAQmx时安装示例,而LabView本身不一定安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM