blah blah blah is here! blah blah » Close

0
votes
0 answers

Query on using NI Visa

MickW
151

I'm having a bit of difficulty using Visa and wondered if anyone knew of a good site giving some simple example programs for connecting to devices via Serial Port/GPIB. I am also unsure of how VISA will work with a GPIB-ENET switch and a ...

0
votes
1 answers

MessageBox hidden behind program window problem.

MickW
151

I've done quite a bit of searching on this and found no real answer. Is this just a limitation of MessageBoxes? Just to clarify - I have my main process running as BackgroundWorker and when it is finished, a message box appears to repor ...

1
votes
1 answers

Writing unicode character to CSV file.

MickW
151

I have a strange issue with trying to write the micro symbol (Unicode 00B5) as part of a string to a CSV file. I'm getting the symbol appear fine but just before it in the cell I'm also getting a capital A with the "^" above it (u ...

1
votes
0 answers

Please Disregard.

MickW
151

Man this is a steep learning curve!

1
votes
1 answers

Can I "kind of" insert threading?

MickW
151

Oops. Just down to the final hurdle on my program to control two devices. I need the abort button to work which as far as I can tell will only work if I use threading? My program is fairly simple. Text boxes collect relevant data, Sta ...

0
votes
1 answers

Serial Port test using ReadLine.

MickW
151

I'm having trouble performing what should be a simple check to make sure a device is connected via serial cable. It hangs up on the "test1.Read..." and I can't work out what is wrong. If anyone is able to tell me the no-doubt obvi ...

1
votes
1 answers

Serial Port connection

MickW
151

Anyone who can help me understand this would be much appreciated. I'm trying to connect to a Marconi 2945 to control it over the RS232 connection. I am trying to get my head around how to use the following data in the manual: The fol ...

0
votes
0 answers

String Format question (solved now thanks)

MickW
151

Please excuse my ignorance - I'm learning as I go with C sharp! I'm trying to format a double into a string with the following line: string fStartF = String.Format("{0:0.0}", dStartF); It isn't working currently. I simpl ...

1
votes
1 answers

Sockets Class (Windows Forms)

MickW
151

Hi, I'm trying to write a program to control an external device (connection via crossover cable). It isn't throwing me any errors but the device is not changing it's setting (I've triple checked the skippy codes). Anyone able to take a loo ...

1
votes
1 answers

C sharp program to control a device by ethernet.

MickW
151

I've been tasked with trying to write a program to control a device via ethernet cable. Does anyone know of a good site that explains how to do this? I've been trying to find something online with no luck so far.

1
votes
1 answers

Changing the display.Text attribute from within a method

MickW
151

Hi, I'm designing a calculator using WPF and have basically set up a method to be called when the calculation buttons are pressed. Within this called method i am trying to changed the calculator's display text but I'm getting an error sa ...

0
votes
1 answers

Radio Button reset to checked on button click

MickW
151

Hi, I've been trawling the net for a while now and can't work out how to do this. (No doubt it is annoyingly simple). I have a windows form with a number of radio buttons in a group box that a user can select. When they hit the "Cle ...

Feedback