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 )
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???
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
I'm not sure what I have done wrong, I am trying to get my program to send data (UsernamesPasswords) from client to server, then the server says if it's right or wrong.
The error is on this line: Dim networkStream As NetworkStream = TcpClient.GetStream()
Heres the Client: Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = "" Then MsgBox("You must enter UN/PW!") [Code] .....
I am trying to insert the contents of text boxes and combo boxes that an end user will fill out and choose based on the services they need and we support.I can't for the life of me remember how to insert a line break in the output. Basically I want the info to appear as follows:[code]Right with some tweaking, I got them to separate so they are more readable, but at first it all ran together. Like I said, the coding is done and the program sends the email, I just need some line breaks in my output so it is easy to read for whoever needs to decipher the issue.Since I am not at work, and if you need to see the part of my code that does the output to email, I will be able to do it around 8:30am East Coast time.
I have an application with a String variable that repeated gets a Date from a database, does something with that field, then goes onto the next row. Is there a way I can send send out some debugging information to the stdout console so I can debug better/view the progress of the program?
I am using vb2008.net express, I test vs2005term it work, can any tell me what is the input variable and output variable of this terminal? how to catch the input and output variable to a textbox1 for sending and a textbox2 for receiving when I press send button? is that possible? I attach the example of my question this is a a good source, but it is not relate to my problem: [url]...
I need to control a device with a GPIB port. I have the commands that I need to use to do this; but I don't know which is the sintaxis in Visual Basic.
For example if I need to send a instruction like "START:0.01" to the external device which are the libraries that I have to include?, how should I write the programming line to do this?
The main tasks that I need to program are sending data, receiving data, and saving data
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#.
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...
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:
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.
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()
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]...
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]..
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)
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) ??????
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
What I am trying to do: There are three powershell scripts with different time delays as shown below.I am trying to run them asynchronously in .NET and I followed this article to implement Asyncrhonous programming. Where I am stuck:The I am not able to retrieve output after the events are invoked.The scripts are being called but then the program ends and it shows "Press any key to continue" in console windows.I don't what I am missing here.
Info: JobRequest is a class that I use to pass around information keep track of jobs.