LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
JB

CAN Frame API polish

Status: Completed

Available in NI-XNET

Rewrite the CAN Frame API library by using the 4x2x2x4 connector pattern for each VI.

 

Currently, the 13 (thirteen !!!) patterns (4x2x2x4, 4x2x2, 4x1x2x4, 4x1x1, 4x3, 4x2, 3x1x2, 3x4, 3x3, 3x2, 2x4, 2x3 and 2x2) lead to wire bends and make the alignement of the VIs more difficult.

 

21229iFF8ADD1D8AF4B5F5

4 Comments
JB
Trusted Enthusiast
Trusted Enthusiast

...and yes, I'm aware this would break existing code. But, in my humble opinion, it is worth the prize because it would reduce development time and generate cleaner code in the future !

Rodney_C
NI Employee (retired)

Great idea... done. 🙂

 

The new CAN API (NI-XNET) uses a consistent connector pattern (5x2x2x2x5 like DAQmx), and it fixes many other design flaws in the older NI-CAN APIs.

  http://zone.ni.com/devzone/cda/tut/p/id/9727

 

We also avoided breaking older CAN code, because if you are using one of the new CAN cards, you can choose either NI-XNET (new) or NI-CAN (compatible).

 

 

Marc Blumentritt
Member

Wow, that was fast. And I just wanted to give kudos...

 

 

 

CLD
Darren
Proven Zealot
Status changed to: Completed

Available in NI-XNET