Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

read serial port at different cpu

Hi..
 
 I am kind of new person in this topic. I have connected one device at cpu A using serial port.I want to run a vi program in order to control and read data from the device at cpu B.
 
How can I access the com port from cpu A at cpu B? I am very appreciate if anyone can give me some example program for my problem. I really need your answers.
 
Thanks.. 
 
 
0 Kudos
Message 1 of 15
(4,762 Views)

Hi,

In MAX you can start the VISA server at CPU B. With MAX at CPU A you can tell which IP address to look for shared resources like the COM port.

 

0 Kudos
Message 2 of 15
(4,754 Views)
Hi KC,
 
Can you explain more on VISA server??..I never heard about and really confused right now..please...
 
Thanks..
 
0 Kudos
Message 3 of 15
(4,751 Views)

Hi,

You can start te VISA server with Measurement Automation Explorer (MAX) With the VISA server you can share resources (like the COM port) that are supported by VISA. Start here

0 Kudos
Message 4 of 15
(4,748 Views)
Hi KC,
 
Thanks for the link. I try to configure the remote NI-VISA . I have MAX in my computer. When I try to follow the setup Tools>>NI-VISA>> VISA Options, there is no pop up menu appeared on the screen.Why this is happen?? How to enable the server?
 
Thanks... 
0 Kudos
Message 5 of 15
(4,740 Views)

If you have VISA installed you should see something like the attached picture. There is where you can start the server. Two lines higher you can select the remote CPU (the one with the server) on the other CPU.

 

0 Kudos
Message 6 of 15
(4,732 Views)
Hi KC,
 
I am using the NI Serial board in my project. So how to install the VISA server in my cpu?
 
Thanks
0 Kudos
Message 7 of 15
(4,717 Views)
 

It should be on the CD's you have or download it here.

It is strange to me that there is no version number behind Labview in your screenshot. What version do you have ?

 

 

0 Kudos
Message 8 of 15
(4,713 Views)
Hi KC,
 
I am using Labview 8.2.1 in Windows 2000...When I go to start >> Program>>National Instrument,  there is a VISA component. But I feel weird why in my MAX there is no VISA? Is it possible that I have incorrectly installed the Labview CD?
0 Kudos
Message 9 of 15
(4,689 Views)
Hi KC,
 
Thank for yor help..It is really help me so much..
 
Thanks again..Smiley Wink
0 Kudos
Message 10 of 15
(4,682 Views)