Help send interface multiline commands

Hello

I have an instrument which is controlled by its own software on a PC to which it is connected with GPIB and RS232. I want to write a labview program that emulates what made the software. I ran the GPIB analyzer during the initialization of the machine and it captured:

I want to send these 6 commands in LabView, so I kinda vi which initializes the machine. I looked at this thread and tried to follow the advice given here. I need send the string @? followed #yI of a line break. I'm very new to LabView, so I downloaded the example GPIB read/write and tried to make the suggested changes. Here's a screenshot of my attempt:

I'm sure that has a lot of mistakes, can someone point out them to me? When I run it a) does nothing or b) get an error indicating that "the interface associated with this session is not supported.

Also, how can I send the character "line feed"? The manual for the instrument (enclosed cheque, page 63) said of the statements must be followed by a PRINT statement, which is the line break function the power Analyzer GPIB ("a" in the sixth line).

Thank you!!!

After testing the communication with the utility, you can use the lower level GPIB functions in LabVIEW instead of VISA. For such an old instrument and one that is not in accordance with IEEE - 488.2, which could be an appropriate way to go.

Tags: NI Software

Similar Questions

  • How can I send a GET command (Group execute Trigger) with the "VISA write VI"?

    I have an old Type of Yokogawa (1981) 2553 (DC voltage current Standard) with a GPIB and an Agilent converter USB to GPIB interface. So I write my orders using the "VISA write VI. According to the manual, I send the GET command after the other commands. How can I do this?  I tried to use the GPIB VI, instead of VISAS, but I always got the error 7: "NOR-488: Interface GPIB not found '...

    You cannot use the low-level GPIB functions because you are an Agilent controller. The low-level functions are only for the OR.

    Visa application, use the trigger to make visa.

  • ASA5520-K8 7.0 (6) asdm 5.0 missing Interface configuration commands

    Hello

    I have try the mac address on the interface value

    Firewall/admin(config)# interface gigabitEthernet0/2

    Firewall/admin(config-if)# ?

    Interface configuration commands:

    asr-group        Configure Asymmetrical Routing group id

    default          Set a command to its defaults

    description      Interface specific description

    exit             Exit from interface configuration mode

    help             Interactive help for interface subcommands

    ip               Configure ip addresses.

    ipv6             IPv6 interface subcommands

    management-only  Dedicate an interface to management. Block thru traffic

    nameif           Assign name to interface

    no               Negate a command or set its defaults

    security-level   Specify the security level of this interface after this

    keyword, Eg: 0, 100 etc. The relative security level between

    two interfaces determines the way the Adaptive Security

    Algorithm is applied. A lower security_level interface is

    outside relative to a higher level interface and equivalent

    interfaces are outside to each other

    shutdown         Shutdown the selected interface

    I found how to set the mac address with mac-address command, but I don't have it in there.

    http://www.Cisco.com/c/en/us/TD/docs/security/ASA/asa72/configuration/guide/conf_gd/intParam.html

    Thank you for any hint how to solve.

    Hello

    According to your request, the MAC address command is not supported on your current version and is available from ASA 7.2.1 go.

    Check this box: -.

    http://www.Cisco.com/c/en/us/TD/docs/security/ASA/command-reference/cmdref/M1.html#pgfId-2111047

    Thank you and best regards,

    Maryse

  • Wait signal generator complete the scan list before sending the next command

    I am writing a program for Agilent E4421B signal generator scan to list between a range of frequencies (ramp up to the maximum frequency and then back down to the original frequency) specified. The signal generator has only a list of 401 points, which is a problem when I want to wash over a wide frequency range. To work around this problem, I would like to perform several scans of list in a row. However, I can't figure out an effective way to "say" the program to wait until the previous scan has finished before sending a new order of scanning for the signal generator. Any ideas? For reference, I use Agilent ESG drivers series LabVIEW.

    Thank you!

    If you use standard VISA calls, I would say just that send the scan command, but add; * mutual fund? (operation ends?) make a query.  Then, run a VISA to read what's coming.  This indicates to the device to send a 1 to the output buffer when the scan is complete (or just about any other operation, also).  As you are waiting for a response, your computer will wait the amount of time to wait so he could see a response, it is not less, your way with the exact amount of time - no more - to be actually taken.

    A few warnings:

    (1) make sure that the time-out is longer than the length of most slow scan.

    (2) there are variants of the '1' being returned.  I saw '1', '01', and even "1.00E + 3" therefore to allocate more than one byte to read."

  • (1) acrobat cannot send the DDE command. (2) adobe air does not download the latest version

    (1) adobe acrobat pro can not open and always send message fatal errow "Acrobat cannot send the DDE command '.

    (2) one.    Adobe Acrobat cannot open because adobe air cannot successfully download the latest version
    Reader adobe b. cannot create PDF because adobe air cannot successfully download the latest version

    Hello

    ·         What operating system is installed on your computer?

    ·         Did you do changes on the computer before the show?

    Question 1: Acrobat could not send DDE command

    Try to launch acrobat in safe mode, follow the steps:

    a. press on and hold the SHIFT key and double click on the acrobat icon and open a pdf file.

    b. If it opens without crashing after about 15 seconds, then you have a faulty plug in, locate and remove it from your plug-ins folder.

    c. to remove the plug-ins, you can contact the Support of Acrobat

    Question 2: Adobe air download does not last

    You can try to Uninstall and reinstall the program.

    Let us know if this information useful.

  • Error 74 to unflatten string in a device helping custom interface hardware Inline

    Hello

    I am creating a custom device Interface material Inline to communicate on a bus series to Veristand. I want only to communicate via RS232 veristand channel values, I use flatten/unflatten to chain to transfer my data. I choose what it because VISA Write/Read uses strings, and he would always use the same size of string (channels Veristand = 64-bit double-online 8 character string).

    But when it comes to try it with veristand, I have error 74: corrupt memory or data structure. I noticed this error came from the "string unflatten".

    So I plugged in a "clear error" vi just after "unflatten to channel" works, for my custom device runs but gives me wrong results. Then I used the tool NI OF Trace to see what I was writing to the RS232 bus. You can find the result of this. When we take a glance on the viWriteasync functions, we can see that the data written on the bus will already '?... " W.... M' which translates as 0,000232195, although the value that I have passed to the bus was greater than 1.

    I plugged the constant 'false' by 'add array or string of size' 'flatten in string' and 'unflattend to the string' functions.

    Does anyone have an idea what's wrong?

    Kind regards

    Maxim

    Is your session series Visa implemented to put an end to strings with the null character? It's been a while since I worked with serial number, but I remember this could be the case. So then you'd have trouble sending binary data flattened since it would have a lot of characters in it null. Another solution would be to format doubles as text with a specified number of digits of precision, although this will be less accurate and can take more bytes to transfer.

  • sending sms with commands, difference between hyperterminal and visa

    Hi all

    I want to use my phone mobile access to content by using commands. When I type the command in hyperterminal, it works, but when you send it through LabView rs232 instead of 'OK', I get the same that I just sent. What is the difference between sending tanks into HT and visa?

    When I type (in HyperT)

    AT, I get

    Ok

    When I send

    AT (in LabView) get

    AT

    ??

    You send a stop character? Use \n for a newline or \r for a carriage return. Your order/string constant must be defined '-' display of Codes for it to work. Look at the example of basic series to write and read.

  • HELP SEND EMAILS TO MULTIPLE PEOPLE

    I join this site, transferred all my contacts. What is the maximum number of messages to send at a time without the system seeing as the sperm? How to select the contacts I want to send an email using the ICC? I really need help urgent I left yahoo to come here.

    MS Outlook doesn't care recipients how much send you at the same time. It's your ISP/Mail Server.

    So confusing MS Outlook with Outlook.com, a replacement for Hotmail, which is different and you need to ask the experts here.

    Help for Outlook.com is located in this forum
    http://answers.Microsoft.com/en-us/windowslive/Forum/mail?tab=all

  • Keithley 6517 helped serial interface

    Hello

    I use an instrument, the electrometer Keithley 6517 A, to control using Labview and am very new to this software (1 week). All I have is a RS232 cable. I downloaded the driver, but it is for cable IEEE 488.2 (GPIB), which does not work with RS232. I did some research and discovered that you can use the SCIP language to control the instrument using RS232.

    Can someone please help me to write a simple program that uses the RS232 cable to control the instrument?

    The program I want to implement is essentially to measure the change in voltage between the two wires, while incrementing the voltage source integrated instrument by all about 0, 1V.

    For ex, the source voltage will increase by 0.1V, wait for about 3 seconds to stabilize the blood reading, read and record the voltage in a file, repeat after increment of 0.1.

    Information that may help

    Instruments: Keithley 6517 has

    Cable interface: RS-232

    Software: Labview 8.5

    News of the computer: Vista X 64 bit

    Any help would be appreciated.

    Thank you very much


  • Need help sending mail OutLook

    I'm running "Outlook Express6", and I have an isue. I can receive mail, but I can't send emails. That's what I get each tempsThe message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was ' * address email is removed from the privacy *'. 'Computer', account: 'mail.newwavecomm.net', server: 'mail.newwavecomm.net', Protocol: SMTP, server response: 554 authentication has failed, have to login', Port: 25, secure (SSL): no, Server error: 554, error number: 0x800CCC79 can help you? BTW... I spoke with my ISP and they said all checks to their end... thanks once again...

    If you are using an antivirus program disable analysis of electronic mail (if she uses it)

  • I need help with a question command line syntax

    I got 3 issues that need to be entered in command line / syntax.
    I had no training in command line and need help for that setting in the command line syntax.
    (The IP address is a fact).
    This will be done also on a PC that requires elevated permissions. So if a programmer can zip through it in no time it would be much appreciated. Perhaps one without high and an example with.

    1 setting up daily ping test to a server with the IP 10.254.254.1 which will be composed of 1 000 ICMP echoes.
    2. establish daily ping tests to a server with the same IP address which will consist of one hundred 1 500 bytes ICMP packets.
    3 configure these run every day and are output to a text file.

    Hi Matt,

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. Appropriate in the TechNet forums.

    Please post your question in the Windows 7 IT Pro: http://social.technet.microsoft.com/Forums/en/category/w7itpro/

    Thank you.

  • Internet service provider could not help send emails in Windows Live.

    Windows Live has been works well for a few years, but now I cannot send emails.  Verio is my Internet provider and they couldn't help me.  They seem to think that it is a Windows problem.  I can receive ok.

    Outgoing smtp is my web address.  Port is set to 25

    Your web address is set to smtp.address.com (note the smtp prefix)? (Verio Outlook instructions, can be changed for Live Mail - http://supportcenter.verio.com/KB/questions.php?questionid=507). It depends on what account you have, etc...

  • Help with sum multiline and formatting «,»

    Hey guys, I need help with a question that I am struggling to solve...

    I have a multiline field in which I paste information from an excel spreadsheet. This information is in a format 1.234,56.

    I was able to have the numbers stuck on the ground in another area, by removing the ',': something like this:

    var withcoma = this.getField("Input_1").value; This is my multi-line field used to paste data from excel

    nocoma = withcoma.replace(/\,/g, ".");

    the var values = nocoma.split("\r");

    var total = 0;

    for (var i in values) total += Number(values[i]);

    this.getField("Total").value = total;


    The point is that I have to be able to change the numbers that I have to format to the format 1,234.56 1.234,56 if I choose to use a different currency than my original and also wear numbers in the field "Total" correctly updated.

    Could someone point me in the right direction?

    Thank you very much!!!

    The solution was to add another line of code to remove the periods used so that thousands separators in numbers.

  • Help use "emctl jmxcli" command

    I'm new to EM and am trying to learn to create plugins. Someone installed EM 12 c for me and then I installed the CDIP and emcli. I was able to get demo HostSample plugin of the CDIP that uses OSLineToken fetchlet to deploy and work. So I wrote a simple plugin that uses the SQL fetchlet. It worked as well. I'm now writing a plugin which ensures a JMX application deployed on an Oracle WebLogic application server. In reference Cloud control extensibility programmer PDF it says to use the command 'emctl jmxcli. However, when I try to run this command it returns just the syntax of the command. It does not seem to recognize the 'jmxcli' option. When I run "emctl getversion" this is the result:

    Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
    Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
    Enterprise Manager 11 g DB version control 11.2.0.3.0
    Enterprise Manager 10 g 10.2.0.4.0 Agent Version

    I think that I have the correct version of installed everything. I'm doing something wrong? Any help would be greatly appreciated.

    Thank you!
    Al

    The out command, it seems that you are working with 'Enterprise Manager Database Control,' which does not support extensibility. At least that's what shows the output of the command emctl. You really need 'Enterprise Manager Cloud Control' to do what you want to do.

  • Need help for a multiline ComboBox...

    Hello

    I'm new to Flash, and I need help. I am trying to create a multiline combobox, but I can't seem to have a bit of luck. I looked for possible answers, and most of them points to the cell rendering engine. Whenever I try to use it, I have several errors. That's what I try to do: http://www.wikihow.com/Create-Interactive-Multiple-Choice-Quiz-in-Adobe-Flash-Cs4

    The only difference is that I need multiline instead of simple lines. Is it possible that a perfect beginner could do this?

    not really.  You must create a custom cellrenderer class and, I don't think it's easy for a beginner.

Maybe you are looking for

  • Cobra anti-virus for windows 7. 64 bit / hp pavilion dv6 notebook.

    Cobra CRM 2010 antivirus = which is version 4 of the difference and version14

  • Out of scan range - display settings

    I changed the screen to not look fat, but I accidentally 1920 in 1440 by a bit of way, this monitor is a CRT screen and now because he has changed, he says now 'out of range scan. I tried to fix it by finding the answers by other people with the same

  • The MCU 5320 Port usage report

    Is there a report that I can run to study the historical use of 5320 MCU ports including overall use?

  • Message of lack of print driver

    I got a C5100, and it has been deleted/replaced by a C310a. Now, devices control panel and my computer to the printer icon shows a warning triangle and the problem seems to be that the computer tells me that the C5100 printer driver is missing. Well

  • need for cd images

    About 2 years ago, my computer crashed (Dimension 4700).  When we returned to a person who fixed it - I found that I can't have my pictures on my CD.  I had the opportunity to do before the crash, but not now.  I get the message to insert the cd in t