LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending and getting parameters through http protocol between cRIO and force torque sensor via ethernet

Hello all,

During my eternal quest being an aprendice labview developer, I came across this problem: I'm currently working on interfacing a cIO 9025 and a force/torque sensor (NetBOX module) from ATI automation over ethernet port. Until now, I'm able to read the force and torque measurement data through an UDP communication port that I established. The sensor module provides a webpage with various information about the sensor, accessed via HTTP protocol. According to the sensor's manual, it is also possible to send parameters to it (raw data transfer rate, calibration file, etc) via HTTP protocol, using XML elements. However, when I try to access the page to read the elements or to send something, a (Protocol not recognized by LabVIEW) error is returned.

I read somewhere that it is not possible to work with the HTTP protocol using the real-time controller, is this true? Is there any way to receive and send data to a web page through ethernet using the real-time controller?

Thanks in advance.

Regards,

Renato Giovanini
Product Engineer
AVIBRAS Aerospace
0 Kudos
Message 1 of 3
(2,765 Views)

Hi rgiovanini.

It is possible to work with HTTP protocol using a Real-Time Controller and you can do that using ethernet.

Have you used the HTTP REST Client Add-on? I believe it can help you to stablish that connection. You can download it here.

Can you tell me more about your sensor and the application you’re developing? I might be able to help you better then.

 

Best regards,

Lígia T. Ferreira
Technical Support Engineer
National Instruments Brazil

0 Kudos
Message 2 of 3
(2,735 Views)

Hello Lígia. Thanks for the response.

Regarding the application I've been working on, we are currently developing a system to acquire/send data to a F/T sensor over Ethernet port with cRIO. The sensor module publishes the acquired force and torque values (and also sensor data parameters) in a webpage, that we have to access through HTTP protocol. I was trying to use DataSocket API to achieve this, without success, getting the error message: "error 1181 occured at datasocket open: Protocol not recognized by LabVIEW".

Based on this topic), DataSocket applications in RT targets does not include the HTTP protocol. Now I am trying to get this without DataSocket, using HTTP Client instead.

Regards,

Renato Giovanini
Product Engineer
AVIBRAS Aerospace
0 Kudos
Message 3 of 3
(2,706 Views)