![National Instruments NI-CAN User Manual Download Page 34](http://html1.mh-extra.com/html/national-instruments/ni-can/ni-can_user-manual_3506864034.webp)
Chapter 2
Developing Your Application
©
National Instruments Corporation
2-7
Figure 2-1.
General Program Steps Using NI-CAN Functions
START
END
Communicate Using Objects
• Wait for Data Available
(
ncWaitForState
,
ncCreateNotification
)
• Read Data (
ncRead
)
• Write Data (
ncwrite
)
and so on
Configure Object
Yes
Are All
Objects Configured?
No
Open Object (
ncOpenObject
)
Yes
Are All
Objects Open?
Start Communication (
ncAction
)
No
Close Object (
ncCloseObject
)
Are All
Objects Closed?
No
Yes
Yes
Finished
CAN Programming?
No