VISA Test Panel doesn't work on Non-Developer Environment

I'm trying to make an executable to be installed on other machines. I have included VISA support and NI MAX along with the runtime environment software. In order to see how flexible my code needs to be, I'm trying to use NI MAX to see how to read/write to the different instruments. However, the VISA Test Panel button is completely grayed out and cannot be clicked. While it is not working, I've been using Hyperterminal, but I need more details than Hyperterminal can provide (but NI MAX can). I can see the COM Ports correctly and they can be written to/read from using LabVIEW (it's the output format that I need to know).
I'm using LabVIEW 2013, but it also happened with LabVIEW 2012 SP1 f4.
Thanks,
Quevvy

LabVIEW is definitely relevant in this case: it was installed using an installer BUILT IN LabVIEW.
But installing the full version of NI-VISA worked.

Similar Messages

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

  • 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

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

  • 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

  • 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

  • I just reinstalled PSE 9 and now my edit effects panel doesn't work when I click on it. Help!

    If anybody had this problem and has the solution, please share and I'll be a happy camper again. I have Window Vista. Thanks.

    Hi,
    When you are saying that the edit effect panel doesn't work, Do you mean there is nothing in the panel (It is an empty panel) or there are items but when clicked nothing is happening ?
    Also, Is it the case with Edit Effect panel only or other panels are also behaving in same way ?

  • ISF/javascript code doesn't work for non-English RequestCenter proile

    ISF/javascript code doesn't work for non-English RequestCenter proile
    Hello,
    I am not sure if i posted the same question before also. We have some customers who have set thier language profile in newScale requestcenter to French. However, all the javascript customizations configured on the service forms do not function for 'French' as a Langauge preference. Has anyone encountered the similar issue before and can anyone please suggest a solution for it?
    Thanks,
    Mihir

    we had a similar issue a while back where the Approval button was not working in Spanish, needed a fix from nS for it
    The way to fix this would be to locate the language XML file, override the French caption with Submit and on onLoad write a global JS that would write the button label again (not so sure about this)
    But really its an major defect and they should be able to fix it.

  • SMS doesn't work for non-local phone number

    Moved to http://supportforums.blackberry.com/t5/Java-Development/SMS-doesn-t-work-for-non-local-phone-number/...

    Hi iantra123,
    Just make sure you make the SIP-Phone use G711ULAW
    https://supportforums.cisco.com/thread/2074398
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucme/admin/configuration/guide/cmeadm/cmefac.html
    Kindly rate the post accordingly.
    Regards,
    Kevin

  • Qosmio F50-10z' s front operation panel doesn't work

    My front operation panel doesn't work. I have tried to recovery my computer and reinstall the VAP but it still doesnt work.
    I want to why...

    Hi!
    What do you mean with if it doesnt work?
    If you try to install a newer version of Toshiba Value Added Package you should remove the old version first. Reboot the notebook and install the newer one.
    Last but not least try to update the BIOS. You can find it on the Toshiba website:
    http://eu.computers.toshiba-europe.com => Support & Downloads => Download Drivers
    Bye

  • Visa test panel in NI MAX ver 5.4.0 read timeout

    I am using the visa test panel in NI MAX ver 5.4.0 and I connect to a CVI application I currently have a server socket up and running. My server accepts the connection form the visa test panel ok, and when I write from the visa my application sees it immediately. Then I try to read and the visa will timeout, at which point the visa displays what I sent in the 'send' command. I cannot determine why the visa writes to my application ok but the send is not received until the timeout occurs in the visa tool. In my application I am doing a simple 'send' on a valid socket. I am not sure why, but if anyone has any answers I would appreciate it. Here is a snippet of my code in my main:
      char sendbuf[64];
      strcpy (sendbuf, "ACK\n");
      /* Initialize WINSOCK before any socket calls are made */
      iResult = WSAStartup(MAKEWORD(2,2), &WSAData);
      if ( iResult != 0 )
       return SOCKET_ERROR;
      if ((ServerSock = SockOpenServer(SERVER_PORT_NUMBER_TCP)) == SOCKET_ERROR)
       return SOCKET_ERROR;
      /* By now the socket should be successfully bound.                */
      /* Wait for clients to connect. As each client connects,          */
      AcceptedSock = SockWaitForAccept(ServerSock);
      /* Indicate the socket has been initialized and a client has been accepted */
      if (AcceptedSock > 0)
       isServerInitComplete = TRUE;
      else if (AcceptedSock == SOCKET_ERROR)
       runRDPServer = FALSE;
      while (runRDPServer)
       BytesReceived = recv(AcceptedSock, ptrCh, BytesToRead, 0);
       if (BytesReceived > 0)
        /* for now just send back an ACK to ackknowledge the receipt of data */
        if (strncmp(ptrCh, "*IDN", 4) == 0)
         BytesSent = send(AcceptedSock, sendbuf, (int)strlen(sendbuf), 0 );
        if (strncmp(ptrCh, "*ESE", 4) == 0)
         runRDPServer = FALSE;

    Stephanie, I did go look at the link you provided this morning. That particular paper seem to deal with serial connections. The app I have is for TCP/IP and that's where my problem is. I did find out today, that when talking to my app using a LabView app for TCP there is no timeout in the receipt of data in the LabView TCP app, where as the Visa connection timeouts but still reads the buffer after the timeout occurs. So there is something in that Visa connection to my app, which is a server in 'C' creating the socket. We are currently going to continue with an interface with a LabView TCP connection to my app. Thanks for your input.

  • (Substitution Variables) not working in "SQL Developer" Environment !!!!!!!

    this photo illustrate how that (Substitution Variables) not working in "SQL Developer" Environment :-
    http://www.imagehosting.com/show.php/1555180_ddddd.PNG.html
    any solve for this problem ?????!!!!!!!!!!

    There is a dedicated forum for SQL Developer related questions
    SQL Developer
    I should admit however, that query you have provided ( with substitution variables) works like a charme in my environment (SQL Developer 1.1.0.23 build 23.64)
    Best regards
    Maxim

  • How does the "Read Status Byte" work in the VISA test panel?

    I'm currently trying to replace an HP-85 with a modern computer running VB.NET, which will communicate with an HP 3421A. Unfortunately the 3421A was created before SCPI was created, so I believe the commands I am able to send are dictated by what the 3421A lists in the manual (http://exodus.poly.edu/~kurt/manuals/manuals/HP%20Agilent/HP%203421A%20Operation,%20Programming%20%20&%20Configuration.pdf).
    The commands I'm trying to use to troubleshoot are "DCV", which reads a voltage, and "SR", which returns 24 different registers, with register 1 being the status byte. When I write "DCV" and then read, it returns a correct voltage. When I write "DCV" and click "Read Status Byte" in the VISA panel, it lets me know that data is available to be read and when I read it returns a correct voltage. When I write "DCV", then "SR" and then read, it returns 24 different bytes, with the first byte being the status register, but it doesn't recognize the "DCV" command from before and the status byte is now 0, which leads me to believe that it's overwriting the "DCV" command from before.
    How can I mimic the functionality of the "Read Status Byte" button in the VISA panel? How does this work on instruments created before SCPI was implemented? Sending "*STB?\n" doesn't work. I am new to instrumentation so if I left out some necessary information please let me know. 

    Thank you for the suggestion. I found a solution by adding NationalInstruments.NI4882.dll and using the SerialPoll function.

  • Timeout error (Hex 0xBFFF0015) in NI VISA test panel when attempting to read from device

    Hello,
    I am attempting to control the set position of three daisy chained four-way actuator valves. They are VICI Valco and model # EUHA. I have them connected via RS-232 to USB into my computer. I was able to communicate with them when I sent some simple commands through hyperterminal and when I open MAX the devices appear and the panel says the devices are functioning properly. However, when I go into the test panel and try to run some default commands, I get the timeout error, 0xBFFF0015, when reading the command. Thank you for any help you can provide.
    Solved!
    Go to Solution.

    Okay I'm running it again today and I'm noticing that its displaying results when I attempt to read from the valve but still tells me it timed out. Aside from the timeout error, both hyperterminal and visa are providing comparable results. The two commands I have been trying to read from the valves are AM (to check what mode the actuator is set to) and CP (to check what position the valve is at).

  • Remote panel doesn't work

    I am using 2011 SP1 version of LabVIEW, toolkits and add-ons. I am trying to make the following remote panel opening VI work.
    This used to work well on LabVIEW 8.5 but now I get an Error 7 from the last Invoke Node of the second loop. The top loop works fine. HPAC Main.vi is running as a startup VI on the RT target (PXI-8106). I can open its front panel using this VI. But the second loop can't open ST_viewer 1.vi. File names and paths are all correct. For building HPAC.rtexe, on the Source Files tab, HPAC Main.vi was chosen as a startup VI while ST_viewer 1.vi was put in the Always Included box. The VI server of the PXI is using TCP/IP port 3363. The PXI is directly connected to this host PC by an Ethernet cable.
    I also made a very simple project (attached file named ServerTest), deployed its rtext to the PXI and ran it as startup. After rebooting, I tried to open the remote front panel of main.vi and sub.vi on the PXI using access.vi. I get the following errors at the Invoke Nodes.
    For trying to open main.vi > Error 1352: Requested VI is not loaded into memory on the Server Computer
    Fro trying to open sub.vi > Error 7: File not found......
    As suggested in the article, Real-Time System Manager seems useful but I can't find it. Tools > Real-Time Module > and then I can't find the system manager. I only see Project Wizard, Configure Time-triggered Network and Execution Trace Toolkit. Does 2011 version have something else?
    Any help will be appreciated!
    Attachments:
    HPAC Executable.vi ‏33 KB
    ServerTest.zip ‏215 KB

    Thank you, JaymeW. I found the VI States tab in the Distributed System Manager. And yes, all the steps in that article were already done.
    If I set sub.vi as a startup VI on the PXI along with main.vi, then I can open it using the same method that opens main.vi. However, if I put sub.vi in Always Included box on Source Files tab and use the VI server to open it, I get errors.
    On the VI States monitor, I see main.vi running as a startup VI on top level when I turn on the PXI. Then, I run access.vi and open main.vi successfully. When I click the sub.vi open button, sub.vi appears on the monitor with Run Top Level status but I get error messages.
    At the first attempt to call the remote front panel of sub.vi, I get:
    LabVIEW: Resource not found.
    An error occurred loading VI 'lvfpp0.vi'.
    LabVIEW load error code 3: Could not load front panel.
    From the second call, I get:
    Error 1000 occured at Invoke Node in access.vi
    Possible reason(s):
    LabVIEW: The VI is not in a state compatible with this operation.
    Method Name: Run VI.
    Could you take a look at the attached simple project and suggest a solution? Thank you!
    Attachments:
    ServerTest2.zip ‏218 KB

Maybe you are looking for

  • Why does the Wi-Fi work on my iPod  and not my Macbook?

    The router is an arms length away and my Ipod#4 works great. but I cannot get my Macbook to get connected. Whats up?

  • I want to genarate fixed legth file using XSLT mapping

    Hi Experts, I am doing File to Mail scenario, text file as an attachmetachment in reciver side, i have successfully send the text file as an attachment in the mail. but i need fixed length fields in the file. I know we can do it in XSLT mapping using

  • IBook Author of the video size

    I would like to know what's best way to set up iBook Author of the video size and format file for all ipad devices including ipad air. I already knew about this part:    •    To create up to a 420p movie: Select "iPod touch & iPhone 3GS."    •    To

  • How to use an array of references

    Hi, I defined a couple of GOOP objects, each of which has a reference. I want to dynamically add/remove these references into/from an array and, in my implementaion, I had this array a globle variable so that different VI's can access it. But I alway

  • Iweb: Why do navigation bar page links not work live when published?

    Why do the navigation bar page hyperlinks not work when site is published? There are no objects or boxes over. Works fine until published live. Help!!!