Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Nimodbus examples

Hi all, I'm trying to communicate from a PC to a frequency controller with the Modbus protocol, using a serial port. I use Labview 8.0 (and I'm a beginner!). I tried to run the example from the nimodbus.llb library, connecting two serial ports of the PC, with a null serial cable. One port is the master and the other is the slave. The slave VI and the master VI are running correctly, it doesn't return errors. However, no information circulates between the both ports. Ports are working and the cable too. Anyone could help me? Thanks Elsa
0 Kudos
Message 1 of 5
(3,790 Views)

Hi,

When you try the example, have you start the slave in first, and the master in second ?

Because you need follow this order.

Regards,

Christophe S.
Account Manager East of France І Certified LabVIEW Associate Developer І National Instruments France

0 Kudos
Message 2 of 5
(3,751 Views)
Hi,

Yes, it was in the instruction. It seems to be clear that the both serial port don't see each other, however each port works correctly and the cable too.

Regards,


Elsa
0 Kudos
Message 3 of 5
(3,743 Views)

I think you have configured correctly the two serial port ?

_ Same baud rate

_ Same databits

_ Same parity

_ Same stop bits

And used a crossover cable ?

regards,

Christophe S.
Account Manager East of France І Certified LabVIEW Associate Developer І National Instruments France

0 Kudos
Message 4 of 5
(3,736 Views)
Hi,

I'm really a beginner : I didn't know that I had to use a crossover cable. Thank you very much, now it works.

Elsa
0 Kudos
Message 5 of 5
(3,702 Views)