Timeout on the COM port

I have two ModBus vi that I combined into one in order to avoid two separate running both vi and both requiring the port com I took beginners approach and created a sub vi for each and then called in a new vi. Surprisingly, one of the sub vi will effectively, but the other gives a timeout error. Can someone tell me a better approach it please? I have attached the vi for viewing. Thank you very much!

Hi all

G K is correct. Connect the error via the VI line in the order in which they need to be run is the way to go.

Although, as K G said semaphore is also a good alternative: http://zone.ni.com/reference/en-XX/help/371361G-01/glang/semaphore_vis/

Tags: NI Software

Similar Questions

  • break in series on the com port does not work

    Hello everyone:

    I have the following problem:

    I am writing a command via the ' 'entry visa' vi on my pc com port. in some cases the com port do not return anything. This means that my "visa read" vi would timeout. the problem is that, later, I need to send more orders but must break the line in order to be able to do. I inserted the "breach of visa" vi but didn't have the reaction I was expecting. the line does not break. I tried to increase the duration of the break, but that does not work either.

    Any ideas?

    By using LabVIEW 2013

    A break will not break the connection, it will just a 1 to the Tx line for a period longer than 11 baud (?) or specified length.

    A hardware check that the breakdown is send: connect a scope or a DMM TX and GND, a 500ms break must be clearly visible even on a "slow" DMM (k resistance 10 and two LED antiparrallel or RS232 minitester practice would do the same job )

  • How to save data from the COM port to file?

    Hi all

    can someone tell me please how to save data from the COM port on file? I transfer 1 byte of serial port... attached is the image of the vi... very basic.

    I would like to save the data in a table... I mean, 1 data--> data--> data tab 2 tab 3rd--> tab

    and so on... can anyone help?


  • With the help of VISA can not find the com port

    I use visa read but cannot find any com port in Windows 7.

    How can I find the com port in Windows 7?

    Windows 7 is not released. A version of LabVIEW for windows 7 is not released. A version of NI-VISA for windows 7 is not released. Wait until MS releases windows 7. Then wait tile view deleted OR made available versions of LabVIEW and NI-VISA that work with windows 7.

  • How to detect the data received in the com port?

    I used NI-VISA, read to read function and tried to write and read the same data through back loop. I have read from the port, but I need to read only when all the data is in the port.how series I detects all data received in the com port? Based on the data received to write the data to the port only i need.

    Please help me

    Better it should work... just create your own port number, I used 20 com

  • Get the error message about the COM port at startup

    Original title: COM port occupied at startup

    We get busy COM port when the system has been started and given are incoming on port.

    The COM port is connected to a PLC which retransmit if he didn't get a response.

    In this case our application cannot connect to the port.

    Is it possible that we can avoid this or is there a way to release a COM port?

    Thank you

    HR

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the Forum TechNet site:

    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/threads

  • allow non-admins to use the COM port?

    Hi all
    does anyone know how to change the COM port settings so that the ports are "activated" for users other than just the administrator?
    Thank you very much!

    Hello

    You must have administrator privileges to change the COM port settings To do this, you should contact the administrator of the computer.

    Hope this information helps.

  • How can I clear the COM ports that are appearing as in use

    Original title: used Com Port

    I have a device plugged into my laptop Lenovo XP with service pack 3 and it is to this day. When I try to reassign the com port on the unit to the USB port using the Device Manager, I find 2 to 11 com ports are in use. How can I erase these com ports as there nothing to use them?

    You are welcome.

    There should be a printers and Faxes folder in Control Panel (see photo)

    http://www.onlinecomputertips.com/tutorials/control_panel.html

    See if that helps

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-hardware/all-the-icons-disappeared-in-the-printers-and/96f54795-d27f-E011-9b4b-68b599b31bf5

    How to remove printer ports in Windows XP

    http://www.ehow.com/how_8120289_delete-printer-ports-Windows-XP.html

    To remove a Port

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/print_delete_port.mspx?mfr=true

    How to remove com ports in Windows XP

    http://www.ehow.com/how_6216286_remove-ports-Windows-XP.html

  • How do I change the prolific com port device driver 4 to the com port 1

    original title: prolific device driver

    When I installed Prolific he assigns the device on com port 4.  I need to assign to com port 1.  If I change my computer 4 to port 1 of the model by using the Device Manager does not recognize the software that I use.  The software must have port 1 affected first comp.

    Hi domjoseph,

    1 do you have. what prolific device installed?

    2. What is the model number?

    3. have you installed the driver for the device?

    If it helps, try the step below and check out them.

    (a) open Device Manager.

    (b) right-click on the prolific device and click Properties.

    (c) click the "Port Settings" tab, click on the button "Advanced".

    (d) pull down the scroll down bar on the left side and select COM 1 (NOTE: choose one that does not say 'in service' next to him). Click on 'OK '.

    (e) click "OK" again Note that the device will be displayed as being on the same COM port as it was before but will be displayed on the new port, if you close Device Manager, and then open again.

    (f) close the Device Manager. You may need to run the software that came with your device to do rescan the COM ports.

    For further assistance, contact the vendor of the device for more information.

    http://www.prolific.com.tw/Eng/support.asp

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to install the Com port in Windows 7

    I would like to use the COM port in the Toshiba laptop, but I can't find it in the Device Manager. It is important to communicate with another device via a serial port.

    Given that the PC operating system is windows 7, I have not dealt with the problem.

    Where can I get the files to install COM port?

    Or is there any facility for her?

    If someone knows solutions to the problem, let me know.

    If there is no COM port or other device showing in Device Manager you will need to activate the serial port/COM in the BIOS of the laptop, assuming that the laptop has a COM port.

  • Matching Motog phone with PC Windows7 but not displayed in the COM PORT Section

    HII, I finished my phone of MotoGP with Windows 7 PC via bluetooth pairing. Then I went to change Bluetooth settings and tried to find my phone in the COM Ports Section, but I was not able to find my Phone.I has also tried to add the COM Port for my phone but it did not show in the outbound connection section. Help, please

    Hi Kunal,

    To help solve your problem, please see the answer posted by DominicP on this link.

    Feel free to get back to us if you have other concerns.

  • change the com port assigned to the fax and scan

    I used fax and scanning for once.  I had to move my external modem to a different port.

    I don't know how to change the windows fax and scan com port manually.

    the wizard does NOT start, I guess because the fax is installed and worked until I had to change the number of COM port...  I need to change the number of pot with hundreds of research, it seems that no one knows how to change manually the Compote in windows fax and scan, unless they use the wizard.

    my assistant does not start. I guess I'm 'old school' I don't need an Assistant, I need to manually change the fax uses com port.

    :-), it's frustrating because help said only: click "fax" in the lower left corner, and they all assume the installation wizard starts and everything will be fine. :-(

    the wizard does not start. :-(

    I am desperate to get my fax work and need to know how to set the correct port number in a system that is installed and running, such as the wizard never starts.

    for anyone who goes out at the end of questions and ideas, I have a fax application stand alone who is working with the new port setting. It's just not a good app for my needs

    Please?

    Thank you

    John

    Post proposed by the moderator of the appropriate forum category

    Hi John,.

    You can follow the steps below to change the COM port for a modem:

    1. search the Device Manager.

    2 look for the Modem device, right-click on it, and then click Properties.

    • If the change settings button is present, you must click on it to make changes to the appliance. If the user account control dialog box appears, confirm that the displayed action corresponds to what you want, and then click continue.
    • If the change settings button is not present, the modem does not support the ability to change the modem settings. Refer to the documentation provided by the vendor of your modem.

    3. on the Advanced tab, click Advanced port settings.

    • If this option is not displayed, the modem does not support the ability to change the assigned COM port. Refer to the documentation provided by the vendor of your modem.

    If the same persists, we suggest that you post your query in Microsoft TechNet so that their support team will provide you in-depth assistance.

    Kind regards.

  • Connect pc with win 7 to an instrument THEN use the com port and the PPP protocol

    Dear all,

    I need to make a connecting series between a pc with win 7 and one instrument.

    To achieve this I have to use the com port and Protocol PPP. In win xp is possible but I'm not able to find the same in win7

    concerning

    Diego

    Hi Diego,.

    Thanks for posting your query in Microsoft Community Forum.

    According to the description of the issue, I recommend you post your query in the TechNet Forums. TechNet is watched by other computing professionals who would be more likely to help you.

    TechNet Forum

    http://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w7itpro

    Hope this information is useful.

  • How to change the IRQ and address of some of the COM ports

    Original title: jcertain

    No, I loaded 7 a window in one of our systems.  I want to change the IRQ and address some of the COM ports and were not too.  In the pasted, you can enter the Device Manager and click on the device, then go to the "resources" tab.  There, you can find a box that allows users to disable "USE AUTOMATIC ADJUSTMENT", which would allow you to change the IRQ and address.  But for some reason any box is not highlighted so you can not.

    Please post your request here:

  • Where can I find the ability to change the com port settings in Windows 7

    Where can I find the ability to change the com port settings in Windows 7

    Port, Device Manager, select comport, right click, properties, Port settings

Maybe you are looking for