Coder Social home page Coder Social logo

popde / rs_visa_dll_ex Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 3.0 1.18 MB

利用C++对visa32.dll通信动态库进行二次封装并生成dll, 使用起来更方便, 增加了aardio中调用此dll的使用示例.

C++ 14.87% Objective-C 6.12% C 79.01%
aardio visa32 dll rsvisa32

rs_visa_dll_ex's Introduction

RS_VISA_DLL_Ex

利用vs2019对visa32.dll通信动态库进行二次封装, 使用起来更方便

研究visa发现, 其实很多时候并不需要那么多的函数来使用, 为了对aardio中使用更友好, 我在RS官方示例基础上, 对dll进行了二次封装, 只保留了5个函数. VisaInit VisaClose VisaSetAttr VisaWrite VisaRead 增加了aardio中调用示例. 这里我用串口进行了visa的模拟,

特别注意: 串口初始化完成, 默认波特率是9600 , 8,0,0,1 , 接收中断默认是接收到'\n'即"0x0A"字符, 如果你的设备不是默认配置, 那么就使用 VisaSetAttr() 对设备进行属性设置, 改变波特率和结束符符号.

至于属性是哪个, 可以在文档中找到. 首发地址: NI-VISA通信的调用

image

rs_visa_dll_ex's People

Contributors

popde avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.