Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

how to change the baudrate for NI-USB 8473

There is a problem about my NI-USB 8473, High speed CAN device.

I have a excuted file to operate this CAN, programmed by CVI, but i dont have the source code. It works all fine when i want to change the baudrate.

But i have to develop a new prj for this device, i use the function ncConfig to set the parameters of the can. I use a easy way that i get the CAN baudrate from the uir, a ring control.

But things happened that the baudrate doesnt change at all. I dont know what is going on, is there any other functions can set the baudrate? And when i use ncConfig, the parameters are totally cool, without mistake.

 

And anther question, how to asign CAN dynamically, i mean how could i  creat any new CAN control panel for a new can as i want, because i have one to control one CAN, but now i need to control several undetermined number of CANs, should i creat a new panel for each of them or just modify the CAN names for the orginal one?

 

0 Kudos
Message 1 of 5
(7,128 Views)

Hi,

 

i attached you here a *.doc file with screenshots and Links to CAN USB 8473 example (Labview) and Forum Links to CVI.

 

Problem is that it exists examples to Labview but not to CVI - so you must create a new programm in CVI when your *.exe don´t can set other baud rates

 

Better you do it in Labview (create an *.exe) because you can use the solution of existing CAN USB vi (llb)

 

Best Regards

 

Johann

0 Kudos
Message 2 of 5
(7,110 Views)

You can use the structure of labview examples for your CVI program. I had started NI Spy parallel when using labview example - so it shows you the functions you can use in same way in CVI - hope it helps. You can attach here your program because i not known what example (*.exe) do you use for CVI  ?

 

For creating CVI source project you could use the links i sent you before:

 

http://forums.ni.com/ni/board/message?board.id=30&message.id=3640&requireLogin=False

 

http://digital.ni.com/public.nsf/allkb/F997E364CFAA63F6862573540064C028?OpenDocument

 

http://digital.ni.com/public.nsf/allkb/E1A44077DA6C819186257288006B76D7

0 Kudos
Message 3 of 5
(7,109 Views)
Thanks you so much 😄
0 Kudos
Message 4 of 5
(7,107 Views)
Thank you so much...
0 Kudos
Message 5 of 5
(7,106 Views)