From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-04-2015 01:17 PM
I bought NI CAN part NI USB-8473s. Of course there were no instructions in the box when it arrived.
Anyway I am trying to run the CAN Transmit Periodic project.
The program successfully configures (ncConfig) the Interface. However it fails in configuring the ObjectID and fails to open the object(ncOpenObject).
I modified the original program to add some printfs, to demo this issue. That routine, plus screen caps of the printouts, are attached.
As one can see, the default ObjectID is CAN0::STD5. Well the Measument and Automation Explorer does, Under Devices and Interfaces->NI_CAN Devices->USB-8473s, show a CAN0. I see no STD5 though.
Also I note that on the 8437s module that only the USB light is on , (in yellow) . The CAN light in not on. Should they not be green?
Very likely I have something else to do to set up this package, though, lacking instructions, my psychic powers fail me. Could someone point me to/ or give me, some instructions.
Regards,
Nolan93010
09-08-2015 01:56 PM
Nolan,
The problem you are seeing is most likely due to the fact that USB devices with NI-CAN do not support NI-CAN objects. You are limited to Network Interface support only.
The yellow light signifies that you are using a USB 2.0 port. If the light was green, it was be using USB 1.0. The CAN light only turns on when it is reading from or writing to the bus.
09-09-2015 10:49 AM
What does this comment mean?
I am writing to the CAN bus now and yes tthe light it turns on green.
But in doing so I am creating a CAN object and using that object. So I guess I can crate/use CAN objects.
The issue is the fact that the NI example as written does not work, and I had to create something else that did.
01-24-2017 12:11 PM
Did you ever get this to work?
I don't think you can use periodic TX on the USB-8473.
01-25-2017 07:15 AM
John,
You are correct. USB CAN devices that use the NI-CAN driver do not support periodic transmits due to the fact that they cannot use CAN Objects. The attribute you set to enable periodic transmits is an attribute of a CAN Object. The closest you'll get to a periodic transmit is through software timing (something like calling ncWrite within a loop at a specific rate), but the timing will not be as accurate as a hardware-timed periodic transmit.
Daniel V
Applications Engineer