Me sale un error al configurar el VISA CONFIGURE SERIAL PORTS

Hola que tal? Estaba configurando el VISA CONFIGURE SERIAL PORTS. Pero al correr (RUN), me sale un error. No entiendo de que se trata el error. Parece que me falta alguna libreria o algo.
La idea es configurar, para recibir algo por Puerto en serie RS-232.
Muchisimas gracias!!!!
¡Resuelto!
Ir a solución.
Adjuntos:
Error del LABVIEW.jpg ‏200 KB

Hola a todos! Cómo mencionan, el problema es porque LabVIEW no puede encontrar NI-VISA en su sistema. Esto podría ser porque no está instalado, hubo un error de instalación, o porque fue instalado antes que LabVIEW.
¿Qué Sistema Operativo está utilizando?¿Cuál es su versión de LabVIEW?
De esta liga puede descargar la versión 5.2 de NI-VISA. Esta versión soporta LabVIEW 2012/2011/2010/2009.
Saludos!
IMT José Manuel Vólquez R.
Ingeniero de Aplicaciones
National Instruments México

Similar Messages

  • Time out function in VISA configure serial port vi

    I have some doubts regarding the time out functionality of "VISA configure serial port vi":
    1) I have set the time out value as 10s while initializing the port using this vi. Does this mean that for any Rx operation happening on the serial port, it will wait for 10s for the data to be received?
    2) Is this waiting functionality also valid on "bytes at port" vi which I am using before reading the port data?
    Because in my application, the control at serial port is actually not waiting for 10s and is coming out before the desired time out (10s). Do I need to set this time out anywhere else apart from initialization at "VISA configure serial port vi"??
    Can anyone please tell the steps to set this timeout for the serial port?
    Thanks in advance!

    1. A read will return when the first of the following is satisfied:
       a. The number of bytes at byte count has been received.
       b. The termination character (if enabled) has been received.
       c. An error is detected.
       d. The timeout time has elapsed.
    I am not sure what happens if handshaking is enabled and the other device pauses communication.
    2. No. Bytes at port returns immediately. This is a status check and it would not make sense for a timeout to apply.
    Without seeing your code and the data the remote device is sending, we can only guess. My first guess would be that you have termination characters enabled (default) and a termination character appears in your data.
    Lynn

  • TROUBLE BUILDING VISA Configure Serial Port .vi

    I posted by mistake in DAQ.  My application Builds fine in LV 7.0, however in LV 8.2 using the Project folder, I receive the following :
    Polymorphic VIs cannot be used as Startup/Exported or Dynamic VIs for applications or shared libraries.
    C:\NEM DS18S20 TEST-8.20\NEM0775B\NEM0775B.llb\VISA Configure Serial Port
    Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
    Error 1035 occurred at ABAPI Dist Check if PolyVI.vi -> ABAPI Load All Libraries And VIs.vi -> ABAPI Dist Build LLB Image.vi -> ABAPI Copy Files and Apply Settings.vi -> EBEP_Invoke_Build_Engine.vi -> EBUIP_Build_Invoke.vi -> EBUIP_Build_Rule_Editor.vi -> EBUIP_Item_OnDoProperties.vi -> EBUIP_Item_OnDoProperties.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  Operation is invalid for this type of VI.
    I am using, Polymorphic VI = VISA Configure Serial Port to configure my serial port and then count bytes received for certain serial Port CmDs.
    I am only using the Serial Port (Instr) of the Polymorphic VI.  What is the easiest way to BUILD a application that will work????   I've used this method back to 4.1.  Can I change VISA Configure Serial Port .vi from a Polymorphoric to a Non Polymorphic and still initialize the Serial port??  This new BUILD/PROJECT METHOD is not good. 
    Please Help
    Brian Campbell

    Briancam-
    Have you set the VISA Configure Serial Port as a startup VI in your build specification? If you are using that VI as a subVI in one of your VI's, then you do not need to manually add it to the startup list, LabVIEW should automatically add it as a dependency.
    Xaq

  • VISA Configure Serial Port / Serial Instr

    What's the difference between VISA Configure Serial Port and VISA Configure Serial Port (Serial Instr)?
    LabView 7.0 Help gives no comprehensive explanation:
    You can use this polymorphic VI to initialize a serial port using the Instr VISA class or Serial Instr VISA class.
    Thanks,
    Greg1997

    Hi Greg1997,
    From what I have seen in LabVIEW 7.1, there is only one VISA Configure Serial Port function block.  It does have a polymorphic VISA Resource Name input to accept either an Instr VISA class reference or a Serial Instr VISA class reference.  The Instr class is a more general class than the Serial Instr VISA class (so there are more specific attributes available to the Serial Instr VISA class), but both references can be used with the VISA Configure Serial Port block.  Hope this helps!
    Regards,
    Anna M.
    National Instruments

  • Rs485 and VISA Configure Serial Port.vi ?

    I'm given the following spec:
    RS485, full duplex asynchronous, 19.2K baud, 1 start bit, 1 stop bit, 1 parity bit, and 8 data bits.
    VISA Confgiure Serial Port.vi does not have input for 1 start bit and parity choices are none, even, odd, mark, space.
    What should my settings bit for this to work?

    Since the VISA Confgiure Serial Port.vi does not have an input for the start bit you can just ignore this. For the parity bit, your instrument should give more information. For example, two of the choices are even or odd. These are both one parity bit, so your instrument needs to define whether it is odd or even. It should say on the spec sheet.
    Hope this helps!
    JenK

  • The "VISA Configure Serial Port" VI will only run at 9600 Baud

    I have written a Serial Port monitor "RS232 RW.vi"  that works for the most part. The problem is that it will not respond to alternate port configuration settings.... For instance: the default RS232 Serial port configuration is:
    (COM1,9600 baud,8 data bits,1 Stop bit, None no parity)
    As a test, I am using a Null Modem Cable to connect From my LabView Com1 port to another PC running RealTerm Serial Port Monitor.. Using my newly designed "RS232 RW.vi"  With port settings of (COM1,9600 baud,8 data bits,1 Stop bit, None no parity),  I can send and receive data back and forth all day long no problems....
    However, if I configure the "RS232 RW.vi"  port to any other configuration, such as (COM1,2400 baud ,7 data bits,1 stop bit, Odd parity).. It will not take the expected chances and continues to operate @ 9600 baud etc.
    I then changed the "RS232 RW.vi"  default settings to (2400,7,1,Odd)
    it still refuses to deviate from (COM1, 9600,8,1,None...)
    I also went into the Win XP  Device Manager on the LabView system and manually configured Com1 to 2400,7,1,Odd  
    and still,.... the "RS232 RW.vi"  will only operate @ 9600,8,1,None
    Can anyone else test drive my VI and see if they have the same problem of not being able to see new changes in the Port configuration settings ..other than (COM1, 9600,8,1,None...).... ?
    FYI.. Unfortunately my LabView is running on Version 6.0 so you may need to up-convert the attached vi
    Solved!
    Go to Solution.
    Attachments:
    RS232 RW.vi ‏102 KB

    Instead of just appreciating the comments, you need to implement them.
    Having the VISA close inside the loop is definitely the problem.  And Crossrulz is 100% correct about the problem being that the serial port gets reset to the default baud rate after closing the port.  Here is the proof.
    Note that while you may have set the port settings manually in device manager, those settings are revised by the VISA driver.  If you look in Measurement and Automation Explorer under Devices and Interfaces >> Serial and Parallel, you'll see the default settings that the VISA driver uses.  If you change the setting there, your program will work the way you want.  But that is not the correct fix.  The correct fix is to get the VISA close out of the while loop.
    The port settings are established in this order.
    1.  By the Windows device drivers.
    2.  By the VISA driver as established in MAX.  Since you are useing VISA, these settings will automatically override #1.
    3.  By the port settings you set programmatically in your LabVIEW program.
    Attachments:
    Example_VI.png ‏18 KB

  • Build Error: "VISA Configure Serial Port"

    Hi,
    I want to upgrade some old 6.i vi's to 8.5
    But on building the project  i am getting an Error:
    Please take a look in to the screenhots
    Greetings from the lake of Constance, Germany
    juergen
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=
    Attachments:
    MESSAGE.jpg ‏106 KB
    VI-LIB.jpg ‏783 KB

    Hi j_dodek, there is a function called "mass compile", did yoou already try this option?
    Please select Tools»Advanced»Mass Compile and choose the directory containing your old VI's. This will upgrade all the files in the directory or library.
    Please also have a look at the linked document that describes what the function mass compile does:
    http://digital.ni.com/public.nsf/websearch/654877E62A97B72986256C95006F9B24?OpenDocument

  • Timeout units for VISA Configure Serial Port

    Hi there,
    Can anybody answer a simple question:
    What units are used to setup a timeout: seconds or milliseconds?
    LabView Help is very confusing.
    Thanks,
    Greg
    Attachments:
    VisaTimeout.JPG ‏75 KB

    It's milliseconds. You can see this for yourself by just opening the front panel of the function. You'll see the label of 'timeout (10sec)' and a value of 10000 in the control.
    Message Edited by Dennis Knutson on 05-02-2007 09:29 AM
    Attachments:
    VISA Timeout.PNG ‏23 KB

  • Could Someone send me a 'VISA Configure Serial Port.vi'???

    I need that VI from LabVIEW version 6.1! My mail is [email protected]
    Thank You.

    I made a vi that does the same and can serve for you as an example. look in the help how to use it.
    part of it is 6.0 and part 6.1 but that is no problem.
    The 6.0 vi's will be converted when loaded
    greetings from the Netherlands
    Attachments:
    visaoptions.zip ‏69 KB

  • VISA Configure Serial Port setzt RxD auf +5.8V

    Hallo,
    Ich habe ein Problem mit dem Empfangen von Daten von einem Mikrocontroller.
    Das Testprogramm auf dem Microcontroller (TC1796) sendet beim Empfang des ASCII-Zeichens “J“ (0x4A) das ASCII-Zeichen “_“ (0x5F) zurück. Als Pegelwandler wird ein MAX232 verwendet.
    Wenn ich "J" mit einem Hyperterminal sende, kommt das Zeichen wie gewünscht zurück.
    Wenn ich jedoch das Selbe mit LabView mache, empfängt der Mikrocontroller das "J", sendet "_" zurück, was aber von Labview nicht empfangen wird.
    Dabei habe ich das Beispielprogramm von LabView verwendet.
    Zum Testen habe ich einfach mal probiert, die beiden Pins RxD und TxD der seriellen Schnittstelle des PCs kurzzuschließen (Loopback).
    Die von LabView gesendeten Zeichen wurden empfangen.
    Als nächstens habe ich die Signale am Oszilloskop gemessen. Dabei ist mir aufgefallen, dass LabView beim Herstellen der Verbindung zum Port, die RxD-Leitung dauerhaft auf +5.8V setzt (auch wenn der Mikrocontroller gar nicht verbunden ist)
    Das Hyperterminal macht das im Gegensatz dazu aber nicht...
    An was kann das liegen?
    Im Anhang sind die Bilder vom Oszillosop
    Attachments:
    RS232_LabView.png ‏23 KB
    RS232_Terminal.png ‏23 KB
    Connect_to_Port_LabView.png ‏16 KB

    Hallo student,
    1. Dies ist ein englischsprachiges Forum, wenn du viele Antworten haben willst, solltest du also in englisch posten. Alternativ gibt es auch ein deutschsprachiges Forum: www.labviewforum.de !
    2. Statt der Oszilloskopbilder wäre es hilfreicher, wenn du dein VI angehängt hättest - oder wenigstens Bilder von dessen Blockdiagramm.
    3. Hilfreich bei solchen Sachen ist es auch, die Kommunikationsparameter zu überprüfen (von Baudrate bis TermChar)!
    Nachtrag zu 1.: Crossposts bitte in beiden Foren entsprechend mit Links kennzeichnen!
    For the English speaking reader:
    I told him to post in English, to attach VI (or block diagram picture) instead of scope plots, and to check serial port settings including termchar.
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Error 1073807202 occurred at Property Node (arg 1) in VISA Configure

    I am working with the 30-day evaluation version of LabVIEW
    (Version 9.0 32-bit).  I am attempting to perform the serial loopback test
    described in NI's Developer Zone Tutorial, executing Basic Serial Read and
    Write.vi.  When I click the Run arrow a dialog box appears with the
    following legend:
    "Error 1073807202 occurred at Property Node (arg 1) in VISA Configure
    Serial Port (Instr).vi>Basic Serial Read and Write.vi.  LabVIEW: VISA or
    code library could not be located.  ...required drive not installed..."
    I can find the "smplserl.vi" driver in the /examples folder on my PC.
    What's wrong?

    Did you do a search for that error? Install NI-VISA.

  • I'm getting error when trying to run demo Serial code

    I'm trying to test out the demo of labview to see if we are going to upgrade. I am trying to access the serial ports since we used to do that before, but I'm having no luck with any of the demo code. When I run Serial Communication.vi, it keeps giving me an error. All other demo's I have tried give errors as well, although I don't know if it is the same one. I do not have any conflicts with my com ports, yet I get a -1073807202 err code. Here is the text I get in the error box.
    Property Node in VISA Configure Serial Port (Instr).vi->Serial Communication.vi
    Any help to get me started? I haven't used labview seriously for about 4-5 years with vers 5.0.
    I have win2k in case that makes a difference.
    Thank
    s

    Make sure that NI-VISA or the NI-VISA Run-Time Engine is installed on the computer. This error suggests that NI-VISA is not installed, or there is a problem with the installation. To remedy this, uninstall any existing versions of NI-VISA on the machine. Then, either reinstall the same version of NI-VISA, or upgrade to the latest version of NI-VISA (linked below).
    http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C0E91?opendocument&node=132060_US
    I hope this helps out. Please let me know if you continue to get the error after upgrading NI-VISA.
    -Josh

  • My Application gets Error 37 when using Serial Port VIs.

    My Application works fine developed with LV 6.1. Then I updated to LV 7.1 and now the Executable of my application gets error 37 when using the old serial port functions. The "serpdrv" file is located in the application directory and is from 02/2002. The application runs well in the development environment after I placed the "serpdrv" file in the LabView directory. I tried to put a line with "serialDevices=..." in the .ini-file of my application but this did not cause an improvement. I also tried to rebuild the EXE with this line in the "labview.ini" file but nothing changes.
    Does anybody have another idea ?
    Many thanks for help
    Thomas

    >Did you actually replace the old serial functions that come with 7.1 with the functions from 6.1?
    Yes. E.g. "open serial driver.vi" uses "open device" with "serpdrv" as device string.
    I had the same problem running my application as VI´s. After the copy of serpdrv into the LV 7.1 directory everything works fine.
    I don´t understand why the application running as a .exe doesn´t find the serpdrv when it is in the same directory....
    Nevertheless many thanks for your answer
    Thomas

  • Al abrir AI me sale un error y se cierra

    Hola buenas tardes, al intentar abrir AI me sale este error al igual que en PS

    Its CC and OS X 10.8
    El 18/02/2015, a las 12:43, Jeff A Wright <[email protected]> escribió:
    Al abrir AI me sale un error y se cierra
    created by Jeff A Wright in Creative Cloud Download & Install - View the full discussion
    GassPIchardo what version of Photoshop and Illustrator are you using? Also what version of Mac OS do you have installed?  Finally what steps have you implemented to resolve the error?
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7207091#7207091 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7207091#7207091
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Creative Cloud Download & Install by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Old visa open, error code 1073807343, using VISA with a GPIB device, and VISA resource names

    Hi everyone,
    I'm trying to get a SRS model SR720 LCR meter (manual on this page) working with LabView, connecting it to my PC with an Agilent 82357A GPIB/USB interface (manual on this page). I'm running MAX version 14.0, and NI-VISA version 14.0. I'm running LabView version 13.0f2, 32 bit.
    I followed the directions on this page, and I'm pretty confident I can communicate with my LCR meter, because I can go to NI MAX->GPIB0::17::INSTR under "devices and interfaces", then go to the VISA test panel, go to the I/O tab, and I can enter a few commands from the SR720 manual, like changing the frequency, and I see the light on the LCR meter change to what I just told it to do. Here is a picture, just to illustrate it:
    Also, if I do the *IDN? command, it returns "
    9: Write Operation (*IDN?)
    Return Count: 5 bytes
    10: Read Operation
    Return Count: 41 bytes
    StanfordResearchSystems,SR720,08087,1.03\n
     So, that's good too. I also made the alias of this device "MyLCRmeter", but that shouldn't matter for now.
    Now I'm trying to get it to work in a more usable way. The SR7xx drivers that LabView found for me came with a couple sample programs, one called "Getting Started.vi". I tried to just simply see if it worked, changing the "instrument descriptor" field to "GPIB0::17::INSTR", since that's the one that seemed to be the right device in MAX. Here is a picture of the front panel of "Getting Started.vi":
    Trying to run it like this gave me this error (code -1073807343):
    Old VISA Open in SR715/720 Initialize.vi->SR715/720 Getting Started.vi
    Doing a bit of searching on these forums, I found these few threads (1 2 3), which seem to tell me that, since this program was written, the way you open VISA has changed. In the 2nd of those links, one guy said:
    You just have to replace the Old VISA Open function with the VISA Open that is on the Instrument I/O>VISA>VISA Advanced palette. When you do that, the wire to the string that was used for the resource name will be broken. Delete the string and make the actual VISA Resource Name visible on the front panel. Wire the VISA Resource Name control to the connector pane where the string control was (upper left connection).
    So, I went into the sub-VI Initialize.vi, and did that. Here is a picture of what the front panel and block diagram of the sub-VI Initialize2.vi (I changed the name in case I screwed things up, but I'm pretty sure the new one is the one being called by Getting Started.vi) looked like before I changed anything (you can see the Old VISA Open):
    and here it is after replacing that with the regular VISA Open, deleting the instrument descriptor string and replacing it with a VISA resource, and connecting that to the VISA Open:
    However, as you can see in the image above, and it seems like someone else had this problem in the 2nd thread linked above, I don't see my device listed in the drop-down menu (even if I refresh), only "LPT1" (I don't even know what that is):
    No, I wasnt able to select the visa resource from the pull down menu. somehow it seems disabled or something.
     If I just enter the VISA resource name from MAX manually, GPIB0::17::INSTR, and save and try running that, I get the error(code -1073807346):
    VISA Open in SR715/720 Initialize2.vi->SR715/720 Getting Started.vi
    So I'm not sure where to go from there, or why it's not in the drop down menu to begin with. I'm sorry if I've missed something but I've searched about as far as I can go. If I had to guess, maybe one thing could be that in MAX, under Tools->NI-VISA->VISA Options->My System->Conflict manager, I have both Agilent VISA and NI VISA enabled; I know sometimes problems arise from conflicts between different software fighting over the same hardware. Is this okay, or do I need to change it?
    Thank you and please let me know if there is any other code/screenshots I could provide that could help!

    Hi, I did indeed enable NiVisaTulip.dll under MAX->Tools->NI-VISA->VISA Options->My system->Passports->List of passports. Sorry, I should have mentioned that explicitly.
    By install as primary, do you just mean as it is here, where it is selected as the "Preferred VISA"?
    Or somewhere else? I installed NI-VISA first I believe, and then the Agilent one, and during the installation of the Agilent one, I'm pretty sure I made it not the primary. Here's what I have in the Agilent (it's called Keysight now) Connection Expert software:
    I also have this under the "Keysight 488 options" tab:
    Should that be checked? I don't actually know the role of VISA vs 488 here...
    What could I try?
    Thank you!

Maybe you are looking for

  • Adding a external display

    Is it possible to hook up a external monitor and close the powerbook and just use the external monitor? Thanks

  • Void checks in F110?

    Hi, I want to know how can I some options in F110: 1) Restart from Check Number 2) Void and Reprint checks from payment run already printed 3) Check No. ......... to ............. 4) Void Reason Code Please tell me step by step and in details if poss

  • Get component closest to point x, y

    Here is a fun one... I have a JPanel with various Components in it that are layed out manually (ie.. null layout). When the user clicks in this JPanel I would like to know which of these Components is closest to the point where the user clicked. Does

  • Fi/co documentation/book

    Hi, does anyone know of the existence of a good book on SAP FI/CO (6.0) covering all kinds of functional topics, preferably enriched with some real-life examples? I am looking for a book/hardcopy to read near the fireplace during wintertime on cold f

  • Hurry! Call for Proposals to India's Annual Summit for Business Technologies Closes 30 June 2010!

    To join Business Technology Summit 2010 as a speaker is a great opportunity to build brand equity for both you as an individual and for your organization. By presenting your experiences, technical & market knowledge, and innovations, through keynotes