As a newbie Labview user, one of my first task is get readings from 2
Mitutoyo Digimatic micrometer heads (Series 164) which are connected
to a Mitutoyo MUX2 multiplexer (Series 264). The MUX2 is connected to
a PC via RS-232C port.
I'm using Labview 7 Express (Student Edition) and I would like to just
read the data from the micrometers. How do I go about doing this??
Please remember I am a newbie!!!!
Regards,
Bharesh Mandalia
1) Electrical connections
2) Communications Protocol
3) Software
1.1 Obtain cables for the Mic's to the MUX
1.2 Obtain cables from the MUX to the PC
1.3 Plug them all in
1.4 Test the system
2.1 Obtain data for the comms protocol
2.2 Understand the comms protocol
3.1 Implement some serial code to 'talk' to the unit
3.2 Display the data in the desired format
Well that's a very basic start.
So I guess you have more questions.. but you need to provide some more
information before progressing.
i.e What you know and what you don't.
I strongly suspect that gaugelink does not use the same command
protocol as the MUX devices. I have had a quick look at the sample VI
and have not had chance to compare that with any other data yet.
Should I discover they are the same command set I will add to this
comment.
When you use or have the MUX series of devices the digimatic interface
products connect through MUX to the serial port through the MUX.
P.S. MUX stands for Multiplexor.
There are a number of types of these devices, including off the top of
my head the MUX10, MUX2 and MUX50
In summary Gaugelink would not be suitable as the interface device
exists in the form of the MUX.
No they do not, they have a line of SPC software which they sell to
handle data from the Digimatic instruments.
Many, many thanks for the replies. You all answered my initial
question and others that I hadn't thought of. So to summerise, I
cannot use Labview to communicate with the Mitutoyo MUX2 unit without
using the GaugeLink, which I have to purchase. I don't want to do
this. Mitutoyo do sell the SPC software to handle data from the
Digitmatic instruments. Again, I'd rather use Labview. I'm not sure
what my options are. I suppose there would an equivalent NI
card/module which I could connect the micrometers?? Any alternative
soultions would be gratefully received.
Many thanks for all your help.
Regards,
Bharesh
Conseils <x...@no.email> wrote in message news:<506500000005000000F2...@exchange.ni.com>...
Many, many thanks for the replies. You all answered my initial
question and others that I hadn't thought of. So to summerise, I
cannot use Labview to communicate with the Mitutoyo MUX2 unit without
using the GaugeLink, which I have to purchase. I don't want to do
this. Mitutoyo do sell the SPC software to handle data from the
Digitmatic instruments. Again, I'd rather use Labview. I'm not sure
what my options are. I suppose there would an equivalent NI
card/module which I could connect the micrometers?? Any alternative
soultions would be gratefully received.
Many thanks for all your help.
Regards,
Bharesh
Conseils <x...@no.email> wrote in message news:<506500000005000000F2...@exchange.ni.com>...
You have the kit for the job.. You don't need GaugeLink, this comment
was mis-leading.
Now you need to follow the steps outlined.
If you want to progress I will lead you through the steps to where
ever you want to go.
Sorry about emailing twice. Quick fingers!!!
I would like to progress further and it is beginning to bug me why
there aren't any drivers for the MUX2. So, Conseils, where and how do
I start with this project? I have the Student edition (version 7) but
I can get hold of a full version of Labview (version 6.1). Are there
any reasons why I should not use the Student edition?
So, please help me figure this out. I really appreciate your kind
help.
Regards,
Bharesh
Conseils <x...@no.email> wrote in message news:<50650000000500000005...@exchange.ni.com>...
There is no reason that I am aware of that the student edition won't
do. At the moment I have not fully transferred to 7.X so 6.1 would be
good also.
Anyway the reson that there is no driver is mainly becuase people in
production processes (where these things are used in volume) need
validated statistical tools. No one has written a complete fully
approved automotive statistics tool in Labview (I believe), hence no
driver. As the approval process is expensive, long and tortous you
start to understand why.
To get you going if you have all the cables you should start with the
Trerminal Emulator. (I assume Windows here). Set 9600bd 7 data bits,
1Stb, No Parity - no handshake. Press the instrument 'Data' button and
the instrument should send a measurement to the Terminal program. You
may need to 'tinker' (my first choice was refused by the msg bd) with
the data rates and handshake to get the data onto the terminal program
as the handshake could be affected by the wiring on the cable between
the MUX and the host and the data rate could possibly have been
changed on the MUX. You quickly find out that the number of
combintations is awesome - Hence the requirement for the manual.
So go through the list I wrote and tell me what you have or not as the
case may be.
I got the micrometer readings to displayed on the Hyperterminal
window. I am using Windows2000 (sp4). The manual for the MUX2 is ONLY
a piece of paper with MUX2 protocol, RS232 output spec and command
codes. The settings I used were.....
9600db
8 data bits (in the manual)
1Stb
No Parity
No handshake
Pressed DATA button on each micrometer and readings were displayed.
I'm glad this bit works. I suppose the next bit is continous readings
from the micrometers.
Regards,
Bharesh
Conseils <x...@no.email> wrote in message news:<50650000000500000056...@exchange.ni.com>...
Well this tests most of the cable connections, you PC and the COM port
and the associated hardware and leaves only the trasmitted command.
This simple test that you have performed is one of the most basic but
important. Because it gives you a baseline to work from. From now on
you 'know what to expect'.
Look in the instructions and find the string that is used to request a
reading it is probably somthing like S1 for channel 1 or similar (I
can't find my sheet at the moment, I have moved since I last used it).
Type this string in to the terminal program.
If it mentions CR then that means Carrige Return and you do that by
pressing the ENTER key.
If you could post the instruction sheet it will save me looking for my
copy, which I may never find.
After this it will be a simple matter to get the data into Labview.
You should now look into the examples with Labview and search for the
parameter 'SERIAL'. This will lead you to an example 'Serial
communication.VI' which is an example of how to send a command to a
serial prot and aquire the results. It also has a timeout which means
you don't end up waiting for ever if the remote device fails to
respond (because it's disconnected or the battery is flat in the
Digimatic device).
The default data rates match those of the MUX so there is almost no
work to do!!
If your feeling brave type the command into the available control and
set the VI running. It should return your data.
Thanks again for your valuable help. The instruction sheet has a list
of command codes that can be sent to the MUX in ASCII format. If you
let me know email address I can post it to you. I'm looking forward to
some Labview "programming" now!!
Regards,
Bharesh
Conseils <x...@no.email> wrote in message news:<50650000000500000060...@exchange.ni.com>...