From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-14-2017 08:43 AM
Hi
Iam quite new in learning Labview. I did a code for producing a sinus wave in Labview program. I want to send this sinus wave through a coaxial cable to an oscilloscope next to my computer to display the oscillations. When I do the connection between the computer and the oscilloscope I do not get any thing plotted , I just get a line. I included my code file below if you want to see it.
What am I doing wrong?
(Just to mention something: I get oscillations in my oscilloscope when I run a youtube video in my computer).
thank you very much
Solved! Go to Solution.
03-14-2017 08:58 AM
So one end of the coaxial cable is connected to the oscilloscope input... What's the other end connected to at your computer?
03-14-2017 09:19 AM - edited 03-14-2017 09:20 AM
Hi
the other end of the coaxial cable is connected to something called adapter (I do not know the full name of it but it is similar to this http://www.ebay.com/itm/10PCS-BNC-Female-Jack-to-AV-RCA-Male-Plug-Adapter-Coax-Connector-/1823660601...) ,, then this adapter is connected to the sound output port in my computer ( like when you use a headphone)..
Thank you sir
03-14-2017 09:25 AM
Your program has no output, it only makes a sine wave on the screen.
03-14-2017 09:27 AM
Hi
How can I make it send out the sinus waves to the oscilloscope?
Thank you
03-14-2017 09:31 AM
The sound output functions such as "Play Waveform" are in the functions palette under Programming/Graphics & Sound/Sound/Output.
03-14-2017 09:32 AM
Use the VIs from the Sound->Output:
For a beginner the Express will be easier to use, so go with it.
03-14-2017 10:29 AM - edited 03-14-2017 10:33 AM
Thanks you all
If I want to use the labview program as a generator of sinus waves (like this generator http://www.batronix.com/shop/oscilloscopes/Rigol-DS1054Z.html) ,, I want to generate ultrasonic sound waves (bigger than 20 kHz) .. How can I change the following attached file to make it produces ultrasonic sound waves with frequency of 1 MHz?
The main idea is to use the labview as a generator of ultrasoundwaves and then connect a coaxial cable to the computer and then use these signals like for example to plot them in oscilloscope or power a device ect.
03-14-2017 10:36 AM
@ramialsaiad wrote:
Thanks you all
If I want to use the labview program as a generator of sinus waves (like this generator http://www.batronix.com/shop/oscilloscopes/Rigol-DS1054Z.html) ,, I want to generate ultrasonic sound waves (bigger than 20 kHz) .. How can I change the following attached file to make it produces ultrasonic sound waves with frequency of 1 MHz?
The main idea is to use the labview as a generator of ultrasoundwaves and then connect a coaxial cable to the computer and then use these signals like for example to plot them in oscilloscope or power a device ect.
How do you expect to generate a 1Mhz signal from hardware that is rated 20hz-20Khz?
03-14-2017 10:41 AM
@RTSLVU wrote:
@ramialsaiad wrote:
Thanks you all
If I want to use the labview program as a generator of sinus waves (like this generator http://www.batronix.com/shop/oscilloscopes/Rigol-DS1054Z.html) ,, I want to generate ultrasonic sound waves (bigger than 20 kHz) .. How can I change the following attached file to make it produces ultrasonic sound waves with frequency of 1 MHz?
The main idea is to use the labview as a generator of ultrasoundwaves and then connect a coaxial cable to the computer and then use these signals like for example to plot them in oscilloscope or power a device ect.
How do you expect to generate a 1Mhz signal from hardware that is rated 20hz-20Khz?
OK sir so I cannot generate 1 MHz sinus wave by using labview in my computer
thank you ,, I did not know that