GPIB-232CT-A Serial commands problems

Hi
I am using the GPIB-232CT-A to send commands to a network analyser
using the serial coms commands and I am having the following problems:
1) Network analyser only responds to the command only if I reset the analyser.
2) I cannot send more than 2 commands. The analyser only responds to the first command.
Do you know which commands I must use to send more than one command
without having to reset the analyser everytime I need to send the
command.
The command that I use is 'wrt ' .
Thanks in advance.

Hi,
it would be better if you re-post this here http://forums.ni.com/ni/board?board.id=140
regards
Ray Farmer
Regards
Ray Farmer

Similar Messages

  • Trouble communicating with GPIB-232CT-A

    I can not communicate with my GPIB-232CT-A. I can send commands over the serial port, but I can't even get a light on the GPIB-232CT-A (except power and ready) to turn on. From what I have been reading, a driver is not necessary in S mode which I'm using. Is there a way in Java to make the GPIB-232CT-A recognize that I am talking to it? I have a mac with os X so none of the ni drivers will help. I am considering writing my own driver, but I'm not really sure about the syntax. I would be happy if the GPIB-232CT-A even somewhat recognized anything I send it.

    Hi,
    You do not need NI-488.2 drivers to talk to the GPIB-232CT-A in S mode. This is because it is simply a serial instrument in this mode. Have you gotten the device to work at all in S mode? A good way to check this would be to use a Windows PC and use Hyperterminal to talk to the GPIB device. Refer to http://digital.ni.com/public.nsf/websearch/61BA0EE248FB0B328625660B0066858D?OpenDocument for more information on how you can do this. If you are not able to do this successfully, then we may have an issue with the hardware. Please try this and let us know if you have any problems. Hope this helps.
    Anu Saha
    Applications Engineer
    National Instruments
    Anu Saha
    Academic Product Marketing Engineer
    National Instruments

  • Gpib 232ct-A with gpib/enet

    Are there any vi's developed to utilize a gpib-232CT-A
    with a gpib/enet? I have several units which I control
    with a gpib/enet; however I have several receivers which utilize a serial port. I want to connect the "G"
    end of the GPIB-232CT-A to a GPIB/ENET converter, and the "S" end to the receiver. The operating system used
    to control the GPIB/ENET is windows NT; so I can't use
    DOS or Windows 3.1

    Consider both one receiver and one GPIB-232CT-A as one single other unit (GPIB) and ... that's all.
    Hope I understood your problem ...

  • GPIB: I am having some problem in running Labview code properly.

    Hello,
    I have written a labview code to drvie my stepper motor (using GPIB function). This code is supposed to move
    the stepper motors and keep updating the current position of motors. I am having an unique problem. This code runs fine for trial no.1st, 3rd, 5th and so on. While it fails to update for trial no 2nd , 4th, 6th and so on.
    The main code is "motion_update_Final_Newport.vi". It will work for labview 7 as well as 7.1.
    You may not be able to run this code. However, you may be able to understand my error easily as I have figured out where is the error. The update is based on a function, which returns (string) 0 for motion not done and 1 for motion done. This value is diaplayed in "output 1" and works fine. However, "check 2" which is an indicator does not work for trial no 2nd , 4th, 6th and so on.
    If you go where I have "output 1", there is a while loop and "check 2" is an indicator for check. It remains on for trial no 2nd , 4th, 6th and so on.
    I am attaching the code and this is for ESP 300 motion controller Newport co. I am certain that some of you would be able to figure out the error without running the code.
    Thanx in advance,
    DushyantMessage Edited by Dushyant on 04-18-2005 04:43 PM
    Attachments:
    modified_Motion_Update_Final_7.zip ‏228 KB

    Thanks a lot for trying to help me.
    I am sure that I am not moving any subvi.
    Steps that I am trying to accomplish:
    (i) I am moving the stepper motors for a relative distance.
    (ii) Then I am trying to get the motor position after delay (ms) [defined in front panel].
    Now, how I am trying to accomplish:
    First outer stacked sequence:
    seq 0 of outer: This sets GPIB as controller in command (without this I was having trouble when I was combining this with photodiode code). Please avoid this seq.
    seq 1 of outer: The motor moves to certain relative distance. (I do not think that there is anything wrong here).
    seq 2 of sequence: This part does updates the motor coordinate after delay (ms). Inside this, there is a case structure to choose whether I want the update.
    If I want the update, then following steps take place inside the case structure:
    Inner stacked sequence:
    seq 0 of inner: [This is where I think that error is taking place] Inside this, There is a while loop which terminates when the "Motion Done?"
    function returns "1", else "0". Inside the flat sequence structure, first sequence "updates" the motor coordinate while second check
    whether the motion is done .
    Seq 1 of inner: Controller wait till motor stops.
    seq 2 of inner: The motor coordnate is updated for the last time.
    seq 3 of outer: It clears the GPIB.Message Edited by Dushyant on 04-19-2005 10:22 PM
    Attachments:
    Wait_Till_Motor_Stops.vi ‏13 KB

  • Using NI GPIB-232CT​-A

    I have a 'scope that has a GPIB output but as far as I know it doesn't
    have GPIB Controller capability. I want to print from the 'scope to a
    serial printer using a GPIB-232CT-A converter. Does anybody know if
    the 232CT-A can be configured so I can simply print from the 'scope to
    the serial printer?
    I tried to figure out from NI's website how to contact their support
    staff with this question but finally gave up in frustration!
    Thanks,
    Mike

    Hi,
    Actually, I just replied to the email you send to the tech support department. I'm going to copy the email, in case you don't receive it. I'd also like to see if anyone has any other solution or alternative.
    "Unfortunately, you cannot have this setup. There has to be a controller in the bus.
    I assume that the printer does not have a GPIB interface, which means that it must be connected to the serial port of the GPIB-232CT. The device would operate in G mode. The computer would need a GPIB interface to control the bus. In this configuration, the controller could address the scope as talker and the printer as listener, and let them do the data transfer. In this situation, the controller (PC) is not part of the comunication, but it is needed to
    arbitrate the bus.
    Another option is to use the two rs-232 of the PC. One would connect to the GPIB-232CT, which would operates in S mode. The GPIB port would connect to the scope. Through this path the scope would transfer data to the PC. The other port can be used to transfer the data to printer. With this setup, you wouldn't need an extra GPIB interface for the PC. You would need to program the application that would arbitrate the communication and the data transfer between the device. Depending on how the instruments would communicate, this application can be fairly simple.
    Hope this helps. Let me know if you have any questions.
    DiegoF
    National Instruments

  • Labview GPIB Tutorial for sending commands to gen purpose equipment

    Hi
    I am reading an old NI GPIB "in-depth course" (in dos). It seems quite easy to send and receive GPIB command. Is there a GPIB tutorial for labview that will show me how to set up a piece of equipment and send/receive commands?
    Wayne

    Yes. If you have LabVIEW 6 or later, look in the LabVIEW Measurements Manual (a printed manual in your LabVIEW box, as well as a PDF installed with LabVIEW).
    First of all, there are two ways to program GPIB. You can use the Traditional GPIB VIs, or you can use VISA. Both APIs are simple, but you probably want to use VISA. VISA works over GPIB, USB, Ethernet, Serial, etc., so learning it will apply to future projects, too.
    In the 6.x version of the Measurements Manual, read chapter 20. In the 7.x version, read chapter 16. In either case, we have examples of using VISA to communicate with instruments.
    This will give you a brief introduction to VISA. If you want to learn more, there are more advanced tutorials available on NI's web site, such as
    href="http://www.ni.com/swf/presentation/us/instcontrol/">this one.
    I hope this helps.
    Brian

  • GPIB 488.2 Send command

    Why is it that when I use the GPIB 488.2 Send command, using the string "ID", it sends the string over and over again? I just want it to send the string once.

    The Send command should only send the string once. Could you possibly attach an NI-Spy log or a GPIB Analyzer capture to show us the problem?

  • Aperture 2 install - serial number problem

    Disclaimer: I'm pretty good on a pc. Absolutely terrible on Mac, never had so many problems with tech :/
    So...I have my serial number from the back of the Aperture 2 "Installing your software" booklet. Checked that I'm entering "I's" not "1's." Got dashed between the sequences. Capslock on etc. Searched forum, quite a few posts on serial number problems. None matched.
    Enter serial number. Second window pops up stating I've entered an upgrade serial number (I only have the expired trial version of Aperture installed), and requesting my "serial number."
    I'm lost now. Checked my original docs, there's nothing on Aperture trial version. Fired up the trial and I see what looks like a license key (to Apple, not me) on the launch screen. That's not accepted by Aperture 2.
    Any thoughts on this appreciated.

    M_Austin wrote:
    Thanks, think you solved this Wish the label said something like that, the box only says Aperture 2, not upgrade license. So I'm guessing I have to pay $199, and keep this $99 package to upgrade it? I hope not. I'll ask at the store.
    There is a tiny label on the bottom edge of the box. Mine says "Aperture 2.0 Retail". The tiny label on my box for Final Cut Express 4 says "Final Cut Express 4.0 UPG". Does yours not say "UPG" on that little label? If not, you should be able to return it for the full version (plus pay the difference, of course). If it does say "UPG" you might be out of luck as most open software can't be returned.

  • SQL Command problem in Application Express 3.2.0.00.27

    To Oracle Application Express Development Team,
    Yesterday I installed Oracle Application Express 3.2.0.00.27.
    While doing my r&d, I came across one problem in SQL Command.
    For example I wanted to run sql "select * from tab"
    When I checked "Autocommit" checkbox it worked fine.
    But when I unchecked the "Autocommit" checkbox it gave me following error:
    ORA-01003: no statement parsed
    Please check post
    http://www.oraclebrains.com/2009/03/sql-command-problem-in-application-express-3200027/ for more details.
    Cheers

    I can't find the log file (a good indication that something went wrong)
    Here's the transcript of the session...
    SQL> startup upgrade
    ORACLE instance started.
    Total System Global Area 599785472 bytes
    Fixed Size 1288820 bytes
    Variable Size 264242572 bytes
    Database Buffers 331350016 bytes
    Redo Buffers 2904064 bytes
    Database mounted.
    Database opened.
    SQL> @apxpatch.sql
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    Wrote file apxset.sql
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    SQL>
    SQL> @apxldimg.sql
    PL/SQL procedure successfully completed.
    Enter value for 1: C:\Documents and Settings\jtench\Desktop\My Downloads\Oracle\apex_3.2.1
    old 1: create directory APEX_IMAGES as '&1/apex/images'
    new 1: create directory APEX_IMAGES as 'C:\Documents and Settings\jtench\Desktop\My Downloads\Oracle\apex_3.2.1/apex/images'
    Directory created.
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    Commit complete.
    timing for: Load Images
    Elapsed: 00:03:30.03
    Directory dropped.
    SQL>

  • Send serial command in VBAI based off of calculation

    I am attempting to send serial commands through VBAI based off of a previous calculation step. For instance, my application will determine an objects mass center and then determine if it is to the left or right of my origin. From here, I would like to be able to send a serial command based on the left/right result. The command will be sent to an arduino which will controll a servo left or right based on the command it recieves. I think I have everything but linking to serial command to the calculation result figured out here. Any feedback or help with this would be greatly appreciated.

    In the Serial step, when you are sending a command (i.e. you press the "Send Command" button), you can press the "Insert Result" button to have the serial command you send out conatin a result from a previous step. There are even formatting options so you can have numeric previous measurements formatting into the string as you want. If you need to send results from other states, you can use variables to pass data between states since the Serial step doesn't currently support accessing results from other states.
    Hope this helps,
    Brad

  • Pls help me with  Mac and had a trial  serial number problems

    Hi,
    I downloaded first the trial version of Photoshop, after 30 days finished but the icon still remained.
    Now, when purchased a creative suite 4 Designe premium, installed, all programs are fine, just the photoshop not working, asking for serial number but when I type the right numbers, doesn`t accept.
    What can I do? any idea?
    to uninstall the photoshop and install again?
    but if I have the other programs working and installed?

    Hi,thank you, that is fine, just not so quick but I resolved the problem alone.Thanks anyway you helped me.Eva
    Date: Sat, 1 Aug 2009 11:53:58 -0600
    From: [email protected]
    To: [email protected]
    Subject: Pls help me with  Mac and had a trial  serial number problems
    Hello, Eva. For CS4 problems, you need to ask in the Photoshop forum (this is the Photoshop Elements forum). It's here:
    http://forums.adobe.com/community/photoshop/photoshop_macintosh
    Good luck!
    >

  • Serial number problems for cs5

    I'm having problems installing CS5 on my macbook air.

    Can you explain more specifically what your problem installing CS5 is?  What are the serial number problems?

  • RS232 Serial commands for Cisco 32" LCDs

    Are the serial commands for power on/off for the Cisco 32" LCDs different than the 40" and 52" monitors?
    The "rs232.tx_hex=aa11fe010111" for power on and "rs232.tx_hex=aa11fe010010" work fine on the 40"s but the 32"s do not respond to these same commands.
    I know the 40" and 52" LCDs are Samsung. The 32"s appear to be LG so I would suspect the serial commands would be different as well.
    I have been unable to find any documentation for the 32"s.
    Thanks in advance

    Doug,
    Have you tried using the Control TV icon in the DMP Manager?
    You can power on and off the Cisco 30" from here along with
    other rs232 control commands.
    You also could use wireshark to sniff the wire to
    see what codes the DMM are sending the DMP.
    Cisco 32"\LG - RS232.Control
    To use the RS232 commands on the DMP the serial port must be set to ON and
    be pointed at the /dev/ttyS1 device.
    To check this create a System Task to check your settings using Task 5
    below. If your serial port is anything other than /dev/ttyS1 use Task 1
    to set it correctly.
    TASKS
    =====
    1. Create a system task under application
    use type "set"
    name it "RS232 ON"
    init.startService_rs232=yes&rs232.device=/dev/ttyS1&mib.save=1&mng.reboot=1
    2. Create system task "RS232 OFF"
    use type "set"
    init.startService_rs232=no&rs232.device=/dev/ttyS1&mib.save=1&mng.reboot=1
    3. Create system task "Cisco 32N LCD ON"
    use type "set"
    rs232.tx_hex=6B612030312030310D
    4. Create system task "Cisco 32N LCD OFF"
    use type "set"
    rs232.tx_hex=6B612030312030300D
    5. Check DMP RS232 Settings (This setting will allow you to check the RS232
    settings)
    use type "get"
    p=rs232.*
    If this answers your question, Please take time to mark this
    discussion answered & rate the response.
    Thank You!
    T.

  • GPIB-232CT-A Installation Help Needed

    I work in our company's Calibration Lab. We calibrate a lot of our instruments via GPIB using Fluke's MetCal software.
    We have some instruments that have either GPIB or RS232 comm ports, but not both.
    We would like to be able to use the MetCal software to calibrate these RS232 instruments as well as the GPIB units.
    We recently purchased a GPIB-232CT-A, because NI's sales rep said it would work for this application.
    I have spent quite a few hours trying to get this GPIB-232CT-A to interface between the GPIB computer and the RS232 instrument....to no avail.
    Any "Tech Tips" out there???
    I would have liked to have been able to take with someone at NI but, it from what I can see on the website, phone assistance with purchased products comes at a premium.

    Hello,
    The GPIB-232CT-A is basically a string repeater from one interface to another (depending on the mode it's in). Here are two great documents which should give you all the information you need:
    1. Helpful Hints for Using the GPIB-232CT-A
    http://zone.ni.com/devzone/conceptd.nsf/webmain/58763F72C7830BB786256804005D8B77?opendocument
    2. Using a GPIB-232CT-A or a GPIB-485CT-A in G Mode
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/862567530005f09c862564df005a468a?OpenDocument
    Repost if you are still having trouble!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • How to executing serial commands from text document

    I'm looking for some direction on how to read and execute a page of serial commands from a text file.  I have an instrument is controlled by serial communication.  Currently I have been using a state machine to operate the instrument.  The issue is that if I wish to change the sequence of commands I have to go back and rewrite the state machine to change the strings.  I had the idea of being able to just write the string commands to a text file with each line being a discrete command and after selecting the file the VI would execute the text page one line at a time.  I just don't  know where to start and have been unable to find an example to get me started.  This is above my programming level and I could use some direction on where to start.  The one issue I need to be able to address is if the VI executing the page of serial commands I have to have a way to abort the sequence if necessary.  
    Thank you
    Danny
    Danny

    ABCPrograms wrote:
    If you want to process the entire array of commands in a state engine, indeed the better way of keeping track of where you are in the array would be a shift register.
    When you're reading a new line, increase the index with one and put the new index in the shift register.
    That seems overly complicated, unless you want to go back and repeat steps.  But from the description from the OP, this is not desired.  The point of the text document is to easily change the state order.  Autoindexing is by far the simplest way to accomplish this.  If you really want to know what index you are on, just use the i terminal.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for