Search found 6 matches

by shrutip2
Thu 18. Feb 2021, 02:04
Forum: Third Party Software
Topic: Capturing transmitted message from PCAN-View
Replies: 12
Views: 16280

Re: Capturing transmitted message from PCAN-View

My issue is resolved. I had to make some changes related to buffer input in the set value vi I had created using the dll. The example you shared was helpful.
by shrutip2
Mon 15. Feb 2021, 17:27
Forum: Third Party Software
Topic: Capturing transmitted message from PCAN-View
Replies: 12
Views: 16280

Re: Capturing transmitted message from PCAN-View

Earlier I was not passing any value to buffer length so I am guessing it was taking the default value as 0 and I wasn’t getting any error. But after looking at the example you provided I passed 4 as the value for buffer length and now with buffer length 4 I am getting unknown error.
by shrutip2
Mon 15. Feb 2021, 16:17
Forum: Third Party Software
Topic: Capturing transmitted message from PCAN-View
Replies: 12
Views: 16280

Re: Capturing transmitted message from PCAN-View

It’s the error code returned from CAN_SetValue function.
The error value is 65536 which signifies ‘PCAN_ERROR_UNKNOWN - Unknown error’.
by shrutip2
Mon 15. Feb 2021, 15:33
Forum: Third Party Software
Topic: Capturing transmitted message from PCAN-View
Replies: 12
Views: 16280

Re: Capturing transmitted message from PCAN-View

I was not setting the buffer length before.

But now after setting the buffer length I am getting unknown error.

Could you please check the attachment and confirm if the values I am setting are correct or not?
by shrutip2
Sun 14. Feb 2021, 00:51
Forum: Third Party Software
Topic: Capturing transmitted message from PCAN-View
Replies: 12
Views: 16280

Re: Capturing transmitted message from PCAN-View

I have created labview vi using pcan basic dll. I am able to read and write the messages but I am not able to capture a trace using pcan basic api.

I have set following parameters using CAN_SetValue function-
1. PCAN_TRACE_LOCATION
2. PCAN_TRACE_STATUS
3. PCAN_TRACE_SIZE
4. PCAN_TRACE_CONFIGURE ...