LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting Omega CYC3200 to labview via Instrument I/O Assistant

I'm trying to connect an Omega CYC3200 to labview using the Instrument I/O Assistant interface and a serial cable. However, for reasons unknown to me, it can't connect. I've entered all the right interface parameters, and everything else seems fine. When I try to validate it in "Edit Visa Resource Settings," it seems to have no problem (however, strangely, even if I try validating the unused com3 port, that works fine, too). But when I try to query and parse by sending the command "*IDN?" as a test, it times out. Does anyone know how I can fix this problem, or go about troubleshooting it?

One more thing: I can't figure out which termination character I'm supposed to use. The device's manual says "CR (0DH) LF (0AH)." What should I enter in labview?

Regards,
Danny
0 Kudos
Message 1 of 7
(3,218 Views)

Are you even sure that the instrument supports the *IDN? command? Is it listed in the manual?

The \ code equivalent of CR is \r and the \ code for Lf is \n. You can determine things like this yourself. Create a String control and right click on it and select Hex Display. Enter a hex value (i.e. 0A) and then right click and select '\' Codes Display.

0 Kudos
Message 2 of 7
(3,217 Views)
Yes, "*IDN?" is in the manual. I originally tried using \r\n as the termination character, but it apparently only accepts one character. Please bear with me--I don't have too much background information as I'm working in labview as a summer internship, and I'm learing all of this as I go.
0 Kudos
Message 3 of 7
(3,214 Views)
The Instrument I/O Assistant (the latest version anyway), allows for mutliple characters. You just have to select custom. Have you been able to successfully talk to the instrument with a program like Hyperterminal? I always recomend that as a first step. If that works, then you know the com settings are right and the you are using the correct type of serial cable.
0 Kudos
Message 4 of 7
(3,207 Views)
No, I haven't. How could I go about doing that? Are there any good resources on the internet you can point me to?
0 Kudos
Message 5 of 7
(3,203 Views)
You could try googling Hyperterminal. It's a terminal emulation program that has shipped with windows just about forever. It's found under Accessories>Communications. there should be something about it in Windows Help
0 Kudos
Message 6 of 7
(3,198 Views)
Edit: Nevermind, this post was irrelevant.

Message Edited by unclefeezus on 08-01-2007 05:54 PM

0 Kudos
Message 7 of 7
(3,195 Views)