Visa set up serial port problem

Hi all

I use the RS-232 port to communicate with the instrument. At the moment the device is not their so I shorted pins 2 and 3 of the connector connected to the COM2 port, so that what ever I'm transmitting, I I'll be back. Using Hyperterminal I am able to verify that whatever i write, he's coming back.

But when you use a Labview 7.1 I am tring to connect first by configuring the using VISA CONFIGURE SERIAL PORT.vi serial bus

with the following parameters

Visa resource name = ASRL2::INSTR (port COM2 because)

Baud rate = 2400

Data bits = 8

Parity = None

Stop bits = 1.0(Equal to 10)

Flow control = None

End of reading at the end of character = True

Dismissal = A

Up VISA is in error. The error code is 1073807202

The procedure described above is similar in the read/write of Visa examples provided...

I strive to solve the problem but all invain.

Can anyone help me in this.

See here

I guess your problem is #2 (you have not installed OR visa).

Tags: NI Software

Similar Questions

  • Serial Port problems - carriage return and use as an executable file

    Hello

    I developed an application to send a few simple commands on the serial port and read the corresponding answers of a device that I am in communication with.  I have been using logical Port to watch the line TX of the serial port.

    By using the Visa configure Serial Port I set the stop character property allow true and used the hexadecimal value D trying to make the termination a carriage return characters.  When I sent the order, I'll send the cmd followed by Enter.  No matter if this property is set to true or the hexadecimal value is set to D for carriage return or line break is, the serial port would always send a line break.

    Then I got crafty and the string constant under normal display to hexadecimal display.  The ONLY way I could send a carriage return was manually putting 0x0D after ordering.  So my question is, why the Visa set up the Serial Port is not working correctly, and is there a better way to send a carriage return?

    My next issue is facing the construction of executable files.  I'm using LabVIEW 8.2 and wrote this program for another employee to use on his laptop computer.  I did install runtime Labview 8.2 and led to the executable that I generated.  I did-> the executable by clicking Tools build the executable.  The problem I noticed was that the executable would open and will work perfectly, but it would not send any data the serial port.  I then ran the executable on my laptop (which contains the full version of LabVIEW 8.2) and the serial port has worked well.  I guess my question is... Are there plug-ins that must be installed to use the serial port with the Labview runtime engine?  Or y at - it a step that I failed to do?

    Thank you

    Gary Still

    Not immerse in the first issue. The Knight will probably be galloping until shortly.

    For your second question, after building the executable, you must build the installer and includes support for the VISA. VISA is required for serial communication, and it does not accept American Express.

    It may be useful

    -AK2DM

  • Communication serial port problems

    Hello.  I'm trying to control a pressure controller MKS Instruments 651 via RS - 232 c.  Right now, I just try to establish a basic communication with the device on the serial port.  I can connect to the device with hyperterminal of windows using the following parameters:

    Bits per second: 9600

    Data bits: 8

    Parity: None

    Stop bits: 1

    Flow control: no

    Once I log in, I'm in file--> properties, settings tab and click the button settings ASCII.  I need to check the following boxes (not ticked by default) for communication any occurs:

    Send line ends with line breaks

    The echo locally typed characters

    Add line breaks to incoming line ends

    Force incoming data to 7-bit ASCII

    Once I got it, I can communicate with my device via hyperterminal.  What I want to do now is to use LabVIEW to control the unit, so I need to be able to send and receive data through the connection RS-232 using LabVIEW.  I have been using the basic series write and read vi, but I get no response from my camera.  Looking at the block diagram for the basic reading/writing, I saw that allow termination Char has been wired to false, so I changed to a control and set it to true.  I also changed the termination to a control tank and assign 0xD for the CR.  I can't always get a response from the device.

    I guess I'm still not put in all for the serial port configuration correctly.  Can anyone give me some suggestions on what else to change to match my hyperterminal settings?  Thank you!


  • xw6600 Workstation - Serial Port problems

    I want to add a standard RS232 9 pins (serial) port on my HP xw6600 workstation.

    Due to the current expansion I have only x 8 PCIe and PCIe x 16 available on the motherboard slots.

    I tried two dedicated PCIe Searial maps (PX-235 BrainBoxes and SatrTech BY - 1 S 552) and caused both the PC go into a continuous re-start cycle, i.e. the PC through the BIOS and rebooting itself before loading the operating system.  I tried to disable the interface Serial Port built into the BIOS, but it made no difference and cars (s) should be removed.

    I noticed that the motherboard has an onbard Serial Port adapter, but I don't know what hardware is required to present this port at the rear of the workstation (cable and plate back I guess), or even if it can be used for this purpose.

    If someone added a serial port to the device, I'd be interested to know how they did it.

    Thank you.

    That's what you're looking for. It is a connector standard seial that connects to the head set to edge out motherboard to an empty slot on the back of your pc. There are many on the market. You should be able to find a room for @ $6-8, 00 USD to any electronic parts store. If you activate the serial port in the BIOS, coupled with the installation of a configuration like this, you should have what you are looking for.

  • Serial port problem

    I am trying to transfer my software on my computer to my embroidery machine computer, I get a message "no link to serial port.  Someone suggested it was Windows, but I don't know if it's my computer or my enbroidery machine.  I have Windows XP on my computer.

    I missed the part where you said it was the first time you tried to connect to the embroidery machine.

    Yes, it might be the cable (or any other material, either on the computer or the embroidery machine).

    Most computers today have only a serial port physical port, where COM1 and its shared COM3.  COM2 (and its shared COM4) are the remains of the time where everything connected by the serial port and computers had two of them.

    As far as I KNOW, the only way for you to get COM2 (and other COM ports) would be to add the device to your computer.  You should not need to do unless the serial port of your computer is broken (unlikely): http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&DEPA=0&Order=BESTMATCH&Description=serial+pc+card&x=0&y=0

  • Entry VISA to the serial port

    My problem is similar to that in the post titled "Re: read/write using RS232 VISA" posted Sep 2008.

    I want to stream in LabView to an instrument, view data numerically and visually and stream/save each data record long 25 bytes on the disk.   In addition, there are a variety of commands I would like to be able to give the instrument at any point in time (that's why the entry VISA while loop statement - see attachment).  In particular, two commands switch on the lights.  't' turns the LED lights up (they turn on, blinking for 30 seconds then delay).  'p' the lights, magnetometer, and then 'p' it turns off again.

    Question: 't' works very well.  I can press it anytime and it works perfectly.  'p', however, behaves exactly like 't' when you press.  This could be correct, but the mag never turn on either.  When I press the button finish to close everything, everything closes and the mag light - even if I did not press on 'p' for the vi run.  (??)  Then, when I run the vi once again, light mag turns off while I'm working with windows pop up the file - save.

    I tried an order of write buffer flush at the end of the VISA entry orders, but that changed nothing.  Do I have something wrong in my sequence of events?  I'm floundering.  Please please please help me.

    ~ Caught in loop

    p.s. I use a series/USB adapter that connects to my series/RS232 adapter.  Beautiful, I know.


  • VISA serial port automatically configures scan of the available serial ports?

    I am using a VISA set a serial port to open a connection to the serial port, to enter data, make some manipulation of array and display it.

    My VI works perfectly until what I have build in exe and transfer it on a laptop with a USB converter to port series (as the laptop does not have a serial port).

    Windows allocated the converter to COM9, but I do not see it in LabVIEW.

    Do I need to use something like 'Find VISA resource'? If it does find something how can I change the name of resource VISA?

    I have attached a screenshot to give you an idea of what I'm doing.

    There is absolutely no reason to use all of this code. The original order of resource VISA name should work just fine. Have you installed the runtime VISA on the laptop? If so, did you also install MAX, so you can check the VISA resources on the latptop?

    In addition, since an exe file will run automatically when opening, have you provided a mechanism for a com port selection until the program begins the acquisition of VISA?

  • Time GPS, Position, Velocity.vi - error-1073807360 reading was held at node (arg 1) .vi property VISA set up a Serial Port (Instr)

    We receive information such as the Latitude and Longitude of a receiver Garmin GPS18xLVC via a serial port on our PC using LabView 7.1.  Successfully, I connected the GPS on the serial port and tested with HyperTerminal.  I tried reading GPS time, Position, Velocity.vi several times and still receive the following error message: error 1073807360 has occurred to the property node (arg 1) visa configure a Serial Port (Instr) .vi.  I think it has something to with the configuration of the VISA series under vi.  Any suggestions would be greatly appreciated.

    Thank you

    I understood the question, that I had with the time reading the GPS, the Position, the Velocity.vi.  The vi. "do not open" port com automatically and so I had to modify the NMEA GPS Subvi reading to first open the port (VISA open command) and then continue with other operations.  Once I did this it started to work very well.  I don't understand why this feature has been left out because it won't work without it.  I tested the code with a receiver Garmin 18xlvc and it seems to work fine.

  • Problem: read bytes to serial port

    Hello, I need to communicate with an external device with serial port. I have to write a command to my device string, and then it should play with 64 bytes of data. I built a function of READING-WRITING and I use it in a loop (I have to read a lot of 64-byte block)

    Sometimes, I have the following problem:

    (1) I have send the command string, I wait with "Bytes to the serial port" whereas I have more then 60 bytes, then I read.

    (2) sometimes happen that the read function cannot read all 64 bytes, so the net for cycle, I have in the receiver buffer mor than 64 and the program to stop working. (does not work well)

    I need to be sure that after writing the command I have 64 bytes, so I red all the 64 bytes so the next loop for, I have the buffer of the empty receiver.

    I enclose my writing reading function. Please refer to the block diagram (there are a few notes).

    Thank you

    In no place in your program see the VISA configure the Serial Port. It's always a good idea to include this that even if you use the default settings. I suspect this is one of the default settings which is wrong with you. By default, playback is set to end when a character is considered. This means that if you have a 10 hex (ASCII LF) in your stream, playback stops until the specified number of bytes is read. Put in a VISA set up the Serial Port and connect a constant False to the stop character allow entry.

  • error of node (arg 1) .vi property VISA set up a Serial Port (Instr)

    Hi all

    I have a request, he had run on a machine well for months.  I use VISA to make the communication between PC and PIC.

    Suddenly at certain times, it reports error of node (arg 1) VISA property set up a Serial Port (Instr) .vi. Since then, it does not work.

    Œuvres of HyperTerminal.  I check MAX, the COM port it and looks very good.  What is the problem?

    Furthermore, I use VISA 4.2.  Maybe somehow it crashed?

    Many thanks for any help.

    Problem solved.

    The reason is that the hard disk was running out of space and there is error.  Somehow, causing accident DURATION VISA.

    We cleaned drive C: for free space and then repaired DURATION VISA.  Now, he runs with happiness.

    Thank you, everyone, for your help.

  • The VI "VISA set up the Serial Port" will only work at 9600 baud

    I wrote a Serial Port RS232 RW.vi monitor of ' "which works for most. The problem is that it will not meet the alternative port configuration settings... For example: the default RS232 serial port configuration is:

    (COM1, 9600 baud, 8 data bits, 1 stop bit, no without parity)

    As a test, I use a Null Modem cable to connect to my LabView Com1 port to another PC running RealTerm Serial Port Monitor... Using my "RW.vi RS232' newly designed with the port settings of (COM1, 9600 baud, 8 data bits, 1 stop bit, no without parity), I can send and cannot receive data back throughout the day no problem...

    However, if I configure the port "RW.vi RS232" all other configurations, such as (COM1, 2400 baud, 7 data, 1 stop bit, odd parity bits)... He will not take the expected risks and continues to operate @ 9600 baud rate etc.

    Then, I changed the settings default "RS232 RW.vi" (2400,7,1, Odd)

    He still refuses to derogate (COM1, 9600,8,1, no...)

    I also went in the Device Manager of Win XP on the system of LabView and configured manually Com1 2400,7,1, Odd

    and yet,... work at the "RS232 RW.vi" @ 9600,8,1, none

    Everyone can test my VI in the car and see if they have the same problem of not being able to see the new changes in the Port configuration settings... other than (COM1, 9600,8,1, no...)...?

    FYI... Unfortunately my LabView runs on Version 6.0, you may need to up-conversion of the attached vi

    Instead of simply appreciate the comments, you need to implement.

    Having closed VISA inside the loop is definitely the problem.  And Crossrulz is 100% correct about the problem being that the serial port gets zero to default baud rate after the closure of the port.  Here's the proof.

    Note that while may have set the port settings manually in the Device Manager, these parameters are reviewed by the pilot VISA.  If you look in the measurement and Automation Explorer under devices and Interfaces > serial and Parallel, you'll see the default settings using the VISA driver.  If you change this setting, your program will work as desired.  But this is not the appropriate fix.  The correct solution is to get the VISA close out of the while loop.

    The port settings are established in this order.

    1. by Windows device drivers.

    2. by the VISA driver as set in MAX.  Since you are using VISA, these settings will be automatically replace #1.

    3. by the port settings, you set programmatically in your LabVIEW program.

  • setting the parameters of serial port VISA does not persist

    When I set the baud rate using the VISA's Interactive Control Panel for a serial port specific (ASRL) and then close the window for ASRL, baud rate goes back to the default value.  Why doesn't baud rate?

    Also when I change the port settings for a particular serial port (COM) on the side of Windows, why can't I see these same port settings when I look at them from the interactive panel of VISA?

    Also, when I set by programming the output baud rate for a particular ASRL (code C), why is it reset by default when I re - run my program and do a get on baud rate?

    Some information:

    My C program works on an industrial PC which has a PXI MXI connected to it expansion chassis.  Series 3 cards in the expansion chassis.

    When you close the VISA session and/or close your application, port settings in the system default values.  It is a very normal behavior.  As long as you keep your open VISA session, the port will behave how you already told (set Baud Rate, etc.).

  • Error: The property node (arg 1) in .vi VISA set up a Serial Port (Instr)

    Hello

    I've seen people once they have gotten this error, but none of them really apply to my situation.

    Right now I use LabVIEW example code to read from a device manufacturer. This device is connected using a Tripp Lite USB adapter series (http://www.tripplite.com/en/products/model.cfm?txtSeriesID=782&txtModelID=2430) for the connection from the PC to device with RS232. The adapter works fine when using the software prepared in advance (not LabVIEW) given by the manufacturer and the COM port is seen by LabVIEW. When I run the program, I get the property node (arg 1) visa set up a Serial Port (Instr) .vi (I've also attached the VI but it's a standard VI I got of LabVIEW). I get this error despite the fact that I use the same COM port, who has worked with the manufacturer's software.

    I have attached manual of Protocol RS232/debit BUS (not sure if this applies) that requires the device. The device is a mass flow controller whose operating instructions is: (http://nemu.web.psi.ch/doc/manuals/device_manuals/Bronkhorst/917023--Operation%20instructions%20digi...

    I'm using LabVIEW 10.0.1

    Any help is appreciated

    Try to restart the PC and then try the LV version before trying other software.

    I have seen thrid party serial interfaces work on the first try but fail when you switch to another application. It was as if the pilot did not know that it was no longer the first process.

    Ben

  • Property node (arg 1) visa set up a Serial Port (Instr) .vi-> Untitled 1. VI

    Hello

    I'm trying to connect an instrument stahl ER-300 with labview. The Stahl is connected to my laptop via a serial port/USB converter.

    When I run the program, I get this error property node (arg 1) visa set up a Serial Port (Instr) .vi-> Untitled 1. VI

    the driver of the converter is set up and my phone is read as a COM4 and I Don t understand why I get this error.

    The program is attached.

    I need your help

    The error indicates that an input parameter is not valid to configure serial port VI... have you checked that you had wired up to this node correctly?

    Down VI serial port configuration and...

    It is not wired! Thread resource name VISA through the VI.

  • Error: The property node (arg 8) visa to configure the Serial Port

    I'm trying to control 8 USB to R232 via a HUB of 10 ports Tripp-Lite (model U222-010-R) and do not have consistent results.  Just after rebooting my computer, I have no problem in running the following program: (I tried to download the VI directly but without success, so here's the extract)

    I made sure that the COM ports that I select are that one is available on both the Device Manager and in the NOT-MAX.  But after awhile, it does not work or if the HUB is unplugged and replugged in (even if the names are correct and up-to-date in devices and NOR-MAX Manager) I get the error code "property Node (arg 8) visa set up a Serial Port (Instr) .vi" I want to be able to see these ports consistantly more without having to restart my computer all the time.  Is there a better Setup for this? The previous installation of the computer has a PCI card for it and we have not had any problems with the code, but are facing problems with our upgrade.  The old computer ran Windows XP and had cards PCI and the new computer that I am using a Windows 8 and the USB HUB.  Thanks for any help you can give!

    Mr says:

    Jeff,

    It is a one off lines from specifications Tripp-lite:

    -On bus power, 500mA from the USB 2.0 computer port is shared between hub ports

    This would be in support of what I need or not necessarily?

    -Mr

    No! That's the 50mA by port not 500mA.  an order of magnitude full powered USB (if you want reliable - if you want real problems which appears irratically each time only and is a headache to track down which would)

Maybe you are looking for