How can I define a current source and measure voltage at given intervals of time using GPIB on a Keithley 2410 (LabView 7.1)?

Hello

I use an old version of LabView 7.1 and a Keithley 2410 communicate via GPIB.

I want to do a simple program, sending a commando to the 2410 to source a current given, without interruption.

Then in the light of time intervals, I want to read the current tension for logging in a txt file. My idea is to do this

simply by sending orders to the Keithley 2410 stations. Could someone please give me a hint in the right

direction to do?

I'm not very good at LabView, but have done some simple programs using USB - DAQ before.

Any help is appreciated.

--

Lars

Thanks again for your help,

I understood that the reason why I did not have all the data (and that the 2410 a frozen/hung) was that in vi GPIB READ, I did not specify the number of bytes to be read, and it didn't have a default value.

After adding a constant to this entry, everything worked like a charm.

Thank you for your recommendation on the * CLS command.

--

Lars

Tags: NI Hardware

Similar Questions

  • How can I define a common font and size for all emails sent and received?

    He says it all really. Any help gratefully received.

    Yes you can. Go to Menu > Options > Options > display > advanced and uncheck the box 'allow messages to use their own police. This box should be subject to half way down the options.

    Have a great day!

    Jon

  • How can I define Shape object colors and thickness of the line in windows 7

    When I use my insert, ease the shape fill color is blue, I need it to be white. also the outline color is blue I need to be black with line 1 pt.

    Try this. I have Excel 2007 so it can vary between different versions...

    In Excel, and draw your desired shape.

    Right-click in the form, and then click

    In 'Fill' change the color of what you want.

    In the line of color changes the color of what you want

    In the line style change the width you want.

    Then click on your form should now be necessary.

    But now right click again in the form and click on 'set the form by default'.

    I think that all future forms in this journal will be the right color and line as required.

    There are many more details here - http://office.microsoft.com/en-us/excel-help/set-new-formatting-defaults-for-a-shape-or-text-box-HA010244963.aspx

    To set for future worksheets, you need to create/save a new template, see also - http://office.microsoft.com/en-us/excel-help/change-the-default-settings-for-lines-and-shapes-HA102749751.aspx?CTT=1

    It will be useful.

  • How can we define the styles TableHeading and row in the Table

    We have created a style of Product_Table. When a user inserts a new table using this style, we would like that the table header and the text of the table to use our TableHeading and TableText models, not the default styles. We have two writers who are very fluent HTML and RoboHelp and could not find a way to achieve this goal. The end result is that users must manually apply styles TableHeader and TableText after insertion of the table.

    Thanks in advance for any help.

    Carol

    HR will not work with HTML table headers. You must create a table Style

    using the pod of Style. It is not intuitive for the first time and I think I put

    something on my site about this.

    Then you insert a table using the icon and apply the table registered to that style.

  • How can I send mail to my request an identification number given by e-mail using adobe AIR?

    Hello

    can someone tell me how I can send emails from my application?

    var variables: URLVariables = new URLVariables();
    variables.to = emailTxt.text;
    variables. Subject = emailsubTxt.text;
    variables.message = msgtext.text;
                    
    the object of the request that contains URLS and parameters
    var request: URLRequest = new URLRequest ("http://www.gmail.com/mail.php");
    Request.Method = URLRequestMethod.POST;
    Request.Data = variables;
    trace ("request. Data "+ request. Data);
                    
    now send a request to the PHP script with these settings
    var urlLoader:URLLoader = new URLLoader();
    urlLoader.addEventListener (Event.COMPLETE, responseReceived);
    urlLoader.load (request);
                    
    function responseReceived(event:Event):void
    {
    urlLoader.removeEventListener (Event.COMPLETE, responseReceived);
    trace ('E-mail sent!');
    }

    I use above code, but its does not work...

    is another question, possible to send this mail of Simulator as well?

    answer me please...

    Thank you n advance.

    If you have PHP and SMTP e-mail server on your system, PHP has a function mail(). Some languages have similar characteristics. Just write a few lines to accept the settings and send it along. There is a lot of information on the web to set up. Not knowing what type of server and hosting, you have, you already have it on your system.

  • How can I get my current coordinates (latitude and longitude)?

    Hello world

    I'm trying to design an application, but I don't know if I want to do is possible.

    I want to choose the current place of residence and then display in a map.

    Something like:

    MapView mapview = new MapView();

    Ask my current location lat and LNG somehow and save them in the lat, long variables.

    mapview.setLatitude (lat);

    mapview.setLongitude (lng);

    mapview.setZoom (4);

    Invoke.invokeApplication (Invoke.APP_TYPE_MAPS, new MapsArguments (mapview));

    (I mean, I want to show a different mapView depending on where I am)

    My problem: can be found my current latitude and longitude? How can I do?

    I'm completely lost on how to start looking for information, then I'll be happy to receive any help.

    Kind regards

    I changed my code and when I try it in the Simulator (my device Simulator is a 9930), it works.

    Now I try this code on my own devide a 9300 and I get whenever a message saying "invalid location.

    Can someone help me fix my mistake?

    This is the code I use:

    public class extendsscreen Mapa

    {

    public Mapa()

    {

    Criteria myCriteria =newCriteria();

    myCriteria.setHorizontalAccuracy (Criteria.NO_REQUIREMENT);

    myCriteria.setVerticalAccuracy (Criteria.NO_REQUIREMENT);

    myCriteria.setCostAllowed (false);

    myCriteria.setPreferredPowerConsumption (Criteria.NO_REQUIREMENT);

    myCriteria.setPreferredResponseTime (100);

    Try

    {

    LocationProvider provider = LocationProvider.getInstance (myCriteria);

    provider.setLocationListener (newhandleGPSListener(), 10, -1, -1);

    }

    catch (LocationException Lex)

    {

    return;

    }

    }

    public public static class handleGPSListener implementsLocationListener

    {

    public void locationUpdated (LocationProvider provider, a place)

    {

    Coordinates of c =null;

    final double lat;

    final lon double ;

    if (location.isValid ())

    {

    c = location.getQualifiedCoordinates ();

    LAT = c.getLatitude ();

    LON = c.getLongitude ();

    UiApplication.getUiApplication () .invokeLater (newRunnable()

    {

    public void run()

    {

    Dialog.Alert (lat + "-" + lon);

    }

    });

    MapView mapview= new MapView();

    mapview.setLatitude ((int)lat);

    mapview.setLongitude ((int)lon);

    mapview.setZoom (4);

    Invoke.invokeApplication (Invoke.APP_TYPE_MAPS, new MapsArguments (mapview));

    }

    on the other

    {

    invalid location

    UiApplication.getUiApplication () .invokeLater (newRunnable()

    {

    public void run()

    {

    Dialog.Alert ("invalid location");

    }

    });

    }

    }

    public void providerStateChanged (LocationProvider provider, intnewState)

    {

    if (newState is LocationProvider.OUT_OF_SERVICE)

    {

    Unavailable because of governed by a COMPUTER GPS policy

    UiApplication.getUiApplication () .invokeLater (newRunnable()

    {

    public voidrun()

    {

    Dialog.Alert ("GPS out of stock because of the governed by a COMPUTER policy");

    }

    });

    }

    else if (newState is LocationProvider.TEMPORARILY_UNAVAILABLE)

    {

    no GPS fix

    UiApplication.getUiApplication () .invokeLater (newRunnable()

    {

    public voidrun()

    {

    Dialog.Alert ("no GPS solution");

    }

    });

    }

    }

    }

    }

  • How can I define table field residing in a Structure field?

    I use java Adobe XMP toolkit.

    There are a few methods to define elements of structure and table.

    setStructField() and appendArrayItem().

    But ducu said that the members of the Structure may be table or a structure, in addition also array elements can be tables or structures.

    So, how can I define field Array in Structure or table Structure?

    Thank you

    Andrey

    OK, it worked, first time (without exception) I tried to set the value of the CURRENT field.

    The trick is to add table or a struct before setting their values.

    This short example shows how this works:

    Register of XMPSchemaRegistry = XMPMetaFactory.getSchemaRegistry ();

    registry.registerNamespace (extNS, "pdfaExtension");

    registry.registerNamespace (shemaNS, "pdfaSchema");

    registry.registerNamespace (propertyNS, "pdfaProperty");

    XMPMeta m = XMPMetaFactory.create ();

    m.appendArrayItem (extNS, "pdfaExtension:schemas", new PropertyOptions () .setArray (true), "", new PropertyOptions () .setStruct (true));

    m.setProperty (extNS, "pdfaExtension:schemas [1] / pdfaSchema:prefix","dc" ');

    m.setProperty (extNS, "pdfaExtension:schemas [1] / pdfaSchema:namespaceURI","http://purl.org/dc/elements/1.1/" "");

    m.setProperty (extNS, "pdfaExtension:schemas [1] / pdfaSchema:schema","Dublin Core Schema" ");

    m.appendArrayItem (extNS, "pdfaExtension:schemas [1] / pdfaSchema:property", new PropertyOptions () .setArrayOrdered (true), null, new PropertyOptions() ")

    .setStruct (true));

    m.setProperty (extNS, "pdfaExtension:schemas [1] / pdfaSchema:property [1] / pdfaProperty:name","contributor", null ");

    m.setProperty (extNS, "pdfaExtension:schemas [1] / pdfaSchema:property [1] / pdfaProperty:category","external", null ");

    m.setProperty (extNS, "pdfaExtension:schemas [1] / pdfaSchema:property [1] / pdfaProperty:description", ")

    ("Contributors to the resource (other than the authors).", null);

    m.setProperty (extNS, "pdfaExtension:schemas [1] / pdfaSchema:property [1] / pdfaProperty:valueType","bag ProperName", null ");

    m.appendArrayItem (extNS, "pdfaExtension:schemas [1] / pdfaSchema:property", new PropertyOptions () .setArrayOrdered (true), null, new PropertyOptions() ")

    .setStruct (true));

    m.setProperty (extNS, "pdfaExtension:schemas [1] / pdfaSchema:property [2] / pdfaProperty:name","coverage", null ");

    m.setProperty (extNS, "pdfaExtension:schemas [1] / pdfaSchema:property [2] / pdfaProperty:category","external", null ");

    m.setProperty (extNS, "pdfaExtension:schemas [1] / pdfaSchema:property [2] / pdfaProperty:description","the extent or scope of the resource.", null ");

    m.setProperty (extNS, "pdfaExtension:schemas [1] / pdfaSchema:property [2] / pdfaProperty:valueType","Text", null ");

    Code above creates more XMP:

    http://www.w3.org/1999/02/22-rdf-syntax-ns#">

    "xmlns:pdfaExtension ="http://www.aiim.org/pdfa/ns/extension/"

    "xmlns:pdfaSchema ="http://www.aiim.org/pdfa/ns/schema#"

    xmlns:pdfaProperty ="http://www.aiim.org/pdfa/ns/property#" >. "

    DC

    http://purl.org/DC/elements/1.1/

    Dublin Core Schema

    contributor

    external

    Contributors to the resource (other than the authors).

    bag ProperName

    coverage

    external

    The extent or scope of the resource.

    Text

  • How can I download files from HUS and VIP for my Bernina Version 6 software?

    Original title: download embroidery files

    How can I download files from HUS and VIP for my Bernina Version 6 software? Currently, I'm only able to download ART and PES files.

    joydesigns.org (a HUS file extensions) and comcast.net (a VIP file extensions). I get a message that says "windows cannot open this file, use the web or select the program from a list". I downloaded supposed solutions to problems of conversion and lived to regret it. So, I don't know what I can do to download these special files.

    In your original post, you said you wanted to download files to use with your software Bernina HUS and VIP.

    HUS files are Husqvarna Viking embroidery files.   VIP files also are Husqvarna; Here is the Viking/Pfaff home embroidery Format.

    You have reason to believe that your Bernina embroidery software should be able to use the Husqvarna Viking files?

    On the site joydesigns.org, the design of the Dove who has the instructions "Click on the dove to go to the download page for design in .hus format" actually will download a zip compressed file if you click the icon ("FlyingDoleB.zip").  When you click on an image to download the file, you must select the option to save these files in a location that you will remember and then right click and select "extract" all to join the HUS of the file (not all downloads from this Web site are HUS).

    Once you have the file HUS, you right-click, select open with > choose program, then select your Bernina software in the list (or browse to its location in C:\Program Files).  If you check the box "Always use the selected program to open this type of file" you can double-click on these files in the future.  Of course, it depends on software Bernina being able to recognize the files of HUS.

    VIP files on some comcast getaway site should be handled in the same way.

  • How can I install a new motherboard and keep the version OEM of Windows active?

    Windows and the new motherboard OEM

    I bought a computer with a version of Vista OEM.  Since then, I've upgraded to Windows 7.

    My motherboard needs to be replaced.  I understand that the Windows OEM is related to the motherboard.

    How can I install a new motherboard and keep what is on my current hard drive?

    See if this helps:

    "How to replace the motherboard on a computer that is running Windows Server 2003, Windows XP, or Windows 2000"
      <>http://support.Microsoft.com/kb/824125 >

    HTH,
    JW

  • How do you define the current-time indicator to return to the point that he started on an audio overview?

    in the most recent version of the software, how do you define the current-time indicator to return to the point that he started on an audio overview? He did it in the old version. I don't find a setting for this in 2015 software. Thank you

    You can use the zero on the numeric keypad key. See the sixth in this article:

    known issues in after effects CC 2015 (13.5). After the effects of interest area

  • I installed 5.6.2 Pages but all my old documents will open with ' 08 how can I delete the Pages ' 08 and update all the old documents

    I installed 5.6.2 Pages but all my old documents will open with ' 08 v.3.03 How can I remove the Pages ' 08 and update all the old documents

    5 pages is located in your Applications folder.

    Pages ' 08 is located in your Applications/iWork ' 08 folder.

    If you open your old documents Pages ' 08 with 5 Pages it will convert and if not damage, remove a large number of useful features.

    You will probably regret upgrading to 5 Pages which Apple has made extremely inconsistent and keeps changing its file format.

    Peter

  • How can I erase history navigation, cache and cookies

    How can I erase history navigation, cache and cookies?

    You'd which using your Safari browser. Perhaps under the menu Safari or in the privacy of the Safari preferences option.

  • How can I get IWorks or Pages and Numbers for my MACBOOK PRO running Mavricks?

    How can I get IWorks or Pages and Numbers for my MACBOOK PRO running Mavricks?

    They are available in the Mac App Store.

  • How can I make YouTube playback buttons and other plug-ins more great because they are so tiny?

    How can I make YouTube playback buttons and other plug-ins more great because they are so tiny in Firefox? I tried some suggestions dealing with entering "subject: config ' in a fresh browser, but does not. I also downloaded the add-on called "Theme font & size changer", but that no longer works. So I'm reaching here that it was a suggestion that offered another user here.

    Ah, Yes, that's - a ultra high resolution (dots per inch) display. It is a known problem in Flash Player, which Adobe is working on fixing.

    In the meantime, you can get some videos to have normal size controls from the Youtube HTML5 video player:
    In Firefox, go to https://www.youtube.com/html5 and click on the button "request the HTML5 player.

  • I reinstalled Firefox Desktop, I downloaded my favorites of Carbonite, how can I get the current Firefox to accept?

    See above

    I reinstalled Firefox Desktop, I downloaded my favorites of Carbonite, how can I get the current Firefox to accept?

    You do backup your bookmark as a .json file?

    Restoration of bookmark

Maybe you are looking for