From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Placing a string on the queue

Hi. I have been following the example which is called "Continuous Measurement Data Logger". 

From there I have made a Modbus Message Handler, which I have attached here: Labview.PNGModbus Messange Loop.PNG

 

Within that .vi I have two loops, from where I, when the user clicks "Connect" I start my Modbus Master. I would from that point like to start a Watchdog loop, in order to write/read over Modbus the life bits. 

Somehow, the approach of putting the string "StartWD" on the Watchdog queue, returns and error. 

Any clues?

0 Kudos
Message 1 of 5
(1,059 Views)

@ChristianLiinHansen wrote:

..., returns and error.  Any clues?


  • What is the error message?
  • We can't really debug truncated  pictures.
  • Who wrote this code?
0 Kudos
Message 2 of 5
(1,001 Views)

Hi. So the issue is solved 🙂 

0 Kudos
Message 3 of 5
(961 Views)

If the issue is solved, please post a solution for future readers.

0 Kudos
Message 4 of 5
(954 Views)

Yes, I was about to, but was limited as a "new member" 🙂 

Anyway the solution was as followed:
1) From the template "Queued Message Handler", you need to define your new type of queue. So I went in there and added my new time. 

ChristianLiinHansen_0-1625648290161.png

 

Message 5 of 5
(925 Views)