reading of multiple channels on the oscilloscope

Hey there everyone,

First of all, thank you for taking the time to read this. I'm still relatively new to LabVIEW, but I read most of the bases.

How is this issue work VISA.

I have an oscilloscope which has sensors to 3 channels and I want to display 3 channels on the same graph. The example of VI, which is included with the driver allows me to access a channel however it also adds other features, such as the control device that I didn't need, I just want to read data from the oscilloscope.

I will not be able to access the gear for a few days, but have started coding. Here's what I've coded so far.

The first blue function is 'Reading of Array wave' and the second 'wave in table scale ".

Am I allowed to access the VISA like this? Or is it illegal access that would cause problems?

I tried to access several channels before, so I was in the laboratory, however they have always produced errors.

I use an oscilloscope tektronix TDS2013C, Labview 2013 and that you have downloaded the driver concerned for my model.

All relative links to learning tools or help would be greatly appreciated!

-Nam

Please read the manual on a reading and extraction.

As I said, the reading will launch a new capture. When you call it 3 times, each record returned will be later time than the previous capture. Either do what I said or call an extraction 3 times now.

Tags: NI Software

Similar Questions

  • How read datalog multiple files at the same time?

    Hello friends...

    can someone help me to show how read datalog multiple files at the same time?

    Here is the example of my case.

    I have 500 files in a folder. each file contains a waveform and its setting.

    and then I want to do a card spectral these files, because these files have been saved in the order.

    the point is to know how to read these 500 files at once? I made a program to read these files, but the program can read these files in one by one. So it is very uncomfortable to read 500 files one by one. can someone help me solve this problem? Thank you. I hope you can show me the program. Thank you again...

    Hi jojo,

    Well, in the range of functions daughter, you will find a function to list the contents of the folder. This allows to get the names of all the files datalog, and then use a loop FOR to read.

    No one is obliged to provide 500 names of files manually - that's why we use a programming language to let the computer do the stupid work

  • How to read 4 similar channels at the same time with the MCC

    Hello

    with the mcc libraries and a card PCi-6034 classic (by calculation of the measure), I want to read 4 analog channels at the same time. I have a "scope" with 4 channels.  How to read 4 channels at the same time with the mcc?

    MF

    Hello MF.

    Thank you for using OR support.  I guess you try to program in LabVIEW.  Where exactly did you get the MCC library of?

  • Place the data of multiple channels in the tables

    At this moment I have a sample program with a value of 8 data channels of my USB-6009 spitting in a graph of a waveform, which looks and works very well. Ideally, I would like to take this data and manipulate it to produce two calculations before it comes out on the graph. After I would handle that I want to display on a line chart (cloud?) as two lines of updated permanently. I think if I can get my 8 channels in 8 separate tables, the rest should be put in place.

    Thank you

    Hi Iwild,

    How you import your data?  You place data in a table in a first time?

    You use NEITHER-DAQmx?  If so, please see this document that goes over how to use NOR-DAQmx with text-based environments.

    Best regards,

  • Sampling of multiple channels on the same frequency

    I have some problems to understand how to configure my cDAQ chassis.  I have a work labview program that should (I guess it doesn't!) sample 5 channels at 5 Hz each channel.  When I got the system data each analog channel (all in the same spot) resembles a ~1.xx Hz sampling.

    I created my task to taste 3 analogue to 5 Hz, 1 sample per channel.  It gives me a sample rate effectiveness of sample of 1,666 Hz per channel?  That's what seem to tell me my data.

    If the above is true, change my task to make a sample 3 channels at 15 Hz, 1 sample per channel will give me a sampling rate of efficiency of 5 Hz per channel?

    The other 2 channels are digital and on another task and appear to be working (fingers crossed!)

    Thank you and happy holidays.

    Kyle

    I can post code if this confusing issue.


  • Multiple channel for the XY graph

    Im trying to draw a table 1 d in the y-axis and sometimes in the X axis. When I probe values since the wire connecting the XY graph, I see the values also perfect that I need them. But I do not see the values on the graph.

    Able to do the same thing with a waveform graph, but a chart XY im gives me a few more flexibility and benefits...

    Thank you

    Gokul Krishna S

    Hi Eureka,

    There's a Subvi, that you do not attach with this VI, and I can't run it.

    Part of your problem is that your x axis has a single value rather than an array of values.  If you right-click on your chart and select Properties, then go to the locations tab, you can change views of marker.  If you do something larger than a single pixel, you should be able to see it on the screen.

    Please also take a look at This example of community to the XY graphs.

    Thank you

    Lisa

  • How to set the vertical position of the oscilloscope (Simulation)

    Hey guys...

    I think do a very basic oscilloscope in labview (simulation only).

    So I'll show 2-4 channels to the oscilloscope. For this I will use a waveform graph and show the parcels of 2-4 in the same graph.

    But how to define the vertical position of the individual parcels (channels) for comparison?

    Suggest an idea please...

    Make additional changes the values in your table do you do whatever will be will be incorrect. For the offset adjustment, assign each parcel at a different scale y and set the minimum and maximum of the scale up and down the waveform.

  • Select multiple channels for a single task - control and shift keys do not work

    Hello

    Following the advice of several other positions, I try to choose several physical channels in the drop-down list so that I can then use the function "unflatten channel channel" later. It seems that if I hold this key is pressed or cntrl, I should be able to select multiple channels in the list, however, this does not work for me. I tried to go in the "navigation key" property for the control channel to task, but there not all listed associations. Someone else has encountered this and found a solution?  I previously around that by declaring several channels by a colon (for example, ai1:3), but it does not work for the unflatten function.

    Thank you

    Claire.

    If I understand correctly, I think that you need to do is use a task property DAQmx. Try to use the channels property to get an array of strings.

  • How do switch you between multiple channels to indicate which channel to acquire the data from?

    I'm trying to builld a VI where I can have an option to enable or DISABLE multiple channels depending on the modules plugged into the chassis and then acquires the data of the channels which are turned on and where other acquisition parameters do not change. Is there any specific/switch where can I do this? Please answer as soon as possible. Its quite urgent. Thank you

    You use DAQmx?  To change the assignment of the data acquisition channels, you must close the currently open session and then create a new session with the new channel definition.  So the order of execution:

    Create task or virtual channel - read - clear task of triggering and synchronization of the configuration - set new channel list and to create a task - read - clear task, etc...

  • NEITHER 9207 reading current and voltage at the same time channels

    I have a cDAQ-9178 chassis USB-three cards NI 9217 RTD, three cards 9263 0 - 10V and one the output OR 9207 16 channels analog card. What I m trying with this kind of things, is to read all the analog input channels (information of transducer, temperature, pressure, etc.) and adjust my controls to process with the analog output channels.

    My problem at the moment is the following:

    When I create tasks with DAQmx VI:s, how to create a task that reads current and voltage on the 9207 channels at the same time?

    When I created a task for RTD-channels (16), a task for the outputs analog 0 - 10V (12), a task for the analog input 4-20mA (8) and a single task analog 0 - 10V input (8) I get an error-50103. I think it s because the tasks of current entry and voltagge are trying to use the same CAD at the same time and LabVIEW informs that "The specified resource is reserved. Tasks are to leave so that the analog output task starts first, then I merged all clusters of the error and the rest of the task are started by an order to current input-> input-> RTD input voltage. I get this error after the current enter task started and enter voltage task begins.

    Because I m new on the LabVIEW and stuck in that time, I wanted to try the forum to find answers. I tried to find if someone else was having the same kind of problem, but with a quick search, there was none. I m in a bit of hurry, so I apologize if West a subject with a happy for that and I missed too much according to me.

    Really, the best way to do it is just adding 8 channels of voltage at a task, then 8-channel current, somewhat like this:

    Then spread over different channels when you read later:

    It should run without error.  It always is multiplexed to sampling, but it will be much faster to create two separate tasks.  There will be between 2ms (mode high speed) and 52ms (mode high resolution) between each playback channels, but it will still be much faster than the permutation of the tasks.

  • Using the channel of the flaws with the reading of data

    Is it possible to substitute a model output when I want real data playback using the stim profile editor?

    I understand how to use the flaws of the stim profile editor to replace an unique to a single value output channel, but is there a way to "fault" of the channel to the data I read (.csv file)?

    Don't know how I missed that...  Exactly what I was looking for.

    Thank you
    Matt

  • Amplitude of the reading of the oscilloscope

    Hi Im tring to towing to read signals of an oscilloscope to different frequencies and Amplitude/Frequensy tables for each of the signals. but in my program, I have tow problems.

    1. during playback of the oscilloscope and the entry in the text file I get the whole array af graf i.e. (Amp/hour), but I only need the value of peak to peak amplitude not the entire table (not the entire table).

    2. I can't read the chanel signal 2.

    Thanks for your help

    Thanks for your quick response

    1. it is a function in labview to return the peak-to-peak of the measured value, may you enter it.

    2. not the trace of the second is not visible in the scope.

    You are right, I well recognized that there are som parties unnecessary in the loop but I knew not exactly the parts that I could break out of the loop.

  • I have a DAQ Assistant configured to read several channels at the same time. When I have a graphical indicator of wire to the output, I see all my signals mixed together. How I divided them into separate signals?

    I have a DAQ Assistant configured to read 2 channels at the same time. When I have a graphical indicator of wire to the output, I see 2 signals mixed together. How I divided them into separate signals?

    When I wire any type of indicator, it is show that a release of a single channel.

    I want 2 indicators showing 2 different signals as expected from 2 channels configured. How to do this?

    I tried to use split signal but it end by showing that 1 out of 1 signal two indicators.

    Thanks in advance.

    Yes you are right. I tried, but I don't have the result.

    I just find the path. When we launch the split signal, we should expand it (split signal icon) by top, not the bottom. It took me a while to understand this.

    Thank you

  • Impossible to read 4 channels with the or 9234

    Hey, I'm tasting 4 simultaneous channels to 51.2 kech / s rate for each channel with the NI 9234 module.
    I use a callback function to read from the buffer.
    I am accept to get to playback 4 channels of 51.2 k * 4 = 204.8 k s/s.
    and I still recive data 51.2 kech / s.

    Need help, I don't know what's wrong with my code.

    I enclose my hope of code it will help...

    Thank you!

    My installation information:
    Material: NEITHER 9234
    Version of Windows: XP
    Language: Qt (C++)

    Hey simon27,

    When you have installed DAQmx, did you also install text code support? There are several examples that should have installed with DAQmx which is very helpful in getting you started. "" "" "They can be found by going to your Start menu, then all programs" National Instruments "NOR-DAQ" NOR-DAQ "support textual Code ' ANSI C examples.

    In case you do not installed the supported text based code, I have attached two examples which I think would be more useful to you. Try to run these examples and see if you get the same errors.

    -Nathan H

  • How to detect the number of channels on an oscilloscope?

    I have various models sitting around the laboratory, some two-channel, a few four-channel oscilloscope.  I would like for my program to be able to detect the number of channels is available.

    I can just tell my program how much string is available based on the model number, but is there a VISA command to request scope directly what channels he has?  I would also be able to ask what, if any, ability to function math there.

    "all drivers of the oscilloscope must return the instrumentID after initialization, and that should be enough to know the number of channels.

    What Albert was referring to is that all compatible drivers IVI in their base class interface have an attribute/property that indicates how many channels has the scope.

    If you don't want to use the driver of the IVI for the scope then maybe download some of the drivers and check the source code to see how they calculate this dynamic repeated capablity.

Maybe you are looking for