serial interface port with xilinx Board with LabVIEW

Helllo everyone,

I'm working on a project where I need to send and receive data to labview for FPGAS (office digilent virtex-2 pro).

When I run the example of basic series write and read I get an error that error-1073807246 occurred at the property node (arg 1) visa set up a Serial Port (Instr) .vi-> basic series writing and Read.vi
Possible reasons:

VISA: (Hex 0xBFFF0072) the resource is valid, but the VISA cannot currently access.

Anyone has an idea as how I should fix this error.

Thanks in advance.

REDA

Close any other program using the COM port.

Tags: NI Software

Similar Questions

  • Serial port with LabView

    Hi all

    I have some kind of project as a proximity matrix. Pretty much looks like 16 LED panels in the config of 4 by 4.

    I need to create a GUI that can show what I physically see. IE: I have a block of LED that shows me the intensity or brightness of the LED is full or half of the intensity and I want that same value or data appear on the screen with a delay of almost nothing.

    I use a PIC16f73 with IrDA sensors. The sensor sends the value of the ADC to the PIC and then send this value to the PWM port that controls the LED then this same numerical value, it will go to the PC via master/slave SPI communication.

    Let's say, I have the entry value of the slave 11001100 and past by the master and then go to the computer via a SERIAL port, I want the lu GUI only and interprets this as a specific value and modify the intensity of this block on the GUI.

    How can I do? I already attracts 16 Blocks (LEDs) using the LabView, but I don't know what to do to perform playback of the Serial Port and then interpret that and make a table of the eye and the screen will change the color from black to white depending on the intensity.

    Can someone help me with this problem please.


  • Can query serial port with NI MAX, but does not work in Labview

    I'm controlling a 488 Sapphire consistent with labview. It is connected by a series of converter USB in the computer. I can communicate with a device using NI MAX, but when I try to run the vi (attached), he works for multiple queries, but evetually returns a null character, after which I can no longer communicate with the port. If I then go into the NI MAX interface, whenever I try to read it give "VISA: (Hex 0xBFFF0015) timeout expired before the operation ended" error message. There are also several queriess of the manual of the instrument which do not seem to work at all (with or without MAX) and always returns a null character. Any help is appreciated. I'm definitely a novice with the communication of the device. Thank you.

    Usually a problem with the stop character.

    And you send-r and no CarriageReturn.

  • Satellite L870: Problem with USB to serial interface with FTDI chipset

    Hi all

    bought a L870 year last to run software amateur radio via USB to the serial interface.
    Interface uses the FTDI chipset.

    The problem I have is that the switch on the led on the interface flashes green to red several times to indicate that it works, but then must remain on green but task on every minute she goes through the same process again.

    All the controls on the drivers and the Manager of devices indicates that everything is ok. No problem with interface on computers laptops happens or advent.

    Is there anything on the Toshiba laurys usb ports every minute.

    Thanking you in advance for any ideas

    First of all, I must say that there are different models of L870 Satellite on the market supporting different hardware and software. Some are preinstalled with 8 and some Win with Win 7.

    In addition the L870 supports USB 2.0 and USB 3.0 standard.
    If you recommend to check the different USB ports and check if your software works correctly with the USB 3.0 standard.

  • Communication with the niVisa (GPIB) do not work next to a serial interface

    Hello

    I programmed an application in C++ (Visual C++ with MFC, running on XP). On the one hand, I control devices of different measure (also from different suppliers). All communication is done with niVisa (Version 4.6). On the other side, I send remote commands to a generator via the serial interface. To do this, I use CSerialPort, it's a Wrapper MFC of the Windows API. Thus, niVisa is not used for the serial connection.

    It works without any problem until I connect the measurement equipment (any type of) via Ethernet.

    When I now connect the scope via GPIB (I use a NI PCI-GPIB), communication works without any problem as long as I wouldn't send anything on RS232. After I send something to my generator (and close the com-port), the next Commander of VISA will give me an error (VI_ERROR_ABORT). Now, I can log in again and everything works normally again (until I have again send something on the com-port).

    For me, it's a really strange question. Any ideas? Any help?

    Best regards

    Michael

    OK, I finally found the problem.

    When you use the serial port, you can write data with normal writing (WriteFile()) function or with the tip (WriteFileEx()). Do not now ask me for more details on the difference, it's something with the mode "" overlap...

    After I send all the data with WriteFileEx, VISA-connection via GPIB produces an error. So I went to the basis of WriteFile() and everything works. Don't ask my consistency betwenn VISA (with GPIB and just GBIB) and the connection series. I'm just happy right now...

    Michael

  • Change the path open the initial sequence of the operator Simple of TestStand with LabVIEW Interface

    Hello

    I use an Interface with LabVIEW TestStand operator similar to the TS IO Simple example.

    But I want to change the path when you click the button open the sequence file, I want a specific path.

    Any help is apreciated.

    Kind regards

    Daniel Coelho

    Daniel, you might be interested by this Knowledge Base:

    How can I change the default directory for the open file dialog box in TestStand?

    I searched ni.com for teststand of dialog box open the file and it was the fifth or so link.

  • NEITHER 9512 with Labview FPGA Interface

    Is it possible to use the NI 9512 stepper with Labview FPGA interface drive unit or is it only possible to use it with the interface of scanning? When I try to add the module to a FPGA target, I get an error telling me that Labview FPGA does not support this module with the latest version of NOR-RIO, but I have the latest version of OR-installed RIO.

    Hi Checkit,

    You're right - the 9512 cannot currently be used in FPGA. There is an error in the documentation. The 9514 and 9516 can, however.

  • RS-232 via TCP/IP with LabView

    Hello

    I have currently a standard equipment is read through a RS232 converter TCP/IP hardware.

    On the computer with labview, I use a third-party serial port virtual that data reads the TCP/IP and converts this COM port data pack

    I then read the port COM normally with VISA.

    I would like to remove the third-party TCP/IP software RS232 and LabView read the TCP/IP port and convert to series.

    How could do?

    More details about the hardware and the 3rd party software;

    thydzik.com/Monitor-cms2000-Inverter-via-tcpip-usr-tcp232-E4-rs232ip-Convertor/

    More information on labview here code;

    thydzik.com/log-Solar-generated-to-pvoutput-with-LabVIEW/

    I don't think it's as complicated as you seem to expect. Try the VISA TCP approach. Create a resource of VISA TCP, in raw mode, as explained in the white paper. Take your existing code, replace the COM resource with the new TCP one, remove the configuration of the port series, and it might work. Make sure to close the resource when you stop the program.

    If you want to go with the TCP functions, look at the examples. You open a connection, read and write strings in it, exactly as you would with a serial port and close it when you are finished.

  • Can what cards I use to develop communication SPI with Labview?

    First of all, I'm an intern is currently working on a project that involves communication with an SPI interface. I have absolutely no experience with SPI, but I finally decided to try. I work for about 6 months with labview and understand the function of basis of a large number of its resources.

    The problem:

    We want to connect Labview to an evaluation Committee that is connected to the PC via USB (but it can also be adapted to connect through SPI). The evaluation board mainly reads and writes if sign up for issuers that are connected to it by a Module assessment. The program which is already which is the Studio of SmartRF (that works via USB), but as we want to link all the functions in Labview we redevelop a platform to do so. If shortly, we want to make a Studio of SmartRF version in Labview. We want to be able to get all the information that makes the program and others... and all this is possible through SPI.

    Here is a link in case you are interested what is SmartRF Studio: SmartRF Studio link

    My question is which card do you recommend for what we are trying to accomplish? We are looking for something not very expensive but who fail to meet our requirements.

    I think of the NI USB 8451, but please make suggestions.

    Thanks a lot in advance and please stay tuned to my many questions coming about how to accomplish this enormous task with no knowledge whatsoever of SPI or how to mix with Labview only one student. I am reading as much as I can find, so all the links will also be very much appreciated. If anyone has any experience with NI USB 8451 with Labview be kind enough to guide me

    Sincerely,

    Gisela

    If you have very little experience with LabVIEW and SPI, the 8451 is a good choice. It's expensive, but it's really easy to use and configure.

    The Aardvark is also a good choice. There pilots LabVIEW is also easy to use in LabVIEW. The disadvantages is that it doesn't have a lot outside of simply making SPI or I2C - in other words, it doesn't have a lot of GPIO. This can be important when control of multiple SPI devices, because it requires to select them lines individual slave.

    Dinah is really more than a product of laboratory, or something that is meant to be placed inside a camera. It is expensive, compared to the other two, but it doesn't have native drivers in LabVIEW. On the contrary, it comes with a DLL you can call from LabVIEW. I wrote a set of LabVIEW drivers for it, but I can't distribute.

    There are other products on the market, which some will resemble a device series to your computer. For example, you would use VISA to communicate with the SPI controller, and it would appropriate communication of SPI.

    Among the three mentioned here, I would suggest that you go with the neither of the Aardvark, one.

  • Raspberry PI connected with usb for laptop with Labview

    Hello

    Please allow me to introduce myself: my name is Bob and I just graduated from the Bachelor of applied science (Physics), in the Netherlands. In education, I followed a course of programming in Labview. However, the course was not very well if I want to start from scratch. (my programming skills are very poor).

    My goal is to learn the basics of programming in Labview. I want to measure the temperature with a probe for example and read this in Labview. I need a data acquisition for this system. I have a raspberry PI in my possession and I was wondering if I could use it to read the temperature from the USB port of my laptop using the PI raspberry. Is this possible? And I have to run some sort of program on the raspberry PI? Or I could better use another device (Arduino maybe?).

    I hope someone could help me to help me get started with Labview. I'm looking forward to learn how to work with Labview and launch a few projects.

    Thanks in advance,

    Bob

    Are you comfortable with writing code on the invoice, pro forma raspberry? This is where you write the code for the acquisition of data and code to send it on the usb as a RS232 serial port. The LabVIEW program would receive all this and it is a very simple program. There is a tool called Linx box that does all this for the arduino.

    https://www.labviewmakerhub.com/doku.php?id=libraries:Linx:start

  • Sorensen XEL power is compatible with labview

    What Sorensen XEL power compatible with labview? I'm in the automotive field of vehicle dashboard. I want to test and simulate different transient conditions that may generate noise in the pipe I needed of a programmable power supply. Currently I have a NIcompactRIO configuration. I needed voltage output cards higher simulation and test requirements and special conditions.

    I was told that the Sorensen XEL series is compatible with Labview. Is this fair? The other question I have is NIcompactRIO uses IP Ethernet, but Sorensen communication RS 232 communication. Can I have some possible parallel communication with Labview frontend Protocol, controlling all the two from the same unique computer.

    Third, what are the function blocks required in the VI for Sorensen.And programming last but least, where can I get a drivers Sorensen RS 232?

    Nothing in this VI with Ethernet communication so I don't understand what you're asking.

    Rather than add a \r\n with each entry, I recommend you set up VISA to automatically add and I would also recommend that you enable the character to stop playing as well. Then, there was no need for the VISA to the Serial Port bytes and these expectations. Look at the example of advanced series to learn how to set the VISA property to add a termination character.

  • HELP - FPGA SPARTAN 3E-100 CP132 WORKS WITH LABVIEW FPGA?

    HI EVERYONE, GET ON IM TRYING TO USE MY FPGA WITH LABVIEW, BUT I DO KNOW THAT IF ITS COMPATIBLE, I INSTALLED THE DRIVERS, MODULE FPGA AND LABVIEW 2012, IM USING WINDOWS 7 32 BIT, AND AFTER I COMPILED ITS SAYS:

    LabVIEW FPGA called another software component, and the component returned the following error:

    Error code:-310601

    NOR-COBS: Impossible to detect the communication cable.
    Check the communication cable is plugged into your computer and your target. Also, verify that the proper drivers are installed.

    Thank you.

    =)

    Hi dvaldez2.

    LabVIEW FPGA offers no support for any material to third parties, other than the 3rd Spartan XUP Starter Kit. These are probably the drivers you downloaded.

    http://digital.NI.com/express.nsf/bycode/Spartan3E?OpenDocument&lang=en&node=seminar_US

    However, this driver supports only the Starter Kit Board itself (http://www.digilentinc.com/Products/Detail.cfm?NavPath=2, 400, 790 & Prod = S3EBOARD). You may not use the driver with any other Xilinx FPGAS.

    I hope this helps.

  • Possible GPIB communication through interactive control of Visa, not with Labview

    Hello

    I have a communication problem with Labview with GPIB instruments (with functions of visa).

    I get:

    "Error 1073807298 occurred at the VISA opening

    Possible reasons:

    "VISA: (Hex 0xBFFF003E) failed to perform operation due to i/o error."

    However, it works with an interactive control visa and this is where I am confused!

    Here is my setup:

    -Labview 2011 assessment

    -VISA 5.1.2

    KUSB - 488B with the associated drivers (adapter USB to GPIB of Keithley)

    Because I can speak with my instruments in visaic, I guess the installation of drivers for the Keithley interface is ok.

    Trace IO NOR I see beeing of commands passed through Labview to VISA so that they "see" between them.

    I found a thread where someone had the same problem and its solution was downgrade to Labview 8.5.1, which is not possible for me.

    http://forums.NI.com/T5/instrument-control-GPIB-serial/Keithley-2700-driver-problems/TD-p/1474212/PA...

    You have an idea to solve this problem?

    Kind regards

    Baptist

    Here's a follow-up on this issue.

    I tried with Labview 32-bit on main machine: it works.

    The pleasure is that I have to use Labview 64-bit.

    So the ultimate solution is now to run a client and a server of visa on the machine: Labview 32 bit can directly access my resources GPIB, Labview 64-bit must go through the closure of the network.

  • NI 9148 with LabView module detection

    Hello

    I got the task of creating a deployable (compiled) software to a DAQ system with NI 9148 Ethernet RIO basket background and various modules. The user must have the ability to change the module type and the location of the different tests, so the application must detect (or the user specify) what modules are at what positions.

    I watched the blockset CRY, however this chassis is not supported and the lowest level blocks are protected. Is it possible to read the serial number of the modules connected to the 9148 OR position, type, and if all goes well?

    Thanks for any help!

    Hello Soonxaf,

    What are you helps as a controller-is this RT or Windows? Are you planning on the use of analysis of RIO or LabVIEW FPGA engine?

    If you plan use the analytical engine, so this should help you get started:

    Tutorial: Discovery, Configuration and programming access of the CompactRIO Scan Mode to IO with LabVIEW

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

    Kind regards

  • ACS550 control with LabVIEW

    Hello

    I recently implemented an ABB ACS550 player to control an air blower speed.  I was control the player through the interface on the disc itself.  However, I am now looking to control the device with LabVIEW.  I don't know where to start and I was wondering if someone could explain what I would need the equipment and the basic principles on how this control can be implemented.

    Thank you!

    -Alex

    After a few weeks to play with the entrance on the digital player, I now have a program that he order.  Thank you for your help.  If anyone needs help with digital controls, feel free to ask.

    Thank you

Maybe you are looking for

  • Message "memory full" Sony ICDPX312

    I have a digital voice recorder (model ICDPX312). I used it for about six months without any problem. Now he's giving a message "memory full" when I try to save a new file - in spite of the fact that I have not ALL sound files on the recorder (all ha

  • problem with nvidia gpu

    Hello Yesterday I bought a Lenovo IdeaPad Z500 5937-2862 with NVIDIA gt740m gpu. I have notcied that as a defect of the laptop uses the integrated intel hd4000, I searched the forum and confirmed that bios switchable option is enabled and I also chan

  • How you automatically geotag of images using the card

    I use a 6 d to create a GPS log, but I want pictures to geolocate of other cameras.  According to the manual and help files it should be an automatic way to place a geotag in these images based on their timestamp.  Unfortunately, I can't "fourth" ico

  • How can I stop Windows XP open My Documents on startuo?

    Hello I just reinstalled Windows XP Pro and after installation of SP2 evert time I start Windows automatically open My Documents. How can I stop this? Thank you.

  • A folder disappeared when I tried to move it from bookmarks

    Tried to move a little higher folder (with the mouse) and it disappeared. For some time he remained in the window where to save to Favorites, now can't find any. Looked like everywere - in all possible places bookmarked - it seems he went...