Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Multichan- Multisamp- 2D Time & Dbl Read for CCP

I have been using multichannel multisample 2D Dbl CAN read vi to acquire data from my CCP functions. This is almost the same as what is shown in the NI CCP toolset examples. However, now I want to read the timestamps, but when I select the multichan- multisamp- 2D Time & Dbl, I get the error:

HEX: BFF62209
Read/Write not matched initialized input/output mode.

The CCP init task does not have a mode selection as for CAN Init Start, and so I have no idea how to solve this problem. Any ideas please?

Thanks.
0 Kudos
Message 1 of 2
(3,399 Views)
Hi elmo!

the 'Multi-Chan Multi-Samp 2D Time & Dbl' representation (Timestamped Input mode) is supported by the CCP Command Set.
Set the 'Mode' input parameter (part of the Message Configuration cluster in LabVIEW) of the CCP Initialize function/VI to '2' to set it to 'Timestamped Input'. Further more, you need to specify 'NoValue'/'Value for Invalid Data' using the CAN Set Property function/VI for the resulting CAN task before you start the CAN task.

-B2k
0 Kudos
Message 2 of 2
(3,389 Views)