How can I send information thru the GPIB port?

We need to send the login name from a Sun workstation running Solaris 2.5.1 through the NI GPIB port when the user logs on to the workstation, and also a message that the user has logged off when he has completed his work. We do not have drivers, the app that loads after login uses a driver that is apparently wrapped in the app. What is required to do this?

This is kinda confusing, could you give a bigger picture of waht you are trying to do. You can send and receive data using ibwrt/ibrd for e.g. refer, http://www.ni.com/support/gpib/max/ibic.htm

Similar Messages

  • How can I obtain information about the recently finished commands?

    How can I get information about the recently finished jobs / bash commands? (eg. date / time of termination)

    $ e echo foo
    foo
    $ type e
    e is a function
    e ()
    $@ && echo $@ - $(date) >> test.txt
    $ cat test.txt
    echo foo - Wed Jan 1 12:10:54 CET 2014
    $ e echo bar
    bar
    $ cat test.txt
    echo foo - Wed Jan 1 12:10:54 CET 2014
    echo bar - Wed Jan 1 12:11:09 CET 2014
    $ e htop
    <here I do something with htop for a little while>
    $ cat test.txt
    echo foo - Wed Jan 1 12:10:54 CET 2014
    echo bar - Wed Jan 1 12:11:09 CET 2014
    htop - Wed Jan 1 12:15:14 CET 2014
    Last edited by karol (2014-01-01 11:20:36)

  • If i purchase a device through this official website,then how can i send warranty when the device have problem?

    if i purchase a device through this official website,then how can i send warranty when the device have problem?

    To purchase a device from the online US Apple Store you will need a US credit card with a valid US address and a valid US address to ship to. You cannot use a shipping forwarder.
    If you are in a different country you would have to return to the US to access your warranty.
    If you are in the US but not near an Apple Store you would start here for service: https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • How can I send request to the server through XML using JSP

    How can I send XML request to the server using JSP and servlets

    Ajax may be the one way.

  • How can I put information in the status line at the bottom of the window

    Hi, I need to put some information on the status line, like username and database name. How can I do this?
    If someone know how to do this and could show some sample code, please, put in this.
    Thank you,
    San

    Thanks, but this put a message in the message line, and I need to put this in the status line below the message line, where are displayed messages like "enter query", "execute query", "list of values" and etc...
    Is this possible?
    Thanks

  • How can i send mail from the mail same mail account on which it was forward to my gmail account?

    I have added many accounts in my Gmail account and i've selected "Reply from the same address the message was sent to" in Gmail option. So whenever i reply to any mail, it automatically sends from the account on which i had received the mail.
    How can i get the same configuration in Apple mail?

    In the 'new message' window click the three line option button to 'Customize…' the window.
    Enable the 'From field' & click OK to save the new field settings. If these accounts are setup in Mail you can now select them when replying or sending new mail.
    Also check the 'Mail > Composing tab' preferences. There is an option to 'Send from selected mailbox' that may help if Mail is setup with all of the relevant email accounts.
    Otherwise you may need to log in to gmail on the web & reply from there. Apple Mail cannot understand how gmail & forwarding from other accounts is setup so it cannot try to reply from another account that isn't setup on the Mac.

  • How can i send mail to the yahoo mail or gmail or something else

    hello guys,
    i want to know how to send mails to the yahoo or gmail or something else.i heard that we have to change some smtp address and some port number. can any body suggest me to get that.please help me
    any replies will be appreciated greatly.

    Hi chnaresh,
    This is the code I use to send mail, it's not specific to gmail, but it works. The "props" object expects the usual mail properties, "mail.smtp.host", "mail.user" or "mail.smtp.user", as well as "mail.smtp.ssl" which you'd want to set to "true" if you're using gmail. It also expects "mail.smtp.passwd" or "mail.passwd" which my gut tells me is unsafe, but I'm not sure why.
    Good luck,
    radikal_3dward
    public static int sendMail(final Properties props, String subject, String body, String to, String cc, String bcc, String from, File[] attachments, boolean toStdOut)
    throws javax.mail.internet.AddressException, javax.mail.MessagingException, javax.mail.NoSuchProviderException
    Session sess;
    //props.setProperty("mail.debug", "true");
    if(props.getProperty("mail.smtp.ssl") != null && props.getProperty("mail.smtp.ssl").equalsIgnoreCase("true"))
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    String portStr = ((props.getProperty("mail.smtp.port") != null) ? (props.getProperty("mail.smtp.port")) : "465");
    props.put("mail.smtp.auth", "true");
    props.put("mail.smtp.socketFactory.port", portStr);
    props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
    props.put("mail.smtp.socketFactory.fallback", "false");
    sess = Session.getDefaultInstance(props,
    new javax.mail.Authenticator()
    protected PasswordAuthentication getPasswordAuthentication()
    String userName = ((props.getProperty("mail.smtp.user") != null) ? props.getProperty("mail.smtp.user") : props.getProperty("mail.user"));
    String passwd = ((props.getProperty("mail.smtp.passwd") != null) ? props.getProperty("mail.smtp.passwd") : props.getProperty("mail.passwd"));
    if(userName == null || passwd == null)
    return null;
    return new PasswordAuthentication(userName , passwd);
    else
    String portStr = ((props.getProperty("mail.smtp.port") != null) ? (props.getProperty("mail.smtp.port")) : "25");
    sess = Session.getInstance(props, null);
    //sess.setDebug(true);
    MimeMessage mess = new MimeMessage(sess);
    mess.setSubject(subject);
    StringTokenizer toST = new StringTokenizer(to, ",;");
    while(toST.hasMoreTokens())
    Address addr = new InternetAddress(toST.nextToken());
    mess.addRecipient(Message.RecipientType.TO, addr);
    if(from != null)
    StringTokenizer fromST = new StringTokenizer(from, ",;");
    InternetAddress[] fromAddrs = new InternetAddress[fromST.countTokens()];
    for(int i = 0; fromST.hasMoreTokens(); i++)
    fromAddrs[i] = new InternetAddress(fromST.nextToken());
    mess.addFrom(fromAddrs);
    if(cc != null)
    StringTokenizer ccST = new StringTokenizer(cc, ",;");
    while(ccST.hasMoreTokens())
    Address addr = new InternetAddress(ccST.nextToken());
    mess.addRecipient(Message.RecipientType.CC, addr);
    if(bcc != null)
    StringTokenizer bccST = new StringTokenizer(bcc, ",;");
    while(bccST.hasMoreTokens())
    Address addr = new InternetAddress(bccST.nextToken());
    mess.addRecipient(Message.RecipientType.BCC, addr);
    BodyPart messageBodyPart = new MimeBodyPart();
    Multipart multipart = new MimeMultipart();
    if(body != null)
    messageBodyPart.setText(body);
    multipart.addBodyPart(messageBodyPart);
    if(attachments != null)
    for(int i = 0; i < attachments.length; i++)
    messageBodyPart = new MimeBodyPart();
    DataSource source = new FileDataSource(attachments);
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName(attachments[i].getName());
    multipart.addBodyPart(messageBodyPart);
    mess.setContent(multipart);
    Address[] allRecips = mess.getAllRecipients();
    if(toStdOut)
    System.out.println("done.");
    //System.out.println("Sending message (\"" + mess.getSubject().substring(0,10) + "...\") to :");
    System.out.println("Sending message (\"" + mess.getSubject() + "...\") to :");
    for(int i = 0; i < allRecips.length; i++)
    System.out.print(allRecips[i] + ";");
    System.out.println("...");
    Transport.send(mess);
    if(toStdOut)
    System.out.println("done.");
    return 0;

  • How can i output information at the same location of the console?

    I want to print some messages at the same line(location) of the console
    how can i do that?
    thank a lot!

    If I understand correctly, it is console specific with cursor controls that your console understands.

  • How can I add information to the Summary section of my Movies on the iPad?

    My iTunes movie's populate the summary section that appears to the left of the Movies cover art when you select it. It usually has a movie summary and directors and actors. I have been trying to add my own summaries for my movies ion there but no luck. The best I have been able to do is put in limited text in the video tab under description.
    Is there a way to add more information in the summary section?

    Google "MetaX". It is software that does exactly what you want to do. /or see my link below.
    http://www.kerstetter.net/index.php/projects/software/metax

  • How can I get information of the switched channel in an example program from NI?

    When I use the example program "niSwitch DMM Switch Synchronous Scanning.vi", I'am not able to get any information, wich channel is active. Wich block has to be used and how must I connect it to see this.
    The other one is, that te sytax for the scan list, described in the help does not switch through the channel, how has this to be modified?
    Im using a SCXI 1128 in Slot 8 of a 1052 combo chassis and the DMM is a PXI 4070 in the Slot 2.
    Attachments:
    niSwitch DMM Switch Synchronous Scanning.vi ‏145 KB

    Bigmatzeman,
    finally, i got a working solution which should suite you!
    Ok, here is what you have to do/what is missing in your setup:
    First, you can leave the modules as they are already inserted in your chassis.
    Second, you will need a special AUX-cable to synchronize the DMM and the switch. You can find infos on that here
    in the section "Single Module Scanning". Connect the cable between the
    DMM and the front connector of the switch (1331, scanadv. and
    externaltrig.)
    Third, i advise you to use the HV8-BAN4-cable to connected the signals
    to your DMM. This is because the cable is specified for the appropriate
    voltage the DMM and the switch are capable of (300 V). The connection
    of the HV8 can be done in the 1052 above the PXI-slots.
    And at last, open the example "niSwitch DMM Switch Handshaking.vi", set
    the devices to the appropriate identifiers. Select for both triggers
    for the DMM "External" and for both triggers of the switch "Front
    Connector". Change the Scanlist to "ch0:5->com0;". If you are using
    the HV8-BAN4 instead of direct front connector-connection, you have to
    change the code a bit, too: insert a "niSwitch Connect Channels" VI in
    front of the "niSwitch Configure Scan Trigger" which connects "ab0" and
    "com0".
    Ok, now the example should work correctly and you should be able to use all other SCXI modules together with your 6281.
    Hope this helps,
    Norbert
    [Edit]: My setup was 4072, 6052E, 1127 and 1011 (instead of 4070, 6281,
    1128 and 1052 as you do). But that should work just the same way.
    Message Edited by Norbert B on 08-04-2006 10:36 AM
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How can I send files thru iChat?

    I would like to send some of my music files to my phone but I don't have the option of sending files to my phone. Why not and is there any way I can send files to my cellphone? I've tried the Bluetooth but that tells me I have to wait 9 hrs. Is there another way that's faster?
    Thank you
    Tamara

    That's probably your SIM card (the 32MB card in the phone).
    An alternative way would be to upload the files to a webhost (you can make a free website basically anywhere on the web, tripod.com comes to mind). Keep the files to a minimum and watch your bandwidth though because the service is free, Tripod will limit your downloads/uploads to something like 10MB/day which is crazy small.
    Once the file is uploaded to your webhost, use your phones WAP browser and punch in the direct link to the file and it should download. Keep in mind that you WILL BE CHARGED for downloading data onto your phone unless your phone plan incorporates that already.
    Hope this helps,
    -Ryan

  • How can i send parameter to the servlet

    i want send one or more parameter to the servlet
    acturally i am using applet servlet cmmunication
    useing XML and I want to send one parameter to
    the server and depending on tha perform some
    action but i dont know how to send the parmer to
    servlet plz give the answere
    Rahul

    Hi Rahul,
    You will have to use java.net package for tht.. Through applet you will have to make URL connection to your servlet.whc u will make by using java.net.URl
    Just explore this pakage. You will find alots of utility thr.
    HTH?
    ~Gaurav

  • How can I send iMessages without the person at the other end seeing my name?

    I'd like to be able to send iMessages to someone , without them seeing my name or email on the other end!! Can that be done? I am using the newest iPad
    Any help would be appreciated
    Currently, family and friends iMessage me using my apple ID, can I "switch" to another user name to send to someone else anonymously?

    Thank you djp96!!
    So now one further question -- Can I switch back and forth ? ( I have 2 apple ID's it seems ) and one does not have my name in it.
    Thank you for responding!!

  • How can we send status to the LMS other than pass/fail, complete/incomplete?

    We have a Captivate module generated as SCORM 1.2 which passes Complete/Incomplete to the LMS. The quiz is at the end of the module - if the user exits the module prior to attempting the quiz, we would like to send 'Not Evaluated' back to the LMS rather than Incomplete (which happens today).
    Module is developed using Captivate 7.0.1
    Does anyone have a solution for this problem?

    Hi,
    You should do it using the FM for FTP´ing the files, check the link bellow:
    http://www.members.tripod.com/abap4/FTP_Using_SAP_Functions.html
    Hope this helps!!!
    Gabriel P.

  • URL portlet: ?How can I expose information in the place of a URL portlet in my page?

    Hello all:
    ?It`s posible to see pages (or others)in the place of my URL portlet?
    I'm working with EA in NT and I have a URL portlet published in a page. I can see the page refers by the URL portlet directly in my page, and it's OK for me. But when I try to navigate trough others "URL pages", Portal show me this pages in full Internet Explorer window (and now I don't see my page. Only the "URL page").
    Help me, please. And thanks.
    Arturo.

    Arturo,
    I think I understand what you are saying. When you click on links from within the URL Portlet, you leave your Oracle Portal page.
    The URL Portlet retrieve the content from a URL and displays it within a portlet window. All the URL links within this external page are active and have not been altered to work with 9iAS Portal. At this time, when you click on the links within the URL portlet you will leave your Portal page.
    Sue

Maybe you are looking for