Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Control Alicat PC through Labview

Hi,

  

MAX says that the COM port is ok, and there is no other program using the COM1 port; however, when I checked the COM1 port with a multimeter, while running a VISA-writing VI, there is no signal. What is it that I am doing wrong?

 

Sorry for asking many silly questions,

Tam

0 Kudos
Message 11 of 26
(3,025 Views)

But I thought you got an error when trying to use the port? If that's the case, what are you expecting to read with the meter?

 

The blocking of the com port is a function of the OS. Something is happening that makes windows think that the port is being used and until that is cleared up, neither Hyperterminal or LabVIEW will be able to use it. Again, all I can suggest is going through the windows services being run. See if there is a modem program running.

0 Kudos
Message 12 of 26
(3,016 Views)

Please tell me what to look for (name, code, or .***,....) I went to task manager. Is it the right place?

0 Kudos
Message 13 of 26
(3,007 Views)

I try the COM port troubleshooting program made by Alicat Scientific. It says "Available ports:1" when the pressure controller is connected to COM1 port. Does this mean the port is not being used by Windows?

0 Kudos
Message 14 of 26
(3,003 Views)
If their program can communicate and you still cannot start Hypertermina, perhaps it's their program that is running in the background or not releasing the port. I would recomend contacting the vendor.
0 Kudos
Message 15 of 26
(2,999 Views)

When using Hyperterminal, if I enable the "detect carrier loss", Hyperterminal gives error "unable to open COM1 port.", otherwise it is connected but no communication. Please tell me what this means.

0 Kudos
Message 16 of 26
(2,983 Views)
Where are you doing this 'Detect Carrier Loss'? That's not an option when you connect to a com port. Are you really trying to connect to a modem in your pc?
0 Kudos
Message 17 of 26
(2,976 Views)

I try to communicate with the device through hyperterminal. The "detect carrier loss" is an option check-box when I create a connection. 

0 Kudos
Message 18 of 26
(2,969 Views)

Not when I create a connection. Post your 'Connect To' screen with the "Connect using' selection box and the screen with the 'detect carrier loss'. A loss of carrier should have no application when you are directly connecting to a com port - only a modem. So, enabling it would be wrong and the error is understandable.

 

 

0 Kudos
Message 19 of 26
(2,966 Views)

What we have here is a failure to communicate šŸ™‚

 

1. Did you buy or make your cable?

2. Have you read the manual? See http://www.alicatscientific.com/documents/manuals/Pressure_Gauge_Controller_Manual.pdf

3. Is the instrument serial port set up to defaults?

 

Here is an excerpt from the manual on using Hyperterminal:

 

Configuring HyperTerminalĀ®:

1. Open your HyperTerminalĀ® RS-232 terminal program (installed under the ā€œAccessoriesā€ menu on

all Microsoft®Windows®operating systems).

2. Select ā€œPropertiesā€ from the file menu.

3. Click on the ā€œConfigureā€ button under the ā€œConnect Toā€ tab. Be sure the program is set for: 19,200

baud (or matches the baud rate selected in the RS-232 communications menu on the gauge) and

an 8-N-1-None (8 Data Bits, No Parity, 1 Stop Bit, and no Flow Control) protocol.

4. Under the ā€œSettingsā€ tab, make sure the Terminal Emulation is set to ANSI or Auto Detect.

5. Click on the ā€œASCII Setupā€ button and be sure the ā€œSend Line Ends with Line Feedsā€ box is not checked

and the ā€œEcho Typed Characters Locallyā€ box and the ā€œAppend Line Feeds to Incoming Linesā€ boxes

are checked. Those settings not mentioned here are normally okay in the default position.

6. Save the settings, close HyperTerminalĀ® and reopen it.

 

Hope this gets us going on the right path.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.ā€
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 20 of 26
(2,956 Views)