Custom FPGA VI with CAN Interface

Hallo,

ICH habe ein Simulink Modell mit einer CAN Schnittstelle, habe dieses Modell in eine. OUT kompiliert Datei, and use SIT 2009 auf RT cRIO-9014 (mit dem NI CAN Modul 9853) reports vom host PC die das Modell einzuspeisen.

FPGA durch und ein entsprechendes VI FPGA mappings will be ich Daten vom/im Modell senden/restaurants.

Ein entsprechendes VI means in dem Fall ein VI das following as standards:

-hat die equivalent um die connection Timing-Architektur mit zu able SIT (wie das SIT IO cRIO VI LabVIEW Interface\_IOTypes\Plugins\NI - FPGA\FPGA IO Source to unter das XXXX\vi.lib\addons\Simulation mit www.crownaudio wird SIT).

-Proofing die Datenaufbereitung/Datenumwandlung von FIXpoint Werten die vom Modell kommen, einen gultigen CAN frame should machen.

Nun habe ich actually nicht viel zum Senden restaurants; Friday nur 1 Message (64-bit), deswegen offers the opportunity sich, ein relatively very Umwandlungscode zu schreiben und zwar direkt im VI FPGA (nicht auf RT da es in dem Fall ist ungunstig).

Bei der implementation habe ich dieses problem Codes.

Hat man das gehabt schonmal problem?

DAS ware echt sehr nett!

Viele Grüße,

Meddeb.

Sorry, I could not convert the FPGA VI to an earlier version, so here is the 2009 Version of LV.

Concerning

Tags: NI Hardware

Similar Questions

  • Calibration Toolkit with 3rd party ECU measurement and CAN interface

    I would use the NI ECU Measurement and Calibration Toolkit with an NI CAN interface.  The interface devices supporting J2534 are very common.  The NI ECU Meas and Cal Toolkit allow this? If so, how does one time on another interface CAN interface to the Toolbox?

    The NI ECU Measurement and Calibration Toolkit National Instruments Hardware only supports.

    If you want to discuss the possibility of using any 3rd party hardware, please contact your representative local.

  • For the complex data type, how to generate the Dll with compatible interface to C/C++

    Hello

    I used the Labview FPGA module to develop test equipment. Now, I need to write a driver that is to be a Dll with compatible interface to C/C++ for this equipment. So that my client who is familiar with C/C++ can call the driver without any study on labview. But I had a few problem on how to convert labview for C/C++ data complex data type. To clearly explain to my question, I have attached a simple example. (see attachment) I try to generate a Dll for the attached example VI and get the the function prototype at the head of the files as below:

    ' void OpenFpgaReference (LStrHandle * RIODevice, TD1 * errorIn, LVRefNum * FPGAVIReferenceOut, TD1 * errorOut).

    As you have known, the type of data "LStrHandle * RIODevice" and "LVRefNum * FPGAVIReferenceOut" Labview data format are. C/C++ do not have this kind of data type and can not reconige it. As a result, I can't call the Dll of C/C++ programming language. How to convert these two data type of labview for the C/C++ compatible data format, and then build the Dll? Anyone know about this?

    The answer is really apprecaited! Thank you in advanced.

    Ivan.Chen wrote:

    As I found in the following article:

    http://digital.NI.com/public.nsf/WebSearch/FB001AA027C8998386256AAD006C142D?OpenDocument

    LVRefNum is the name of resource of LabVIEW VISA or refnum, and "it is impossible to convert LabVIEW VISA name of resource or refnum VISession valid ID."
    This means that external code modules can not access & control the session VISA which is open by labview. But for my purposes, I will not attempt to access this VISA extenal code(C/C++) session. I just hope that save this session VISA in the external code once I opened it in Labview dll; and pass it to the labview dll when needed. While I have not need to login again when I need to control the device. Is it possible to do?

    A LVRefNum is really just a single int32 value. Its meaning is useless for other environments than those who created it so that you Michael not any what in C/C++ caller but pass it back to other functions in your DLL, but this often isn't a problem at all.

    You can take the following statement of the LabVIEW extcode.h headers and add them to your delabviewed header files to make it work in such a way.

    #define Private (T) typedef struct T # _t {void * p ;} * T}

    Private (LVRefNum);

    The LStrHandle you must set a standard C string instead in your export DLL and document what is the size of the string buffer should have if it is an output parameter.

    TD1 error clusters should also be divided into their parameters (C compatible) separate for all items or just to the left of suite entirely.

    Rolf Kalbermatter

  • A problem with importing Interface Open Payables

    Hello

    I am facing a problem with the import of accounts payable of the open Interface...

    My requirement is:
    1. need to download the PO, vendor, invoice #, Date of invoice in detail in table custom (via web ADi)
    2. in table storage custom in AP invoice tables interface.
    3. of the call (Payables open Interface Import) the table API Interface, which create the invoive (IN. matched)

    Now, if the user gave wrong data a few reasons... Payables open Interface Import rejected this entry... user has this checked and corrected later and trying to create the same correct invoice with the data... As there is a rejection there is a line on the header, line interface interface... Although if it passes the correct data in the second time it is cosidering that rejected row and does not concerned line...


    The one you suggest on this...

    Kind regards
    Bala

    When processing a file, you can check if another ap_invoice_interface record exists for the same invoice number and
    (1) delete the old record, then insert a new
    OR
    (2) update the old record rather than create a new

    Hope this helps,
    Sandeep Gandhi

  • my iphone was droppped and custom lights, but you can which is a light on it as if it is in standby mode. is there any fixes for this.

    my iphone was droppped and custom lights, but you can which is a light on it as if it is in standby mode. is there any fixes for this.

    Try to do a reset. Hold home and buttons power together for 30 seconds or until you see the Apple logo.

    If that does nothing, there's a chance that the LCD connector has partially disconnected. Although it is most likely your LCD is damaged.

    Apple may offer a replacement of the screen. You must check in your country, how much they charge.

    Alternatively, you can look for a reputable independent repairer who can replace the screen for you. This means waive all the Apple warranty services. But it's a bit less expensive for a C. 5 If you go this route, choose a repairer who offers a guarantee of 6 to 12 months. And don't go with the cheapest.

  • NOR-XNET - invalid CAN interface

    Hello

    Main problem:

    I have problem to get CAN interface in my PXI rack up to-and-operational. The interface name is not valid

    Material:

    SMU-1078, with SMU-8820 and CAN controller module NI PXI 8512

    Software:

    LabVIEW 2015

    Driver OR XNET 15.5 (both portable and PXI)

    Description of the problem:

    When we look in MAX, OR XNET interface says I have two interfaces CAN named 'CAN1' and 'CAN2.

    It is also possible to use the funtion "blink port" successfully, CAN1 and CAN2.

    BUT, when you use the bus monitor feature, I got error saying that "given the Interface name does not specify a valid interface and existign"

    See pictures attached below.

    Also, when you try to use the code example, CAN Test.vi of closure, the same error occurs.

    Someone knows how to fix this?

    Other ulfjon

    Hello
    Thanks for the support.
    I found the problem
    When you use MAX first, to set up a session n xnet, MAX does close properly the session.
    So, when using the BOX of the labviewcode channel, will result in this error code.
    No, an explanation of very good code, but I would say.
    It is perhaps difficult for labview to know if the channel is busy or does not exist.

  • FPGA issues with myRIO

    Try to compile some simple FPGA screws in my myRIO, but often get the error attached to the compiler. I got parts of vi works temporarily by manually of programming everything from scratch again (without copy - paste other vi), but now the simplest things (two while loops, one with e/s FPGA node with node of property of FPGA, stuff really really Basic) also give this error. This is getting frustrating. What I am doing wrong?

    Best regards

    Soeren

    Hi new ppl

    Now I came with a 'solution '. It turns out that if I create a new vi and manually (.. Yes manually) start placing blocks and make loops I can actually compile the FPGA vi. Sort of loops to copy - paste from one to the other vi makes a malfunction.

    If someone else have experienced this?

    .. .anyway to programming

    Soeren

  • Generation of PWM in FPGA pulses with nano seconds

    Hi guys,.

    I work with myRIO FPGA.

    I have seen a few examples to generate PWM pulses in the FPGA target with the help of timed structures. Timed structures can contain the frame in the sequence structure flat with time control less than 1 micro second (1 MHz).

    But I want to generate impulses PWM digital pins in hundreds of nano seconds.

    I saw datasheet of myRIO - 1900. It can generate a frequency up to 40 MHz.

    I need the pulses on the order of 10 MHz.

    Can someone help me how to generate pulses on the order of 10 MHz PWM?

    Hi fires,

    the FPGA can use "ticks" aka clock pulses for delays.

    As your impulses are of the order of 4 ticks, you could use simple statements waiting!

  • PIX 515 with several interfaces see each other

    Hello

    I realize that this question has been asked in different ways, but I have yet to see my way. My problem is we have a pix515e with 6 interfaces, all interfaces can go out to the outside world very well, but they can not cross to the other. We do not have any router behind them, we 10.0.0.1 and 10.0.1.1, etc. as interface id how to see the other side of the other I need 2 interface see interface servers and even inside. Also how can I get ip addresses translate. for example we have a mail server on the inside interface with 10.0.0.60 translated in X.X.X.60 on the external interface if the outside world can see. Computers of the interface 2 see this machine as X.X.X.X.60 not the fact that it is on the interface right next to her, and therefore can not find. Inside machines translated at 10.0.0.60 address please help. and I hope that this can be done without routers behind the pix.

    Sincerely

    Jim Kiddoo

    Hello

    is it possible to display your config? It would be much easier :-)

    Please replace the public ip and remove the passwords. Thank you!

    Kind regards.

  • Examples with user interfaces do not work

    I am able to compile and use the samples included in the SDK that have no user HTML, such as EmptyPanel and TwirlFilter interface.  Things with an interface user do not work for me.  I am able to compile the project, move the. Agreement in principle in the Pulgins folder, see the plugin in the menus, but then I click on the plugin and nothing happens.

    What should I do?

    My configuration:

    OS: Windows 7 SP1

    Product: A.I. CC 2014, 32-bit
    SDK: AI_CC_2014_SDK_Win_430_3

    IDE: Visula Studio 2013

    Sorry, I have an older version of the SDK CC.

    Looks that they converted all the flex UI stuff to html5 in the CC 2014 (20141) SDK and do not understand the built versions. Never, I built a plugin with a ui for html5. This can help you get started:

    Introducing HTML5 extensions | Adobe Developer Connection

  • When I send someone a document I changed if his crossing of the stuff or by adding arrows, when the customer print, it does not show my changes, I'm going through our prices so visitors cannot see and when the customer print them they can see prices?

    When I send someone a document I changed if his crossing of the stuff or by adding arrows, when the customer print, it does not show my changes, I'm going through our prices so visitors cannot see and when the customer print them they can see prices?

    You probably use drawing markup tools. There are options to print with or without annotations. You can not change this.

    If you don't want them to see the prices, either remove the original document and recreate the pdf without them there or you can use the redaction tools in the full paid for version of Adobe Acrobat Pro.

  • During upgrade Adobe Creative Suite CS4 ME in Adobe Creative Suite CS5.5 Design Premium, I get an error saying that the serial number is not an eligible product, please try another. I used to be able to get a code for the customer service, but I can't

    During upgrade Adobe Creative Suite CS4 ME in Adobe Creative Suite CS5.5 Design Premium, I get an error saying that the serial number is not an eligible product, please try another. I used to be able to get a code for the customer service, but I can't chat. Please advise!

    MoeGhazal I have reviewed your account and it seems that you have upgraded to a volume license CS4 Design Premium for an upgrade of retail Design Premium 5.5.

    I also shows that you have made two purchases of CS5.5 Design Premium, but the second purchase was cancelled.  Make sure that you use the serial number that ends in 7886.

    If you are using the correct serial number, then it is likely, that the installer won't recognize your serial number of volume license CS4 as being valid for upgrade.  If you can contact our support team you can be traversed through an unlocking procedure to allow you to proceed with the installation.  You can contact our team of support directly in Contact with the customer.  You can try to install a web browser, you have not previously used.  It of probably a toolbar or other software applications affect your ability to access the media cat successfully.

    If you are unable to reach our support team, then please check your account information is accurate.  If you can please then update this discussion after the confirmation of this so I can ask a member of our support team contact you directly.

    I would recommend again reaching out directly if possible it will be the most effective method to resolve your current error.

  • I created a custom and registered with a specific name date format. However, when I open a new worksheet, my saved format does not display in the menu drop-down? Am hoping that I don't need to create the same format for each new sheet?

    I created a custom and registered with a specific name date format. However, when I open a new worksheet, my saved format does not appear in the menu drop-down? Am hoping that I don't need to create the same format for each new sheet?

    You must save the spreadsheet containing the new date as a model format and use this custom template for each new spreadsheet where you want that this date format personalized at your disposal.

  • How to use NI CAN behave DBC without a CAN Interface information retrieval?

    Hello

    I'm looking for some tips in order to extract information from DBC using the NI CAN without a CAN interface...

    Basically, I have a few DBC files and I would like to analyze in order to get the hierarchy of channels and Messages (and their related information, offset, scale, etc.).

    http://www.NI.com/white-paper/4294/en/

    The function CAN get names is useful and it is me according to the mode for the list of the channels and the Messages described in the DBC file. However, I have a major problem, and nothing less, I can't use the CAN Get property function... Because it featured a connector based on the task that I can't provide because I have no real and physical CAN interface, for now. This is why I can't have information on the channels either on messages...

    Is someone can give me a hand to solve this issue?

    Hello

    Thanks, looks like it works now.

    Thank you for your support.

    Yet, I think it's the XNET and CAN libraries are a bit difficult to handle, a bit powerful but difficult to treat first.

  • Adobe InDesign CC 2014 Custom Panel Built With Extension Builder - problem: cannot tab field one entry to another; Hit the tab hides instead all pallets; Is there a solution? It didn't happen in Adobe Indesign CC

    Adobe InDesign CC 2014 Custom Panel Built With Extension Builder - problem: cannot tab field one entry to another; Hit the tab hides instead all pallets; Is there a solution? It didn't happen in Adobe Indesign CC

    This should be corrected in the next version.

Maybe you are looking for