LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple channel record of an oscilloscope

    Recently, I am using an Digital Oscilloscope to measure data for my experiment. Channel 1 inputs the origianl signal, and Channel 2 inputs the experimental signal, and then I would like to record these two channels' signals using a Labview program in a run. So here comes my question, the equipment adress is same, how to arrange the logic flow of the program using given drivers to prvent their interuption with each other ?  

    I have did a program, though it works, it's a little bit slow, I don't think too much of it. So does everybody here can offer me some help or do you have similar programs that I can refer to...

   Thank you very much.

0 Kudos
Message 1 of 12
(4,347 Views)

Try reading this if you want to plot these https://decibel.ni.com/content/docs/DOC-12338

Message 2 of 12
(4,340 Views)

    sorry, I am afraid that its not what I want.

    I do need some one to tell me the logic flow of how to arrange the driver sequence of recording channel 1's and channel 2's data, the following graph is a screenshot of my program, a little mess, but I do make the record, though it's a little slow.

   Moreelse, what things can influence the rate of a program? 

0 Kudos
Message 3 of 12
(4,338 Views)

What do you mean by "logic flow of how to arrange the driver sequence of recording channel 1's and channel 2's data"

 

Also, you might want to change your font size on your messages here. The large and bold font size makes me imagine you as shouting Smiley Tongue

Message 4 of 12
(4,331 Views)

well, I need to record channel 1's data and then record channel 2's data in a while loop. And these two channels share the same adress. so how to arrange the record driver's sequence, in serial way or in a parallel way ?  Just like the photograph that i upload, i use a parallel way , but i think it a little strange..

 

BTW, I do like that kind of font, it‘s big and bold,seems quite comfortable to me...

 

0 Kudos
Message 5 of 12
(4,308 Views)

again.....screenshots do not speaks the volumes like a posted VI. does,just looking at it reminds me of my teenager's room Smiley Surprised

try using the 'clean up diagram' button for a change? if you can make a direct connection to the function, instead of placing locals all over the place....please do so

 

please post VI

Message 6 of 12
(4,302 Views)

I have not seen any nor used any scope where you can download waveform data in a parallel manner; it must be done in a serial manner, (first Channel 1 then Channel 2, etc). However, if you are using the scope in a "measurement mode", for example measuring frequency, RMS amplitude, etc, I believe you can download multiple measurements at the same time.

 

I have not looked at you code too much, but if you are downloading waveform data from both Channel 1 and 2, then the simplest and cleanest way to implement it, would be to use a loop. Put your machine code in an array and send it into the loop, this way you can easily add or remove channels as needed.

 

Cheers,

mcduff

Message 7 of 12
(4,282 Views)

Thank you for your help, but the vi I programmed is really a mess, I have saved it for previous vision,  from 2012 to 2010 for a lot of time ,because I have to use another PC to connect the scope...so the folder is really a big one, it comprises all the drivers and all the directories that are related with my program...

 

"C:\Users\pc\Desktop\program\LDI&RTM_Version_1\C\Users\pc\Desktop\new\3840B_Version_1\Version_1 folder\C\Users\pc\Desktop\program\1 program\waveform_1\C\Users\pc\Desktop\3840\rsrtmVersion_1.vi"

 This is the path of my program. Here I have another question, can this long path affect the efficiency of my program?  I am ready to redo it in my spare time in next week.in that PC, which can directly control the scope ....

 

I have uploaded my vi, and I wonder if you can open it...

 

and if you can, you will see  that a lot of drivers and sub-VIs are missing, but the hierarchy of this program is really simple so..maybe you'll find out what i am talking about and what i am cunfused.... 

 

Please give me some advice on how to arrange  the logic flow .....

 

Looking forward to your reply....

0 Kudos
Message 8 of 12
(4,266 Views)

Hi  thank you for sparing your time with my question,

 

I have uploaded my VI, and explained to someone that helped me, so maybe you'll find out what I am confused...

0 Kudos
Message 9 of 12
(4,264 Views)

http://www.rohde-schwarz.com/en/driver/rtm/

 

here   you'll find its drivers and you may see clearly of my program....

 

thank very mcuh~ 

0 Kudos
Message 10 of 12
(4,257 Views)