LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multichannel multisample read timestamp 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
(2,501 Views)
Hello Elmo

I've had a look at the functions, and the way to specify mode is via the 'Message Configuration' input on the CCP initialise function. If you look at the help file for this function it shows the breakdown of the cluster input. Its the fourth item in the cluster is the mode configuration. The numerics map to the following settings:
0 - Input 1 - Output 2 - Timestamped Input 4 - Output Recent.

Setting up the initialise with the mode set, should pass the correct CAN task reference to allow you to perform the timestamped measurement.

Hope this helps, if you have any further questions, feel free to ask.

Regards
Hannah
NI
0 Kudos
Message 2 of 2
(2,487 Views)