01-24-2007 08:47 AM
01-24-2007 02:35 PM
01-28-2007 11:25 PM
Re:DirkW
I have been accroaded refernece to configure, but the baudrate is not 125000? why
01-29-2007 10:18 AM
Hi,
For the channel api the baudrate is configured in MAX (measurement and Automation Explorer) by default. If you need to change the baudrate programaticaly, you need to call the 'set attribute" function to set the bautrate explicitly.
For the frame api the baudrate becomes configured within the configuration struct.
DirkW
01-29-2007 07:14 PM
My configure is below:
AttrIdList[0] = NC_ATTR_BAUD_RATE;
AttrValueList[0] = 125000;
Is it OK?But the transmission's baudrate is 230K~270K why? or configure hardware?
01-30-2007 11:29 AM
Hi,
How do you know that your baudrate is between 230 and 270K?
Normaly the baudrate does not change or vary. If the config struct uses 125K it should configure the port like that.
Perhaps you could run the NI SPY together with your code. The SPY logs the api calls to NI CAN. Save the log file and post it to this thread.
That may be helpful.
DirkW
02-02-2007 06:00 AM
use CAN Oscilloscope Measure baudrate is 230K~270K