Signal Processing - Entertaining A Baby With .NET?
Nov 13, 2009I would like to write a little application in VB.NET that will detect a baby's cry. How would I get started with such an application?
View 2 RepliesI would like to write a little application in VB.NET that will detect a baby's cry. How would I get started with such an application?
View 2 RepliesI just learned some basics of multi threading in VB.net recently as I came across processing a large List of records and inserting them into SQL database one by one.
I have code look like this:
Private Sub btnLoadNow_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLoadNow.Click
Dim autoLoad1 As New Thread(AddressOf AutoLoad)
autoLoad1.Start()
[CODE]...
Itemlists is a global lists i retrieved from database, everything looks fine to me but when i run this program, I found that the threads are inserting one records 9 times into the database(I have 9 threads in total), which makes me think that maybe i need to specifically assign 1/9 of a list to each thread? Is there another way to do it which doesn't require the splitting of the list, if not , how do i split it then assign?
2008 Array Processing and Sequential File Processing
View 14 RepliesIm a college student and this is my first programming class, i am having extremely diffcult time with arrays and sequential file processing. Im not asking for the whole program, just something to get me started and hints along as i progress with it. Please help me get started on my program, its due in 2 days.
Here are the requirements....
1. The program must input any number of individual�s last and first names using two separate textboxes.
2. The array of names must be sorted by the last name using a bubble sort. You must code the sort.
3. The program must be able to recall the names from the file and add to the existing list of names so that more names can be added to, sorted, and written back to the file in sorted order.
4. Sort in ascending order: A to Z
5. All names must be displayed in a listbox in sorted order when the user wishes to see them.
6. In the listbox the last and first names must be separated by a comma and a space. Example: Smith, Mary
7. The user must be able to search for a name in the array, using the binary search algorithm. You must code the search.
8. Do not use module-level variables. Instead you may choose to use Static.
9. The program must be designed using Visual Basic 2008
I am trying to capture a tv dvb-s signal via vb.net since a long time now.I have tried to get it work with the Microsoft examples, but no success till yet.I had success with analog tv tuning, but digital tuning is still far away, also I don't find any examples with dvb-s and vb.net or c#.
View 1 RepliesI have a problem with a Management.ManagementObjectCollection object. I can't use a For Each to go through its items, it tells that is not supported...
[Code]...
I want to get the data coming from a weighing scale (rs232 signal) to a vb.net prgram, to a text box
View 1 RepliesIs it possible to send information to a BackgroundWorker thread while it is running? Here is my scenario: Parent thread calls background thread to send a data request to a database. If it's a big complicated query it can take a while for the db to respond, so putting the db request on the background worker thread is great. My app can do other stuff while the one thread waits for the db.
Now, db responds with beginning of data. I want my background thread to report back meta data about the result set to the parent thread. No problem there, I can use a custom user state object and the ReportProgress method. But now, how to I send a signal from the parent thread back to the worker thread? I want the background thread to wait while the parent thread does something, and then tells the worker thread to keep going or quit. I know how to cancel a background thread, but I want the parent to be able tell the child some information other than "cancel". Here's one way to think about it:
[Code]....
I need some advises on showing digital signal indicator at this moment I use radio button...but it's then becoming complicated because I have to make them "true" or "false" anytime.
View 24 RepliesI need a walkthrough to :
1. Get a list of available usb ports
2. Send an output signal through the usb (if possible with variable intervals)
3. Close the usb port (so that no signal (current) comes out )
o I've had to reinstall both the .net and visual studios 2010 to get back to being able to program my game, yet this strange issue is still in existence...all of a sudden, like 4 hours prior to not being able to program anymore, I ran into the issue of my login form FRMlogin.vb not running upon clicking the button that sends you to its page... it will not show up for some unknown reason, and both me and my programming buddy cannot figure out what is going wrong here. I restarted my computer twice now since reinstalling visual studios 2010 express, and the same issue is here...here is the code for the forms
the play_b4.vb code
Public Class play_b4
Private Sub registered_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CMDregistered.Click
FRMlogin.Show()
[code]....
I want to get the wireless signal strength from adapter on Windows CE, VB.Net, Visual studio 2008.I believe opennetcf.net library has to be used.
View 2 RepliesI was wondering if there is an available script or code in VB that could measure the signal strength of routers. I need an actual number in decibels.
View 4 RepliesI'm newbie in VB and in my project I need a refresh loop to check an input usb board... everything runs well but I want a 100 ms refresh without button click needed[code]...
View 1 RepliesI have been all over this site looking at and trying example code, but none of it seems to work properly on my computer. I just want a simple program in VB.NET 2010 that can record a .wav file from my computer / line-in microphone. I am somewhat familiar with VB, but I still consider myself a novice and I don't really know all of the audio jargin. [URL]..
View 5 RepliesI'm trying to build a form with 2 textbox where I can display latitude and longitude taken from serial input from serial port with a gps ($..GGA or $..GLL telegram)
View 1 RepliesIm connecting a infrared transmitter by serial port, Rs232 to my pc. Anyone know the coding for the comport to detect the signal and auto trigger a sms event(by gsm modem) ??????
View 4 Repliesi have an input signal that can be time variant.i need a chart that can show sin ,cos , other signal shape such as this picture?
View 3 RepliesDoes anyone know how can we get the currently connected Wi-Fi network's signal strength in VB.NET?
I am using Windows 7 Ultimate & VS 2005, VS 2008 & VS 2010.
I'm just starting build a project that will must acquire digital/analogic signal input, elaborate them troght a software builded by me and depending on signal acquired and conditions put out digital/analog signal output.So I assume I have to buy a PCI signal acquisition card.Now, I'm working from time with vbnet and I feel good, can someone suggest me a kind of pci pcb as above descipted and explain how to programe it in order to keep in communication pci card with vbnet software to pass signal???
View 1 RepliesHow to get the SSID and signal strength of the WI-FI network you are connected on?
View 3 RepliesI have looked absolutely everywhere for documentation on wifi adapter usage programmatically in any
language, and have found tons of code for Windows Vista and prior. There has not been a single DLL
or code snippet that functioned on my laptop. I suspect it is because I am running Windows7, but
just in case here are my laptop specifications:[code...]
This obviously has some flaws in it, particularly it adds all the values to the same double.
I have 3 AP and I want design program to get the SSID & signal strength &BSSID(MAC Adress) for each APi found the some functions to obtain the SSID & signal strength for one AP ,,, i using timer to update every 2 second
SSID
Public Sub SSID()
Try
[code]......
How can i send byte/signal/puls usb port?i want to this
View 3 RepliesWhat I am trying to do is set a timer going which is set off by an output from an external signal from a machine tool. At present the code is activated through a button on my form. This is the code I am using Public Class Form1 Private CompTime As System.Int32
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
CompTime = Environment.TickCount End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Label2.Text = TimeOfDay End Sub
[Code]..
I am trying to build an oscilloscope; I will be using a signal coming from digital encoder going through MAX232 logic level converter to the PC via the serial port 1. The signal from the encoder is 3VDC when it is high and 0VDC when it is low, the encoder resolution is 1024 PPR, the encoder is attached to motor (1800 RPM) so the max resolution is 1843200 pulses per minute or 30720 pulses per second. I would like to make my form display the changing of the input from the serialport1 to graphical display just like the digital oscilloscope. I
I want to be able to display the signal as on and off (square wave) from the encoder and be able to display the signal as speed so when the motor is running at full speed the line be at the top of the graph and when the motor drop to 20% of its full speed the line will drop to 20% and so on.
I tried a variation of the code at the end of this thread.>> [URL] which is the following code using; one Button one Panel
View 5 RepliesHow will I send data or signal to H-Bridge then to DC Motor using parallel port in vb.net?
View 2 Replieshow to capture an on/off signal from a relay and count the seconds of elapsed time between the cycles on a com port? Also, which pins on the com port should be used for this?
View 12 RepliesWhat i need to write is i get different signal from PIC16F877A and through serial port, i need to display diffrent text from different signal, Such as: Signal from portB.1 display 1, signal from portb.2 display 2. Between the microcontroller and serial port im using MAX232.
View 2 Replies