LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus RTU format for different Parity setttings -VISA

Hello,

I am using MODBUS RTU Protocol to send query using VISA write.vi

format of query is

 

DeviceAddress  Readcommand  Startinglocation  Lengthof locationtoREAD  CRC

 

My Query is going properly & response also comming properly as per my requirement.

 

For above Query Response my communication parameters settings are:

 

Baudrate: 9600

Stop Bit: 1

Parity: None

Data Bits: 8

 

Now i want to send above same query with change of Parity bit with either ODD OR EVEN PARITY.

 

So pl send me the query format for ODD OR EVEN PARITY.

 

vijtin

0 Kudos
Message 1 of 2
(3,021 Views)

I'm not sure what you mean exactly by "query format" for parity.

 

You can set a property node for the VISA reference and read the current parity setting or write a parity setting.

 

The VISA configure serial port VI will change the settings for you as well.  Just make sure you wire up all the connector inputs so that some settings don't get set to a default value unintentionally.  You can even open up that particular VI to see what is going on inside.

 

Message Edited by Ravens Fan on 06-20-2009 03:39 PM
0 Kudos
Message 2 of 2
(3,010 Views)