From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does NI CAN Example use NI CVI?

Hello,

when you buy a NI CAN Case (e.g. USB<->CAN: NI USB 8473) and install the drivers, the examples are also installed.

When you open the example

C:\Programme\National Instruments\LabVIEW 2012\examples\nican\Frame - Basic.llb

you will see that the CAN is

1. configured

2. opened

3. Attributes are read

 

But what is strange: for reading the attributes the Function "ncGetAttr" from nicvi.dll is used.

??? WHY ???

 

nican.dll has also a function named ncGetAttr. Why not use this function?

 

I have noticed it because I am writing a C# wrapper for NI CAN for my task.

 

BR

Eugen Wiebe

-------------------------------------------------------------------
Eugen Wiebe
Bernstein AG
CLAD - Certified LabView Associate Developer
0 Kudos
Message 1 of 1
(5,808 Views)