当前位置:网站首页>LabVIEW 开发 PCI-1680U双端口CAN卡
LabVIEW 开发 PCI-1680U双端口CAN卡
2022-07-25 22:23:00 【LabVIEW开发】
PCI-1680U是研华公司一款专用于CAN网络与PC之间连接的通信卡。
moxa公司的CP-602U也是同样的PCI双端口CAN卡,二者相比而言,CP-602U没有提供LabVIEW的例程,需要自己编写,在LabVIEW64位下可以运行。
PCI-1680U提供LabVIEW的例子,但是只支持LabVIEW32位的软件,这与研华公司其他板卡及支持32位,又支持64位不同。后来查看程序,发现对LabVIEW的例子中使用的DLL是单独的一个版本,只是供LabVIEW开发使用,比如1716。用32位的LabVIEW或者64位的LabVIEW都没问题,刚才分别运行32和64位的LabVIEW中的DAQNavi Create Channel(AI-Voltage).vi,路径分别是
C:\Program Files(x86)\National Instruments\LabVIEW 2019\user.lib\DAQNavi PolymorphicVI\create\DAQNavi Create Channel(AI-Voltage).vi
C:\Program Files\NationalInstruments\LabVIEW 2019\user.lib\DAQNavi Polymorphic VI\create\DAQNavi CreateChannel(AI-Voltage).vi
动态库都是调佣的C:\Windows\System32\DAQNavi_LV.dll。看起来,dll也是为LabVIEW单独开发的,但是同一个dll。
系统中用到两张PCI-1680U卡,发现每次重新安装卡的驱动后,其CAN就会变化,而且没有规律。两张卡对应4个CAN端口。在安装驱动后,端口号是随机的,有时候是CAN1、CAN3、CAN2、CAN4,有时候是CAN2、CAN3、CAN1、CAN4。就上述问题多次与其技术工程师沟通,最后经与台湾那边沟通后,答复说,PCI-1680U确实存在这种状况,真让人无语。在其网站上有这样一篇文章:CAN Port number shifts after the OS is upgraded to a newer version.2020-06-03FAQ Document No.1-4177911771。这里提到类似的状况。
相对而言MOXA的CP-602U倒是没有端口号码随机变动的情况,但厂家没有LabVIEW的驱动,需要用户自己编写。好在前几年已经做过这个LabVIEW驱动了。本次项目本想采购CP-602U,但是其货期太长,因此更换了研华的CAN卡,这里做个记录,后续在选购的时候要注意。

边栏推荐
- 完啦,上班三个月,变秃了
- If jimureport building block report is integrated according to the framework
- Wechat applet (anti shake, throttling), which solves the problem that users keep pulling down refresh requests or clicking buttons to submit information; Get the list information and refresh the data
- Randomly generate 10 (range 1~100) integers, save them to the array, and print the array in reverse order. And find the average value, the maximum value and the subscript of the maximum value, and fin
- Xiaobai programmer's fourth day
- Interpretation of the source code of all logging systems in XXL job (line by line source code interpretation)
- Virtual memory and disk
- 3dslicer import cone beam CT image
- Data governance under data platform
- MySQL - subquery - column subquery (multi row subquery)
猜你喜欢

数据质量:数据治理的核心

Advanced database · how to add random data for data that are not in all user data - Dragonfly Q system users without avatars how to add avatar data - elegant grass technology KIR

All you want to know about interface testing is here

Visitor mode

win10搭建flutter环境踩坑日记

Square root of X

Xiaobai programmer day 8

Data governance under data platform

QML module not found

6-17 vulnerability exploitation - deserialization remote command execution vulnerability
随机推荐
Recursive case -c
If it is modified according to the name of the framework module
4day
To light up all the positions in the string that need to be lit, at least a few lights are needed
三菱FX PLC自由口RS指令实现MODBUS通讯
If jimureport building block report is integrated according to the framework
数据平台下的数据治理
[C syntax] void*
VIM usage record
mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No suc
Application of breakthrough thinking in testing work
Playwright tutorial (II) suitable for Xiaobai
Why is the integer type 128 to byte -128
Synchronized and volatile
Three ways to allocate disk space
3dslicer introduction and installation tutorial
Compile and decompile
分割金条的代价
mysql: error while loading shared libraries: libncurses.so. 5: cannot open shared object file: No suc
如何将一个域名解析到多个IP地址?