

- #Sharp driver download scii how to
- #Sharp driver download scii install
- #Sharp driver download scii full
/ If the command has a '?', then read back the response and print / Write a SCPI command to the telnet connection. "A-N9912A-22762") used in lieu of IPĬonsole.WriteLine("Press any key to exit.") Ĭonsole.ReadKey() // continue after reading a key from the keyboard.Ĭonsole.WriteLine("Error opening " + hostName) open socket on hostName, which can be an IP address, or use host name (e.g. Record hostname passed in on command line.

"If no hostName is supplied, the default ("+defaultHostName+") is used.\n\n"+ "Where optional hostName is an ip address or host name.\n" + If command line contains a '?' character, interpret this as help.Ĭonsole.WriteLine("Usage: N9912A_CS_Example.exe \n\n"+ defaultHostName is host name to use if one is not specified on the command line. This example shows MyProgram.cs is saved to the C:\ folder.Īfter performing a compile, perform the same ‘shortcut’ procedure for MyProgram.exe except, instead of appending the path and filename, append the IP address of the FieldFox.Ĭopy the text in the following shaded area to a Notepad file.
#Sharp driver download scii full
Right-click on the desktop shortcut, then click Properties.Īppend a space, the full path, and filename to the end of the "Target” as in the following image. Right-click csc.exe then click Create Shortcut.ĭrag the shortcut file to the PC desktop. NOTE: If more than one folder contains csc.exe, use the folder with the latest revision. Using Windows Explorer, navigate to the folder that contains csc.exe.
#Sharp driver download scii how to
The following steps show how to create shortcuts on your PC desktop to compile and run MyProgram.exe. Run your SCPI program by executing MyProgram.exe. This creates a file named MyProgram.exe in the same directory as csc.exe. On the FieldFox, press System, then System Configuration, then LAN.Ĭompile your program by executing csc.exe MyProgram.cs. Record the dynamically-assigned IP address of the FieldFox.Ĭonnect the FieldFox to the Internet using a LAN connection. See the SCPI Command Reference and Program Examples for more information. Several example lines are provided to demonstrate the syntax in which the SCPI commands must be contained. Write your SCPI program between the //Start your program here and //End your program here lines. You can use any filename that you like.Ĭopy the text in the shaded are below into a Notepad file and name it MyProgram.cs. The following procedure uses the example filename MyProgram.cs. This file could be in the C:\Windows\Microsoft.NET directory. Once the program is installed, search the PC hard drive for csc.exe.
#Sharp driver download scii install
To connect to the FieldFox and run SCPI programs, you must first download and install the Visual C# Express software from: Note: You can also send single SCPI commands to the FieldFox using this free Instrument Console program.

If you ARE familiar with C#, you can Download the project files here. You can add or replace the SCPI commands in this example program with your own. It is ONLY necessary that you understand basic SCPI syntax. It is NOT necessary that you know C# to write a SCPI program.

The following C# example demonstrates how to send SCPI commands to the FieldFox using a TCP socket connection over a LAN connection.
