LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW WebServer POST method

Solved!
Go to solution

Hi,

PLEASE HELP!

I am currently working with AWS SNS to send real-time data to a LabVIEW application. AWS SNS sends data via POST HTTP.

I am able to get the data by creating a web server with a POST HTTP method VI but I'm having difficulty in sending this data to my Main VI from the LabVIEW web server.

 

 

What would be the best way to do this? Currently I'm storing my data to a txt file and calling it from my Main VI but this is very inefficient and has delays. 

 

Hoping for your comments.

0 Kudos
Message 1 of 4
(1,315 Views)

Hi, I want to confirm some details first.

  1. Would you mind share your .VI file at here? 
  2. Is it the Main VI access the labview web server with IP address (URL) or other method? 
  3. I got find something for your troubleshooting : Tutorial: Creating and Accessing a LabVIEW Web Service (Real-Time, Windows) - LabVIEW Help - Nationa...

If you face any difficulties during troubleshoot, we can discuss for the next step at here. 

0 Kudos
Message 2 of 4
(1,245 Views)

What does your "Main VI" do? Can it be integrated directly into the web-service?

How much data are you trying to pass?

Are the web-server and the main VI part of different application spaces? Are they EXEs or in the development environment?


GCentral
0 Kudos
Message 3 of 4
(1,236 Views)
Solution
Accepted by topic author TingKy

Thank you all for your responses. I found a solution for my problem. I used Shared Variables or Queue Operations to transmit data from my Web Server VIs to my main VI.

0 Kudos
Message 4 of 4
(1,216 Views)