Signal Processing - Entertaining A Baby With .NET?

Nov 13, 2009

I 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 Replies


ADVERTISEMENT

Multi-threading Processing - Processing A Large List Of Records And Inserting Them Into SQL Database One By One

Mar 18, 2011

I 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?

View 1 Replies

2008 Array Processing And Sequential File Processing?

Jan 6, 2010

2008 Array Processing and Sequential File Processing

View 14 Replies

VB 2008 Array Processing And Sequential File Processing

May 19, 2011

Im 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

View 3 Replies

Capture A Tv Dvb-s Signal?

Dec 13, 2010

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 Replies

Retrieving Wi-Fi Signal Strength From WMI

Jan 29, 2012

I 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]...

View 9 Replies

Serial / USB Signal To Read Out?

Mar 11, 2010

I want to get the data coming from a weighing scale (rs232 signal) to a vb.net prgram, to a text box

View 1 Replies

Signal (NOT Cancel) A BackgroundWorker?

Mar 7, 2011

Is 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]....

View 10 Replies

Use As An Digital Signal Indicator?

May 15, 2009

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 Replies

Communication With USB - Sending Output Signal

Jan 28, 2011

I 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 )

View 1 Replies

Form Not Showing Up Upon Button Signal?

Dec 22, 2011

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]....

View 1 Replies

Get Wifi Signal Strength With OpenNetCf In .Net?

Sep 2, 2011

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 Replies

Measure Wifi Signal Strength?

Jan 18, 2009

I 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 Replies

Read An Input Usb Board Signal?

Dec 30, 2010

I'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 Replies

Recording An Audio Signal In .NET 2010?

May 24, 2011

I 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 Replies

Take Signal And Telegram From Serial Input?

May 17, 2010

I'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 Replies

Coding For Comport Signal To Trigger Event?

Oct 23, 2009

Im 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 Replies

Get A Chart That Can Show Sin ,cos , Other Signal Shape Such As This Picture?

Mar 6, 2012

i 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 Replies

Get Currently Connected Wi-Fi Network's Signal Strength In Program?

Mar 19, 2010

Does 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.

View 4 Replies

Keep In Communication Pci Card With VB Software To Pass Signal?

Jun 30, 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 Replies

Retrieve Connected Wi-Fi Signal Strength And SSID Without WMI?

Feb 1, 2012

How to get the SSID and signal strength of the WI-FI network you are connected on?

View 3 Replies

Windows7 Current SSID & Signal Strength

Sep 22, 2010

I 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.

View 3 Replies

Obtain The WIFI Signal Strength & SSID & BSSID?

Nov 22, 2007

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]......

View 7 Replies

Send Byte,signal,string Or Puls Usb Port?

Feb 14, 2010

How can i send byte/signal/puls usb port?i want to this

View 3 Replies

Set A Timer Going Which Is Set Off By An Output From An External Signal From A Machine Tool?

Nov 17, 2009

What 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]..

View 6 Replies

Build An Oscilloscope And Display The Signal As On And Off (square Wave) From The Encode?

Feb 26, 2010

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.

View 11 Replies

Send A Message Or Signal To A Process To Maximize Its Window After It Is Started?

Jul 17, 2010

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 Replies

Send Data / Signal To H-Bridge Then To DC Motor Using Parallel Port In Program?

Jan 21, 2012

How will I send data or signal to H-Bridge then to DC Motor using parallel port in vb.net?

View 2 Replies

Capture An On/off Signal From A Relay And Count The Seconds Of Elapsed Time Between The Cycles On A Com Port?

Dec 27, 2011

how 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 Replies

VS 2008 - Getting Signal From PIC16F877A To VB 2008 Through Rs232 Serial Port

Mar 5, 2010

What 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







Copyrights 2005-15 www.BigResource.com, All rights reserved