09-30-2009 03:34 PM
Hello, I am trying to use the attached ncd file to read from a Series 2 board via the Conversion library but it's not working. I can load the ncd in Max and it read the channel fine.
What would cause this?
I am using the sample vi USBCANBasicInput.vi. It seems imposible to debug because it uses a dll for everything.
I am using version 1.0.3.
There are extended CAN messages.
Thanks in advance,
Dustin
Solved! Go to Solution.
10-01-2009 04:40 PM
Followup: More information
It seems to me the most likely cause is the Add selected channels vi is not returning any data in "table handle custer out".
So when the frame to channel read is performed nothing matches and nothing is returned.
Has anyone seen this library work or ran across this issue? Any ideas?
I can use the channel api vi's and everything works as expected.
I was reading some where that the frame dll needs to be in the system32 direcory or this will happen, but I have tried that one.
Thanks
Dustin
10-01-2009 05:45 PM
Hi Dustin,
You could verify this by running highlight execution while running your program. This will show you if your hypothesis is correct.
10-05-2009 05:12 PM
Matt, yes I believe the DLL is not parsing the selected messages properly so no CAN message is ever matched and thus received.
Could your engineering department look at my attachment and see if they agree or suggest an alternative solution.
There does not appear like there could be anything I am doing wrong, and there does not appear to be anyway to troubleshoot the dlls.
Thanks,
Dustin
10-06-2009
06:42 PM
- last edited on
06-14-2024
12:04 PM
by
Content Cleaner
Dustin,
It was a pleasure speaking with you on the phone today.
It seems that the problem was in using extended arbitration ID's with the Frame Channel Conversion Library. Here are some examples that show how to use this library with extended arb ID's.
https://forums.ni.com/t5/Archive-TKB/CAN-Frame-Channel-Conversion-Library-USBCANBasicIntput-Extended...
https://forums.ni.com/t5/Example-Code/CAN-Frame-Channel-Conversion-Library-USBCANBasicOutput-Extende...
Regards
10-06-2009 07:31 PM
Peter,
If this was added to the conversion library example VI's, then it would be pretty hard for most users to get tripped up on it.
I even knew about this trick and didn't think it applied in this case.
Just a thought.
Thanks again,
Dustin
10-07-2009
01:15 PM
- last edited on
06-14-2024
12:05 PM
by
Content Cleaner