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.

Tags: NI Hardware

Similar Questions

  • When you create a program to install the application in BT, which driver or the runtime must be installed to install the interactive control of VISA?

    I have created an installer requires the use of the LabVIEW application builder and use it to install NI MAX.  However, after you run the Setup program, interactive control of the VISA is disabled in NI MAX.

    The installation program installs the following components of NEITHER: NI LabVIEW Run-Time 2014 SP-1(64-bit) NI LabWindows/CVI shared Run-Time Engine 2013 SP2, OR Measurement & Automation Explorer 14.5, NOR-488. 2 application Development Support (including the time of execution), - VISA Support Configuration 14.0.1, OR - VISA DURATION 14.0.1, 14.0 Server NI-VISA, NOR systems Configuration Runtime 14.5.0, vision performance, performance dc power.

    If I download and run the installer 488.2, interactive control of the VISA is activated in NI MAX.  But the Setup program created with the application builder does not seem to install the necessary components.

    What needs to be added to the installer to allow the interactive control of VISA (VISAIC)?

    Thank you.

    I neglected to include OR-IMAQdx in Setup, which explains why NEITHER MAX was not to recognize the camera on the computer with the new facility.

  • Is it possible to link an interactive report BiPublisher to Agile with a URL?

    Hi, I have an interactive report that shows a column with some SpecName and I want to click on one of them and be redirected to this specification on the Agile.

    I see that the tools of BiPublisher offers the possibility to create a URL.

    Is there a way to make this dynamic URL?

    Thank you

    Annarosa

    You can make the dynamic URL. See https://docs.oracle.com/cd/E28280_01/bi.1111/e22254/create_lay_tmpl.htm#BIPRD3258

  • Control of Bruker OPUS with Labview

    I want to control software OPUS by Bruker using Labview, orders base such as take spectra, someone knows how to do this?

    Thank you

    This process is relatively in line forward, because OPUS is a compatible ActiveX program, with a wide range of dll to run any process you want. Simply insert a refnum of automation on the front panel of your VI. Right-click right the l' icone icon arrow, scroll down to select the class of ActiveX and browse the DLLs that you have on your PC. You will want to choose OPUSCMD XX version, depending on the version of OPUS you. You have now free rein on what processes you want to order via Invoke and property nodes in the control of the Application on the block diagram.

    It's pretty simple from there, and the sky is the limit according to the level of complexity you want to get with your FTIR automation. If you are familiar with Visual Basic, you can write a file of experience (XPM) file that can do anything (collect samples, analysis, background, AS, you name it). I've attached a screenshot of the block diagram of a program that I've implemented that starts a VB Macro to collect a background spectrum at 1 cm-1 resolution. As I said, the sky is the limit. Good luck.

  • How can I control a F93000N Fisnar with Labview

    What equipment do I need to connect with a Robot of Fisnar F93000 which is based on windows, has its own controller and PTP.  I want to be able to call a program preloaded the robot using Labview.

    It was a PCI-6025, which is probably obsolete. Assuming that you have no need to make a delayed I/O, a timed software DIO card should be sufficient. You should check the voltage and current levels of reader to a DAQ card you choose meet the necessary signals to the robot.

    -AK2DM

  • Unit works fine with MAx but not with Labview visa series

    I have a RPM sensor connected to tachometer Monarch monarch, it gives error while coding in labview and works very well in Max if the sensor does not read 0. I wrote RS-232 simple programs never had an error, but this one's errors... not ablt remedy... Help, please

    Hello

    I solved it by using bytes to the port if there is anything in the port, I read it otherwise, he simply says no playback.

  • 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

  • GPIB-USB-HS and USB-8451 communication issues - appearing only in VISA

    Hello

    I recently started a new job and have had communication problems between my adapter GPIB-USB-HS, my VISA or MAX-Labview and USB-8451 I2C/SPI interface.  I installed LabView to 32 bits, OR-488. 2, the driver for the 8451 on my windows desktop and VISA 16.0 7.

    In the windows Device Manager, the 8451 appears as a device USB of NI-VISA and Gbspecifications FOR-USB-HS presents itself as a GPIB Interface of NOR.  Two of these instruments are recognized NI Max so but communication Gbspecifications FOR add-in adapter (and connected instruments) fails and he can't find the instruments and the self-test fails with a hardware error unknown gpib (-37052).  The watch also neither device VISA Interactive Control.

    The ready light is lit on the GPIB-USB adapter and the 8451 flashes green as if nothing is wrong at the end.  I uninstalled all the software of NOR and reinstalled, and I run MAX as an administrator.  Is there possibly some computer settings I could neglect or need to change to open a communication?  Any other ideas on why I can't communicate with devices?

    Thank you!

    Trey

    This is a device-Lock software that my it was preinstalled on the computer blocks the USB port.  SHE has added features like confidence, and now it works.

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

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

  • Newport ESP300 GPIB communication stops after query

    Hello

    I'm trying to control a Newport ESP300 via GPIB controller with labview and I encountered a problem that I saw in the forums.  I can tell the controller to move to different positions, to wait, to change speeds, etc., without error.  However, when I ask the device, it stops all communications with Labview.

    Example of

    1 MB //axis 1 on

    1pa2 //move axis 1 absolute in position 2

    wait for stop 1WS

    1AP?     absolute position of query

    2 response //ESP300

    1pa3 //NOTHING ARRIVES

    1MF NOTHING HAPPENS

    GPIB READ.vi a mode = 2 (to end the LF character) to terminate the operation of reading as specified by newport, but the communication stops everytime I interrogate the device.

    I tried to do what this last newport mentions, without effect.  FTP://download.Newport.com/MotionControl/archive/motion%20Controllers/ESP300/software/ESP300%20GPIB%...

    I should mention that I couldn't disable autopolling (the box is grayed out).  Although I don't think that's the problem.  I also tried to replace the GPIB READ.vi with code on VISAS, but this has no effect.

    Sending of the same series of commands through NOR-MAX does not show this strange behavior.  I tried to ask about it in Newport, but they were not able to help.  Anyone has any advice on how to reliably read/write by GPIB with the ESP300 controller?

    Thank you.

    I found the problem.  It turns out that when you use the GPIB READ.vi, I had put the number of bytes to a value that was too small.  Thus, reading finished early, leaving the rest of the message in the buffer.  I don't know exactly why it resulted in a 'freeze' of communications, but he did.  Increase the number of bytes to 255 has solved the problem.

  • Watlow F4 HS USB GPIB communication problem

    Hello

    I'm trying to communicate with the Watlow F4 controller on a room of environmental Tenney. The only available is a GPIB port. I've successfully installed the GPIB-USB-HS cable and I can see this device under devices and interfaces MAX. However, no instrument find when scanning for default settings of the interface GPIB instruments. I also downloaded the Watlow F4 VI drivers and try to run away. I got a 1073807346 error occurred at VISA opened in Watlow F4.lvlib:Initialize.vi-> up.vi set Watlow F4 system

    I use Labview 8.5.1 with 488.2, VISA, DAQmx installed.

    Please see the pictures attached for more details. Any suggestions would be greatly appreciated.

    Concerning

    FliU

    Try the VI is useless if the instrument is not detected by MAX. I suggest that refer you to the manual or the seller to see if there is something you need to do on the instrument for GPIB communication.

  • Can't control RS232 and GPIB devices simultaneously with labview.

    Hi all

    I have a thermostat that has a RS232 to my computer connection and a counter from the source which has a GPIB to my computer USB connection.

    I have screws that allow me to control each device separately. But when I did a VI to fight them together that I can communicate with the GPIB device, but not with the RS232 device. I think that the VISA GPIB and RS232 VISA having a problem to determine this.

    Do you know what I could try to fix this?

    Thanks for your help.


  • What is the interaction between appellant VIs and subVIs using VI Server?

    I am student at the CLAD and one of the lines in the document preparation or here is the following:

    What is the interaction between appellant VIs and subVIs using VI Server?

    I know how to use the function "Call for reference" to call a VI, but not necessarily a Subvi. I thought a Subvi is always loaded with the calling VI and has nothing to do with the server of VI. What Miss me?

    Hi Bmihura,

    I think that this article will clear up how the VI Server works with subVIs called statically or dynamically.

    Call a VI by reference

    Best regards

Maybe you are looking for