Œuvres GPIB of MAX but no VISA

I am trying to contact a counter ORTEC 996 with a NI GPIB-USB-HS. Once I get MAX to find instruments, I open the Communicate with the instrument window.

It works and I can send the START\n command to boot the target device. The beginning on the unit will light up.

I then send the order STOP\n and the LED goes out so I know it works.

I tried to do it using some of the vi in Labview GPIB, but most things forum I've read advise to use VISA, so I tried.

Don't know what I'm doing wrong here, but my instrument never gets the orders sent by my vi.

Home - NIspy capture info and my vi.

Mike

-I am pleased that this is the last Monday of the week.

If you need to send \n, you need to right-click on the control of your channel and select '-display of Codes "."

p.s. Don't stick things a Word doc. attach the actual spy file if you need to do in the future.

Tags: NI Software

Similar Questions

  • NO category 'series & parallel' in MAX, but NI-VISA installed, please don't help

    Hello, I installed MAX (measurement and Automation Explorer) 5.1.0f0 Runtime of NI - VISA (5.1.1) and also direct,

    but there is NO 'series and parallel' in 'Devices' (Geräte und interfaces).

    What's wrong?

    I already reinstalled and restarted the PC, but nothing helped.

    Any idea?

    Ahhh,

    I'll have to download OR-Serial

    I thought, NOR VISA is enough...

    Ok

  • Activation of passport tulip (GPIB) in MAX made series buffer flush fail?

    Hello

    I apologize for my English is not my mother tongue.

    My situation:
    I use labview, and I want to measure the voltage using a multimeter to 34401 HP with GPIB (using an adapter USB-GPIB to agilent). In addition, I want to order an engine using the interface RS232 (ISEL engine control unit).
    Therefore, I use the RS232 interface of the computer (on the motherboard). Both tasks were developed separately and work fine enough independly. My task is to join the two parts and that was I have problems.

    Problem:
    Case 1:
    In MAX, I activate the Passport (NiViAsrl.dll) VISA series (disable all others)
    -> In Labview: all the Subvi series work very well.

    Case 2:
    Activate the Passport VISA GPIB (NiVisaTulip.dll), Max (disable all others)
    -> In Labview: all the Subvi GPIB work very well.

    Case 3:
    In MAX: Activate both at the same time
    -> In Labview: the GPIB works well, but not the Subvi series. The "VISA of e/s Flush" VI says error-1073807299 (mask of the invalid buffer).
    Here is a link to this error: http://digital.ni.com/public.nsf/allkb/AD03F1520934D67F86256D4B001DC2CE
     
    Of course, I checked the mask and that's as it should be (16). And it works again as soon as I disable the passport of Tulip in MAX.

    More information:
    -It is only related to this Passport GPIB in MAX, the GPIB device should even be connected.
    -Serial connection settings are default and as it appears for the engine control unit.
    -L' effect also takes place in the minimal examples (init the device and directly try to rinse)
    -J' tried another computer with Setup and it fails too (same software involved, including all Passport/drivers).
    -J' tried to reinstall labview and passport/driver, always the same.
    -L' computer: its a windows 7 64-bit company, but a 32-bit Labview 2014.

    My guess:
    The passport of tulip mess with tampons and I do not find the option to change this.

    I tried searching the forum and the internet, but I couldn't find a solution. Any ideas?

    Best regards
    SteKo

    Hello @ all,

    as a result of what we were doing right on the site:

    the problem occurred because the rest of the Agilent IO has caused a sort of driver problems. It seemed that it is not a problem of LabVIEW but an Agilent. Instead of using the most recent version, we went to the ' Agilent IO libraries Suite v 16.2.15823.0. The relevant question would be: why this version? Because this was often used by me in other projects without any problems and the installer was available...

    If anyone is interested to dig deeper into the problem, do not hesitate. For now, it seems that the old version does the job.

    Greetings from Berlin.

    David

  • Instrument to appear in MAX, but not in the executable file

    Hello

    I use two HP34401A make some measurements, and I transfer the program to a laptop with complete labview at your desktop with only the runtime engine.  Instruments made their appearance in the Office MAX, but when I run the executable, they cannot be detected.  I expect some suggestions on how to possibly resolve this problem.

    Thank you

    Not to mention that MAX, what other driver is installed and necessary? Did you install NI-VISA, NI GPIB? At a minimum, you should include NI-VISA in the installer that you built.

  • Can query serial port with NI MAX, but does not work in Labview

    I'm controlling a 488 Sapphire consistent with labview. It is connected by a series of converter USB in the computer. I can communicate with a device using NI MAX, but when I try to run the vi (attached), he works for multiple queries, but evetually returns a null character, after which I can no longer communicate with the port. If I then go into the NI MAX interface, whenever I try to read it give "VISA: (Hex 0xBFFF0015) timeout expired before the operation ended" error message. There are also several queriess of the manual of the instrument which do not seem to work at all (with or without MAX) and always returns a null character. Any help is appreciated. I'm definitely a novice with the communication of the device. Thank you.

    Usually a problem with the stop character.

    And you send-r and no CarriageReturn.

  • Parallel port Communication - resources is valid, but the visa can not access. East-1073807246 error code

    Hello

    I'm trying to control communication of the parallel port. But never a success.

    I ran the sample VI: parallelportconnection.vi I got an error on Probe1. The error information are given below.

    1073807246 error occurred at the VISA write to ParallelPortCommunication.vi

    Possible reasons:

    VISA: (Hex 0xBFFF0072) the resource is valid, but the VISA cannot currently access.

    Please give me help.

    Hello

    To answer your question, please see the following articles:

    Error-1073807246

    Error 37 when using screw series compatibility or error-1073807246 VISAS screws

  • Not recognized USB-6251 (detected) to the MAX but is detected by the Windows 7 Device Manager

    Does anyone have a solution to our problem?

    USB-6251 is not recognized (detected) in MAX but is detected by the Windows 7 Device Manager.

    Is our configuration: Windows 7 (64-BIT), DAXmx 9.3.0f2, MAX 4,8 and USB-6251 (S/N 12B647A. P/N 194929 D - 04 L)

    We had a 'ready' indication/led the 6251.

    We tried several things... (all do not work)

    1. we have installed DAQmx 9.3 (for Windows 7)

    2. clean MAX Database by the following

    http://digital.NI.com/public.nsf/WebSearch/86256F0E001DA9FF86256FFD005B827C?OpenDocument

    Michael B.

    Yes the 6251 appears as a DAQ hardware.  Device charger OR placed in the auto-start services window.  We have refreshed MAX.

    Success!  I had to manually start the device loader.  Even if the service has been set to autostart, it did not work.  Right-click on the service shows that the beginning was selectable.  Click Start and the service began.  Start to MAX and can now see the device.  Open the front panel.

    How does the monitor devices OR running in the interface of the status bar to the device loader service?

    I don't understand why the service was not working.  Is it a security issue?  I am logged in as administrator.  I'll try once again as a normal user.

  • Why did the counter works in MAX, but not of Labview?

    Please help, I've been away from Labview for more than 3 months and I'm pretty rusty...

    Last year, I configured successfully NI9401 to measure the period (in seconds) by counting the rising edges of my sensor signal.  Since then, I bought a new PC and loaded all my software inside, including the Labview VI that has worked successfully on the old computer.

    I can see the digital signal using MAX and test for the NI9401 Panel, then, I know that my son and my TTL signal is OK, but nothing except the below error when I try to run the attached VI, happens...  How can I say this VI to search for the signal on channel 14 and MOD3/CTR0?

    Thank you. I'm sure it's a small adjustment... it worked well a few months ago... do not know what the problem is now.

    Thank you

    Dave

    OK, now.  Solved the problem. The vi is fine, but some fragile son have been identified... worked in MAX but not in vi.  Now that the connections have been tightened, it works for both.  Sorry for the inconvenience.

    Dave

  • CompactRIO connected watch - lapping NI MAX but Labview can detect

    I'm starting with a CompactRIO of programming. Yesterday, I had a lot of trouble getting just the CompactRIO to show to connect NI MAX, but now that it is connected to LabVIEW still can not find. In the window 'Add targets and devices' "CompactRIO real-time' folder '', even if NEITHER MAX poster shows the cRIO as"Connected-Running ". Any ideas on how I can make Labview see the cRIO?

    I did reset the software and the installation of new software. I think the problem was that the cRIO ran to the wrong driver for my version of LabView. Now it works very well, and I finally managed to do read precise temperatures of an RTD measures.

  • I have two devices gpib-usb-hs; two of them work in MAX, but will only work in labview, help please?

    Hello

    For my application, I need to communicate with two instruments by using both devices gpib-usb-hs. I use Windows XP, Labview 6.1, MAX 5.1 version and NI488.2 version 2.42. I checked and this ni488.2 driver should be compatible with my devices gpib-usb-hs and my versions of windows and labview. I also tried versions older and more recent NI488.2 without success.

    I can communicate with my instruments properly in MAX, tell me that the devices themselves are functional. When I try to connect with my instruments using labview (using the example of gpib of labview), only devices gpib-usb-hs communicates with success. The other device returns the EDVR error: connection to the device or driver error.

    I don't really know where to go from here. The only thing I found strange was that the gpib-usb-hs work was has an alias name assigned visa while the unworking device does not. I tried to give him an alias name, but this did not help.

    Any suggestions would be greatly appreciated.

    There are many free tutorials on GPIB. It should explain how the various instruments can be connected to a single controller.

    That being said, even if it's unnecessary, you should have no problem with multiple controllers on the same pc. The two being connected, they pass all the tests in MAX? You are using an old driver and seem to have tried several different versions. I suspect a driver issue, and I advise you to uninstall all the drivers GPIB and VISA and then start again. But not all necessary can be done to satisfy your curiosity.

  • PCI-GPIB and controller movement legacy Newport Orion-CM - timeout in MAX but not MATLAB

    I kinda a weird GPIB problem which seems to be related to the legacy quirks of implementation of GPIB.  The system I use is an Orion of Newport-CM, which has a controller of electrostrictifs actuator in him as a monitor of power on separate GPIB addresses, but a physical port.  I have it connected via a<= 2m="" cable="" to="" an="" ni="" pci-gpib="" board. ="" i've="" tried="" both="" the="" 2.6="" and="" 2.2="" ni-488.2="" drivers="" and="" both="" act="" the="">

    I found that when I try to query the device through MAX, I can see a SPY OR that the first FindLstn mark 2 units, but expires (probably to try a * IDN? command, because it signals no response).  After that, if I try other commands via MAX or MATLAB, all the GPIB commands time out, so I have to power cycle the Newport before being receptive again.  I tried every permutation of the GPIB driver located in MAX without result - always the same behavior settings.

    Curiously, however, when I use the device only in MATLAB (with the instrument control toolbox), I can have some success, but with delays every now and then are not paralyze the MAX in the same way, it was.  I am able to open the device with:

    mcobj = gpib ('nor', 0, 1);

    fopen (mcobj);

    and query with:

    fprintf(mcobj,'*IDN?');

    data = fscanf (mcobj);

    and get the good * IDN? response.

    In addition, I can do writing and reads the device (with intermittent downtime... I found I need to leave at least 0.3 seconds between commands, which leads to a slow operation).

    It left me speechless.  Of course, it appears the interface GPIB works, maybe slowly, but if I'm not mistaken, the same driver should be usage of communication for MAX and MATLAB, why so MAX time so that I am able to have the operation in MATLAB?  Are there some low level which may be different that I cannot change in MAX or GPIB configuration, but is defined by MATLAB?

    Any thoughts appreciated.  Newport is as usual MOM on obsolete parts, and their job is not much help outside retailer orders GPIB (Nothing on the specifications of the bus).

    Thank you

    Scott

    Thanks for the tips.  It seems that the old Newport is just really, really slow (must be material and mid-1990 s), so he needs a good break between her send GPIB commands.  I installed the 1.7 legacy drivers, and those at least have correctly the * IDN? the device response.  Gpib MATLAB interface is quite simple you can give sufficient breaks between commands to send to the Newport, so in it, I am able to control the time between orders.

    It seems that it is just a matter of a slow device.  I know not what look like the internal FindLstn characteristics and, therefore, why the new version of MAX expires while the old ones do not, but for really old hardware that there could be GPIB read/write in the new pilot who are too fast to actually really old equipment sufficient time to respond.  Thanks again for the input.

  • MAX does not detect my instrument 488.2 GPIB-USB-HS, but Windows XP Device Manager only

    Hello

    I have a problem when you use the 488.2 GPIB-USB-HS, I see the device in Windows XP Device Manager, but it is not visible in the MAX, I do not see even a section for devices GPIB. However, when I try to install a new device, GPIB, the Wizard MAX tells me that it is one of the instruments GPIB installed on the computer which GPIB0 - USB-GPIB-HS. Do you know what is the reason to do this, because I want to use a multimeter in LabVIEW via GPIB, but I can't access it, I don't even see that there is a GPIB connection in the computer (in LabVIEW).

    Kind regards

    Alejandro Rodriguez

    It's the kind of old. Have you tried the last?

  • MAX does not see COM1 but is VISA. Unable to communicate

    I have a service monitor that accepts the TCL commands in Hyperterminal (via RS232/serial). I want to use LabVIEW to send these same commands. MAX does not list COM1 as device available, although he rises to the VISA as possible a choice. For some reason, I can't monitor service to accept orders when I go through LabVIEW and VISA. Yes, I made sure the configuration set in LabVIEW corresponds to what is on the monitor. It depends in MAX not being able to identify the resource COM1? Any ideas on how to solve this problem?

    Hi enewburn,

    If the COM port does not appear in MAX, then there may be a problem with the serial port itself or the VISA driver.  Please, check the following:

    1. in the Device Manager, make sure that the serial port is present and there is no exclamations.

    2 fix the driver for VISA to ensure that nothing is corrupted.  If opossible, use theni website link: http://joule.ni.com/nidu/cds/view/p/id/1370/lang/en

    Let me know if this changes behavior!

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

  • cRIO-9002 - sees in MAX but Can not control

    I have a cRIO-9002 with chassis cRIO-9201, I try to configure so that I can use it for a new project in the lab that I am working. So far I was able to get on our network and am able to see to the MAX; However, once I click on it in MAX, MAX is here trying to cool off for a while and system resources all is listed as not available (once MAX gives up on refresh). I'm not able to see the installed software and it disconnects frequently. I turned on the CONSOLE OUT on the cRIO and here is the result:

    [2J
    General software embedded STPC BIOS 2000 (tm) revision 5.2

    Copyright (C) 2003 General Software, Inc.

    Copyright (C) 2004 National Instruments Corp.

    Controller OR cRIO-9002

    [23; 01 H (C) 1996-2003 General Software, Inc..]

    STPC - 5.2 - 01DE-EB2E [01; 01 H [06; 01 PM
    00000016K low memory passed
    00000512
    00000589

    00000000K Ext memory passed
    00031744 [08; 01 pm [s [u [08; 01HWait...]]]

    PCI device table.

    Bus Dev Func VendID DevID class Irq

    0 b 00 00 and 104 has 0201 Host Bridge

    0c 00 00 104 a 0210 ISA Bridge

    00 0D a 00 104, 0229 IDE Controller 11

    0E 00 00 104 a 0230 Serial Bus 11

    0f 00 00 104 a 0238 Ethernet 11

    00 18 00 1093 705E 11 unknown device

    1F 00 00 104 a 0981 Ethernet 10

    [2JBIOS review: 1.1.9 (10/08/04)]

    Firmware revision: 10.1.94

    LabVIEW RT the start player...

    FAT16

    Jump to 07E0:0000

    Checksum: 018D9C6A

    Executive in time real LabVIEW

    Construction time: June 21, 2011 01:17:21

    (C) copyright 2002-2011 National Instruments Corporation

    MAX system identification name: englab-fpga

    LabVIEW time real Single-Core Kernel

    The initialization of the network...

    Device 1 - MAC addr: 00:80:2F:0 A: 7E:E2 - 131.151.115.38/22 (primary - auto)

    System Web server started

    NOR-RIO 4.0 Server started successfully.

    NI-VISA 5.1 Server started successfully.

    Welcome to LabVIEW Real-time 11.0

    FTP SERVER ERROR: Cannot start threaded

    FTP SERVER ERROR: Cannot start threaded

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    FTP SERVER ERROR: Could not create threaded command

    Of course, there is some kind of problem here, but I don't know what it is. Any ideas?

    Hi nslogan

    What version of the drivers OR RIO, LabVIEW and LabVIEW RT do you have installed on your computer?

    OR MAX was able to communicate the fine before? Nothing changed?

    Is your cRIO executes any RT executable launch, request or communication with an FTP server?

    If your computer has all the software and drivers may be easier trying to format and reinstall the cRIO, it doesn't take long and it takes a few simple steps.

    How do I format my target in real time and reinstall the software?

    Concerning

    R. Esteban

Maybe you are looking for