read simultaneously the two keithley 2000 s

Hey,.

I'm reading simultaneously ongoing tensions between two Keithley 2000 s. As it is right now, I've initialized just the two Keithleys, put them both to read DC voltage, wait for a trigger on the Panel before (a simple OK button), read data and write it to a table. Subsequently, the data in the table are written to a text file. The problem is that the tensions are played one after the other instead of at the same time. How can I fix my code or what else do I need to do? I am attaching my code so far. Thank you.

Weston

You can't do a simultaneous reading. Need to trigger both instruments at the same time. Then do sequential playback.

Tags: NI Software

Similar Questions

  • I can't stop finite samples daqmx read between the two?

    Hi all

    I want to read data from 10 seconds to a trigger is received. for this im using daqmx task finished sample mode and read the data on the trigger getting. It works fine but I can't stop my vi between the two when its reading of the data. I have to wait for it to complete the reading of values, and then stop the vi.

    so I switched to continuous sampling mode that allowed me to stop the vi whenever I want.

    I just want to know is there any means or the property using which I can stop my task over daqmx read when I want?

    I guess you call DAQmx Read with extraordinary value (-1) for samples of #.  It is also the default if left thread continues.  In a finished sample task, it means to wait until the memory full buffer has been filled with samples before returning.  Once you make that call, you cannot directly finish soon.  You're stuck waiting for buffer fill or for the timeout expires (default 10 seconds).

    One way to avoid getting stuck is not to ask for samples that do not exist already.  You can query a DAQmx Read property, known as the "Samples available" or something like that and son of this result in a call to DAQmx Read.  Such a call will return immediately whatever data are currently available.  Subsequent calls will give you samples.

    -Kevin P

  • The IDDC Keithley 2000 error

    Hi all

    I have a problem of command with Keithley 2000 DMM using LV 8.6. To find out, even by using drivers downloaded from the site of NOR, I can't initialize the DMM displays error 961 on the screen.

    I tried to communicate via M & A Explorer, and I send * IDN? question the answers the same error on first use and when I do the IDN question the second time, it does not give an error. I have no idea whats going on.

    any help is appreciated.

    Thank you


  • Simultaneously display two GigE cameras

    Hello

    I'm using Labview 8.6. Since my Toshiba Tecra laptop. I would like to view simultaneously, the two GigE scA1600 - 14gm which are connected via normal Ethernet cameras. The pace is not so important at the moment at the stage of the trial. I also want to control the exposure time. If I have just one camera, I can get the image and control the exposure time, see (test-one-device-oneshot - loop.vi). However, when I tried to put the two together, see (test-two-camera-oneshot - loop.vi), it does not work. Take ages to stop.

    Then I tried grab.vi example for two cameras (test-two-camera-grab - 0.vi), the display is inconsistent, similar as things Richard Swent described.

    any suggestion is appreciated.

    Xiaofeng

    Thank you, Bruce.   After addition of cancel, it worked for me in LabView - 8.6.   I have attached the screws in case anyone is interested.   bB the way, I have also tested my original screws with Labview-9, all of them worked.  using Grab for two cameras worked as well.   I guess there must be some problems with the MAX for GigE driver to 8.6.

    Once again. Thank you.

    Xiaofeng

  • What is READ the array returned by the DAQmx meter? How can I know the two functions DAQmx READ data stream in the same WHILE loop?

    I have a question about the order of execution.  In the WHILE loop, I have two things to measure, period and tension using the DAQmx READ functions for voltage and the meter.  In the end, I want to collect these data as points almost simultaneously as possible, as a pair and then send them together to another piece of code (not shown here) which them will result in some sort of command for an engine.  It would be run, and then I want to perceive the tension and the period at a time later and do the same thing.

    (1.) I'm a little confused on what the meter of the READ function is back because it's a table.  What is a picture of?  I thought that it was up to the value of the individual periods between rising edges.  The output of the counter 1 DBL d's a table. How many elements in this table, and what determines the size of this table?  Are the elements of the array the individual delays between the edges?  How many values are stored in the array by executing?   We take the AVERAGE of the last 15 items, but do not know if we are throwing some of the data or what.  How to understand the composition of this painting?  How can I change the composition of this painting?  Is it possible to measure only one period at a time, for example the time between TWO edges?

    2.) Will this WHILE loop execute as it gathers tension and a "period table ' (remains to be understood by me) by TIME running in a loop?  In particular, we want that the value of the tension associated with the value of the AVERAGE of the period "array", so we can use two data items to create orders of next control every time that the two values are reported.  The structure for the delivery of vi will be attached data in pairs like this?  I understand that one of the READING functions run not before the other function of READING in the WHILE loop.  I want that the period "means" and "strain (Volt) collected at the same pace. This vi will he?

    Thank you

    Dave

    Hi David,

    I suggest including the DAQmx Start Task function. If it does not start before the loop, it starts the loop and work very well, but it is not as fast and efficient. In the model of task status, task wiill go to run the checked each iteration of the loop and then back the time checked running when it restarts.

    The status of the task model: http://zone.ni.com/reference/en-XX/help/370466V-01/mxcncpts/taskstatemodel/

    Kind regards

    Jason D

    Technical sales engineer

    National Instruments

  • measure with the two channels of the virtual bench simultaneously in labview, error 375903

    Hi, I am trying two measurements simultaneously using two channels of analog input of the virtual bench. I chose the channel MSO 1 and 2 for the measures but I get error 375903 returned evewry time say the requested resource is reserved. I'm not under any other software which should use the virtual bench. The error occurs when I'm initializing the session, even before a measurement was made. Can someone tell me how to call each channel so that I don't get this conflict of resource reservation?

    I have included the VI and a screenshot of the error.

    Thank you!

    NGKai wrote:

    Hi, I am trying two measurements simultaneously using two channels of analog input of the virtual bench. I chose the channel MSO 1 and 2 for the measures but I get error 375903 returned evewry time say the requested resource is reserved. I'm not under any other software which should use the virtual bench. The error occurs when I'm initializing the session, even before a measurement was made. Can someone tell me how to call each channel so that I don't get this conflict of resource reservation?

    ASM takes only supported a session unique instrument and your VI uses two. To use both channels, delete the second session MSO and specify channels in the MSO configure Analog Channel.vi

    Here's an example that uses two channels brought:

    VirtualBench: Bode Analyzer with the FGEN and MSO

    http://www.NI.com/example/52076/en/

  • How to read a counter value for the separation of the two edge before meter is stopped by the second edge (6602 Council)?

    I use a timer/counter with DAQmx 6602. I use the separation of two - available via DAQmx cash edge. Count between the two edges works properly, however I do not know how to read the value of the counter during the counting operation (i.e. after the first edge triggered the beginning of the count, but before the second edge triggered the end of the counting). I'll have to wait for the second goes off the edge of the end of the countdown until I can get a counter value. I need to be able to access the current value of the County during the count operation. This was possible in traditional DAQ. How can it be accomplished using DAQmx?

    Ah shoot - I was afraid that this might be the case (for what it's worth, my series of X returned intermediate values, but the material and the underlying driver are quite different)...

    You just need to take one measure at a time or you are buffer several measures of separation of the two edges at the same time?  So just to take one measure at a time, you can set a task of edges of count using the database internal time as the source using an arm start trigger (first edge) and a sample of clock (second Board) to work around the problem.

    Best regards

  • Read at the same time OR-9516 two encoders


    Hello

    The method of using two encoders is:

    Property node 1.) use to set the Index

    2.) read this encoder with method

    Property use 3 node.) to reset the index

    4.) encoder at second reading with the method

    Concerning

  • How to use the two counters to PXI-6280, to read and write at the same time?

    Hi all

    I try to use PXI-6280 counter to generate a command of step motor pulse train.  The idea is to send a number done and known pulse for the engine, which belongs to a system XYZ. The point is, if, at some point, the user or the security system can interrupt the movement. If this happens (and will be... a lot), I will lose the real position, because I don't know how many pulses were actually sent to the engine. That is why I want to use the other cost to count impulses how were actually sent to the engine. I can start any tasks (generating or account), but only the first started task will operate. I met a couple of mistakes and I'm not able to find a solution.

    Is it really possible to use the two counters? I've already done this in a pci system and worked without problems.

    Thanks in advance,

    Giavonna

    Electrical engineer

    I'm afraid that I don't understand your idea. Could explain you better?

    Material of the series M support pointing to an arbitrary digital signals at rates (the clock must be provided from another source, for example a counter).  If you want a digital pulse train finished output and have access to a counter (the two counters if find you another source for your clock, for example the subsystem "output frequency"), you must use this subsystem 'digital output' rather than the output of the counter.  There should be examples in the finder of the example shows how to configure a finished task of digital output.

    Now I'm generating sample clock having a single Timed material Point (the only mode accepts this mode), and configure the counter with finite samples.

    I don't think not just single point NI the hardware, that's what you want.  More commonly, output meter tasks use timing 'Implied', where the release date is implicitly determined by the characteristics of the pulse user-defined.

    Is there a way to stop the production of only one meter when a finite number of pulses has been played in another counter?

    Yes, but it's a little tricky.  You can set a trigger 'Pause' on the output task, with the soruce the break being the internal release of the counter used for the task of entry.  Set the initial value of the counter of entry to 2 ^ 32-N (or maybe 2 ^ 32-1-N, I don't have a system right now to check) where N is the desired number of pulse output.  Together the counter event behavior for the counter edges of County switch output (this is a property of DAQmx export Signal).  When the counter of entry reaches terminal, its in-house production switches, causing thus the task of output to pause.  You can then stop the task in the software (you should be able to use the output of the task of entry counter event to signal to the software when the output is paused).

    Now that I've written that the whole paragraph, I remember something * similar * to work around a limitation of the driver here .  It is not quite the same implementation I described above, but really, you can use a meter output or a counter entry to get the same effect (it could be a good place to start anyway if you want to try this).

    Is there a way to read pulses them how have been generated, without the other counter, counting impulses?

    N °

    Best regards

  • Best practice for simultaneously run two loops (read + write) in sync

    Hello

    I thought I had a work program that could write and read simultaeously with reasonable accuracy, because it is perhaps not as reliable that I discovered the thought (he sometimes gets out of sync/jumps steps).

    Is there a good guide, method tutorial or recommended to do with reliability, in sync and effectively?

    Should I use the notifier? and/or timed loops?

    I have a loop of Scripture, which sends steps to a certain type of equipment (stepper motor or magnet etc.) to not more than 100 Hz.

    I have a loop of reading, that reads data from a detector (photodiode, the signal is dependent on the stage of writing), no more than about 1000 Hz (the playback loop runs faster than the loop of writing)

    I then pass information from one loop to the other (a single loop wrote to a group, the other readings of him).

    I then save data to a file by saving the content of the chart.

    Thank you

    Jeff_Tech wrote:

    (1)... in sync...

    (2) ... (the playback loop runs faster than the loop of writing...)

    These two statements are not a contradiction?

    There is important information that you have left behind, for example are - it enough for both in phase or is it also necessary that they occur at a very steady pace.

    What the two depend on each other? It is an application of control where the output depends on the entry in some way or is it simply an excitation/response pair.

    Are you single point of software timed acquisition?

    Should it operate for long periods of time or he just a scan done every time?

    In any case, are probably the right thing is to run the two hardware timed the same clock. Configure the AO output array and arm the AI, then start the two running of the same clock (for example, you might bind the conversion of CEW AO clock). Read the data in the buffer to HAVE at your leisure in a loop which is a not any special time.

    Can you show us a code so we get a better sense of what you are doing?

  • Generating signals simultaneously on two channels (SMU-5451)

    Hello!

    I'm trying to generate 2 different signals on the two output port of my SMU-5451.

    Signals transmitted from data read from the file of PDM.

    I'm able to generate 1 1 channel signal. But I can't ' figure out how to complete the data for my 2 channels memory and let generator simultaneously press these data or their respective!

    Can any help? Maybe an example?

    Thank you!

    Hello Mr. Gambini,.

    You can find all the information to do this here:

    http://zone.NI.com/reference/en-XX/help/370524P-01/siggenhelp/5451_ni_5450_multichannel_allocation/

    Particularly:

    "To write waveform data to two channels at once, you must first striping of the data. "Once the data are interleaved, call the VI niFgen write Waveform (poly) or one of the wave functions write niFgen with the channel parameter set to"0.1"

    Kind regards

  • Keithley 2000 not identified NOR Measurement and Automation Explorer using GPIB

    Hello

    I recently used NI TestStand and NI MAX with IVI drivers to get my working(using USB) peripheral. He has worked successfully for TG5011 and TDS1002B Oscilloscope function generator.

    Following the same procedure: I started with 2000 model DMM of Keithley with GPIB.

    I am facing difficulties in finding my camera on OR-MAX devices and interfaces. I use a GPIB KUSB - 488B USB adapter to connect.

    I can interact with the device of VISA Interactive Control and KUSB diagnosis tool and you can see the device in the device Windows and KI-Configuration Utility Manager. Surprisingly, I don't see GPIB Board in the NOT-MAX.

    Help, please.

    System details: NI-VISA 5.2 installed on Windows 7, KUSB-488 driver installed in command compatibility mode OR. (only ieee_32m.dll is present), installed UN NOR-488.

    Thank you

    Martin

    To help all those who have read this thread:

    I had the Keithley 2000 NOR-MAX and NOR-Test Stand using IVI Driver (for Keithley 2000 of NOR) using the KUSB - 488 B (GPIB to USB adapt from Keithley).

    Layer of keithley installed IO Keithley and I can see the unit property. I then followed the procedure for IVI MAX and TestStand pilot program and IT WORKED!

    Please find attached the screenshots for Visual clarity.

    Thank you and best regards,

  • What are the two icons to the left of the indicator in the mac mail (arrows and circle)?

    What are the two icons next to the flag in the mail from mac (arrows and circle)?

    I can't understand what they're doing. Thanks for any help!

    If you are referring to the registration of the preview, the arrows appear when you Replied (curved) or transferred (right arrow) by e-mail.

    The circle, when rempli filled in blue, indicates you have not yet opened / read the email.

  • After the two latest updates (currently on 30.0) I get characters corrupt in the (awesome) address bar.

    After the two latest updates (currently on 30.0) I get characters corrupt in the (awesome) address bar. This seems to happen randomly according to the current URL. When the problem exists, I can't read anything in the URL bar. I have a screenshot of the problem.

    This problem may be caused by the extension of 1.0.6 RSS icon which displays in the list of system details.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • Combine the two projects into one

    I know it is a very popular question and I read many answers excellent previous answers.  The two most popular procedures seem to be simple copy - paste and use clips of compounds with copy / paste.  CPF has improved this process over the years and I ask the question again to get the benefit of current thinking.   I have an iMac (mid-2011) OS X 10.11.4 and FCP worm 10.2.2.  I have two separate events within the same library.  There is a completed project, with all the transitions, effects and music, located within each discipline.    Current ideas on how to combine these two projects into one would be greatly appreciated.

    Thank you.

    Copy and paste is the only method I know.

    Open the project in the timeline first.

    Open the second project in the timeline panel. Only one project appears at the same time.

    Select an item in the timeline and press command + A to select all, then control + C to copy.

    Use the project navigation arrows to return the first project:

    Move the playhead to where copied clips must be glued and press command + V.

    Al

Maybe you are looking for