473,796 Members | 2,573 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Voltage level into Oscilloscope waveform

1 New Member
Hello. I am pretty new to VB therefore i need guidance on the following :

Basically, my circuit board is connected to solar cell and also a power supply(those laboratory DC power supply used in schools) and its connected to the computer via a RS232 Serial cable port.

Thru the serial cable port, a voltage level is sensed and is displayed on the "Voltage Level in Volts(V)" -- See attach image

As for now, i am also needed to display the voltage level into another type form intead of just Dial Voltmeter.

Maybe to display the voltage level to a waveform like what we see on the oscilloscope ? I came across a suggestion from someone regarding the oscilloscope, but its in C# instead, and after converting, the codes does not work. Hmm.. ?

>> Therefore, i hope to get some guidance on how to display the voltage level into a waveform as what we see on the oscilloscope.

>> Please also feel free to voice out any other suggestions you have in mind other than oscilloscope waveform ?

Once again, if any of the above is unclear, please inform me.
Thanks in advance. =)
Attached Images
File Type: jpg VB.jpg (10.9 KB, 682 views)
Dec 7 '09 #1
1 3263
vb5prgrmr
305 Recognized Expert Contributor
Well, correct me if I am wrong but since it is DC voltage then there is no oscillation (as in AC voltage) and hence no wave to display...

As for other methods, you could create your own progressbar (verticle or horizontal)



Good Luck
Dec 7 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

43
2762
by: Anitha | last post by:
Hi I observed something while coding the other day: if I declare a character array as char s, and try to use it as any other character array..it works perfectly fine most of the times. It holds strings of any length. I guess what is happening here is that this array initially holds only '\0' and hence is of length 1. But sometimes, when I tried to write some functions and do some
0
4992
by: Ada | last post by:
i'm using C# and have been reading DX doc but cannot find the info i'm looking for. i want to load WAVE file and display the waveform. something similar to this: http://www.codeproject.com/audio/waveedit.asp#xx489900xx is it doable with DX 9? can you show some code sample or doc or URL i can read more?
2
13147
by: Aaron N. | last post by:
I am currently rewriting an application originally developped in VC++ that plays a .wav file and displays a representation of the waveform as it is played (with a marker indicating current position in the audio file); making use of DirectX9. So far I am able to load and play, stop and resume play of a sample .wav file. I am making use of a previously developed user control that is capable of displaying the waveform (statically),...
1
2175
by: d6ve | last post by:
I need to play a video file, see the waveform of its audio and use the waveform as a slide bar for seeking in the video. Thanks and regards, David. -- d6ve ------------------------------------------------------------------------
34
4851
by: Ann | last post by:
I am opening a file which looks like 0xABCDEF01 on another machine but 0x01EFCDAB on my machine. Is this a byte swapping? Could anyone give a good way to check if bytes are being swapped? (code should work smoothly across different machine.) Thanks, Ann
1
3583
by: android | last post by:
hi all anybody knows a technique, a link, a suggesstion, ...a book, ables to show me how to draw a waveform file wavegraph on picturebox in vb.net? thanks very much Andrea
65
5293
by: Chris Carlen | last post by:
Hi: From what I've read of OOP, I don't get it. I have also found some articles profoundly critical of OOP. I tend to relate to these articles. However, those articles were no more objective than the descriptions of OOP I've read in making a case. Ie., what objective data/studies/research indicates that a particular problem can be solved more quickly by the programmer, or that the solution is more efficient in execution time/memory...
2
2153
by: roaddogg | last post by:
Greetings, I am stuck on a topic for TAFE and cannot get my head around it. I need to Write a program to use a D to A converter board to output various signals which can be viewed on an oscilloscope. I have made the Triangle wave, which works, but am stuck on the sine wave. Code for sine wave thus far is:
1
3599
by: fevos | last post by:
hi i look at this article in msdn Recording and Playing Sound with the Waveform Audio Interface and download the P/Invoke Library Sample that record using wave in and wave out . how do i get the data from buffer (Waveform Audio Interface) (wave in) while recording and play it using c# or vb (wave out) , thanks
0
9684
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9530
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10459
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10236
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10017
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7552
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5577
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4120
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.