Cannot set COM parameters in NI VISA Interactive Control

Hello everyone,

I made a custom pcb that communicate constantly with the pc via RS232 (this is a one-way communication from the device to the LabView). I followed the example of serial communication and the .vi seems to work very well via the loopback test, but when I try to read the real signal from the turntable there is zero byte available at the port.

I used the block VISA Config to set up communication (9600 bps, 8 bits, no parity, 1 stop bit, no stop character) and the block size of the buffer, but in interactive of Visa OR the serial port control is configured with the transmission buffer and receive buffer sizes to 0 and to search for a character of endpoints (line break) on the bed. I tried changing the settings and I get a message "no error", but when I apply the changes and close the port window, they are returned to the default values.

This could be the reason why I get no data in the buffer? How can I change the settings for interactive control?

Thanks in advance to everyone

I see nothing in this dialog box that aims to "save changes".  I don't see that to apply to which probably applies only while you have this open test session.

If you do not want to change the 'default' settings to a port, do you with Max when you click the port.  Change a setting here, and you can click on save.  I would never recommend to do.  For me, the VI should be the setting of the parameters.

It shouldn't matter anyway.  Set the parameters in your VI will overwrite everything that comes as default values by Windows, or MAX.

senor_homme wrote:

This would explain why there is no bytes in entry, because there is no character endpoint not found.

The use of the character of endpoint has nothing to do with the question of whether the bytes to the port there.  The stop (if enabled) character is a method to tell when a reading VISA will come back with data.   A VISA read returns with data every time that:

1. the stop character arrives at the port, if it has been activated.

2. the number of requested bytes returns (and asking for zero byte means that it returns immediately with nothing.)

3. the timeout has expired.

Have you tried to see if your device sends data using another terminal Windows of the program which is not LabVIEW?  Used to come with Hyperterminal of Windows, but it disappeared.  I don't know what I would recommend instead.

Tags: NI Software

Similar Questions

  • Need help to test the VISA interactive Control: Sorensen XBT32 - 3FTP USB connection problem

    Hello

    I use Windows 7. I installed the USB driver provided in this link:http://www.sorensen.com/products/XBT/XBT_Downloads.htm.

    Max is on the ASRL5: COM5 series & parallel in the Device Manager it is listed in the port: COM5

    I don't know how to test using VISA interactive control to ensure that the connection is established.

    Here are the parameters:

    Serial settings:

    Baud rate: 38400,

    Data bits: 8

    Stop bits: 1

    Parity: None

    I use the default settings for the other options such as flow control: none, Timeout = 2000ms etc.

    In the attributes view tab:

    Attribute: is the connected port

    Current value: error VISA: (Hex 0xBFFF001D) the specified attribute is not defined or supported by the referenced resource.

    I don't know if it's important.

    When I write * IDN? \n (bytes to read: 6), I return the Count: 6 bytes

    When I click on "Read Status Byte":, I get the following error:

    Error reading STB operation VISA: (Hex 0xBFFF003A) cannot start the operation because the installer is not valid (because of attributes defined in an inconsistent state).

    If I click on "Query", I get the following error: reading operation error VISA: (Hex 0xBFFF0015) timeout expired before the operation is complete.

    I also tried to create USB raw driver help driver of VISA Assistant. In this case I kept getting timeout errors: read operation error VISA: (Hex 0xBFFF0015) timeout expired before the operation is complete.

    Can you please tell me what I'm doing wrong?

    Thank you.

    Who cares about the number of bytes written? And configure the windows com port is not relevant. What is important is how you set the com port in the VI or max.

  • Why is-Visa Interactive Control unable to find or load the visa library

    I'm using LabVIEW 8.5.1.  I recently installed driver VISA tektronix to connect with one of their products.  That has proved to be a bad idea.  I've uninstalled it one then installed VISA460, but when I try to write a labVIEW driver that communicates via RS232 or USB, I get this error:

    LabVIEW: (Hex 0xBFFF009E) VISA or a library of code required by VISA impossible situated loaded.  This is usually due to a required driver is not installed on the system.
    =========================
    VISA: (Hex 0xBFFF009E) a code library required by VISA impossible located or loaded.

    When you try to run an interactive control Visa I get an error saying unable to find or load the visa library.  Is there anything else I need to download?  Any help would be great. Thank you.

    I had already done this, but had no luck.  However, I could be back up and running using Msiblast.  This is a great little program.  So, if anyone has problems in the future, simply download Msiblast and delete everything has VISA inside and then run the Setup program OR Visa.  Thanks for the help.

  • Interactive Control VISA & VISA Read timeout expired

    VISA control gurus,

    I am trying to contact my wireless AGILENT N8300A Test set.

    I am able to do the same thing via NI VISA Interactive Control...

    (Attached is the captain)

    But if I tried to do the same thing with a sample program.

    (Also attached below)... program shows a

    VISA: (Hex 0xBFFF0015) timeout expired before the operation is complete.

    I tried to use Async mode and synchronization in the VI... Reading VISA.

    But it always shows error timeout.

    I'm not able to understand what could be the difference, if it works well

    in an interactive control NI VISA, but not in my program

    Any help or pointers would be appreciated...

    Kind regards

    Diakité

    Hello

    very good that you have added the vi.

    You add a CR instead of a line break.

    You can do that in the string by selecting "------" mode for the string constant, you can use any string appearing in your comment as the display string constant.

    Good luck

  • 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.).

  • com.sun.faces.el.impl.ElException: cannot set read-only expressions

    Hi all

    I have done rendering m using the conditional expression for the selected attribute of < af:selectBooleanCheckbox >, but the read-only check box and I am not able to deselect them or select later.

    Here is the code:

    * < af:selectBooleanCheckbox value = "#{rank." Eligible == 'Y '? "{true: false}" id = "selectBooleanCheckbox1" / >. *

    If I use the JSF HTML component like * < h:selectBooleanCheckbox value = "#{rank." Eligible == 'Y '? "{true: false}" id = "selectBooleanCheckbox1" / > * and uses conditional expression, the box is rendered and I am able to select or deselect. However once I have send the form then throw it upwards under the exception:

    com.sun.faces.el.impl.ElException: cannot set read-only expressions

    Thank you.

    Kind regards
    R N V Prasad.

    Hi Prasad,

    You don't mention that you use for your model layer; the easiest way to proceed is to expose a Boolean attribute on your model layer and link box to the. If you use ADF business components, just to create a transitional attribute and create a getter for her in the java class that will return true or false, depending on the value of "eligible" in the same way, create a Set accessor, which sets the 'eligible' O/N according to if true/false is passed.

    John

  • RN314 cannot set up alerts

    Just I have an open for this support ticket and I'm getting nowhere fast at the moment, while the community has been so useful until now I was wondering if someone here could help/advise.

    -For the NASs x RN31400 2 I am owner and you have registered with you I am unable to setup e-mail alerts. I tried to use 3 e-mail addresses of 3 service providers: Yahoo, Hotmail/Outlook and also my own ISP TalkTalk email providers. No matter what settings I use for all 3 e-mail providers, I get the following error message: check the settings of the smtp server cannot send a code error message 5008010002 msmtp test e-mail alert on my 3 x NV + s very well using my Yahoo e-mail address work. On one of the RN31400s using Yahoo worked initially and the alert section would say that it has been configured correctly and I'd get emails to my 2 hotmail addresses, it was on 1 of my RN31400s on the other RN31400 the settings would save not and always say, there was a problem but I had managed through test messages. Now, no matter what settings I use, which email provider I use, etc. I can't e-mail job alerts! Please help because this is obviously a problem with the NASs and the software on devices, the version of the firmware on two is 6.4.1 Ive set up the addresses of 3 E-mail on an e-mail within my network client and all 3 work well, the 3 x NV + s do not have a problem using my Yahoo account to send alerts check my routers and firewalls there is no blocked traffic and I can't telnet to Server 3 Messaging without problems. Please advise/help, thanks.

    And...

    OK the update of the firmware did not work, I have one of the update firmware version 6.4.2 RN31400 and after 2 reboots, I am still unable to receive job alerts.

    The I am using SMTP servers are:

    Yahoo =
    ------------------------
    Email provider: Custom
    User: [email protected]
    Password: xxxxxxx
    SMTP server: smtp.mail.yahoo.com
    SMTP port: I've tried 25, 465, and 587
    From: [email protected]
    Use TLS: I tried checked and unchecked

    Hotmail/Outlook.com =
    ------------------------
    Email provider: Custom
    User: [email protected]
    Password: xxxxxxx
    SMTP server: smtp - mail.outlook.com
    SMTP port: I've tried 25, 465, and 587
    From: [email protected]
    Use TLS: I tried checked and unchecked

    TalkTalk = it's the ISP I use!
    ------------------------
    Email provider: Custom
    User: xxxxxxx@TalkTalk,net
    Password: xxxxxxx
    SMTP server: smtp.talktalk.net
    SMTP port: I've tried 25, 465, and 587
    From: xxxxxxx@TalkTalk,net
    Use TLS: I tried checked and unchecked

    Ref: browser, I used Firefox and Internet Explorer, not that it should make no difference whatsoever.

    Ref: screen captures, don't need the parameters are listed above for the two RN31400.

    Ref: parameters for the NV 3 x + an are as follows:

    Yahoo =
    ------------------------
    Email provider: Custom
    User: [email protected]
    Password: xxxxxxx
    SMTP server: smtp.mail.yahoo.com
    SMTP port: 465
    From: [email protected]
    Use TLS: Is checked and

    Test of the emails for the configuration of alerts on the NV + s are still working fine, DO NOT WORK for the RN314.

    Please tell us what can be done to solve this problem, thank you.

    And...

    Full error message =

    Unable to send a test message.

    Unable to send a test message. Check the settings of the SMTP server. Code: 5008010002 error msmtp

    DateTime: 05:02:09 04/02/2016

    And...

    Hello

    Just right now I can read the KB article - which does not help somehow:
    KB.Netgear.com/app/Answers/Detail/A_ID/23066

    There is nothing wrong with the configurations that I use.

    All 3 servers SMTP and the above settings work very well on my NAS NV +.

    All 3 servers SMTP and the above settings work fine on Outlook or Mozilla Thunderbird's within my network.

    All servers SMTP 3 and address listed above work fine when I Telnet to them within my network.

    First settings of Yahoo SMTP worked well on one of the RN314 and seemed saved and ok.

    Also...

    At the beginning of Yahoo SMTP settings worked well on one of the RN314 but not record or say that it has been configured correctly.

    Then obviously there is something wrong with the SMTP service/server on these NAS RN314 2 bed.

    I am not willing to allow you access as it will provide no benefit whatsoever.

    For the course of 20 years, so it's nothing that can be done with you giving remote access with the exception of confirm you what I have already said previously, I have worked in it.

    And...

    So please advise what Netgear will do then or advise what other other confirming my settings allow remote access?

    Your forums to research it seems that problems with mail like this are apparently quite common, so what has already been done to solve the problem?

    Also the error code: Code: 5008010002 error msmtp

    Why you are not this survey with your development teams who wrote the OS on the NAS working on what actually the error means?

    There is nothing wrong with the configuration that it works very well on my 3 x NV + NAS, it works very well in e-mail clients, it works very well in Telnet, and it worked very briefly on the 2 x RN314 of for of Yahoo SMTP settings.

    Eron - if you are unable to help further please add this problem to your support line... 3rd line?

    Thank you.

    And...

    I also tried my account GMAIL apps less secure according to this thread the value:

    https://community.NETGEAR.com/T5/using-your-ReadyNAS/cannot-set-up-alerts-on-my-ReadyNAS-RN314/TD-p/...

    GMAIL =

    ------------------------
    Email provider: Custom
    User: [email protected]
    Password: xxxxxxx
    SMTP server: smtp.gmail.com
    SMTP port: I've tried 25, 465, and 587
    From: [email protected]
    Use TLS: I tried checked and unchecked

    If this does not work on the RN314 but it works very well on the NV + of via Telnet and in an email client (x 2)

    Please escalate to your next level of support, thank you.

    Right, I have fixed on one of the RN314 far...

    I backed up all my data on this RN314 and did a factory default.

    I have reproduced the RN314 settings manually then nonworking time for the reset RN314 except for identification data, i.e., name, etc.

    Exactly as it was before... and now the RN314 in default works fine.

    I am currently backing up the data on the RN314 now inactive to perform a Setup factory on that one and see if that solves the problem on this one here.

    Then we can close this and I will refer to it with a new thread if I need if the second RN314 still has problems after the default settings.

  • 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.

  • Cannot set "Power Options."

    Cannot set the 'power options' in the Power Options dialog box.  There is no saved power scheme and boxes for standby, turn off hard drive, hibernation, etc. are all dark and I cannot choose one of them.  Help me if you can.

    Hello

    ·         Did you do changes on the computer before the show?

    Follow the steps in the Microsoft Knowledge Base article and check.

     

    Power scheme options are unavailable on a Windows XP-based computer

    http://support.Microsoft.com/kb/913622

    You can also view the article mentioned below for more information:

     

    Configure Windows XP power management

    http://Windows.Microsoft.com/en-us/Windows-XP/help/Setup/configure-power-management

    Let us know if that helps.

  • HP LaserJet Pro MFP M125-M126: cannot set the default printer

    Hello

    We have HP LaserJet Pro M125 - M126 PCLmS network MFP all in one printer, as the installation of all users was a success and was working fine the day of installation, after a day all users face the question cannot set default pritner, cannot print, all users are faced with question at a time ,

    quick response is appreciated,

    Hi @darshan9 ,

    I see that you have problems affecting the default printer for users and you cannot print over the network.
    I'd love to help you.

    Do you mean the configuration of individual computers with the printer on the network users, or a computer with multiple users?

    You have administrative rights on the computer to make changes?

    What is the name and the product number of your printer? How can I find my model number or product number?

    Download and run the Print and Scan doctor. It will diagnose the problem and could solve it automatically. http://www.hp.com/go/tools > using HP diagnostic tools for printers under Windows HP.

    I suggest you to check if you have another account user or an administrative account.

    I also suggest to create a new user account and check if you are able to set the default printer.

    Create a user account. Create a user account.

    If you're still having problems, run the Fixit tool. Diagnose and automatically fix problems printing and printer.

    What were the results when you ran the Print and Scan Doctor? (she print or scan, error messages)

    If there is anything else I can help you, let me know.

    Good day!
    Thank you.

  • Cannot set the restore point with the error "The Volume Shadow Copy service used by the system restore does not work."

    Cannot set the restore point with the error "The Volume Shadow Copy service used by the system restore does not work."  How can this be repaired?

    Hi rebick,.

    Try the troubleshooting steps presented by spirit X in this thread.

    Dena
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Cannot set a default website in Google Chrome

    Hello

    Cannot set the default Web site in Google Chrome.  IE has been simply to go to the top of the page of google/right click / check the menu/internet options / and choose URL [google.com] to start by default.

    It is impossible for me to understand or to find the way to do the same for Google Chrome.  I just want to open google.com when I click on the Google Chrome icon.  Please notify.

    Thank you

    Joe

    Hello

    Thanks for posting your query in Microsoft Community.

    However, since the issue is specific to Google Chrome, I will ask post you your query in Google Chrome support for the best support possible.

    Do not hesitate to write to us in case you have any problems/concerns while working on your computer, we will be happy to help you.

  • Cannot set a breakpoint in javascript

    I use VS2008 SP1 running on Windows XP Professional with SP3.  I installed the Plugin of Web 2.0 for Visual Studio.  I have read the release notes and noticed that there was a known issue (225460 DPI) that says that you cannot set a breakpoint in a static script.  "Static" means a script in a separate file?

    JavaScript is enabled in the simulated device.

    I also checked the status of the installation of MSMQ and the integration of Active Directory is not checked.  However as I don't have a domain, it does not apply to me.  This could be a problem?

    I have also included the output of the debugging session:

    Set a breakpoint in the [dynamic] document refers to the dynamic area that load in visual studio, when you start to debug.  You will see this area appears above your solution in Solution Explorer.

    You must open the file that comes up in this area and then set your breakpoint in the file.  You will notice that when you open one of these documents, they show [dynamic] at the top of the tab.

  • I cannot set up my email account and get prospects to accept it. I am tring to use a gmail account, I am new to this and don't know what iam do any help would be great

    I cannot set up my email account and get prospects to accept it. I am tring to use a gmail account, I am new to this and don't know what iam do any help would be great

    Hello

    1. you try to add the Gmail account in Outlook?

    2. are you referring to Outlook.com or Microsoft Office Outlook?

    If you are referring to Outlook.com, then I suggest you according to the application in the Windows Live forum to improve assistance:

    Reference:

    http://answers.Microsoft.com/en-us/windowslive/Forum/mail?tab=QnA

    If you are referring to Office Outlook, and then send the query Office Forum.

    Reference:

    http://answers.Microsoft.com/en-us/Office/Forum/Outlook?tab=QnA

    I hope this helps. If you have any other queries/issues related to Windows, write us and we will be happy to help you further.

  • Cannot set the default printer. error 0 X 00000709

    Hi all

    Cannot set any printer as the default printer. An error message appears, error 0 X 00000709. I have tried to use a guide on the Forums, on the Windows system registry, still does not work. And I couldn't print anything using the PDF, but Words of Microsoft Excel and Notepad are able to print. In addition "format the hard drive, create a user and Fix a user profile is corrupted", is there a solution? Help will be very appreciated.

    Thank you

    Aaron Kwan

    Hi Aaron,

    I appreciate your efforts to solve the problem.

    What is the brand and model of the printer?

    This problem can occur if the wires that are not connected correctly, due to corruption drivers, drivers incompatible, if print spooler service is not started, because of problems with the printer and the printer, missing updates settings.

    Method 1:
    I suggest you to run the fixit and check if it helps.

    Diagnose and automatically fix problems printing and printer
    http://support.Microsoft.com/mats/printing_problems/

     

    Method 2:
    If the problem persists, I suggest you temporarily disable the security software of the computer and check.

    Disable the antivirus software.
    http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

     

    Method 3:
    If the problem persists, I suggest you try the procedure described in the article and see if it helps.


    Note:
    try all the steps except the resolution of problems.

    Printer in Windows problems
    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    Check out the link for more information:

    Resolve PDF printing problems. Acrobat, Reader
    http://helpx.Adobe.com/Acrobat/KB/troubleshoot-PDF-printing-Acrobat-Reader.html

    Hope this information helps. Answer the post with an up-to-date issue report to help you further.

Maybe you are looking for

  • Restore problem

    After a disastrous accident (office a6050y) which has corrupted the registry I got a message to restore the original state. And an offer to restore my files that I made. It was a program of HP. Now, I have installed Windows 7 and have a problem, try

  • Can anyone help difficulty perpetual demand to install KB2463332 who fails time and time again?

    Install the shield guard alert me to install this: Microsoft SQL Server 2005 Express Edition Service Pack 4 (KB2463332) but it does not work. I tried a number of different ways and each of them have failed. I downloaded several requests to Fix It and

  • Event ID of diagnosis-perfomance: 100. Slow start

    No recent changes. A boot suddenly dropped from 30 seconds to 3 minutes. Log name: Microsoft-Windows-Diagnostics-Performance/OperationalSource: Microsoft-Windows-Diagnostics-PerformanceDate: 2010-07-12 19:30:48Event ID: 100Task category: startup perf

  • VAIO touch 20 faucet, tiles do not open

    Someone at - it a problem considering that, when a tile is typed, that is to say, the tile picture enlarged to full screen but does not open the app? Thank you

  • Not able to install MySQL

    When I install MySQL in my PC. Then it installs successfully by the command line, but the service starts do not. The error is of service may not be started on the local computer. Please give me the solution?