How exact does the baud-rate must be configured?

Hallo!
I have troubles to configure the baud-rate of the CAN-module of the TMS320LF2406 DSP.
I can programm 122500 baud or 127500 baud, but not 125000. What is the tolerance for the baud-rate of the ni-can PCMCIA board?
When I select 125kBaud for ni-can I get an error: stuff or form failure when receiving.
Golubkov Andrej

If you have to run it at 122500 or 127500 baud, you can manually type in the baud rate. I currently have my card running at 800000 baud which is not a standard baud rate, so perhaps the 122500 or 127500 baud rate will work. attached is the code i used to set the baud rate. (altered for 122500 baud rate)
AttrIdList(0) = NC_ATTR_BAUD_RATE
AttrValueList(0) = 122500
AttrIdList(1) = NC_ATTR_START_ON_OPEN ' CAN Network Interface Object starts automatically
AttrValueList(1) = NC_TRUE
AttrIdList(2) = NC_ATTR_READ_Q_LEN
AttrValueList(2) = 0
AttrIdList(3) = NC_ATTR_WRITE_Q_LEN
AttrValueList(3) = 0
AttrIdList(4) = NC_ATTR_CAN_COMP_STD ' CAN arbitration ID for the standard frame comparator.
AttrValueList(4) =
NC_CAN_ARBID_NONE
AttrIdList(5) = NC_ATTR_CAN_MASK_STD
AttrValueList(5) = NC_CAN_MASK_STD_DONTCARE
AttrIdList(6) = NC_ATTR_CAN_COMP_XTD
AttrValueList(6) = NC_CAN_ARBID_NONE
AttrIdList(7) = NC_ATTR_CAN_MASK_XTD
AttrValueList(7) = NC_CAN_MASK_XTD_DONTCARE
Status = ncConfig("CAN0", 8, AttrIdList(0), AttrValueList(0))
txtStatus = CheckStat(Status, ("ncConfig " & checkCAN)) ' check for errors
If (txtStatus <> "") Then GoTo error:
Hopefully this works for you.
Marty

Similar Messages

  • How exactly does the new iCloud accessing feature work?

    I have heard that the new firmware allows access to any hard drives connected to an AirPort through iCloud.
    How exactly does this feature work? Will the files be accessible on the web? Will I be able to mount the hard drive remotely if my computer is logged in with the same iCloud account?
    Please clarify, as I am considering buying now.

    The "magic" behind iCloud for accessing either your AirPort Extreme/Time Capsule or your Mac from the Internet is Back to My Mac (BtMM). For reference, iCloud replaced MobileMe.
    Here are a few links for more details around BtMM:
    Back to My Mac User Guide
    Apple Support Article

  • How exactly does the shotlist feature work?

    I have finished my script and would now like to create a shotlist. I have noticed in the film script mode, the possibility to add a SHOT. however when I do this it wants to change the formatting of the entire script. I am not sure what is going on here. Does anyone already know how this feature works?
    Any help would be greatly appreciated.
    cheers
    Angus

    > Bavo.
    >
    > Would supporting versioning be enough to handle your production
    > workflow issue? We can implement locked pages, locked scene, colored
    > pages, etc but I'm not sure if it’s a must have considering that folks
    > are freewheeling more than in the past.
    That might be the case but there are still plenty of 'traditional' workflows,
    so if you need to conform to their way of working you'll need it.
    For me it's a mix between freewheeling (can also end in a really big mess) and
    more controlled traditional way of doing things (usually when money/time
    situation is a little easier and depending on production company).
    So maybe a feature for 2.0?
    > Thanks for sharing the shotlist information:
    No thanks.
    > I've seen the vertical lines. they make the script really hard to read
    > and I also think it is really a paper based workflow more than a
    > digital workflow. However, have you seen a lot of editors use a
    > physical script marked up this way?
    Avid has the workflow, don't know how many really use it in that integrated
    way but I do know on long form projects the editor usually asks for the
    continuity notes.
    > Wouldn't it be better if this
    > information flowed through digitally with the files captured from
    > camera, at the time of logging at the end of the day's shoot?
    Yes in an ideal situation.
    However, how does it work when a tool like On Location is not available?
    In that case I still like the lined script metaphor...
    If it's too cluttered could you not implement a feature to optionally turn
    on/off the lines once you constructed the shot list?
    I'm also referring to prep when a director does a shot list before the
    shoot (not merely the lining traditionally done by the continuity supervisor).
    I also realize that the lining method only works when your script is more
    or less finished (there we go again)... So flexibility is the key :-).
    > The BBC uses horizontal cut lines instead of the vertical lines used by
    > scripty's. They serve the same purpose and these shots (demarcated by
    > cut lines) can be exported to create a shot list and camera cards for
    > each camera person.
    Nice if it works for them. 
    I've also seen this used where the wide shots were laid out at the bottom
    and the closer shots near the top and that was supposed to correspond to
    the emotional high points in the story.  Whatever works.
    > You can try exporting the shot list from Story using the production-
    > breakdown reports menu. Let us know how it works for you.
    Will test.

  • How exactly does the soft-knee work?

    How to calculate soft-knee time/ratio? How do I know exactly how early and with what intensity the soft-knee is compressing the signal before it reaches the threshold in relation to the ratio and threshold value. By this I mean is there a mathematical formula that says: "a threshold of -__dB with a soft-knee setting at __ compresses a signal __dB below the threshold with a __:1 ratio __ms before the threshold"?

    The knee determines how a certain change in dB of the input will translate to a certain change in dB of the output.
    Think of it this way: You have a graph of output level vs input level. If the graph is a straight line with a slope of 1 then an increase of 1dB in the input will result in an increase in 1 db of the output. In other words - no compression is happening. This is what happens below the Threshold
    If the slope of the line is less then 1 (let's say it's 0.5) then a change in 1dB of the input signal results in only 0.5 dB increase in the output signal. That's a compression ratio of 2 to 1 or 1 to 2 depending on how you look at it. This is what happens above the threshold.
    Now for the knee: If the compressor is a hard knee compressor then the transition from the line with a slope of 1 to the line with a slope of 0.5 is abrupt and occurs at the threshold. Immediately below the threshold there is no compression, it's 1to1 - input to output. Immediately above the threshold it's 2to1 - input to output.
    If the compressor is a softknee comp then the transition from no compression to full compression is gradual. The line doesn't change slope instantly but is instead "rounded." The threshold, although, still dialed in as an exact value, becomes more of a range during which compression sets in.
    Many famous compressors (LA's included) don't offer control over this knee parameter. It's hardwired into the device as either soft or hard. Of course software compressors usually offer control over the knee.
    As for the LA-type clones - well I've never thought about selling one since doing so would, I'm sure, would cause Universal Audio to take legal action against me. Detailed parts lists and schematics are available free on the web for anyone who wants to try building one. Start here
    http://www.conditionedresponse.com/DIY/LA2/index.html
    The hardest thing is ordering all the parts - if you like soldering, that is.

  • How exactly does the memory in Labview Fpga work

    I am using a PXI 7853 and I for the past few days I have been playing around with using Memory blocks in the FPGA .
    Now I am relatively new to Labview FPGA programming and hence I would be grateful if someone could provide me with clarifications on teh following :
    a) Since I am working on the development host computer when I initialize the Memory with the option of using a Memory initialization VI then how does it exactly happen in the backend .What I mean to ask is , when i change values of memory in the development computer and then compile the FPGA VI into the board ,is it that the Memory information is ported into the FPGA .If this is the case then in what form are the details initially saved in the development computer .
    b) Is it possible for me to use the initialization VI method to change the valuesi n memory while the FPGA VI is running .If not ,then would it make a difference if I stop the VI and then change the values using initialization method .Would that actually reflect on the FPGA or should I have to re compile the FPGA VI every time I change the memory values in the development computer using the 'Initialization VI method ( that is available as an option when we right click on the memory block in the project explorer window )
    I tried testing with simulation for FPGA VI and found that when i try to change the memory values by running the initialization VI . a pop up comes that says that it is not possible as the FPGA VI is still in use .
    Any light on this or guidance with links would be highly appreciated 
    Cheers 
    sbkr
    Solved!
    Go to Solution.

    sbkr wrote:
    a) Since I am working on the development host computer when I initialize the Memory with the option of using a Memory initialization VI then how does it exactly happen in the backend .What I mean to ask is , when i change values of memory in the development computer and then compile the FPGA VI into the board ,is it that the Memory information is ported into the FPGA .If this is the case then in what form are the details initially saved in the development computer .
    When you compile the FPGA VI, it will include the values used to initialize the memory.
    Are you asking what happens if you run the FPGA VI on your development computer, and your FPGA VI writes to the memory block, will the new values be included when you compile the FPGA VI? No, those values will be lost. The values that are included in the bitfile are the values that you used to initialize the memory block, as defined in the memory properties dialog box. The initial values are saved in the LabVIEW project file along with the memory block definition.
    sbkr wrote:
    b) Is it possible for me to use the initialization VI method to change the valuesi n memory while the FPGA VI is running .If not ,then would it make a difference if I stop the VI and then change the values using initialization method .Would that actually reflect on the FPGA or should I have to re compile the FPGA VI every time I change the memory values in the development computer using the 'Initialization VI method ( that is available as an option when we right click on the memory block in the project explorer window )
    You need to recompile the FPGA in order to use new initialization values, because those values are part of the FPGA bitfile.

  • How exactly does the logical shift function work?

    I think I am missing something very basic here - I am trying to left shift an 8 bit unsigned integer by one place (x<<1)in each iteration of a while loop. So if I start with a number, say 18, the first iteration I get 36, then 72, 144 and after this 32, 64 and so on. I'm not able to do this apparently simple operation in LabVIEW. I tried the logical shift function and a formula node, but both dont give me what I need. The formula node appears to be close in that it gives me 18,36,72,144 but after that I get 255 rather than 32. I dont understand what the logical shift function is doing here. I have attached a vi here that shows what I am trying to do. Any help explaining the mistake I am making will be greatly apprec
    iated.
    Thanks.
    Attachments:
    Logical_Shift.vi ‏17 KB

    You have the inputs confused. If you want to left-shift by 1 at each iteration, the "1" goes on the upper "y" terminal and the number from the shift register (the "shiftee") goes at the bottom. (see attached modification).
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Logical_Shift_2.vi ‏27 KB

  • How exactly does the trade in for iPhone 6 work?

    Hi! I have had an iPhone 4 for quite some time and really need to upgrade. Would love for my upgrade to be with the latest model. The trade in sounded great since it would essentially be getting a new phone for free. I was just not completely sure how it works.
    First part of question: Do I have to pay out of pocket the cost for upgrading to a new iPhone 6 and then I will essentially be reimbursed for my trade in with the gift card?  Or do I trade in the phone, get the gift card and then use it to purchase the new phone?
    Second:
    I currently have a phone that has the screen incredibly cracked and damaged from a recent accident.  The phone works, but I did receive a new iPhone 4 to replace it since I had insurance on it.  I have yet to activate the new phone since I heard about this trade in and the new iPhone 6 coming out. Would I be able to trade in the completely new phone I have received to get the gift card even though I haven't used it? would I only be able to send in the damaged one only? Or could I send in both?
    Third:
    Is this something that could be done in store instead of online? If so what would the process be for that?
    Fourth:
    Would this change my current plan in terms of cost per month?
    Thank you! Hope to hear back soon.

        Hi Alohaei,
    Sure! We know that every penny counts. You can follow the trade-in promotion using the instructions below:
    Now that your iPhone 6 purchase has been completed, visit the online trade-in website to submit your trade request.
    You’ll receive shipping materials to return your old device to Verizon Wireless within 7 days after receiving the your iPhone 6 or iPhone 6 Plus, but no later than 12/01/2014.
    Note: Only 1 iPhone can be traded in at this promotional value for each new iPhone 6 or iPhone 6 Plus purchased with a new Verizon Edge agreement, 2-year contract, or when you pay full retail price. You'll receive shipping materials to return your old device to Verizon Wireless within 7 days after receiving your new iPhone 6 or iPhone 6 Plus, but no later than 12/01/14.
    Please allow up to 4-6 weeks from receipt of trade-in device for the Verizon Wireless Gift Card to arrive if trade-in was submitted online.
    Thanks,
    PamelaF_VZW
    Tweet us @vzwsupport

  • How exactly does flex decide if the dataprovider in a lineseries has missing data.

    How exactly does flex decide if the dataprovider in a
    lineseries has missing data? It seems like a fairly abitary
    concept.

    "nikos101" <[email protected]> wrote in
    message
    news:gidae1$k00$[email protected]..
    > How exactly does flex decide if the dataprovider in a
    lineseries has
    > missing data? It seems like a fairly abitary concept.
    If there's an object in the collection that doesn't have the
    associated
    data, I would think.

  • How to restrict the quantity & rate of MIRO with MIGO and PO

    Hi friends,
    Can any body tell me how to restrict the quantity & rate of MIRO with MIGO and PO.
    e.g. if we have done MIGO for quantity 10 and the rate maintained in the PO is Rs.100.Then at the time of MIRO system should not allow to change the quantity and rate.
    How we can do this?
    Regards  
    Purnesh Sharma

    Hi,
    You are misunderstanding the use of MIRO.
    If you change the details in MIRO you are NOT changing anything. You are just entering the price and quantity from the Invoice.
    If this price and or qty is different from the GR aqty and PO price then the system will block the invoice for payment (and it can issue messages toinform the buyer if configured correctly).
    The whole design of MIRO is based on the principle that you enter EXACTLY what the vendor has put on the invoice. By preventing the users from changing anything you will get NO mismatched invoices, but you will not be paying the vendor the amount specified on their invoice. This will surely cause problems.
    If you do want to ensure that ONLY the GR qty and the PO price are used and cannot be changed then why not consider using ERS (Eveluated Receipt Settlement. this is basically self billing.
    Effectively you will be paying the vendor based on what you have received in MIGO multiplied by the price from the PO. (which is what you would be doing if you stop any changes in MIRO)
    Steve B

  • What exactly does the global switch command line do ?

    Hello All
    Just foraging in the dark world of APP-V. I have a question which I cannot find answer for through google.
    There are powershell commands to publish an APP-V application globally. What exactly does the global switch do ?
    I understand it makes the application available to everyone on the machine for anyone who logs onto that machine.
    However in the absence of this global switch the application is still available to all users who logon to that particular machine. So what exactly is the reason for using the global switch ?
    Thanks

    Correct, the global switch makes the application accessable for all users logging on to that system.
    This feature is required for some packages, like Office. But it is ofter used for applications used by everyone, like Adobe Reader.
    However in the absence of this global switch the application is still available to all users who logon to that particular machine. So what exactly is the reason for using the global switch ?
    A package can be added to the system but until it is published a user cannot start it. They won't see any shortcuts in their startmenu/desktop/etc.
    So after you added the package to the system, it must be published to a user or globally (every user) to start it.

  • What "exactly" does the Brightness setting in Print do?

    What "exactly" does the Brightness setting in the Print module do?
    I know it's a controversial button, especially now that there are proofing options available. Also, since you're using it "blind" it's impossible to know how much or what it's really doing.
    Does anyone know if it's e.g.. the same as going to quick develop and going up on "exposure", or "brightness", or "shadows"... How exactly is it brightening the image, and is +100 a full stop or how is it calibrated?
    Thanks,
    Alan.

    Ooops,
    Obviously there is NO brightness control in LR...is the print adjustment similar to an exposure adjustment or more like moving the "shadows" and "whites" adjustments (which if I understand corrrectly, moves tones above or below mid tones, but not highlights or blacks)?

  • HT1600 How long does the update take to install?

    How long does the latest Apple TV software update take to install?

    I started the Apple TV software update at 8:00pm, hoping to watch a movie that night.  After two hours, the update was still not complete - the status bar was stuck in the middle - so I left the update running and went to bed.  The next morning, the update was finally complete, so it must have taken several hours.  I have since installed an AirPort Extreme router - perhaps the next Apple TV software update will go faster!  Updates on my iPhone, iPad, MacBook Pro are complete within minutes and I expected the same with Apple TV.  All in all, I really enjoy the Apple products and technology.

  • Change programmatically the baud rate in the COM port

    Hello everyone,
    here is my application: i have a PC application designed with labview which communicates with an embedded board through UART, the embedded board is configured to support automatically any baud rate (9600, 4800.....).
    My problem is how to make labview detect automatically the new baud rate when selecting in the panel (9600, 4800...) and send new COM configuration the embedded board?
    I need and urgent help.
    Best Regards.

    I'm not sure what you mean by disconnect and connect.  You don't need to close and reopen the port.  You can just change the baud rate with a VISA property node.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • InitialContext: How, exactly, does a server application create one

    I'd appreciate somebody clarifying as to how exactly does a server application (specifically,
    weblogic) get the default InitialContext(). One can write a new application and "drop"
    it into an already running instance of weblogic server. This application should be
    able to get the right InitialContext by using the IntialContext(). Is the PROVIDER_URL
    set in the JVM by whatever class starts the application going, or does it use "localhost"
    and default port - in which case what if there are more than one servers running
    on a machine?
    Thanks

    new InitialContext() gets initial context factory class name from the
    Context.INITIAL_CONTEXT_FACTORY System property (which is set by WebLogic to
    'weblogic.jndi.WLInitialContextFactory' when it starts) and PROVIDER_URL is null,
    which I guess for WebLogic implementation means local JVM.
    You can take a look at the javax.naming.InitialContext JavaDoc to see where it gets
    it's parameters from:
    http://java.sun.com/j2se/1.4/docs/api/javax/naming/InitialContext.html
    Satish Gupta <[email protected]> wrote:
    I'd appreciate somebody clarifying as to how exactly does a server application (specifically,
    weblogic) get the default InitialContext(). One can write a new application and "drop"
    it into an already running instance of weblogic server. This application should be
    able to get the right InitialContext by using the IntialContext(). Is the PROVIDER_URL
    set in the JVM by whatever class starts the application going, or does it use "localhost"
    and default port - in which case what if there are more than one servers running
    on a machine?
    Thanks--
    Dimitri

  • How long does the buttery normally lasts on Equium U400-145

    Hi guys,
    First of all I can't find the EQUIUM U400-145 in this website and secondly I would like to ask how long does the buttery normally lasts.
    Thanks

    Sorry but I can find it there. I am asking what you are doing wrong. It is so easy. There is just one Equium U400 available. It is PSU42E and it is exact your model.
    Please check it again.

Maybe you are looking for

  • ERP EIC IC Webclient Page Application Area Blank

    Hi All Can anyone guide me on this issue? When I execute HREIC transation code the IC Webclient Application area is blank, I can see only the top tool bar with only scratch pad, accept, reject, dialpad,transfer. Rest of the page is blank.. Tried by i

  • Move iphoto pics to photo when library on external drive

    Now that iphoto has changed to Photos, Im not sure how to import by library. First of all, I had my iphot library stored on a separate external drive due to size. Apparently leaving the Photos library on an external drive does not allow you to share

  • Blurry/Scanlines where ever there's motion when rendered as Windows Media

    Hi, I'm using PrE 9 and trying to save/share/render my clips as Windows Media -- as it seems to have the best compression without sacrificing video quality too much. However, no matter what I set the quality settings to, I get motion blur - more like

  • How can I clear the Safari cache without removing cookies?

    Safari preferences seem to only allow you to delete all website data. Is there a way of clearing the cache but leaving cookies and browsing history? I have Safari version 6.0.5 and OSX 10.8.4. Thanks.

  • Outbound delivery and pgi without sufficent stock

    Hi, I would like to know few things regarding. 1. Can we process outbound delivery and PGI without having sufficent stock. 2.if yes than what will be the status of document flow.(when i did it system showed  following message, sales order-being proce