Instrument Control (GPIB, Serial, VISA, IVI)

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

Max doesn't add cp2102 device

Solved!
Go to solution

Max doesn't add cp2102 device

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
(2,003 Views)

Re: Max doesn't add cp2102 device

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
(1,984 Views)
Highlighted

Re: Max doesn't add cp2102 device

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
(1,975 Views)

Re: Max doesn't add cp2102 device

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
(1,968 Views)

Re: Max doesn't add cp2102 device

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

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

Re: Max doesn't add cp2102 device

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
(1,958 Views)

Re: Max doesn't add cp2102 device

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
(1,958 Views)
Solution
Accepted by topic author bombernigno
08-27-2015 04:09 PM

Re: Max doesn't add cp2102 device

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...

 

 

 

Message 8 of 16
(1,955 Views)

Re: Max doesn't add cp2102 device

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

 

 

Message 9 of 16
(1,952 Views)

Re: Max doesn't add cp2102 device

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

 


0 Kudos
Message 10 of 16
(1,941 Views)