Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Max doesn't add cp2102 device

Solved!
Go to solution

Hi,

 

 

I want comunicate with my microcontroller AT90s2313, i create a block diagram but doesn't work. I've some question

 

1) The CP2102 must be add in Measurement & Automation tool?

 

2) Is block diagram good?

 

P.S for example i want send the char '1' via serial by USB to UART converter and i use LABVIEW 2010

 

best regards 

0 Kudos
Message 1 of 16
(5,136 Views)

Hello bombernigno,

 

When do you say that it does not work, what happens exactly? Do you have an error? You do not receive the desired result?

Have you tried to execute the Basic Serial Write and Read.vi that you can find under the Examples?

Antonios
0 Kudos
Message 2 of 16
(5,117 Views)

Hi,

 the error is "Property Node (arg 1) in VISA Configure Serial Port (Instr).vi->R_W_seriale.vi" when i run it; do you have some idea?

 

I think that problem is in the port configuration, becouse i don't have any device in MAX, share?

0 Kudos
Message 3 of 16
(5,108 Views)

Either include the entire error message or provide the error code.

 

When you plug it in, if you don't see a new com port in windows device manager and in MAX, then you cannot use VISA.

0 Kudos
Message 4 of 16
(5,101 Views)

Ok, I see the device in window manager but i don't see in MAX!! 

0 Kudos
Message 5 of 16
(5,097 Views)

Why should MAX see the device? It already shows the port.

Serial instruments don't have a standard identification command so MAX is not able to check for the device.

In GPIB there is such a command *IDN? but even there some instruments don't have that command and either send nothing, an errormsg or other info like a reading.

greetings from the Netherlands
0 Kudos
Message 6 of 16
(5,091 Views)

Why should MAX see the device? It already shows the port.

Serial instruments don't have a standard identification command so MAX is not able to check for the device.

In GPIB there is such a command *IDN? but even there some instruments don't have that command and either send nothing, an errormsg or other info like a reading.

greetings from the Netherlands
0 Kudos
Message 7 of 16
(5,091 Views)
Solution
Accepted by topic author bombernigno

Do you have the CP210x drivers installed?

 

CP2102 will show up in MAX as a COM port. 

It will show up in Device Manager as a COM port under "Ports" as well.

 

I have a device using a CP2102 that echoes commands sent to it, used for error rate testing.  Works fine with the code...

 

 

 

Download All
Message 8 of 16
(5,088 Views)

Code sends a "1", remote device echoes it, VISA Serial reads in the reply.

 

 

Download All
Message 9 of 16
(5,085 Views)

Very good reply!! But I don't see any device in MAX should I reinstall LabView?

 


0 Kudos
Message 10 of 16
(5,074 Views)