Can not send command via VISA test panel in MAX

Hello all,
I am having a small issue using the VISA test panel in MAX.  I am trying to send a simple command to a device and then retrieve the response data.  I am able to do this successfully via Labview, but for whatever reason I can not get a good response in MAX.  The command that I am sending is simply a letter (address of the device) followed by an end of line character (\r\n in ascii).  In MAX, I simply append the \r\n onto the string sent in the buffer (Send End on Writes == FALSE).  All serial settings are the same as what I have in LV (19.2, 8-n-1).  Does anyone have any thoughts?  This is kind of frustrating as I just want to do something simple and don't want to have to build a whole routine in LV to do this.
Cheers, Matt
Matt Richardson
Certified LabVIEW Developer
MSR Consulting, LLC
Solved!
Go to Solution.

Thanks, Broken.  I am getting a time out error.  Clearing the buffers doesn't seem to be making a difference. This is baffling to me.  I must be missing something fundamental.
Something that I didn't add before is that I seem to be able to send the command via labview without a read, and then read it via MAX.  This must have something to do with way it is sending the command.  Arrrrgh!
Matt
Matt Richardson
Certified LabVIEW Developer
MSR Consulting, LLC

Similar Messages

  • Another iOS 7.1.2 my iPhone 5s can not send photo via IM, FB, Twitter - etc or upload to iPhoto.

    I plug my iPhone 5s into my MacBook Pro using the USB - which normally automatically imports all phone photos and puts them into iPhoto.
    That's not happening anymore. Nor can I send a photo from my phone to others via IM, Facebook, Twitter - etc and so forth.
    I had to do a HARD RESET which seems to has fixed it for now. <HOLD the SLEEP & HOME down simultaneously until you see the Apple logo reappear>
    Hopefully this helps someone else.

    Glad to hear it worked for you and thanks for sharing your solution.

  • HT4993 Can not send pictures via text.

    Why can't I send pictures via text message from my iphone 5 unless I am attached to wifi but my daughters 4s works fine.

    You might want to contact your carrier to confirm that your account is correctly provisioned for MMS messaging.

  • Can not send mail via the server no webmail no smtp relai

    *relai host username and password is set correct:*
    log:
    Sep 8 22:00:07 macserver postfix/smtp[4939]: warning: SASL authentication failure: No worthy mechs found
    Sep 8 22:00:07 macserver postfix/smtp[4939]: CD63667854: to=<[email protected]>, relay=smtp.1und1.de[212.227.15.167]:25, delay=2.1, delays=0/0.07/2/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.1und1.de[212.227.15.167]: no mechanism available)
    *I did not understand that??!!*
    *with my old server 10.5 this does run perfect*

    I use Apple Mail. Since I upgraded to 10.6.1 my mailboxes go offline without reason. I have smtp problems although all settings are OK. When will all those problems be fixed by Apple?

  • Can not send mail via the server 7 no webmail no smtp relai

    *relai host username and password is set correct:*
    log:
    Sep 8 22:00:07 macserver postfix/smtp[4939]: warning: SASL authentication failure: No worthy mechs found
    Sep 8 22:00:07 macserver postfix/smtp[4939]: CD63667854: to=<[email protected]>, relay=smtp.1und1.de[212.227.15.167]:25, delay=2.1, delays=0/0.07/2/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.1und1.de[212.227.15.167]: no mechanism available)
    *I did not understand that??!!*
    *with my old server 10.5 this does run perfect*

    I second That...
    Please give us a hint!

  • N8 Mail for Exchange (can not send mails)

    Hi guys,
    I just got my new Nokia N8. I already setup Mail for Exchange via IMAP to sync the mails, contacts and the calendar of my private mailbox.
    Everything runs alright. But I can not send mails via Mail for Exchange. If I push on "New Mail" the program say the command can not be executed and breaks down.
    Does someone know how to fix that problem?
     Thanks from Liechtenstein.
    Phil

    Hi,
    I also had problems with unable to send emails.
    I was getting error messages in the Mail for Exchange (MfE) log files such as
    Setting DISK FULL status to false
    Error occurred during sending mail. Setting status to waiting for reconnect
    HTTP failure while sending messages.
    I figured out a work around. The problem seemed to be with the certificate.
    I ended up deleting the certificate and then only selecting "Accept this time only" which made everything work.
    I am using a Nokia 5800.
    To delete a certificate goto
    Setting > Phone > Phone mgmt > Security > Certificate Management > Trusted site certificates
    find the offending certificate and delete it.
    The next time I tried to synchronize my emails with Mail for Exchange, I was asked to select whether to accept the certificate... press the option button.
    Then select "accept this time only".
    After doing that, the emails in the outbox were sent properly.
    I have to figure out how to get this to work permanently, but for the moment it was a quick fix.
    [I hope this helps. I tried to be as descriptive as possible and write with correct spelling so that search engines will collect it.]

  • Internal mail can not send. mail stored in draft folder.

    Hello all,
    I have Exchange server 2010 installled on Win Server 2k8 R2 which is running on VMware workstatione. I installed three server OS (2k8 R2) and that server one is my  AD and DNS server. On another two OS, one is for Hub transport and CAS role and
    second one is for Mailbox server. In exchange, I am able to configure new mailbox or Database. But through OWA, my mail cant send. User can able to login into server. He can access OWA page as well can access for Address book. But when I send the mail for
    internal user, it is stored in draft folder. also meeting schedule can not send. I am testing exchange in lab environment. Please help me to resolve this issue.

    Hi,
    From your description, I recommend you run the Test-ServiceHealth cmdlet to verify if all the Windows services that Exchange server requires have started, especially the Microsoft Exchange Transport service.
    If all the services that Exchange server required are started, please use message tracking to trace these undelivered messages and check if there is any error.
    Hope it helps.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • FIOS to DSL now I can't send email via port 25 or 587

    I was cruising along fine for a year on FIOS.  Then I moved 2 days ago to a new house with DSL.  I connected my system the same as before.  Viola!  I can not send email via Outlook 2002 on non verizon email acccounts.
    Yes, I have read through the port 25/SMTP issues but nothing has worked.  Online support reset my winsock settings, but did not work.
    XP sp 3
    Outlook 2002
    Non Verizon Email
    Anyone find the solution?
    Thanks in advance!
    Solved!
    Go to Solution.

    Maybe this will help:
    For the sake of example, we are going to pretend that we are setting up your outgoing server with  fictional account  "[email protected]" and the password for logging into that account in webmail is "fakepassword" - Again, this is a fictitious account for the sake of an example.
    The Incoming settings will be what your 3rd party provides.
    Outgoing Server: outgoing.verizon.net
    Server Requires Authentication: Yes
    Username: fakeacct
    Password: fakepassword
    Requires a Secure Connection (SSL): No
    Port: 25 (although 587 also works.)
    These settings should work unless you have a Verizon/Yahoo account, in which case the server name should be: outgoing.yahoo.verizon.net
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • VISA (Serial port) commands fail in the VI, but work in VISA test panel

    Hi, I have an instrument which has a usb connection. When I connect it to a Windows 7 PC, it automatically picks up the driver and shows up as a "USB Serial Port (COM7) (Manufacturer is FTDI). 
    When I open up NI MAX, this device shows up as COM7 (ASRL7::INSTR) under "Serial and Parallel". And, when I click on Open VISA Test Panel, and try the "*IDN?" command, it works OK.
    However, the VI (which just sends a VISA command "*IDN?") gives me a time out error (0XBFF0015) or a device/resource not present error ( 0XBFFF0011). Attached is a screenshot of the VI. 
    Any ideas why?
    Thanks. 
    PS: I went through the process to create the VISA-USB driver, but that has some other issue, but I am trying to understand why this occurs. This device also has a GPIB port and when I use a USB-GPIB adapter, it works very well. 
    Solved!
    Go to Solution.
    Attachments:
    problem_vi.JPG ‏24 KB

    SysB1 wrote:
    Hi, I have an instrument which has a usb connection. When I connect it to a Windows 7 PC, it automatically picks up the driver and shows up as a "USB Serial Port (COM7) (Manufacturer is FTDI). 
    When I open up NI MAX, this device shows up as COM7 (ASRL7::INSTR) under "Serial and Parallel". And, when I click on Open VISA Test Panel, and try the "*IDN?" command, it works OK.
    However, the VI (which just sends a VISA command "*IDN?") gives me a time out error (0XBFF0015) or a device/resource not present error ( 0XBFFF0011). Attached is a screenshot of the VI. 
    Any ideas why?
    Thanks. 
    PS: I went through the process to create the VISA-USB driver, but that has some other issue, but I am trying to understand why this occurs. This device also has a GPIB port and when I use a USB-GPIB adapter, it works very well. 
    Look up the examples that ship with LabVIEW.  What you have there isn't quite complete - for serial VISA.  While GPIB will work great with what you have, serial VISA requires you to configure your serial port and is a little more complicated to read.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Has to type each character twice while supplying command in Open VISA test panel

    has a set of commands to work witha system connected to the MS windows PC. when I trype the commands in Hyperterminal (with/without ) they are yielding the expected results.
    in LabVIEW, to get the expected results I MUST has to type 'each character' in the command Twice(except blank space) in the Open VISA test panel (viWrite/viRead). If I give the command  is given the usual way(with each character typed only once), the result always is 'illegal command'.....the same works fine in the Hyperterminal.

    What confused Ashwin is that you said "In LabVIEW". OK, so you're using the MAX test panel. There's one thing that's not clear. You said "when I trype the commands in Hyperterminal (with/without )". With/without what? How is your Hyperterminal session configured? Have you tried something like PortMon to see what's actually being sent from the serial port driver?

  • I can't send emails via mail. I can receive but not send. I have set up gmail on mail. Any ideas?

    I can't send emails via mail. I can receive but not send. I have set up gmail on mail. Any ideas? No problems with the set up previously to this.

    Go to Mail Preferences- Accounts and confirm you are providing Gmail what they require to send and receive mail. And DON'T specify Secure Socket Layer. Some mail accts don't like SSL
    Good Luck to you.

  • I can not send/receive email via Icloud

    mail on icloud is not working anymore only on imac not ipad
    keep getting message "can not send message using smtp.mail.me.com can not be contacted port 993"
    any tips to get this sorted?
    thx

    Go to System Preferences>iCloud, turn Mail off, restart your Mac and turn Mail back on.

  • Can not send notes via my iPhone

    Good morning everybody,
    I edit my notes in my iPhone 4s, I would like to send it into my e-mail address, it sound to be sent (I can hear a beep sound while pressing the button 'Send'), but I don't receive anything into my inbox.
    I am using Gmail account, I can send and receive emails with any doubt.
    Thanks for your help

    Hello,
    I am having the same problem as above.  I am using Windows Live Mail (on desktop) and my email works perfectly thru that.  I have an Iphone 4 with iOS 5.  I receive emails but can not send emails.  I have filled in the 'optional' fields and it still does not work.  I have tried with "use ssl" on and off and no difference.   I have a Bell account.
    Any suggestions?
    vanspek

  • BK Precision device works in VISA test panel but fails when using driver

    I am trying to control a BK Precision XLN power supply.  I have set it up as a TCPIP VISA instrument using sockets (port 5025).  It validates fine in NI MAX, and when using the VISA test panels I can write to and read from it (although I get a timeout error on the read if I specify too many bytes).  When I use the supplied instrument driver blocks in LV, VISA read commands always timeout and fail to return anything, regardless of how many bytes are specified.

    I don't think it is a VXI-11/LXI instrument, it did not autodetect and I had to use the 'Manual Entry of Raw Socket' option to set up the device.  I am sending  a termination on the write (\n), if I don't send a termination on the read it captures the read but then gives a timeout error if waiting for more bytes, if I use a termination cahracter on the read it functions as you would expect, except that it returns multiple termination characters (line or carriage feeds) in some messages so you would have to perform multiple reads to get the whole message.  (this is all in the test panels, I haven't gotten anything back using the VISA blocks in a VI)
    Given that behaviour it seems more like what you would get using a telnet terminal interface but even given that I still am confused why I can talk to it with the test panel and not using the VISA blocks in a VI. 
    Thanks,
    Stearns

  • MAX visa test panel viread error 0xBFFF0015

    I am running labview 8.5 and VISA 4.2. When I go to MAX and open the VISA test panel, the viread malfuctions. When I test it, it returns a timeout error (Hex= 0xBFFF0015). The viwrite tab also gives me the same timeout error sometimes. What can I do to correct this error?
    Also, In the labview program, we are using an RS232 serial port to collect data. Using the visa configure serial port function, we have set the timeout to 10 seconds, and we have set the VISA read byte count to 1. In our code, we have three subVIs in a visa session. The first one works fine, the second and third malfunction, because the bytes at the port show a value of 0.  Is there any relation between this problem and the previous one? Thanks for any help!

    I do not know if you are familiar with the instrument, it is a CSAT3 3D sonic anemometer. I have attached the three subVIs, since I am not sure exactly what the command is. I am very new to labview, so I am not too familiar with the commands.
    The initialize VI is the first one executed, the second is the SA sync, and the read anemometer is the third one.
    Message Edited by Ning123 on 06-20-2008 10:22 AM
    Attachments:
    Read_Anemometer_steve.vi ‏153 KB
    Initialize_SA_Comm.vi ‏136 KB
    SA_sync_steve.vi ‏39 KB

Maybe you are looking for

  • Crystal Server 2008 authentication issue

    I have installed Crystal Server 2008 v1 on Windows Server 2008 64 bit, IIS 7 using AD authentication (not SSO). IIS has been configured to accept anonymous connections. If I run .net Infoview on the server it is fine, but as soon as I connect from a

  • Data Block Corruption

    I'm on 9i R2 Patch 7 on a Microsoft Windows Server 2003. How do you fix data block corruption in a Table? Is the some way to retrieve the data from the Table drop it then recreate and reimport the data? or do you have to succumb with restoring the Da

  • Improving cooling for B&W processor

    After determining that my B&W G3's processor was causing frequent freezes due to overheating, I replaced the original thermal pad on the heatsink with thermal compound. Now the freezes seem to be gone--but only if I run with the case open and a small

  • Technical Content - Query Execution

    Hi, I have recently activated the Technical Content. How do I identify the number of the times the query has been executed by the user? I found one column 'Number of Navigations' in the BW-Statistics workbook. What is this meant for ? Thanks Ramesh G

  • Resource has already committed the response

    I'm getting the following exception thrown in my JSP. java.lang.IllegalStateException: ERROR: Cannot forward. The resource "/jsp/AccountRebalancing.jsp" has already committed the response I'm not using forward, sendRedirect, out, flush, close etc. Ba