Serial ports crash on cFP-2010 using LVRT 6.1.1 and 6.1.3

I have LabVIEW RT 6.1 and cFP-2010. I am trying to write an embedded VI that will communicate with some external hardware through the serial ports, but I am not able to get the serial ports to work. Because I do not have LV7 I cannot use the VISA VIs for serial communication. I am using the old serial compatibility VIs. When it tries to configure a port (port 0 or 1) it sometimes says Error 37 but usually it just reboots the cFP module. I've tried writing new VIs from scratch and I've tried running old VIs that I had written for FP-2000 that uses the serial port, neither works. Can anybody help?

I have used the serial ports in LV 6.1 without trouble.
I would suggest you contact NI for a possible replacement of your cFP-2010. It sounds like it has a bad serial port.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • What port number for Desktop Sharing using in Lync Server 2013 and Lync Online

    Dear All,
          My environment using Lync Server 2013 and Lync online on Office 365. I don't want my user using Desktop Sharing feature. then I need to know what port number for Desktop Sharing using in Lync Server 2013 and Lync Online.
    I will deny this port on personal firewall each client.
          Thank you for your advise.

    Hi,
    I'm not sure you'd be able to do this with ports without impacting other application sharing features such as Q&A, Whiteboard, Poll etc - I'm pretty sure they all come under the same umbrella of ClientAppSharing.
    Ordinarily you would create or modify your conferencing policy to restrict sharing to single programs only using a cmdlet similar to below;
    Set-CsConferencingPolicy -Identity "Global" -EnableAppDesktopSharing SingleApplication
    This would disable desktop sharing but enable users to continue sharing other single programs. If you want to remove that functionality too, then replace the 'SingleApplication' parameter with 'None'. Then users won't be able to share any programs either.
    This is the correct way to do it as the icons will be greyed out for the users. Doing it your way, they would still be able to click them, and it would throw an error - this will lead to a lot more support calls and people assuming a service is broken.
    I hope that helps some.
    Kind regards
    Ben

  • My Mac (10.5.8) has been crashing this week while using Firefox. The Firefox and Thunderbird updates are the only updates I can think of that are recent. Any ideas?

    My whole Mac has crashed a number of times both yesterday and today. This is very unusual. I'm not positive it's because of Firefox's new update, but it seemed like a good guess, and it was usually when I was on various websites (I was going through a lot of emails from news lists and clicking on links). I use Thunderbird for email, and Firefox is my browser of preference. It crashed three times so far today, over several hours, and yesterday I guess it probably crashed about 6 times -- not sure.

    Update Soundflower to the most recent version. You have an unsupported edition. http://code.google.com/p/soundflower/downloads/detail?name=Soundflower-1.6.6b.dm g&can=2&q=

  • HT4259 We decided to set the Air Port Express in a room using only the power outlet and relying on the existing wifi signal...we have a verizon modem and didn't want to mess with connecting the Air port express directly to the verizon device.  It didn't w

    I bought a Air Port Express device from Apple yesterday.  We decided to set the Air port device in a room near the router to use as a wifi extender to areas of the house where the signal is weak.  In our discussion with Josh, the Apple Rep.  he explained how it can either be connector to the router or use in another room relying on the existing wifi signal to extend it further into the house.  We have verizon DSL.  Our town is very small...no cable provided so we are lucky to have what we have...some areas of our town can't even get what we have.  We, didn't want to connect it directly to the Verizon device (router)....we followed the directions from Josh as well as the explicit directions provided by Apple support...it didn't work. We keep getting an error message.  Does anyone have any advice ?  Any help would be greatly appreciated.  Please speak in "Laymen's terms"  I am not technically savy....but..am determined to get this set up.  Thanks to anyone, in advance!
    Signed,
    MEAbeep

    In our discussion with Josh, the Apple Rep.  he explained how it can either be connector to the router or use in another room relying on the existing wifi signal to extend it further into the house.
    Unfortunately, it appears that Josh was not aware that the AirPort Express can only "extend" a wireless signal from another Apple router.
    From Apple's literature:
    Extend an existing Wi-Fi network’s range.
    If you already have a wireless network in your home and want to extend its range, AirPort Express can help. Just place it in range of your primary base station — an AirPort Extreme, Time Capsule, or another AirPort Express — and near the area where you want your wireless connection. Launch the easy-to-use AirPort Utility app on your iOS device or Mac, and you’re mere minutes away from long-range Wi-Fi enjoyment.
    The AirPort Express is not compatible with a Verizon product for this purpose.
    Your might want to have another conversation with Josh to ask his advice on how best to proceed at this point.
    If you do decide to keep the AirPort Express, it will be necessary to connect it to your Verizon router using a wired Ethernet cable connection if you want the Express to provide more wireless signal coverage.

  • Add serial ports on cFP

    I have a cFP-2110 already installed. If i need an additional serial port on it, what could i do (other than buying a whole new cFP)? For example for cRIO there's the NI 9870 module, but for cFP...

    Hi,
    you could use a NI ENET-232 or ENET-485 serial device in order to add serial ports to your cFP, as explained in the following tutorials:
    Adding Networked Serial Ports to Your (Compact) FieldPoint or PXI System
    Can I Use the ENET-232 or ENET-485 in LabVIEW Real-Time?
    Best regards,
    Serena

  • How to transfer file from PC to PC via serial port using labview

    I need to transfer files(.txt, .doc, .xls) from PC to PC via serial port using LabVIEW. Is it possible to transfer files, if so how to transfer?
    Solved!
    Go to Solution.

    Yes, it is possible to transfer files with the serial port using LabVIEW.  Files are just collections of bytes and the serial port is pretty good at shipping bytes from one PC to another.  You need to connect the serial ports together with a null modem cable.
    First, take a look at the example for serial communication.   In LabVIEW, go to the Help menu and select "Find Examples...".  From there you can search for "serial" or navigate to Hardware Input and Output >> Serial.  Select the "Basic Serial Write and Read.vi".  Experiment with that example to gain confidence on the serial communication methods.
    Next, it's time to learn about how to read and write files.  For that, the examples could be somewhat confusing since they all deal with files that are presumed to have data of a specific type in them.  I would recommend just getting familiar with the functions on the File I/O palette.  Specifically, get to know the following functions.
    Open/Create/Replace File - On your destination side, you'll need to create the copy of the file that you are trying to transfer
    Close File - When you are finished reading from or writing to a file, you should close it.  It cleans up the memory being used and finalizes any write operations that are still floating in the write buffer.
    Read From Binary File - The best way to read from a file when you do not really care what type of file it is.  In your case, you just want to get those bytes read and sent out so they can be written down at the destination.
    Write to Binary File - At the destination side, this is what will store those bytes to the file you created with number 1.
    Get File Size (under the Advanced File Functions sub-palette) - You need to know how big the file is so you know when you are finished.
    OK, so once you are able to create files, write bytes to them, and read bytes from existing files you can move on to transferring.
    The basic method I would suggest is to have the user specify a source file on the source PC and a destination folder on the destination PC.  Then, find out the size of the source file using number 5.  Divide that size number by the number of bytes you feel like transferring at once.  The serial buffers are usually around 32k (if I remember correctly) so do not exceed that.  Now begin sending data by reading some number of bytes and wiring that string output to the VISA Write function.  On the destination side, you'll want to be monitoring the serial port for bytes and reading them when they arrive.  Wire that string to the Write to Binary File function to add them to your destination file.
    That is the basic outline of how to do it.  You have to be careful not to overload the write and read buffers on the serial ports.  Initially you can use delays on the sending side to make sure the reading side has enough time to digest.  To get things moving faster, you can bring in some flow control.
    If all that sounds a bit intimidating, there are Alliance Member companies out there (such as PrimeTest Automation) who can write such code for you and even provide a turnkey solution for you.
    Happy wiring,
    Dan Press
    Certified LabVIEW Architect
    PrimeTest Automation

  • How can i browse FP 2000 via serial port same use Ethernet port(RJ 45)?

    I am a new user for  labview.I develope my program with FP 2000 but I have some problem
      1 How can i browse FP 2000 via serial port same use Ethernet port(RJ 45)? if it can Tell me please.
      2 If  I use GSM/GPRS modem via FP 2000 rs 232 port (I under stand how to send AT command) and leave it stand alone
         Can I dial modem and browse file in FP 2000 same as use Ethernetport?
    Someone please help me.Thank you very much.

    Hi!
        First, I can say that your project involves many things, I cannot describe all features in the forum, and I'm not used with GPRS modems (my modems are base band serial modems...).
        Anyway, I would say that in your project you should proceed like this:
          1) Configure your FP 2000 module via MAX and ethernet connection;
          2) Download an embedded application to your module (build in LabView Real-Time)
          3) In your application, you should build a kind of serial port manager, and by the means of serial port you send/receive commands from PC.
        The commands from PC can include "Tell me the about the FP 2000 file system ", or "switch on line X", or anything you need.
       I think it would be difficult to use Internet exp, because you use IE with TCP/IP, and TCP/IP is over ethernet.
       I know that for Windows you can find some wrappers that make you "see" the serial port as an ethernet, but these wrapper do not exist under filed Point, and you shoul build one yourself!!!(and that's not easy).
        For example, to browse your files, you should build a VI that searches through your file system, and reports, via serial, the files present in a directory (it's an example....).
        About communication between GPRS modems and FP2000, I know nothing.  I suppose that these modems accept serial inputs, so you'll have to configure your serial port on FP 2000 with the correct baud rate, parity, and so on..... and you send your data to the modem.  The modem will transfer data in its way, no matter on how it does.
        To send data to your modem you shoud take a look to some Serial communication examples.  What I suggest you, first, is to connect the serial port of FP2000 to a PC, and test communication between PC and FP2000, without modems. Just direct cable connection!  If you're able to do this, insertion of modems is the next step, and should be quite easy.  If you're not able to make the PC receive strings of data from FP2000, over  RS232, adding modems is a further complication, and you won't come out of this mess!
       So, what I say, is just build, for now, a simple embedded application for FP2000, that, using RS232, sends data to a PC (you should see data sent with use of Hyper terminal).
        To build this application, use Instrument I/O --> VISA commands (VISA open, VISA write, and Property node should be enough, for now).
       Please, let me know if this helps......
        Have a nice (programming) day!
    graziano

  • Control Camera Attibutes through serial port using VISA commands

    Hi there,
    I'm using a Basler acA2000-340kc camera through an PCIe-1473R FPGA as frame grabber.
    I would like to be able to configure the camera through the serial port just in LabView, not using a third-party as Pylon (which I can do now).
    According to this forum post 
    http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/My-Basler-acA2040-180km-NIR-is-not-visible-in...
    this is possible just taking the VI posted here
    https://decibel.ni.com/content/docs/DOC-5049
    and converting from IMAQ to VISA, as RIO frame grabbers cannot use IMAQ. I have been trying to do this by changing the IMAQ vi to their VISA equivalents, but I have no good results.
    Does anyone know which are the steps to go from that piece of code to one that can be used to control the camera in my case?
    Thanks a lot,

    Hi i.popa,
    Basler makes the Basler Binary Protocol Library for serial communication with their cameras. If you make sure you're running the serial server section of your FPGA code to keep the serial port open, you should be able to use calls from this library to communicate with your camera. We have a community example with more information on using the Call Library Function Node to call a DLL. This DLL will take care of all the processes needed to write from and read to the registry, so this implementation will probably be similar to the example program you listed above, using calls to this library instead of the IMAQ Serial functions.
    Good luck with your application!
    Emily C
    Applications Engineer
    National Instruments

  • How do I create Labview VISA ports for *individual* GPIB instruments using Prologix USB GPIB controller?

    Hello,
    I'm trying to use a Prologix USB GPIB controller to control GPIB
    instruments, and I would like to have a virtual serial (VISA) port for
    *each instrument*, as is the case with a normal GPIB controller with a
    standard NI driver. However this is not what the Prologix driver
    provides -- it provides a single VISA virtual serial port for the
    entire controller. To address the instrument with GPIB address 11,
    you first send "++addr 11" to the serial port, and then you're talking
    to instrument 11. However, this means I have to change all old
    Labview programs.
    Is it possible to create a "wrapper" function of some kind that will
    define a virtual serial (VISA) port for each *instrument* on the
    controller? For example, to talk to GPIB instrument 11, call it
    ASRL3::11::INSTR, each time it is written to it would have to write to
    the virtual serial port of the controller, say ASRL3::INSTR, first "+
    +addr 11" and then the command that is sent to it.
    A clearer explanation of the difference (i.e. incompatibility), and of
    my objective:
    1) A normal GPIB controller with NI driver: I go to the NI
    Measurement & Instrumentation Panel, under GPIB, and Scan for
    Instruments; all the live instruments show up; subsequently when I
    want to use Labview programs that use VISA ports, the VISA drop boxes
    allow me to choose a different port for each instrument, e.g.
    "GPIB0::11::INSTR", "GPIB0::12::INSTR" would be instruments at
    addresses GPIB 11 and GPIB 12.
    2) The Prologix GPIB controller that plugs into a USB port: In
    Labview you get a *single* VISA virtual serial port, ASRL3::INSTR, for
    the entire GPIB0 controller. Therefore to address GPIB instrument 11,
    you write "++addr 11" to the virtual serial port ASRL3::INSTR, and
    then you are communicating with device 11, so you can write and read
    ASRL3::INSTR to talk to that device. Then to talk to device GPIB 12,
    you write "++addr 12" to the same VISA port, and then you are talking
    to that device. The problem is that this requires recoding all
    Labview code, whereas I would like to be able to use the same program
    either with a normal or with a Prologix GPIB controller. Therefore, I
    would like to create code that scans the controller for all GPIB
    attached devices and creates VISA ports for all. Such ports, when
    written to, would have to first write "++addr DEVICENUM" to
    ASRL3::INSTR (i.e. the port of the GPIB-USB controller) where
    DEVICENUM is the GPIB address of the instrument corresponding to that
    port, and then would have to do a write or read or whatever function
    is being done on that instrument VISA port.
    I haven't figured out if it is possible to do this easily. Help and
    pointers on where to look for hints would be much appreciated. Many
    thanks!
    Milos

    My first impression is that if you don't want to make any changes at all to existing programs is that the wrapper you need is one around VISA. You would need to intercept all of the calls into the NI VISA driver. If you create your own visa32.dll and in there, change the addressing and then call the real VISA driver, you might (repeat, might) get something to work. If this would even work, you still might find that you have to make significant changes anyway. The serial connection is going to be considerably slower, and interface specific functions such as service request handling, bus triggering of multiple instruments, etc., would be difficult to impossible. This would be a lot of work, imho, to just save a couple of hundred dollars over a real GPIB controller. I've seen this Prologix device before and have even used NI's RS-232->GPIB controller. The Prologix intended use to me seems to me more for a hobbyist or very casual user. Of course, I'm used to having multiple GPIB instruments worth 10s/100s of thousands of dollars and the cost of an fully compliant GPIB controller is just lost in the noise.

  • Writing bytes to serial port in each iteration of loop

    Hello everyone,
                      Well I am new to labview, my question might of beginner's level but i have searched the forums and didnt find content regarding it. Kindly help me through it as i am really stuck in it for last three days. 
                      I have to make a packet of bytes in each iteration depending upon the bytes i get from array which is input to for loop. Taking five bytes and then making packet according to protocol. Once packet is made i have to send it to serial port in the same iteration. So for each iteration i have to send packet to serial port. I have tried the shift registers, local variables, and also the autoindexing which returns the array at the end of loop. But these things dont solve my problem. Kindly help me solvng this issue.
    Many many thanks in advance
    Engr. Yasir Amin 

    First of all thanks alot for your reply.
                             The problem is that i have made separate subVI for this protocol stuffing and the output of that subVI is attatched to the serial visa write in another main  VI in which i am using this VI. I have sent parameters to subVI which makes the packet and then send the output, the output is then sent to visa serial write. Actually that visa serial write is common to many subVIs, On the interface its user's choice to select the request he wants to send. The based on the request the particular subVI is chosen and then that subVI generates the string which is in main VI. which is written to serial port. All other subVis are working fine becoz they dont have loop they simply make the string and send it to port. But this subVi with the loop has the problem as it sends only the last iteration string to port.
    I cant post the code as i am using my laptop in my room and the code is in office laptop But tomorrow i can share it from office
    Thanks
    Yasir

  • Send signal to serial port

    Hi, I have a trouble.
    I need to send a signal to serial port to pilot a relè.
    I can't find how to send a Vcc signal for some second on a pin in java.
    Someone have an idea?
    Thanks a lot!
    Edited by: Alberto.Marcigaglia on Aug 29, 2008 2:27 AM

    There are many results from the search below:
    http://www.google.com/search?q=java+serial+port
    I suggest that you use the 3-rd party RXTX package rather than the obsolete javax.comm package. There are a number of very detailled posts in these Sun forums regarding the installation and use of RXTX - search for them.

  • I need to install LabView RT on a cFP-2010, but I only have LabView RT 2012 (need 8.5.1???)

    Hello,
    I have a cFP-2010 module that I got ahold of which has a software problem.  When I got into the module through MAX, I got a message that said there was no software loaded and that the module was operating in safe-mode.  I rebooted the cFP-2010 in user directed safe-mode and reformatted the disk.  According to online documentation, the latest version of LabView RT that will work on a cFP-2010 is LabView RT 8.5.1.  The only version of LabView RT that I have to work with is 2012.  How do I load 8.5.1 on this module to get it working again?  Is there a download available somehwere?  When I go to load software on the module in MAX, there is no option for installing LabView RT... which appears to be what is required.  Thanks!

    Hello mdlund0,
    If you do not have LabVIEW 8.5.1 and LabVIEW Real-Time 8.5.1 installed on your computer, then you will not see the option in MAX to push that software to your device.  In order to optain that software, you will most likely need to contact your account representative.  You can reach the NI customer service line at (800) 531-5066.
    In terms of version compatibility, newer versions of LabVIEW are not supported on the cFP-2010 because of the limited memory available; the older software does not take as much space.  This does not mean that you will be unable to use newer versions, just that the behavior is unsupported and the configuration not recommended.  I would also like to inform you that you can interface with a FieldPoint device without having Real-Time installed on that device.  You can both install software and pull data programmatically without having Real-Time.  Please see these references for more information:
    Install Software Without Having Real-Time: http://digital.ni.com/public.nsf/allkb/CE57D76B598AEA878625740C00671AF8?OpenDocument
    Use FieldPoint Without Having Real-Time: http://digital.ni.com/public.nsf/allkb/0EFE203B68668366862577CE005654F1?OpenDocument
    Hopefully these resources will be useful for you.  Good luck working with your device!
    Regards
    Patrick
    CLA

  • How to retrieve data from the serial port and decode it each 2 bytes is a long variable and 1 frame is about 6 bytes

    I send the frame by a microcontroller ( 8bits) the fram contains 6 bytes, 2bytes conform a long variable, I want to decode the frame and make operations with these long variables and then plot them

    Hey jpvans,
    I would first suggest using NI-VISA to talk to the serial port. Then, you can use the LabVIEW Type Cast or the Flatten to String and UnFlatten From String VIs to convert the data.
    You can setup the read so that it reads just two characters at a time to form an individual long or you can set the read up to read it all and then use the string functions like String Subset to cut the information into chunks.
    I hope this helps out.
    JoshuaP

  • Serial Port Overrun

    Hello All,
    I am developing Teststand sequences which run Labview code. I use 1 labview vi to configure and drive the serial port, the first call configures the serial port. The second call writes a message and reads the response, the last call releases the resource. When running the call write&read I intermittently receive the error shown in the attached jpg, this causes my whole sequence to lockup till I return to restart the test. I need to run this repeatedly overnight so its a problem. I have a feeling this isnt so much a serial port overrun problem as a hardware clash ( i also configure and run a camera ).
    I have spotted a number of posts a on this same topic but I havent yet found a soultion only advice, which I have already tried.
    Help greatly appreciated
    Regards Chris
    Attachments:
    Serial Port Error.jpg ‏63 KB

    Are you familiar with handshaking?  There were several posts on this subject recently.  The end device is sending data faster than your computer and Labview program can handle.  You need to implement handshaking.  There are two types of handshaking, software and hardware:
    Software, also called XON/XOFF.  With this setup, when the computer serial port incoming buffer gets nearly full, it automatically sends an XOFF command (don't worry about what it is since it is automatic).  The XOFF command tells the endpoint device to stop sending data.  When the buffer gets near empty, the computer sends an XON command.  The endpoint device then starts sending data again.  For this protocol, the endpoint device must be able to support this, and must be configured to use this type of handshaking.  You would have to read the manual to find out how to set it up.  For the computer end, you can set it up with an option for the configure serial port function on the input labeled "Flow Control".  Right click on this terminal and select Create - Constant.  A text ring will be created.  Select XON/XOFF in the text ring.
    Hardware, also called RTS/CTS.  Same principle in that the computer signals the endpoint when to stop sending data and when to start again.  However, instead of sending a command, the computer drops the CTS line (Clear To Send).  Actually, the endpoint device raises the RTS (Request To Send) when it wants to send data, and the computer responds with raising CTS if it is ready to receive data.  When the buffers get full, the computer drops CTS which tells the endpoint to stop sending data.  When the computer is ready to start receiving again, it raises CTS.  Again, both sides must be configured for this.  The text ring has an RTS/CTS selection.
    You will have to read the manual on your endpoint device to see what it supports and how to configure it.  Warning:  If sending binary data, DO NOT use XON/XOFF.  The binary data may just happen to form a pattern that looks like XOFF, and everything will lock up because XON will never be sent.  So if binary data is being transferred, use RTS/CTS.  If normal ASCII characters are being sent, you can use either protocol.
    - tbob
    Inventor of the WORM Global

  • Reading CTS or DSR lines of Serial port

    Is there a way to read the status of CTS or DSR lines of a serial port?
    Also in what pins are these lines on standard PC?
    Ori Idan
    Helicon technologies LTD. National Instruments Alliance member in ISRAEL
    Email: [email protected]
    Home page: http://www.helicontech.co.il
    Tel: +972-6-6262353 Fax: +972-6-6262405
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Things should be made as simple as possible but not simpler
    Albert Einstein
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    On Thu, 04 May 2000 16:47:40 +0300, Ori Idan wrote:
    >Is there a way to read the status of CTS or DSR lines of a serial port?
    >Also in what pins are these lines on standard PC?
    While looking for info on printing I found the following:
    How can I control the DTR and RTS serial lines?
    Serial Port Init.vi can be used to configure the serial port for
    hardware handshaking; however, some applications may require manual
    toggling of the DTR and RTS lines. Because the interface to the
    serial ports is platform-dependent, each platform has a separate
    mechanism to control the lines.
    (Windows) The LavVIEW for Windows distribution contains a VI which you
    can use to drive the DTR and RTS serial lines. The VI serial line
    ctrl.vi, located in vi.lib\Instr\_sers
    up.llb, can be used to control
    these lines. The VI will toggle these lines according to the function
    input. Valid codes for the input are:
    0 noop
    1 clear DTR
    2 set DTR
    3 clear RTS
    4 set RTS
    5 set DTR protocol
    6 clr DTR protocol
    7 noop2
    (Macintosh) ..................
    (Sun).............................
    From LabVIEW User Manual page B-13
    Hope this helps.
    Regards,
    Steve Drake

Maybe you are looking for