How can I control a HP 33120A waveform generator with the serial port of my PC?

Hello,
I want to control a HP 33120A waveform generator with my PC using the serial port. I don't have any idea about how to do it. If you've done it or if you know how I can do it, please give me some indications.
Thanks
Jean-Baptiste Paillet
PS: I don`t have G PIB port

The answer to your cross-post in the LabVIEW General group seems to be right on the money:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000032200000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
Regards,
John Lum
National Instruments

Similar Messages

  • How can I autoindexi​ng data from vi that read the serial port (CODE)

    Hello. I´m working in a proyect in the company, the proyect consist in read two incremental encoders for the inspection of automotors supension. I have a Digital Read Out System that read the 2 linear encoders, the DRO it has a serial RS-232 interface, i can read the data from the DRO to my computer, but now, I want to storage the information in Arrays (for autoindexing) for then make a graphic, If you want check the program, and if you tell me information, or a example code  thanks for yor help.
    P.D. Only if the data is diferent is sotraged. (I have LabVIEW 5.1.1)
    Atn. Ing. Jorge Cardozo. San Luis Rassini Corporation. Piedras Negras Coahuila Mexico.
    Thank you for your help.
    Attachments:
    KA-COUNTER (Comparacion).vi ‏77 KB

    hi there
    to collect scalar data in an array you can use a so called "Shift register". To display the history of scalar data you can use a Waveform Chart (not a "Graph", a "Chart"). See attachments. because i can't save the vi as 5.1 i appended some screenshots of the front panel and the block diagramm.
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"
    Attachments:
    KA_Counter_BD.JPG ‏122 KB
    KA_Counter_FP.JPG ‏86 KB

  • How can I tell if my Macbook is infected with the botnet described at Dr. Wed?

    How can I tell if my Macbook is infected with the botnet described at Dr. Wed?

    How deal with FLASHBACK trojan? - https://discussions.apple.com/message/16505583
    Flashback Trojan - Detection, and how to remove - http://www.f-secure.com/v-descs/trojan-downloader_osx_flashback_i.shtml
    http://arstechnica.com/apple/news/2012/04/flashback-trojan-reportedly-controls-h alf-a-million-macs-and-counting.ars

  • How can I pass multiple condition in where clause with the join table?

    Hi:
    I need to collect several inputs at run time, and query the record according to the input.
    How can I pass multiple conditions in where clause with the join table?
    Thanks in advance for any help.
    Regards,
    TD

    If you are using SQL-Plus or Reports you can use lexical parameters like:
    SELECT * FROM emp &condition;
    When you run the query it will ask for value of condition and you can enter what every you want. Here is a really fun query:
    SELECT &columns FROM &tables &condition;
    But if you are using Forms. Then you have to change the condition by SET_BLOCK_PROPERTY.
    Best of luck!

  • How can I use a vector image to stretch with the backgrounds in Muse master pages?

    How can I use a vector image to stretch with the backgrounds in Muse master pages?

    Maybe there's a bug.  I think it's only showing it when it wants to because look:

  • I have itune on my first computer, but i cant download it for my other one,how can i do that, i tryed many time with the link it says you download it but nothing follows  thank you

    I have itune on my first computer, but i cant download it for my other one, how can i do that, i tryed many time with the link it says you download it but nothing follows  thank you

    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • How can i synchronize my contacts in my iPhone with the ones in my iPad?

    How can I synchronize my contacts in my iPad to the ones in my iPhone??

    I do that by using iCloud to house all my contacts.  Then simply use the same Apple ID on the iPad and iPhone, and turn on iCloud on both.

  • How to communicate two PC's with the serial port with Netbeans

    Do you know how to do it?
    Do you know how to communicate with the parallel port too?
    Could you give some ideas?
    What commands or instructions I have to use?

    What does NetBeans have to do with it?
    All these "people" today that start out in Java using all these "nifty" IDE's. All it does is produce exactly this. They think their IDE is Java. Once they no longer have their one specific IDE in front of them, they can no longer function. They have no idea what the classpath, what the compiler actually does, how to package a jarfile, hell, most of the time, they don't even know how to execute a simple application.
    As far as your question. Did you even try to Google for some Serial port API package? Assuming you did, did you download it and read the documentation that comes with it? Did you search for a few examples on the web? Did you read them? Did you try them? I can almost guarantee that the answer to everyone of those questions is "no". So, my question for you is, "Why should we help you?" You obviously have no desire to help yourself, so I think we should reciprocate in kind. Don't you?

  • Can a USB Keyboard/Barcode reader be used with the USB port on the CRio

    Is it possible to use a USB Keyboard or Barcode reader with the USB port on the CRio, I know you can use this port with a USB memory device, but what about other devices?
    I have a project that requires that all hardware elements be connected to the controller and use the HMI purely for display,
    anybody any ideas?? 

    Hi kmoyna,
    The standard CompactRIO range's USB host ports are not suitable for standard USB devices like keyboards or barcode readers - they are intended only for use of mass storage devices. From your description, it seems your project's requirements would be best met by the newer models, cRIO-9081 or cRIO-9082. These two units have Windows Embedded Standard 7 (WES7) and allow the direct connection of a monitor and standard USB devices. We now also have similar stand-alone CompactDAQ models running WES7 - cDAQ 9139.
    I would recommend calling into your local branch to discuss your project further with one of our engineers. If you're in the UK, it's 01635 523 545 - or view contact details for other branches.
    Regards,
    Imtiaz Chowdhury
    Head of Digital Technologies
    Brand786

  • How to detect if my external device is connected to the Serial port

    Hi,
    If I remove the cable from the serial port in my pc or either remove the serial cable from my external device, then when I send a request to open the serial port from my program, it basically does nothing, it just sits there.
    I want to be able to show some sort of message or any other way of indicating to the user that they should check the cable.
    below is the bit of code to open and set serial port params:
         public void openPort() {
              // Initialise the drivers
              System.setSecurityManager(null);
              String driverName = "com.sun.comm.Win32Driver";
              try {
                   CommDriver commdriver = (CommDriver) Class.forName(driverName)
                             .newInstance();
                   commdriver.initialize();
              } catch (Exception e2) {
                   e2.printStackTrace();
              // port will be set in Store Operations.
              String wantedPortName = Configuration
                        .getParameter(ConfigSetting.EFT_COM_PORT);
              //System.out.println("wantedPortname : " + wantedPortName);
              Enumeration portIdentifiers = CommPortIdentifier.getPortIdentifiers();
              CommPortIdentifier portId = null; // will be set if port found
              while (portIdentifiers.hasMoreElements()) {
                   System.out.println("counter");
                   CommPortIdentifier pid = (CommPortIdentifier) portIdentifiers
                             .nextElement();
                   System.out.println(pid.getName());
                   if (pid.getPortType() == CommPortIdentifier.PORT_SERIAL
                             && pid.getName().equals(wantedPortName)) {
                        portId = pid;
                        System.out.println("found a macth");
                        break;
              } // end of while
              if (portId == null) {
                   System.err.println("Could not find serial port " + wantedPortName);
                   //System.exit(1);
              try {
                   port = (SerialPort) portId.open("EFTDriver", // Name of the
                                                                               // application
                                                                               // asking for the
                                                                               // port
                             10000 // Wait max. 10 sec. to acquire port
              } catch (PortInUseException e) {
                   e.printStackTrace();
                   System.err.println("Port already in use: " + e);
                   //System.exit(1);
              // Now we are granted exclusive access to the particular serial
              // port. We can configure it and obtain input and output streams.
              try {
                        port.setSerialPortParams(9600, SerialPort.DATABITS_8,
                             SerialPort.STOPBITS_1, SerialPort.PARITY_NONE);
              } catch (UnsupportedCommOperationException usc) {
                   System.err.println("Unsupported operation" + usc);
              }Please advise what method can I use for this purpose.
    Thanks
    Abhi

    You mean it hangs in the open() method despite the timeout?

  • When I listen to music on Apple TV 2 my pictures from iPhoto come in, but always the same album (which I nevr asked for), always in random order and always in a different format. How can I control what is going on and choose the album myself.

    When I listen to music on Apple TV 2 my pictures from iPhoto come in aafter about ten minutes, but always the same album (which I never asked for), always in random order and always in a different format. How can I choose a different album myself and control the order and format?

    Thank you Winston for a helpful response and for reminding me of something which I found nearly a year ago and then lost (in my mind) because I did not use it. I am grateful for a correct answer but it still only achieves part of what I wanted.
    I can now choose my photos, decide how long they stay on screen and choose one of a variety of presentations. Two things I still can't do.
    One is to get it to play the photos in the chronological order in which I have carefully set them in an album; it still tends to be random and repetitive. The other is that I cannot get any of them them to saty on screen for more than about 20 seconds. I guess this is all due to the way Apple TV is constructed.
    But still thanks, nevertheless.
    Alec

  • How can I replace my Mac and iCloud contacts with the ones in my iPhone?

    I have a new iPhone (iOS 6) and have edited, added, linked and deleted some of my contacts. How can I have THAT list replace all of the other contact lists in the rest of my devices?

    If you are using iCloud on iPhone and Mac, that must be already done. If not, you have to setup iCloud on both devices with the same Apple ID.
    Before you try anything, download an app like "Contacts kit" or "My Contacts Backup" to your iPhone and make a backup of your list and send it via email to yourself.

  • How can I remove my name from being associated with the GB file I export?

    I am using Garage Band '11, 6.0.5.
    I am editing an audio recording for a friend.
    When I exported the edited recording, it had my name associated with the file as the artist, album, etc.
    I searched and found "My info" (in "Preferences") and deleted my information from ALL name, album, artist fields, but it still exported the file with my name as the artist (but it did not list it as from my album this time)?
    Does anyone know how/where/what I need to do to remove all references of my name associated with this file I'm editing?
    And also, can I change who is associated with a GB file, from file to file (i.e. if editing my audio, use my name & info, if editing for a friend or colleague, theirs?  or is the name associated with my GB account universally embedded into every file, no matter if I want it to be mine or not)?
    Thank you for your support!
    Joe

    When I exported the edited recording, it had my name associated with the file as the artist, album, etc.
    The problem is, that this information is stored with the GarageBand project, when you first create the project.  You have to edit the Preferences, before you create the project.
    If the project already exists, you can change this option by turning the project into a podcast. Add a Podcast track (Track menu, Show Podcast Track), select the podcast track, and open the Info panel. Then edit the artist field in the Info panel, before you save the song to disk.
    (added: I saw the workaround with the Podcast track first in a post by Edgar).

  • How can I replace all music on my iPod with the music in my iTunes Library?

    My iPod Touch (5th Generation) contains all the music that I purchased on iTunes with my previous iPod. I managed to transfer all music, including those from CDs, from my old iPod onto iTunes (newest version), so I figured that I would sync my iPod to retrieve them. However, every time I sync my iPod with my music library, I get duplicates of the purchases that my iPod contains, but not of those from CDs. When I go onto the "Music" section in my iPod, no items are shown. I have all the music that I want sorted out in my iTunes Library, so I want to replace only the music on my iPod with the music in the Library. How do I do this, or at least delete the music on my iPod (but not iTunes) so I can sync the entire music library later?

    Correction: The music on my iPod doesn't show up in the "Music" section in "iPod" in iTunes.

  • How can I get rid of a type generated by the Data/Services return type wizard?

    Hi All,
    I have a JSON service that returns an object called "error".  The Data/Services "Configure Return Type" wizard automatically turned this into a class "Error".
    However, this caused over a hundred errors to show up inside the generated classes, "Call to a possibly undefined method Error."  That's because of lines like this:
    throw new Error(propertyName + " is not a data property of entity Agreements"); 
    It's trying to throw a regular "Error" object, but now that there's an "Error" class in the same package, that is taking precedence--and that Error object doesn't have a constructor with a single parameter.  At least, that's what I think is going on.
    I tried to fix it by deleting _ErrorEntityMetadata.as, _Super_Error.as, and Error.as from the valueObjects package.  I then opened the FML file and deleted the definition for the entity "Error" and every reference to the Error entity (class) in my FML file.
    I then changed my JSON service so that it returns an object called "serviceError" instead of just "error".
    But, whenever I re-run the "Configure Return Type" wizard, it regenerates the Error class, even though I've deleted it from everywhere I can find it.  That breaks my project completely!  How can I end this and get Flash Builder to *stop* generating this type!
    In the "Configure Return Type" wizard I very carefully inspected the type of every bit of data coming back to make sure none of them show up as type "Error."  And they don't (as expected, since I changed the object's name to serviceError--now the type of that object is ServiceError.
      -Josh

    I think you are facing this known issue https://bugs.adobe.com/jira/browse/FB-29770
    Please vote it.
    Thanks for the link--I just voted for it.
    To avoid this, in the last page of "Configure Return Type", edit return type name to something else (You can also edit subnodes's name too in the wizard).
    Actually, that's exactly what I saw doing; I apologize if that wasn't clear in my post.
    I closed and restarted Flash Builder, and once I did that Flash Builder stopped generating the Error class.  My guess is that the FML file, even though I had updated it (by deleting all references to the Error class), was cached in some fashion by Flash Builder, and restarting Flash Builder forced it to reread the FML file?
    Additional point of clarification: my understanding is that the FML file stores all the metadata about the services that Flash Builder has been able to figure out so far, and when you run the Configure Return Type wizard, it will regenerate *every* type in the FML file, even if that type is not mentioned anywhere in the particular return value that you are working with.
    Edited to provide additional thoughts on FML file.

Maybe you are looking for

  • How do I center text in Final cut Pro?

    Hi, does anyone know how to directly center text with more than one line of text in Final Cut Pro? If I have more than one line it doesn't seem to center properly. I've tried wireframe (which is inaccurate), center values (which doesn't work) and Bor

  • Ichat from laptop to desktop

    I wish to ichat with my family when out of town from my macbook to my home desktop mac. is thgis possible on 1 account and or do I need to have two accounts,Currently i have 1 mac account with 1 email

  • Assign Joystick (on a KORG Synth) to control velocity

    I would like to be able to control velocity by a joystick on one of my Korg synth, so that it alters global velocity on a Port. I have a huge library of samples and wish to know quickly how they sound with various velocities applied - I normally try

  • Forced to save document with another new name?

    When I scan a document to a pdf, I open it and OCR the document.  It then tells me that I need to save the document with another name as the document is opened someplace else.  this is not true.  If I open a pdf and add a page to it, it tells me agai

  • Running Firefox 3.6.13 on Winows 7 and I cant change the mailto link to Outlook

    Hi all, I am running Windows 7, and have Firefox 3.6.13 I am trying to get Firefox to use Outlook 2010 for mailto links. When I go to tools/options/applicaitons/mailto Firefox does not have Outlook as an option to choose from in the drop down menu. F