ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error using MODBUS Library for LabVIEW

Hi,

 

I am using MODBUS Library for LabVIEW to communicate with a controller. I am trying to read 16 Holding Registers at one go. BUt I am getting following error

 

Code : -1073807298

Description : VISA Write in MB Serial Transmit.vi:10->MB Serial Master Query.vi:9->Untitled 1

 

I have tried changing the Mask Value in VISA Flush I/o Buffer ( found in MB Init.vi ) to different value, but with no effect.

 

I am attaching the png file of vi used.

 

Can anyone suggest me what might be the issue

0 Kudos
Message 1 of 5
(3,937 Views)

Are you using a USB to serial converter?

 

Marco

0 Kudos
Message 2 of 5
(3,925 Views)

Yes, I am using USB to Serial Converter

0 Kudos
Message 3 of 5
(3,922 Views)

Then try giving a look here, could be a starting point:

 

http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Error-1073807298-on-VISA-write/td-p/193177

 

Regards,

Marco

0 Kudos
Message 4 of 5
(3,912 Views)

I would like to mention that I am able to communicate through my Dot Net Software. Do there should be no issue of drivers. But then any more suggestions / solutions are welcomed...

0 Kudos
Message 5 of 5
(3,892 Views)