Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

baud rate

Hi All,
 
I am working on CANOpen protocol, In one of the application I have to change the baud rate twice.
The whole application is like this , I have a Motor control drive, the initial baud rate of the drive is 250, CANOpen is used for communication .
 
I can change the baud rate once and can check communication in drive by accessing some of the parameters, after this I again changed the baud rate to some other value and when i try to check the communication , I am getting CAN Interface create error.
 
This is the problem i am facing.
 
 
0 Kudos
Message 1 of 7
(6,414 Views)
Hi,
If you could provide us with the exact error number and error message you are receiving.  It should help us help you troubleshoot the issue.


Thanks,
John E.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 7
(6,394 Views)

For the first time when i change ....and when i read back by givin changed baud rate ...the communication was proper.

For the second time i am doing samething, but I am not stopping the program.....it is sequential, I am getting CANOpen interface create error.

If you want more details then I can attach the code.

 

Thanks

0 Kudos
Message 3 of 7
(6,389 Views)

Hi,

Are you changing the baud rate on a fly or stopping the program, changing the baud rate and then running it back again?

Thanks,

Arjun K

National Instruments
Applications Engineer
0 Kudos
Message 4 of 7
(6,372 Views)

No I am not stopping the program.

I had checked in that direction too, change baudrate save that,switch off and switch on drive,check communication .That program works .

But not this type of program.

0 Kudos
Message 5 of 7
(6,367 Views)

could you post your code, thus i could look into it, to see whats going on?

DirkW

0 Kudos
Message 6 of 7
(6,359 Views)
Hi,
 
I have a CANopen-IO-Module which I want to test, I want to change the baudrate and check communication.
I use a NI-PCI-CAN-Card and LabVIEW with the CANopen-Library for communication.
 
 
After I changed the baudrate of the IO-Module, LabVIEW stops and shows the following error:

-
Error -1074388985 occurred at CANopen Interface Create.vi

Possible reason(s):

NI-CAN:  (Hex 0xBFF62007) You attempted to set a configuration attribute while the object is running.  Solutions: Configure attributes prior to opening the object; Stop and restart communication as needed so that you can update configuration attributes.
-

wants wrong??

0 Kudos
Message 7 of 7
(5,857 Views)