Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

serial device detection problem

Hello

 

I want to measure temperature using a thermocouple type Superlogic 8018 with labview8.5.1. For this I use a converter RS232-RS485 Superlogic type 8520. The problem, I don't detect my equipment with MAX (devices and interfaces) then I tried ''open a VISA test panel'' but in the tab ''vrWrite'' the return status reply: BFFF0015 (in red). I installed the drivers and checked all connections.

Best regards

jt

0 Kudos
Message 1 of 9
(4,730 Views)

Hello,


For that you need a specific drivers within LabVIEW because some instruments need a different way to communicate, the good news is that superlogics has one!

http://www.superlogics.com/downloads.asp?prod=787

 

Enjoy,

Nacer

Nacer M. | Certified LabVIEW Architecte

0 Kudos
Message 2 of 9
(4,700 Views)

Hi Nacer,

I already download this driver but it doesn't work with LabVIEW 8, so I contacted superlogics and they sent me compatible one. I don't think it's a driver problem, I have the drivers in the panel (Instrument drivers). The problem is with  MAX, I don't detect my devices but when I use an other software, I detected the devices.

 

Best regards

jt

0 Kudos
Message 3 of 9
(4,694 Views)

Hello,

 

For serial product, you will not able to see in the product within max, you will just be able to communicate with it, but each instrument has his own protocol, some instruments need ascii , or hexadecimal or others.
Only the constructor know the right protocol.
After if you are sure about it, maybe you can verify, your serial communication.

According to this documentation you can try to do a loopback test in max in order to see if the communication work well or not :

http://zone.ni.com/devzone/cda/tut/p/id/3450

 

Regards,

Nacer M. | Certified LabVIEW Architecte

Message 4 of 9
(4,692 Views)

Hi Nacer,

You got right about the communication protocol of the instrument. I tried the loopback test in max but it doesn't works. I asked superlogics the company who provided the devices about the protocol and they said it's using ascii, but they don't know how to deal with labVIEW. My problem now is I can't get data from the devices. I sure it's not a problem of connexion, because when I use "8000 Utility" a software provided by superlogics the computer detect the devices even with an other port. So with LabVIEW I made a small program to ask the ID of the device but I don't get any response. I don't know if the devices don't get the message or if the devices don't send it.
Do you have an idea about the problem?

Regards

jt

0 Kudos
Message 5 of 9
(4,623 Views)

maybe you can post your small program and maybe someone sees the solution.

greetings from the Netherlands
0 Kudos
Message 6 of 9
(4,604 Views)

Hi all,

As you can see in the program, I ask the ID of the devices but I get no response.

Regards

jt

0 Kudos
Message 7 of 9
(4,573 Views)

Hi

 

Your device simulates a serial interface and you don't set any serial interface parameters.

The default parameters are (as far as I remember) 9600 baud no handshake 8 bits no parity.

 

If your device has other parameters it will fail to communicate.

In your test program insert "visa configure serial port.vi" before the first visa write.

use the search feature of labview to find this vi.

greetings from the Netherlands
0 Kudos
Message 8 of 9
(4,560 Views)

 


@moitoi wrote:

Hi all,

As you can see in the program, I ask the ID of the devices but I get no response.

Regards

jt


Where in the manual do you see listed the *IDN? command? I don't see it all. You just can't send whatever you want. When you send a valid query, add the required termination character. Even if the insteument did support the *IDN?, you did not terminate so it would not have been recognized.

 

0 Kudos
Message 9 of 9
(4,539 Views)