Code Directory
 Visual Basic & VB.NET
New Code
OrgChart JS 4.9.7
iScripts CyberMatch 1.3.3
AnyGantt JS Gantt Charts 8.7.0
Database Workbench Pro 5.6.8
Devart SSIS Data Flow Components 1.10.1
SentiMask SDK Trial 2.0.193121
dbForge Studio for SQL Server 5.8
ODBC Driver for ASE 2.1.2
The C# OCR Library 4.4.0
ODBC Driver for xBase 2.1
Rapid PHP 2018 15.5
Online Course Booking Script 1.3.3
Job Portal Script 1.3.2
The C# PDF Library 5.2
Top Code
Azizi search engine script PHP 4.1.10
DTMF Encoder/Decoder with GUI using FFT,goertzel,Filter Banks 1.0
Devart SSIS Data Flow Components 1.0
Newest MySQL manual in HTML Help (.chm) 4.1.1-alpha
MLM Unilevel Plan Script 1.0.4
College Management System Script 1.0.4
SW Test Automation Framework 32
16-APSK Simulink Block 1.0
sym_three_j.m 1.0
Faculty Evaluation System 1.1
Triple DES Encryption/Decryption class 1.0
War Game V4
Typing Speed Test 1.0
SecureBridge 8.0
DAQ Through Parallel Port 1.0
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
Multiple Interface Command Environment (MICE) 1.0
File ID: 81891

Multiple Interface Command Environment (MICE) 1.0
Download Multiple Interface Command Environment (MICE) 1.0http://www.mathworks.comReport Error Link
License: Freeware
File Size: 10.0 KB
Downloads: 1
Submit Rating:
Multiple Interface Command Environment (MICE) 1.0 Description
Description: Tested in R13!!!

This app is designed to allow easier interfacing with interfaces such as GPIB, Serial, and others (though honestly I've never tried it on anything other than an iotech GPIB.)For information on interfaces, check out

>> instrhelp

NOTE: In this app, I refer to interfaces as devices, because they interface to a physical device, like a multimeter or an O-scope, etc.

In it's present state, this app has 3 Command Environments, each has a different prompt, and responds differently to commands.

Device ($>) in the device command environment (ce), commands that you type at the prompt are sent directly to the current interface using fprintf. fscanf is then called on the interface, and the results are displayed on the console (Command Window).

Please note that because of this, by default, all new interfaces created in this program are created with a Timeout of 1 (second). You can change the default value for any new interfaces created during the runtime by typing 'default Timeout' in the Program CE. You can also change the value of the variable defaultTimeout in the beginning of this code, to change the startup value for default Timeout. use intrhelp to find out how to st a custom Timeout.

FUTURE PLANS: I plan to add a simple way of opting out of calling fscanf, on a onetime basis and on a toggle basis. I hope to introduce a new CE which will allow you to use MATLAB code for strings (indexing, and concatenating, and casteing, etc) to send commands, e.g., instead of:

You could use:
:$>['MATH1:DEFINE ','"CH1 + CH2"'];

I understand in the above situation, there's no point, by ideally, you could use variables instead of string literals Program (:>) This CE simply allows access to basic commands specific to MICE.

Commands like quit, cls, new device, device list, etc. Feel free to hardcode your own commands into the Program Section (feel free to do it anywhere, but it will be a little harder anywhere else).

If you have any good ideas of commands you want to see, let me know. To get a complete list of Program CE commands, get out a pen and paper and write down all the cases in the switch command of the program section.

MATLAB (::>)

In theory, the MATLAB CE works just like you're typing in the
Command Window. I'm not going to gurauntee that, but that's the premise.

Switching Command Environments
To switch from one CE to another, simply type the prompt at any of the CEs' prompts. E.g., to switch from the MATLAB CE, to the device CE, it would look like this:

Simple enough.
To do a CE override, in otherwords, send a single command to another CE without actually switching to that CE, simply type the prompt of the target CE, without the > at the end. So if you wanted to quit MICE (but honestly, I mean why would you?) from the device CE, it goes like this:


To find out what the current device is from the MATLAB CE, like this:

::>:device current

And to send the identity query to the current interface from the program CE:


Easy breasy.

"A Bug is a feature that has yet to be documented."

License: Freeware

Related: Access, Basic, Simply, literals, ideally, variables, String, specific, micecommands, elseif, Ideas, Complete, harder, hardcode, Section, Point, there039s

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 1

More Similar Code

A Graphical User Interface Development Environment for OpenGL, and associated OpenGL Widget set.

XML IDL preprocessor for generating C/C++ object prototypes. It allows use object oriented and component oriented programming for plain C programming language. Single object inheritance and multiple interface inheritance are supported.

Format, clean-up, beautify and standardize your php code with a comprehensive set of 34 options. A single 50Kb file that will highly improve the quality of your code. 3 operation modes: web interface, command line and PSPad integration.

Tsm Command is an interface to Tivoli Storage Manager.

Displays the percentage done of a job to the command line interface.

RCommand is a generic way for ruby scripts to present a full-featured command interface to users, complete with command history and tab completion.

a simple quiz game with a command line interface

Interface Traffic Indicator, a graph utility to measure incoming and outgoing traffic on an interface in bytes or bits/sec. Works on all SNMP-capable interfaces (computers, NICs, switches, routers, etc.) with adjustable poll intervall down to...

RCoaster Music System is an advanced playlist manager and play controller.

MP3s and Oggs can be added and queued using one of two web interfaces, or a shell scripting interface, enabling you to integrate with any environment. A GNOME...

Complete PDF Command-line (CMD) tool designed to enable developers to create 100% standard and adobe compatible PDF documents and perform wide range of operations on PDF files. Flexible XML based command file system enables you to programmatically...

User Review for Multiple Interface Command Environment (MICE)
- required fields

Please enter text on the image