11-21-2009 08:11 AM
11-21-2009 08:18 AM
11-21-2009 08:18 AM
Please provide some more information. How does the device appear in MAX? Does it show up as a serial port? If so, perhaps you have to send it a command in order for it to send data. If it's a serial port connection, I would recomend that you do your initial communications tests with a program like Hyperterminal.
You should also provide the make and model of the device. If you have an electronic copy of the manual, attach that to your post.
p.s. NI DAQ has nothing to do with your device
11-21-2009 10:25 AM
The device is a digital dial indicator made by B.C. Ames.
It shows up in max as a serial port and I have test the connection with hyperterminal. (It works)
I would like to get the reading to of the indicator to show up in LabView and capture the min and max.
11-21-2009 01:55 PM
Good, you know the serial settings
I'll repeat my earlier question. Do you have to send any command to the instrument before it sends data? What code have you written in LabVIEW and exactly what happens? Any error codes or messages? If so, what are they?
11-23-2009 09:14 AM
Using hyperterminal I have to press a button on the cable connecting the insturment to the computer for it to record a value.
I have not written any code yet for labview. I have only tried to figure out how to get LabView to see the device but have not been able to acomplish that.
11-23-2009 09:28 AM
Richard @ GE wrote:Using hyperterminal I have to press a button on the cable connecting the insturment to the computer for it to record a value.
I have not written any code yet for labview. I have only tried to figure out how to get LabView to see the device but have not been able to acomplish that.
By "record a value" I am interpreting this to mean that you are seeing text appear in HyperTerminal. In this case the reason why you are seeing "stuff" in HyperTerminal but not in MAX is that HyperTerminal is continuously running and spitting out whatever is on the serial port. The MAX test panels don't work that way. If you open the Example Finder and look at the Basic Serial Write and Read VI you will see that the read part of that VI checks to see how many bytes are on the serial port and reads that many. If you put this inside a loop then you will get an equivalent to what HyperTerminal does.