How can I connect a Simulink-M​DL to NI-CAN

Hi all… I’m a new LabView user
I have a Simulink model that should run on a RT-PXI system, the models Input is an 8 Byte 1-D array and the output also, these are representing the 8 bytes Data from CAN. So the Model receives a CAN – Messages, process those and send CAN message(s) as result.
I’m using SIT to generate a NI-DLL from the Model, from LabView I want to “connect” the model to the CAN Hardware (PXI-8461) using NI-CAN.
Can anyone tell me how I could do this easily? Which one of the VIs generate by SIT should I use?
Answers in French and German are also welcome
Thanks

Hi Tobel..
Thy for the interest...
I understand what u mean, but that was not really my problem, just imagine my simulink model like a blackbox with one input(1x8bytes) array and one output array (1x8bytes,these 8 bytes are just data from or for a CAN Frame (ID and so on not include. so i was trying, after creating the dll, to connect it with a CAN interface throught Labview's NI CAN .
In the meantime,I have realized that the dll created has 8 inputs and 8 outputs. i understand quite what it means...
i finally modify the model_driver_base.vi to solve the problem, it works but i don't know if this is the best solution. Maybe someone knows more....

Similar Messages

  • My macbook pro no longer connects to my TV with the mini dvi to hdmi adapter. A while ago the computer fell down and hit the cable. How can I tell if the computer is working ok. Doesn't show mirroring any more.

    My macbook pro no longer connects to my TV with the mini dvi to hdmi adapter. A while ago the computer fell down and hit the cable. How can I tell if the computer is working ok. Doesn't show mirroring any more. Was working while watching a movie but when I pulled it out from the computer and put it back in the system would no longer mirrorr the screen on the TV.

    The best option is an appointment at an Apple store genius bar.  The evaluation will be for FREE!
    Ciao.

  • How can I connect my 3gen apple tv with HDMI to my bush LCD32TV022HD which does not have an HDMI port but does have 1)S-Video I/P, 2)Video I/P, 3) L

    How can I connect my 3gen apple tv with HDMI to my BUSH LCD32TV022HD
    This does not have an HDMI port but does have:-
    1) S-Video I/P,
    2) Video I/P,
    3) Audio Input (Left & Right)
    4) Audio In jack (for VGA and DVI source)
    5) DVI input
    6) VGA input

    Welcome to the Apple community.
    The Apple TV doesn't officially support a DVI connection, however you may be able to get it to work. You will first need to check that your TV supports either 720p or 1080p as well as HDCP. If you are able to get the video working over the DVI connection, you may also require a DAC in order to connect with Apple TV's optical audio output to the TVs audio imput.
    You may well wish to make sure that the DVI connection works before spending any money on a DAC..

  • How can I connect my email on mulitple devices

    I have my email (and my kids' email) on my mini mac, my ipad and my iphone.  But they aren't connected.  If I go thru my mail on one device, it's still unread on the others. It accumulates and I have to delete what I don't want three times.  My work email is also on my phone, but when I delete an email from my phone it also deletes it from my laptop.  So I only have to deal with each email one time.  How can I set up my personal email on the multiple devices so I only have to do things once?

    With multiple devices, one thing you can do is to set each to delete mail on the server after retrieving it. So if you download mail on your iPhone, it deletes what it downloaded so the iPad and mini won't see that mail.

  • How can I have multiple users on iTunes (in order to connect to a shared office iPad)?

    How can I have multiple users on iTunes (in order to connect to a shared office iPad)? Currently each of us has our own iTunes account, so I've made an "all office" Apple ID. However, I can't seem to get two different accounts (my personal and the office) to work on my machine. Even when I login as "the office", my personal library is still showing. Additionally, when I try to setup with a first-time use in iTunes, I get an error that I don't meet the minimum age requirement - no matter what birthdate I enter!

    The library exists regardless of which user is logged in.
    The only way around that is to create different user accounts on the computer.
    There is no way to have 20 unique iTunes users access a shared iTunes under a single login on the computer.

  • We have 10 ipads connected to 1 computer and 1 account. How can I change/erase an account so that the seperate offices can use itunes and synchonise itselve?

    Hi there!
    Our department (marketing) wanted to control the input of the iPads. We found out it was useless because our salesteam wanted to personalize the ipad (think about projectspecific items etc.) It is impossible for 1 person to control 10 iPads and deliver input for each different iPad. So we decided that each office can have its own account. But these ipads are already connected to 1 computer (i know you can connect them to a max. of 5 computers, but that is not enough in this case..) They can make there own account with their personal creditcard or that of the office. How can i disconnect the iPads en still remain the files on the iPads?
    With kind regards,
    Willeke

    Whatt ype of "files" are you concerned about?  Are they purchases from the AppStore or music, video etc, or something else? If you are concerned about Apps, one method of centrally distributing apps is to purchase apps with a corporate credit card, and then "gift" them to the various employees.  The "gifted" app is sent to the email address you specify and can actually be forwarded, prior to install to another user for their use...

  • How can I disable iPhoto from automatically starting when I connect my iPhone?

    Whenever I connect my iPhone to my Mac it automatically starts iPhoto?  How can I make this not happen?

    Go into iPhoto's General preference pane and set the Connecting camera opens to No Application:
    OT

  • TS2756 How can i create a new usb connection (service)  on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )

    How can i create a new usb connection (service)  on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )
    i know its not a problem whit my carrier o data plan or sharing preferences on the ipone because when i use it un my laptop it works perfectly through
    the usb and even works on the Imac through wifi and bluethood tethering but NOT through usb!!.
    the problem is that trying to make it work i deleted the "profile" usb iphone on the network prefereces panel. Now i only have 3 options: ethernet / wifi / bluetooth
    but not the usb iPhone i used to have.
    And when i try to add a new one i dont get a USB option.
    can some one help me please??
    this is how it looks (after the bluetooth PAN i used to have USB iPhone option)

    The question would be more appropriate in the Mac forums as it is not really related to the iPhone.

  • How can i restore my iphone which was erased by iCloud?? I got my phone back but it wont work when i connect to iTunes.

    How can i restore my iphone which was erased by iCloud?? I got my phone back but it wont work when i connect to iTunes.

    The following assumes you've been backing up to icloud all along.
    http://support.apple.com/kb/HT1766?viewlocale=en_US&locale=en_US
    Go to Settings>General>Reset and tap Erase All Content and Settings.  This will erase your device.  Then you will go through the setup screens again as you did when your device was new, and when given the option, select Restore from iCloud Backup.
    Let us know if this method does not work.

  • My battery died and then when i charged the phone it is asking me to connect to itunes and restore. if i restore how can i get my data back

    My iphone battery died and on charging the phone it asked me to connect to itunes and restore the phone.
    If i restore the phone how can i get my data back and how can i check when i last backed up my phone

    If you have been syncing regularly as the iphone is designed, then you can sync the data back.
    Regardless you will have to restore the iphone.

  • ITunes musical library located on a WD 2TB, ext. drv. Computer destroyed by virus; ED survived. Bought new laptop, connected ED. Not able to see library. ED shows as 'G:' 95% full. How can I reconnect my old library to new laptop?

    I had my iTunes musical library on an ext. drv. WD 2TB, ‘MY BOOK ESSENTIAL'. Three weeks ago, my computer was infected by a virus that fried it. It did not affect the external drive. I bought a new computer: a laptop, Dell XPS, Intel Core i7-2630QM CPU, Windows 7 Home Premium. I have been able to connect the WD external drive; however, I am not able to see the musical library in my iTunes or Explorer. ‘My Computer’ shows the external drive as ‘G:’ 95% full. It reads, 32.1 GB free of 1.36 TB. When I click on the drive to see its contents, it shows nothing. The library in iTunes also shows nothing. Can anyone help, please? How can I reconnect my old musical library to my new laptop and iTunes? Many thanks.

    Hmm, viruses don't generally "fry" drives. They can make bootable operating systems not bootable, hide data, and corrupt executable files. Software can potentially wipe all the data from the drive but it shouldn't be able to physically damage the drive. Bah! What's done is done.
    As to unhiding your files assuming they are just hidden....
    Hit Start > Run, type in CMD and press enter. Type the following at the prompt and then press enter:
    attrib -h -s -r g:\*.* /d /s
    This tells windows to clear the hidden, read-only, and system flags from all files on the drive, assuming of course your profile has the power to "see" the files and change them.
    If that doesn't work then you may need to take ownership of the drive first. The drive may have security settings that make it "belong" to an account on your old system. Right-click on the drive in Windows Explorer and click Properties. Click the Security tab, the Advanced button, the Owner tab, then the Edit tab. Make yourself the owner, then you can make any other changes to the security settings you want to back on the Permissions tab. (If you can't change the owner log out and log back in as Administrator). For iTunes your account (or everyone) and SYSTEM need full access to all files. Any changes you make should be applied to "This folder, subfolders and files", should be inheritable and you should also replace the permissions on all child objects.
    tt2

  • How can I connect my MacBook Air 11" to my old TV?

    I have these things at home. Are these  cabels and connectors enoght for the connection, how can I "DIYs" method connect my Mac and my TV?
    I have...
    ... a mini display port to VGA connector...
    ... a VGA to RCA cable like this on this picture:  http://webshop.garmix.hu/images/vga_3rca_cable.jpg
    ... a SCART connector, with IN/OUT possibility. With two (L/R) sound RCA pin, and a Video RCA pin, and plus an S-Video port too, a picture about this thing:
    http://shop.mikes-cs.co.uk/images/Scart_RCA.jpg
    ... an S-video to RCA cable, the S-Video and of the cable has 4 pins+ the border/cape ir what...., oicture here:
    http://i00.i.aliimg.com/photo/v0/355585976/6ft_S_Video_to_RC..
    On my TV I have a 3 RCA input like on the SCART,  a video RCA input and two, RCA sound input.
    On the back of the TV I have two SCART I/O port.
    Can I make a connection from these tools or maybe I need more stuff or another tool to do that connection?
    Thanks for your help!

    None of those options are ideal.
    What model MacBook Air do you have? If it has a Thunderbolt output you can use this:
    Mini DisplayPort | Thunderbolt® to HDMI® Adapter w/ Audio Support
    Then you will need to convert the HDMI video and audio signals to composite video and stereo audio with something like this:
    HDMI® to Composite Video Converter
    If your MacBook is an earlier model with only a Mini DisplayPort (no audio) then you need to connect its audio output directly to your TV.

  • I updated my software in my iPad, can't connect to App Store or iTunes, It says that I have to change to US account, right now I'm in Mexico, how can I change it to mu US account.

    I updated my software in my iPad, can't connect to App Store or iTunes, It says that I have to change to US account, right now I'm in Mexico, how can I change it to my US account

    Back up all data.
    Unlock the Network preference pane, if necessary, by clicking the lock icon in the lower left corner and entering your password. Cllck Advanced, open the DNS tab, and change the server addresses to the following:
              8.8.8.8
              8.8.4.4
    That's Google DNS. Click OK, then Apply.
    In Safari, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. If you’re using another browser, empty the cache. Test. Any difference?
    Notes:
    1. If you lose Internet access after making the above change to your network settings, delete the Google servers in the  Network preference pane, then select the TCP/IP tab and click Renew DHCP Lease. That should restore the original DNS settings; otherwise restore them yourself. Remember that you must click Apply in order for any changes to take effect.
    2. I don't use Google DNS myself, though I have tested it, and I'm not recommending it or any other DNS provider; the server addresses are offered merely for testing purposes. There may be privacy and technical issues involved in using that service, which you should investigate personally before you decide whether to keep the settings. Other public DNS services exist.

  • How can I  connect to SQL server database thru local network by using JSP?

    I'm currently doing a project by using JSP..And I need to display record from the SQL Server database in our school's local network. May I know how can I do that? How can I write the code so that I can able to access the SQL Server databsase Throught school's network by using JSP? Please tell me step by step how can I do that. I'm using Tomcat 4.1 as Web Server. And I had J2SE and J2EE installed in my computer.

    first you have to establish a ODBC DSN on your computer,
    that connects to the database...you can do that from your control pannel.
    i assume that the TOMCAT server is residing on your computer....(if the webserver is in other computer then you would have to create a System DSN on the data sources ODBC option in the settings>control pannel of that machine)
    then you can use that DSN name to connect to the data base from the class file....for further assistance on how to create the class that access the tutorials in sun site.
    regards
    G

  • How can i connect to SQL Server 7.0 on Windons Using JDBC

    How can i connect to Microsoft SQL Server 7.0 on a windows enviroment ?
    in sql server 2000 some jar files are required that is
    What you need to do is actually add all three jar files to your class path individually. There are three jar files that come with this driver the msbase.jar, msutil.jar, and mssqlserver.jar. for sqlQ server 2000.
    now the problem is that i cant find these files on my system. firstly where these files will be located. secondly are they will be used to connect to SQL Server 7.0. thirdly if not what is the procedure.
    My next Problem is that I have Websphere Studio Application Developer. in which their is this facility of Database Webpages its like a wizard which makes automatically beans servlets and JSP but before that you need a Driver Name and and Class Name for to Connect to the Database.
    Can you tell what is the specific Driver Path for the Microsoft SQL Server 7.0 . secondly is this the class which is used to connect to SQL server 7.0 "com.microsoft.jdbc.sqlserver.SQLServerDriver" where can i find this one. for SQL server 7.0.
    please provide some guidance in this regard.

    You can search for the JDBC drivers at, http://industry.java.sun.com/products/jdbc/drivers
    All the three jars that you specified are part of MsSQL Server jdbc driver. You need them (in the classpath) to get connected to the database.
    "com.microsoft.jdbc.sqlserver.SQLServerDriver" is the class in mssqlserver.jar. This is the driver class which will be used to get connected to the database.
    You can search in this forum for writting jdbc code (for Sql Server). If you don't find these jars, give me your e-mail id.
    Sudha

  • How can I connect to SQL Server CE?

    Hi!
    How can I connect to SQL Server CE ?
    Any idea?
    I found jdbc driver for SQL Server 6.5,7.0,2000.
    But no driver for SQL CE.
    Thanks for any suggestion....

    I am also searching for same answer.
    I wanna choose Access as a db. but I can't find that so I have a no choice to select SQL2000CE though.
    I am stuck in driver problem. I can't find that.
    Should I use Oracle Lite or PointBase?
    I am under a lot of stress... like you've been...
    I wish you find and post that....

Maybe you are looking for

  • Assigning a null value

    Hi , I have a consuming web service. Initially while sending a request I have to pass null value to certain parameters. But the parameters are of type string and Im unable to do this. I tried the syntax clear var with null, but this supports only cha

  • Problem with iBook powering on... Need help diagnosing please

    Hello, So for awhile my iBook G3 (dual USB, 700 mhz, 12" display) when the power is pressed the computer chimes and the hard drive will start spinning and then nothing happens. After a few seconds I can hear the drive stop spinning and the only sign

  • Specify different location of SQL*PLUS EDIT/SPOOL directory

    Where can I specify the location of the SQL*PLUS edit/spool directory such that I can change it from the default? I'm running on Linux (Ubuntu 6.10) if that helps...

  • Good receipt for indirect material using MIGO

    Hi all, our company has a trouble in receiving PO for indirect material. We would use the MIGO transaction for these order but withouth having an inventory movements (since they are indirect material) I don't know how normally these PO are managed, i

  • Indesign plugin for folio

    Hello, I have one tricky question on you. Iam developing plugin for InDesign, this plugin adds some functionality to indd file, this file is uploaded into cloud and folio is created. Folio is loaded to device (eg iPad, which is connected thru wifi to