Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

willing to make a measurement of the amplitude of a signal using the NI Elvis II

Im willing to make a measurement of the amplitude of a signal using the NI Elvis II+ oscilloscope. I have made the attached vi. The generator is connected to channel 1 and the signal coming from the transducer is connected to channel 0. The transducer is made of two pieces , one to send the ultrasound and the second one to receive What I am willing to do is to measure the amplitude of both generator and the transducer for each frequency. My measurement frequency range is between 20khz and 5 mhz. In the vi there’s a sequence of two frames. In the first frame I am charging the frequency and the amplitude to the generator. In the second frame I am acquiring the data(amplitude and frequency) The vi I made sometimes work properly and sometimes not. According to these infos : · is there any mistakes in my program? · What are the values of each parameter that properly fits my measurements · Is there any other way to accomplish this? The attached files are: 1. The vi I made 2. A drawing of the system connections 3. The vi that charges the frequency and amplitude to the generator Best regards

0 Kudos
Message 1 of 8
(3,545 Views)

Hi mK,

 

Sorry for the delayed reply. Thank you fro contacting us!

 

Your code was almost OK. There are some little things which can cause problems in behaviour. I attached the modified vi.

 

I didn't test the code with all functionality, because I don't have Agilent and ELVIS equipments. Let's see the main changes:

- I found and Agilent Example VI (Agilent 33XXX Series Generate Standard Waveform) in your flat sequence structure. In that example VI there is a full Agilent communication flow, starting with open reference and finishing with closing reference. It's better to open reference when programs starts and close it in the end. These functions cause delays and may cause improper operation.

- Good to use the error wires and you can get error codes with Simple Error Handler.vi . You can specify the running sequences with error wires as well.

- It's better to avoid Express VIs in the final program. I replaced your timing VIs to "normal" timing VIs. You can use Express VIs for quick developing and then you can substitute them with faster and simplier solutions.

 

I hope that my code will help you. If you have furtehr questions, please write again!

 

Regards,

Peter

Peter Vago
0 Kudos
Message 2 of 8
(3,530 Views)

Thanks a lot peter but there’s a problem. The vi you’ve sent me is a labview 9 version and am working on the 8.6 version So I couldn’t see the changes you’ve made!

so if you can please send it as a version that i can can read it would be great. thanks again for your supprt

 

Regards

 

0 Kudos
Message 3 of 8
(3,527 Views)

Sorry for that. Here is the VI sacved for LabVIEW 8.6.

 

Regards,

Peter

Peter Vago
0 Kudos
Message 4 of 8
(3,525 Views)

hello peter, im sorry again for bothering, but again the file you sent as .zip is corrupted and cannot be extracted.

if you can send it again, it would be great.

thank you

0 Kudos
Message 5 of 8
(3,520 Views)

Hi mK,

 

We managed to extract the file on three sepatare computer...but those were all Win7 systems.

No problem, I attached it in tar file. (I wanted in rar, but it was not allowed format on forum page)

I hope, this will help you.

 

Regards,

Peter

Peter Vago
0 Kudos
Message 6 of 8
(3,512 Views)

Mr. Peter im sorry again for getting back to you for the same reason, but i tried the zip file again on several computers with Win7 Win Vista Win XP and they all gave me th same error!

the tar file also did not open :S

1 more solution, if you can please send me a print screen of the modifications and i will do them myself.

thank you again, and sorry for bothering

0 Kudos
Message 7 of 8
(3,506 Views)

OK, it is not a problem.

 

I attached again a zip which was made on Linux 🙂

And I also attached the desired picture.

 

Regards,

Peter

Peter Vago
Download All
0 Kudos
Message 8 of 8
(3,503 Views)