The cRIO serial port can be used for the CAN bus communication?

I would like to order a CVC with a CAN of network device and would like to know if this can be accomplished by using a serial port integrates the cRIO (OR cRIO-9024 in my case). Is it possible, or would need a C Series module CAN?

You need a C Series module. Series and CAN use a DB9, but they do not have the same physical layer.

Tags: NI Products

Similar Questions

  • Need 16 to 115 200 serial ports, can not get more 8 then

    I try to get 16 to 115 200 serial ports send/receive data. I have a NI PCIe-8431/16 (RS-485/422).

    I managed to get 8 ports will at the same time but not anymore. I tried 9 ports at a time and I get timeouts on port 9.

    PC: Dual core 2.4 GHz, 4 GB of Ram. I'm not more taxing on the CPU, I mean its 115 200 what treatment he would need.

    I'm already talking with OR to the care, but so far they don't have a definitive answer of fix. I thought that maybe windows XP can handle 8 ports?

    I also tried to use 8 of 16 channels and 1 another card 4 ports, I've had. Always the same results. I can do 8 simultaneous connections, sending data. and it seems that I can get the 9th to send to 2400 baud, but when I switch to port to 115 200 speed it fails / timesout?

    More information about my project: I am trying to update firmware on 16 devices at once. To 115 200, it takes 6 minutes to push all the code of the device.

    Process is: 2400 baud get version and check if a new version is necessary. 2400 baud say im switching machine for 115 200 2400 baud response. 115 200 baud send start download receive response to 115 200 baud rate. Send the bytes start and spell then line of the file at a time. Send end. done bytes.

    Anyone know of possible limitations under XP or with the device OR? Any help or idea would be apreciated.

    worst case I limit to 8 at a time. which is useless then. Might as well buy a controller at 8 ports and make a smaller device...

    Well, I fixed my problem with the help of using NI SPY on serial ports. Thanks for this idea of troubleshooting, first time I had to use or spy.

    First problem was my 100msec device timeout of 2400 baud to 115200 baud of switching. I added a loop for, 5 time, delays from 20msec (total 100msec) to send 'start download' and also to receive a response, after the transmission change. This allowed the unit to wait for firmware.

    Then I noticed that I had a ton of failure during the download. Process is send receive some line of code 0 x 01 that the code was excluded, then send the following line of code. If she gets 0 x 01 has not received or 0x02, and then send it again (forever if you want, well I think that several seconds until the device stops data receiver)

    My problem here is that I sent the data line, then read 1 byte. Timeout is set to 500msec. My code would get a timeout, so I'll send the data once again, since I have not received of 0x01. For some reason, it does not. After that I get the timeout I can't send/recieve on this port. I have then close and restart.

    Fix was a loop (20 times?) for 500 msec and check the receive buffer. If the receive buffer is empty after 500msec I try again. If the receive buffer has data then I read and check to 0x01. If I don't get 0x01 I try again. Otherwise, send the following line of code. It works very well.

    Finally, I can picture 16 devices in less than 7 minutes. This should normally be one at a time for 7 minutes each using a matrix of series 48.

    Next challenge 48 serial ports!

    Thanks for the help.

  • series PCI and ocy port driver easy serial port can not get driver Windows 7 Professional

    series PCI and ocy port driver easy serial port can not get driver Windows 7 Professional

    Hi Louis,.

    What is the brand and model of your computer?

    You can visit the computer manufacturer and try to install the latest version of the Chipset drivers.

    Also try to use Windows Update to update the drivers and check if it helps.

    Automatically get recommended drivers and updates for your hardware

    You can also get in contact with the support of computer manufacturer for assistance.

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

  • reading photoplethysmograph waveform with serial port on PC using Labview

    Hello world

    I'm gaining time real Photoplethysmography waveform of serial port using Labview.I have managed to acquire data from serial port by using the following features:

    -Baud rate: 38400

    -data bits: 8

    -stopbit: 1

     

    -No parity bit

    -Time delay before reading the serial port: 10 ms (according to what was written in the manual that every 10 ms there is a frame in serial port)

    After the reading string will be converted to byte array to be able to extract the bytes associated with waveform (1 & 2 bytes in a frame) even for SOP2 (6 & 7)

    (what is read in serial port is in decimal and must be converted to hexadecimal based on what made the software of prodeuct for some result.that in the waveform properties, I chose the hexadecimal representation)

    Then, as mentioned in the manual, I associate these two values to draw the waveform.

    Although I used the filter band digital waveform of pulse but not significant pass that was seen (cutofffrequeny:10 high low cut-off frequency: 0.5).

    I have attached my program and result in front of Panel and manual for the sensor. The result is still far from what is supposed to be. I was wondering if you could help me and let me know your opinion on the program and the protocol used. I have to get the result as soon as possible. Please let me know if you need more information.

    Kind regards


  • Receive error message of this serial key cannot be used for Windows 7

    So bought windows 7 and is going to use it on my new computer but I just continue to get a message that my serial key cannot be used. I know that my brothers computer is running the same key, but I remember hearing somewhere that you can do both computers on the standard windows 7 licenses. How can I fix it?

    Skip entering your product key Windows 7 and complete the installation.

    When you reach the desktop, click Start, right-click on computer

    Click on properties

    Scroll down to the Windows Activation

    Click the link x days before activation.

    Click on the link that says: "show me other ways to activate.

    Enter the product key

    Click next

    Select the Activation of the phone

    Click Next when you enter your key page

    Select your country

    Click Next, call the number listed

    Be sure to explain your situation to the Appeals Officer.

    Provide the installation generated when ID requested by the call agent

    They give a confirmation ID in return, enter it

    Click next to complete the activation.

    However, the requirements for the media upgrade is that you have an operating system already eligible such as Windows XP or Vista installed to use it. Since the Windows 7 end user license agreement.

    15 UPDATES. To use upgrade software, you must first be licensed for the software that is eligible for the upgrade. After the upgrade, this agreement takes the place of the agreement for the software that you upgraded. After upgrade, you can no longer use the software that you upgraded.

    So, if you are always denied, you will just have to reinstall Windows XP or Vista and let it do the verification of eligibility.

    or

    How to activate Windows 7 manually (activate by phone)
     
    1) click Start and in the search for box type: slui.exe 4
     
    (2) press the ENTER"" key.
     
    (3) select your "country" in the list.
     
    (4) choose the option "activate phone".
     
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
     
    (6) explain your problem clearly to the support person.
     
    http://support.Microsoft.com/kb/950929/en-us

  • Using the Serial Port for data acquisition Non-Serial

    I searched the forums and can't find anything on this topic.

    I saw that it was possible to use the parallel port for e/s digital single and I was hoping that the serial port can be configured the same. It seems all VI VISA only to use the serial port to receive ASCII characters at a given flow rate, but is it possible to simply query the status of the line series at my own speed to see if it is high or low, kind of like a single pin DAQ?

    It seems that it would be possible until the serial data are read and controlled by labview, not Windows. Let me know if you have ideas of how to approach this problem, or any comment as to why it is not possible.

    Thank you all!

    Select the property > settings series > Modem of the line parameters. For example, the State of the CTS is an entry to the pc.

    With the help of these lines is a very poor substitute for a scope or map DAQ. The only things you can return is Asserted, Unknown or Unasserted. The range of acceptable signals is important enough. Anything between + 3 and -3 is an unknown state. Your other signals is + / 3 to 15 volts. What type of signals do you really want to capture?

    Edit: there is no such thing as a visa so I have no idea of what you actually use.

  • HDMI ports can be used outside of the stacking

    I guess it's not, but good to ask... maybe he can do in a future firmware...

    On the 5548 is it possible to treat the hdmi ports in standard rather than use their stacking. For various disaster scenarios (including the paranoia of the experiment with a different providers handling of a switch down causing the battery to fail rather than just unit), better staging rolling updates, etc., we want that the switches to be separated (each with its own IP, etc...).  It would be nice to always use hdmi ports high speed like a SHIFT to switch interconnect rather than treat the two switches as one.

    The HDMI ports are strictly used for stacking.  I'm not aware of any risk that this will change in future updates.

  • serial port cRIO

    Hello

    Can someone tell me how to access the serial port of the crio 9024. I pass the data to the serial port of the controller. This transmission must be by crio serial port and not by module CSeries.

    Thank you

    Hello mimran,.

    cRIO controllers run LabVIEW Real-time.  Therefore, you perform series read/write through the range of NI-VISA in LabVIEW.  All data collected from the port, or sent to the port will have to be given "String".

    There are examples for reading installed with LabVIEW series.  These are only a few small changes to work as in real time.

    Follow these steps for an example:

    1. Launch LabVIEW.
    2. In the main menu, go to the 'Help'-> 'find examples '.
    3. In the upper left corner, click on the tab "search".
    4. Search for the term "series".
    5. Open the example called "basic series write and Read.vi.

    Kind regards

  • How to periodically send various types of data via the Serial Port?

    Hello! Everyone

    I have to send data to LabVIEW to my device on the Serial Port.

    I know how to send data on serial port in LABVIEW, I already have this part.

    Now the problem is that I have several types of data I need to question my embedded device, if I want to send the query periodically command.

    So lets say that my four Op Codes are the following, which will send four different types of query command to my device on the serial port.

    (To be honest only OP_LED and OP_SENSOR is used now)

    0, OP_SYNC

    1, OP_LED

    2, OP_SENSOR

    3, OP_FUTURE

    Structure of basic package is as follows:

    Header (0x2C), Checksum, length of the data (n bytes), Op_Code (1 byte), length (length of Code + data Op)

    For OP_LED, I need to send the package as follows:

    0x2c 0x02 0x01 0 x 00 0x2F (0x2F being the XOR checksum) (calculation of Checksum part is done and SUB Vi form)

    Length of the package this is 0x02

    0x01 is Op Code for OP_LED

    In the same way

    For OP_SENSORi need to send the package as follows:

    0x2c 0x03 0x02 0x00 0 x 00 0x2D (0x2D being the XOR checksum) (calculation of Checksum part is done and SUB Vi form)

    0x03 is length of packet here

    0x02 is Op Code for OP_SENSOR

    So, how can I do this periodically in labview, in such sort that period can be adjusted whenever necessary.

    Is there something in LabVIEW to do.

    I had done the reception and decoding part and working properly.

    http://forums.NI.com/T5/LabVIEW/store-data-coming-from-serial-port-in-buffer-and-then-take/m-p/32722...

    So I must implement read and write the part of same while loop?

    Do not insert in the table if you put data in an array at index 0.  Just use array to build.

    No need to have Visa to write don't be a part of wire to the wire of reference and error VISA go in the upper part.  These wires should go THROUGH the entry VISA.

    Don't your checksum requires all the bytes up through data?  Righ now, you only put the checksum on data bytes and forget the opcode and length bytes.

    Your sending is not the opcode for Opsync or Opfuture.  You just send the empty tables.  At the same time for the other two, you put the opcode in the data table.  All your original opcode in the table build thread.  Get the data out of these structures in case item which is supposed to represent the opcode.

    xpress_embedo wrote:

    Now it works but I have now two problems.

    (1) OP_SYNC and OP_FUTURE do not data, but still receive its data on serial port, can I do something here as I have nothing when the table is empty in the structure of the case.

    I do not understand this statement.  Perhaps my answer above will fix any issue you have here.

    (2) how can selection operation Code to be send is done using control façade but real application, this task should be automated to a certain frequency, like OP_LED package must go out to the serial port to 100msec and packet OP_SENSOR must go out to 1000msec, I do this.

    Now you agree a little more architecture.  I would encapsulate the code that is in the while loop as a Subvi.  Then with the hand of your program while loop, use two time Express VI, a game for 100 msec, the other for 1000 msec.  When an express VI is true, run the Subvi with a command set waiting for the answer.  When the other VI Express is true, have it run the Subvi with the other set of commands.

    The device responds with anything when you send these commands?  You only send data.  I see no VISA Read to be able to recover all the data.

  • Wire bachground for Bluetooth Serial Port Communication

    Hello

    I want to make a request which should be as a background thread to run after that BB has been activated.

    I tried something:

    1. I used BluetoothSerialPortListener and as a normal application. After I chose the menuitem, it begins to listen to the bluetooth serial port. When the data are arrived through the port, it extracts the data and write a response to the sender. Then he out the value and display it on the screen, where I used an object of class screen. But, after posting a value, it cannot display the value came second. I tried, what the old screen pop fist, then puschup the new screen. But it does not work. How can do it, when the new value, they can be diaplayed on the screen?

    2. then I did the BluetoothSerialPortListener in thread and used the autostart flag such as:

    Public Shared Sub main (String [] args)
    {
    If (args! = null & args.length > 0)
    {
    if(args[0].) Equals ("autostartup"))
    {
    Starting the device we want to start the thread SycareBluetoothPortListener
                 
    sycare_synergy ss = new sycare_synergy();
    }
    }

    This time around the Listner should take only data is arrived and then sends a response to the sender. But after downloading, BB has always shown that he was unable to generate a new object of the thread class and the thread could not be started.

    Someone tell me, how can I fix it and make it possible, that after each new start of the BB, the bluetooth serial port can always in the background arrivals data receive and display automated according the data arrived?

    Thank you in advanced and Merry chiristmas!

    Monternet

    1. update the user interface.

    It is possible that you are trying to do.  In fact, you don't need to replace the screen, you should be able to simply update a field on the current display of data.  As an example of a background thread to update the user interface, please see the code of httpdemo.

    2. Thread context

    When you say things like:

    "that he could not generate a new object of the thread class.

    It would be much better if you can cite exactly what makes the Blackberry.  In this case, I assume that it has generated an Exception, so the Exception and the associated detailed message that Exception must be included when you report a problem like this.

    In any case, it is possible to implement a background task in the way you need.  Search the Knowlegebase for articles that talk about background Applications and display updates to the user interface of the task in the background and auto-start applications.  There are a few pieces of confusion to this process, so there are a few to get your head around, but I think that everything is in the articles.

  • using serial port square wave generation

    is it possible to generate continuous pulse uses the serial port in Labview?

    Dear Ramesh,

    Yes it is possible to generate continuous pulses using the serial port in LabVIEW.

    The following examples may be useful for you.

    Communication series - Advanced Read and Write Serial

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/2669

    Repeated entry periodic and exit with 653 X

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/1840

    Kind regards

  • How to convert string data from the serial port to double?

    Hello!

    I am very new in LabView and attempt to read data from an OHAUS pioneer pa-313 electronic scale via RS232 serial port. I use the VISA. I can read the data and see it as a string to the screen, but when I try to convert it to a double, it is just the integer and decimal numbers have disappeared. Here's the question: what can be the problem? How can I get the decimals as well?

    What is your normal decimal point?. or?

  • virtual serial port (offered by a USB device) may not be reopened once the device has been lost and reconnected

    To connect to a virtual serial port offered by a USB device.
    -Physically disconnect the device (disappears from the entry in Device Manager)
    -Reconnect the device. (It reappears in the Manager of input devices)
    -Close the file handle
    -Reopen the virtual serial port. --> the CreateFile() call always fails with "ERROR_FILE_NOT_FOUND".
    -After dis - / reconnect the USB device once, the serial port can be reopened

    Even the true return of GetDefaultCommConfig there yet in CreateFile().

    It is clearly bad habits, because in our case the disconnection/reconnection occurs due to a restart of the device; and it's quite embarrassing to explain buyer for the disconnect/reconnect the device.

    Is there another workaround solution to clean the window's internal data structures or show me how to open the port?

    Hello

    The question you posted would be better suited in the MSDN Forums. I would recommend posting your query in the MSDN Forums.

    http://social.msdn.Microsoft.com/forums/en/categories/

  • Communication Serial Port without a VISA

    Is it possible to connect to the serial port without a VISA?

    The thing is that the VISA is required to be installed on the deployed machine. It is not for my client.

    Thanks for any help.

    You can find driver series placed in Non-VISA:

    http://www.MHST.de/downloads.htm

    Benefits:

    • you need not install DURATION VISA on a deployed machine. Place a dll (dll is included) in the system folder - that's enough.
    • There are several additional features that has no VISA
    • works reliably

    Disadvantages:

    • Works for serial port only
    • uses the WinAPI functions
  • Serial ports

    Hello friends

    Hi all. I have a doubt in the serial ports. How to see what are all communications ports are active in the computer so LabView will be Running.And then in which the serial communication has been inserted will be see in LabView all be running

    Thank you & best regards

    Re-read my post. «VISA find Resource.vi»

Maybe you are looking for