VS 2008 .NET To Communicate To Agilent 34970A Over GPIB?
Apr 27, 2010
I am currently designing a calibration system for some equipment and want to be able to create a simple interface (initially) that will read real time samples from the Agilent 34970A (Data Acquisition Unit) and display them in a text box continuously until a separate button is pressed, which would interrupt the process. Here is some of my
Private Sub StartSampleButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles StartSampleButton.Click
ioDmm.WriteString("MEAS:VOLT:DC? AUTO,MAX,(@101)")
RealTimeSample.Text = ioDmm.ReadNumber
End Sub
When I press the StartSampleButton, it takes a single sample from the 34970A and places the result in the RealTimeSample box (no problems here). The problem comes in when I want to do multiple samples. I've been trying something along the lines of:
Private Sub StartSampleButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles StartSampleButton.Click
While 1
ioDmm.WriteString("MEAS:VOLT:DC? AUTO,MAX, (@101)")
[code]....
View 1 Replies
ADVERTISEMENT
Apr 27, 2010
I am currently designing a calibration system for some equipment and want to be able to create a simple interface (initially) that will read real time samples from the Agilent 34970A (Data Acquisition Unit) and display them in a text box continuously until a separate button is pressed, which would interrupt the process. Here is some of my Private Sub StartSampleButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles StartSampleButton.Click
[Code]...
View 3 Replies
Jan 17, 2011
I'm currently working on a project where we're doing some automated testing.We're using a Rohde and Schwarz Vector Network Analyzer to do our testing, and the interface it provides for communication is GPIB. On my laptop it simply plugs in as USB.
View 1 Replies
Mar 17, 2012
I have an application whereby several people in my office will use it for a number of duties we are all on the same network but everyone will not be logged in at one time.I want to enable the tcpclient class I guess as I want one user to be able to send another user a message etc.The problem is I don't have a central server where I can keep the internal IP of each user is is logged in etc. is there a way around this?
View 1 Replies
Sep 23, 2009
I am going to create a gaming platform primarily with flash,flex and was also looking to create a windows client that could communicate with my server using these protocols. Could someone point me in the right direction on any possible .net libraries available that could handle the communications between client and server?
View 2 Replies
Sep 19, 2010
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
View 5 Replies
May 31, 2012
I wish to communicate over usb in vb.net i realize i might need to use openfile windows api or createfile windows api but im doing a generic mouse driver which should be miles simpler to do since microsoft and usb.org already have the report descriptors available so all i want to do is just send data to the device directly using my program.
[Code]...
View 7 Replies
Mar 15, 2010
I'm working on a little app which needs to recieve information from a script on a web server. I tried to have the vb.net app pole a php web page for a command every half of a second. This worked but, the app is streaming video and every time the app needs to pole the webpage the video stutter stops. I tried setting the pole timer to 5 seconds and still every 5 seconds the video stutters. I thought that maybe sockets would be the answer, so I looked for examples of vb.net socket servers and php socket clients. I tried implementing a solution but the php cannot seem to connect to the vb.net server. I googled around and saw that maybe php cannot communicate with a vb.net application.
View 1 Replies
Apr 10, 2010
If I control both applications, what is the best way to communicate between 2 exe's written in VB.Net. For example, I want to drop an XML file from one app, and pick it up with the other, but I do not want poll for the file. I've heard of named pipes, but I found it was complicated. What's the most effecient way to do this?
View 4 Replies
Jan 14, 2010
I'd like to know what the best way to communicate between two applications via a LAN would be? ..and would it work over multiple versions of Windows (XP, Vista, NT etc..)?
I am setup with Visual Basic Express 2008.
View 1 Replies
Jul 9, 2010
I am a novice with programming and really need to get a device communicate with PC through COM3.
how to send and receive data via COM3 in VB.
View 2 Replies
May 12, 2011
I have a Digi Modem connect to a device. How could I sent the code through the IP address what the Modem create to get communicate with my device? how to defined the IP, 2) make the communication 3) sent the code?
View 4 Replies
Mar 4, 2009
I am trying to send and receive packets over the LAN (i.e. NIC port) using VB.NET. I found some code that uses Socket wrench, but problem with such solutions is that users will need to install extra drivers and all which I do not want. I am looking to use drivers native to the .NET environment to send and receive packets through the LAN port. My windows forms application is in VB.NETneil
View 1 Replies
Feb 22, 2009
I am looking to send and receive packets from the LAN port using some kind of WIndows Native object so that the user of my Windows Forms control does not have to install any third party software.[For example, for Serial port I use MSComm, i want to know what I can use for LAN port?]
View 1 Replies
Apr 29, 2010
I`m working on a project where i have connected a FPGA chip to the PCI bus but now i am trying to figure out how to communicate in VB to that device? Normally the device has memory assigned to it in XP (address h00000200 to h0000037F) but i don`t know how to read/Write to that memory directly in VB...
View 2 Replies
May 8, 2009
I have a library that interacts with our phone system, ie, Hey phone, call this number for me. This library is used in one of our in house products. I would like to put this instead in a service, so that any of our in house products can send the service a message to place a phone call. So basically I want to communicate from a program built in .Net 3.5 with a service running on the same machine also built in the 3.5 framework. I have done some work with WCF and was considering using this but thought I would ask what others have done or would do.
View 4 Replies
May 26, 2012
Recently, I Developed an Experiment Application with VB.net(in Windows platform), When the application collected the data,I want to use R to Analysis the data, But I don't know how to Communicate with R (In other word, I want to send R script to R in my own application).
View 1 Replies
Jan 14, 2009
I have a program that opens the command prompt and sends commands. I need to leave the first CMD open, open ANOTHER cmd and send more commands to the second one.
Then I do some processing and can close them both. How can I open more than one, and how do I refer to the first or second one?
View 3 Replies
Jan 26, 2011
I'm coding a restaurant program where every table, server and guest is a different object - Is there a right way of getting objects to communicate with each other?For example, one server might have 5 table objects, each table might have 2 guest objects. Is there a way to neatly tie all this information together. If a guest moves to a different table I have to change a large number of variables (number of guests served by server, table set to empty, new table sat...etc etc.)?
View 2 Replies
Jun 1, 2009
how can I let two threads communicate with each other by using VB.net?
View 3 Replies
Aug 12, 2010
I am writing a VB.Net application wherein I would like to be able to communicate with it from a remote computer. Specifically, I would like to be able to send (from a remote computer) both text data and also images (jpg, png, etc.) and then have the application use the sent information by displaying it to the user. How would I code the VB.Net app to be able to handle incoming data like this?
If possible I'd like to not be dependent on .Net technology on the "sending" side so I'm not sure if I would just use sockets or a web service or what.
View 2 Replies
Apr 17, 2009
I have a problem I have a project that needs to have a communication of asp .net to vb .net my project is i want to access or control(like a remote control) the vb .net application(server) using asp .net(client side) asp .net is like a remote control and the vb .net is the application that needs to control i need to use internet to do that.
View 1 Replies
Apr 24, 2011
I do not know how to communicate form VB.net with a webpage, meaning that when I send a data string, then the results shown on the form VB.net, so the webpage of the server sends the data string to form vb.net.
View 4 Replies
Nov 30, 2010
What is an easy to implement way to communicate between 2 vb.net (3.5) form applications that are running on the same machine?
The current problem is that in each program a user needs to be logged into to use. If the user is logged into one, and clicks a button to launch another, it should pass who is logged in so they do not need to log in again in the second program.
View 2 Replies
Dec 25, 2009
I want to create a program that could generate reports from an ms access database and place it on ms word, how can I do that.
View 3 Replies
Jun 29, 2009
How is possible to communicate through USB port in VB.NET 2005?
View 8 Replies
Jan 15, 2011
can we communicate to Serial port COM1 through Microsoft Robotic Studio?We are developing wireless robot which will take data from serial por
View 14 Replies
Jan 27, 2010
How to send commands to a telnet session and then read the output from the telnet session?
I can easily create a Telnet session using something like this[code]...
View 2 Replies
Dec 28, 2011
I've got this code below that creates an HTTPLISTENER that is nicely waiting at listener.GetContext().How do I communicate with this from another VB app? I cannot seem to get WebRequest.Create to work with the URI that my HTTPLISTENER example is using. This line of code from a second app is not working:
Dim request As WebRequest = WebRequest.Create(prefixes(0))
Here is the code:
[Code]...
View 1 Replies
Dec 28, 2011
I've got this code below that creates an HTTPLISTENER that is nicely waiting at listener.GetContext().[code]....
View 1 Replies