03-15-2011 02:54 PM
This post
mentions that there is a better way to reset an NI CAN network object using the NI-XNET API. Can someone please share how to do this using XNET? What's the equivalent of ncReset in XNET?
Thanks.
03-16-2011 05:58 PM
Sima,
The closest thing in XNET is the XNET clear.vi, described in the XNET Hardware and Software Manual on page 4-419.
The use case for the VI is still pretty limited, as LabVIEW will take care of most clean up itself.
Hope this helps,
Jen W
04-29-2011 10:32 AM
Still, is there a way to do a generic reset of the card - not the clear VI, which is specific to a task? I already have a bunch of code written in the old CAN channel & frame APIs and want to implement a reset with the XNET API.
05-02-2011 11:25 AM
Sima,
Unfortunately, XNET does not have an implementation of a board reset. There certainly are cases in which one would be useful, so you can always fill out a Product Suggestion. If you do decide to do that, which I definitely encourage you to do, be sure to include as many specifics about the scenario as you can to show that you really do need a board reset and not just an XNET clear. Hopefully this feature will get implemented in the future with this feedback, and I'm sorry there isn't a better solution right now.
Best,
Jen W
Applications Engineer
National Instruments
05-02-2011 01:08 PM
Jen, thanks for letting me know.