Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69585

How to wait for holding register to be changed using NI Modbus Library

$
0
0

I'm using Labview Modbus Library downloaded from : http://www.ni.com/example/29756/en/

 

I have PLC Siemens S7-1200 communicating with Labview using holding registers. Each of holding registers represents a signal. That Labview reads of writes into PLC.

 

When trying to call class VIs from NI Teststand it reports an error that VIs should be called ass Class Members and that dynamic dispatching is not allowed...

 

If I want to wait for specific holding registers inside of a PLC I have to write a Labview vi (while loop and inside of it a function that reads holding register). 

Is there any other VI of a way to use class members function that waits for holding register for a specific period of time?

 

 


Viewing all articles
Browse latest Browse all 69585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>