GPIB instruments in a tcp/ip network

Hello

I have an instrument connected to a PC via a GPIB interface. At another place, I have the same facility. Both PC's connected to the network (tcp/ip).

Now, I want to run an application of measure written in CVI on the shild PC. This application must control the instrument connected to this PC and the network of the company, the instrument connected to the PC first.

My question, how does this get up and running. This achievable with LabWindows/CVI? Is there somewhere a piece of code of demo I can adapt and use?

Ideas are welcome.

Kind regards

Adriaan

You can use the VISA server. In MAX, you can select a device to be available on a network. On the pc where you want to control, you use MAX > remote systems to find the instrument. After that, your code uses a VISA resource name as if it were a local resource.

Tags: NI Hardware

Similar Questions

  • Read several GPIB instruments

    Hello

    I have a question of time, when I want to read the GPIB instruments at the same time (1 to 24 instruments with 2 cards GPIB - GPIB0 and GPIB1).  The user can choose the number of instruments that it will read.

    For 17 instruments chosen for example, is an array of 17 lines connected to a loop where playback GPIB is made (see TestVi and Loop.jpeg). It took about 5 seconds to get all the data.

    But if I just copy 17 times playback (configured as a falling) Vi in a simple vi as in Untitled2.vi, tool around 1.5 sec to get all the data for the same conifguration! (See without for loop.jpeg)

    How could I read as fast as in the 2 without title vi with a for loop or something else in order to allow users to set more or less instruments without copying playback Vi once the configuration has changed?

    I tried to use call a VI dynamically , but it did not work.

    Thank you for your help

    Hello Anthony,.

    You should be able to find examples in the Finder for example of NOR (help > OR Finder in LabVIEW example) by searching for the term "Asynchronous".

    In 2013, there are a few examples located in the place shown in my sceenshot.

  • Version track for GPIB instruments

    I'm new to instruments GPIB, I want to know if GPIB and VISA works in Trail version or labview 2010.

    I guess you mean the trial version.

    There is no limit to a trial unless the license 30 days version and the transparent message.

    You will also need to install devicedrivers and then you can program really.

  • Problem with 2 GPIB instruments

    Hello everyone,

    I work in a program with LabView 2015 this control 2 instruments, the Rohde & Schwarz Smiq02b signal generator and Analyzer of spectrum n9010a Agilent EXA. I use the cable Agilent - 82357 B USB/GPIB to connect my laptop with these two instruments (PC-> EXA-> Doganovic). I also installed the two drivers of instruments from their official websites.

    The program worked correctly until I had to format my computer and reinstall LabView but something wrong now.

    The problem comes when I run the program, is unable to initialize the SMIQ02b, the program stops and opens a new window of block diagram. This block diagram belongs to a block driver the instruments within this scheme, there is a VISA write flashing block.

    This only happens when I'm initializing two instruments in the same program, if I create a new VI and use the Doganovic only, I have no problem.

    I don't know what is happening, it is very strange that it worked well before, and now this happens.

    That's what I installed in my laptop:

    -2015 LabView
    -NI Device Drivers (included NI-VISA 14.0 and NOR-488. 2 14.0)

    -Agilent IO libraries Suite (configured as secondary VISA) 17.1

    -Passport OR VISA for tulip IT

    I'll be very grateful if someone could help me with this.

    Thank you!

    You set a breakpoint, it's what's causing the break.

  • Search for MAX, GPIB instruments

    Hello!

    I have a problem.  I did a Labview program with two devices made by GPIB. One of them now work correctly.  I "scan for instruments" inside MAX and now it only 'see' one of them.  I checked the connections and they are ok. I don't know what to try more, because I change anything and before it worked.

    What can I in order to this instrument appears again?

    Thank you!

    Well, I finally had a few problems with GPIB addresses.  The first time I used the devices that they have been configured, but it changed suddenly.

    I chose a different address and now everything works fine.

    Thank you.

  • Blue screen (BSOD) and communicate with GPIB instruments

    I have a communication problem with a Pressuregenerator of PCS400 of Mory via NI-VISA. My simple application sends requests to the instrument and reads returned responses. These actions are performed in a while loop until you press the stop button on the front. The VISA-resource is initialized before the while loop and closed after leaving the loop.
    Now the problem is that the computer will work in a blue screen with the message "NMI: check / memory parity error parity." This blue screen can be caused by switching between the programwindow and another window (for example the file Explorer) - I know it sounds strange. Then the blue screen appears after about 20 seconds. The computer worked stable in the daily work with windows.

    I have already tried several things
    -Wait a while (up to 30 ms) after writing and reading of VISA-online blue screen
    -Communicate with the Agilent 34401 multimeter with the same program (but other requests of course)-online no crash!
    -Test memory on system for about 45 hours with memtest86 + -online no found error
    -Stresstest with Prime95 (product 100% of CPU load) for about 1.5 hours on windows => no crash

    Request sended:
    _PCS4\sREADING? \n
    _PCS4\sERR? \n
    _PCS4\sSTAT? \n
    _PCS4\sERR? \n

    The system is configured as follows:
    -Windows XP Professional SP3
    -LabVIEW 8.5 FDS
    -NI-VISA, NI-VISA run-time V4.2 V4.2
    OR-488. 2 V2.52
    -Adapt PCI-GPIB with 3 x Mory PCS400 Pressuregenerator (1.3 to addresses), Agilent E3641A (address 5) and Agilent 34401 connected (6 addresses)
    -Acquisition of data PCI-6052E card
    -Some RS232 (PCI) expansion cards

    Do you have any ideas of how this strange problem?

    Thank you.


  • GPIB instrument control

    Hi all

    I am new to this community of Labview and the use of this software.  I recently learned how to take the readings of an instrument of Keithley 2400 using their device drivers.  However, I am a bit lost when it comes to actually control the instrument.  Essentially, I want to be able to control the power supply so that it remains in a specified range, depending on the application.  I was wondering what is the process to do this... do I need to look at the manual of the device and use the Keithley commands to read and write?  I would be recognizing any input, regardless of the size.  Enjoy your time.  Thank you.

    There are functions in the pilot of NOR who control the voltage of the source. Glance to set up the output. There are several examples to settle as well. Open the example finder and navigate to output material & > instrument Drivers > labVIEW Plug-and-Play. The Instrument Driver Network has links on what a driver is and how to use a.

  • No communication with a gpib instrument

    How can I send CR and LF at the end of writing with the instrument control.

    Instead of/r/n, use \r and \n.

    You can also configure the GPIB controller to add these characters if I remember correctly (I know you can do it with LabVIEW). I don't have a GPIB interface installed and do not exactly remember the procedure, but there is an option somewhere to change what is sent with the EOI.

  • Difficulty communicating with a GPIB instrument using VISA

    Hi all

    I am trying to create a Subvi allowing communication between a computer and a spectrometer to MS260i. This is an old spectrometer and can only be interfaced via GPIB or RS232. I chose to use a GPIB-USB-HS adapter to connect it to the computer. The following parameters in the NOT-MAX I would easily send commands to the spectrometer when you use the Communicator of NOR-488. 2. I have also attached a picture of a wavelength successfully query.

    However, I am unable to do a Subvi with the same settings. For example, the following VI

    Returns the following error

    Is there something that I forget? I also noticed that even if I saved the GPIB interface properties, these do come up not by default when you use the Communicator of NOR-488. 2. Indeed, I have to manually configure EOS settings every time that I reopen it tool.

    Any help would be greatly appreciated.

    Did you do a right-click on the control of the chain and select ' \'Codes display? If you do not, the stop character is not sent.

  • GPIB instrument legacy Microlink 4000 using GPIB-USB-HS

    Hi all

    I face three recorders of older data, Microlink 4000, connected through GPIB and interfacing with my PC through GPIB-USB-HS.

    There is no drivers for data loggers...

    Their main in MAX addresses are displayed and I am able to send commands, but I'm not sure what to do now to begin to read the data recorded by each module.

    I think that I am just not access to the secondary address of each module or using the wrong commands. I've scoured the web for the manuals and orders 488,1 but they do not work in the interactive control of VISA.

    that is (Hex 0xBFFF0015) Read error occurs whenever I ask devices...

    Specification of the system:

    • power supply 3 x 4301
    • control units 3 x 4300
    • basic unit of time 1 x 4010
    • 34 x 4030 (12 Bit A - D converters)

    I apologize if I have not attached enough information still very new to LabVIEW and MAX.

    Please advise!

    Thank you very much

    JChan


  • ResetSys on the GPIB instruments with addresses


    Style calls (alias calls NOR-488. 2 multi-device) IEEE 488.2 use a two-byte addressing scheme where the subaddress is in the high byte.

    Help OR-488 online. 2:
    "Some of the calls to several NOR-488 devices. 2 have an address or address list setting. An address is a representation of 16 bits of the address of the GPIB device. The primary address is stored in the low byte and secondary address, if any, is stored in the high byte. For example, a device to the main address 6 and secondary address 0 x 67 has address 0 x 6706. A NULL address is represented as 0xffff. An address list is represented by a list separated by commas in addresses, such as 1,2,3.

    So, your channel should be:

  • Using 6509 DIO as input to trigger the TCP messaging

    I'm a traditional GPIB instrument and no TCP, and I asked a question.

    Is it possible to use the 6509 and a benchtop time signal generator a loop of LabVIEW? We have a loop that runs not controlled at a high rate (messages TCP). We would like to input pulse or square wave signal in the 6509 and trigger messages 1 to 3 kHz TCP (less than the loop runs not controlled). It comes to the fine TCP performance benchmarking; We use a loop timed at rates up to 1 kHz with good results, we need higher than the rate of 1 kHz.

    Is this possible?

    Hi Philippe,.

    This has been reported to R & D (461F39IG ID CAR) and has been fixed in LabVIEW 8.20. Here is a link to the download the current for LabVIEW evaluation software. Thank you!

    Kind regards
    Andrew W
    National Instruments

  • Instruments GPIB remote access through the GPIBConf device names

    Hello

    I am trying to run the Labwindows 2009 SP1 code on a PC based office while trying to exploit the GPIB instruments

    on another part of the network.

    Normally, this isn't problem with VISA server on the target computer and the use of names of Alias VISA within the

    Office PC code.

    But this code was inherited and uses a different method which has been the best over time.

    The code uses device name strings that have been defined using the GPIB utility: GpibConfig.exe,.

    on the target computer. So when a device is first initialized, the name defined in the GPIB utility is used

    by the code and the associate instrument access are reached. It works fine when the code and

    the instruments are located on the same PC.

    My question: is there some way I can use VISA access server remote GPIB instruments help

    defined names on the computer target with the GpibConfig.exe utility?

    Thank you

    Gary.

    The low-level GPIB functions have no knowledge functions VISA or aliases. This must be a very old application since the VISA has been around for 10 years. Have you always the source code so you can change your GPIB for VISA?

  • How my VISA control can communicate with an instrument via TCP/IP?

    VISA controls are my GPIB instrument when I select "Refresh", but none of the instruments TCPIP. I know that the TCPIP instruments are connected because I can their ping.

    If you are looking for how to build the resourcename, we find more here

    TCPIP SOCKET TCPIP [Council]: host address:ort:OCKET

    for example

    TCPIP0::1.2.3.4::999:OCKET RAW TCP/IP access to the port at the specified IP address 999.
    TCPIP::dev.company. com::InStr A TCP/IP using VXI - 11 device located at the specified address. This example uses the default value for the inst0 LAN device name.
  • MAX does not show my Instrument GPIB

    Hello.

    I have an instrument which I control through GPIB interface.

    The instrument is a model of arbritraty 301 Wavetek function generator.

    I already downloaded and installed the drivers for this mode of the instrument.

    I want to control this instrument through PXI My system having integrated controller NI PXI-8105.

    The controller itself have connector GPIB whereby I connect the instrument Fgen. SO the GPIB address would be 0.

    Today, Max under 'devices and interfaces' it shows GPIB0(PCI-GPIB).:manhappy:

    When I am pressing the button "Scan for instrument" then it shows that the error occurred and no instrument is however I connect the Fgen and provided properly.

    It gives no details about the error.

    Device OR 488.2 driver is also installed in the PXI.

    In the function generator is a logical address of the device selection option. who is correctly set to 2. I tried with change to 0 also, but it did not work.

    Is this really the problem with the Instrument itself?

    Hi, Dennis...

    Not need a photo bleow error message...

    Today I received my GPIB instrument, don't know how.

    Probably as a result may be the reason...

    Yesterday, at the start when the instrument has not been detected, I thought and he got a solution that NEITHER 488. 2 has not been installed on this system. (In referance for this 488.2 NOR being not installed I had posted a message before saying that "could not install NOR 488.2 on PXI '-he was rolling back, I had also placed pictures of this facility.) You can see this Post)

    Then I tried installed NI 488. 2 (yesterday), but failed with the same error. After 2 tries, it was installed successfully, but could not fund the reason for this... (You can help me if you find the reason for this... See the error in installation OR 488.2 PXI system)

    After you install the NI-488. 2, I tried again to find my GPIB instruments. but I got the same error. It should be noted that I had not restarted my computer after installing NI-488. 2.

    I think this must be the reason not to detect the instrument yesterday...

    By the way, thanks for helping me in this and other issues...

    God is with me.

    Thank you again...

Maybe you are looking for

  • iPhone with a Hyundai Santa Fe

    I was at a dealership this afternoon looking at a Hyundai Santa Fe in 2017. The seller I pair let my phone with the car, and I have seen download my contacts. I tried to use the handsfree to listen to the music on my phone, but the car failed to find

  • Where to connect an external audio source Qosmio F20?

    Hi people, This is the first time I try to connect an audio source (minidisc player) and listen to the recording on this subject by the Qosmio. The same thing has been done many times on the desktop-PC - cable LINE IN of the sound card and everything

  • my screen is on the side and alt, ctrl, the up arrow does not set it. How can I fix it?

    She's. My wife set it to the side and now I can't put it back. Reference Dell 4600 PC, Intel updated with a Samsung Monitor driver.

  • How to install win xp on win 7?

      1. product name and number: A7K05UT    2. installed OS: Windows 7     3. error message: after loading files is bluescreen appear and doesn't detect any hard drive   kindly solve my problem please... DJanoon

  • Microsoft Windows 8 Sign-in Wizard error at startup account

    Hello When I start my computer and use the office function I get the error "Microsoft Account Sign-in account" was not working and therefore unable to connect to a local account or words to this effect, even if it is related to my Microsoft Account.