Programming in C++

Applications, development tools, FPGA, C, WEB
Post Reply
Posts: 2
Joined: Thu Jan 03, 2019 4:29 pm

Programming in C++

Post by BecauseIHaveTo » Sun Jan 06, 2019 4:35 pm

I'm trying to programm via C++. My plan was to use the SCPI commands and send them via TCP to the RP. In order to build a socket I use the SFML Library. Now I got some problems with my Project:
  • When I start the SCPI Server on my Browser, it shows an different IP-Address then the one I used to connect to my RP. Which one is now the right own for the SCPI commands?
  • Do I just need to send the SCPI commands to the RP or is there any other step necessary? At the moment I open a TCP connection and use the rp.h Headerfile to access the commands. I store the in an packet and sent them. Is anything wrong with this methode.
I've read several times now that the communication with SCPI commands can become realy tricky so I wanted to take a look at the visual programming. But everytime I want to start the Server vor Visual Programming, the website freezes and nothing happens. I've already update the OS but this didn't change anything. :?
Thanks for your help in advance :)

Site Admin
Posts: 237
Joined: Wed Mar 26, 2014 7:04 pm

Re: Programming in C++

Post by redpitaya » Tue Jan 08, 2019 9:27 pm

you are right, you should see the same IP address for connecting to RP and reported after starting the server.
Is your RP behind a router or other networking device? How are you connected to it?

By the way, I hope you know that it is not possible to run SCPI commands/programs in parallel with web applications.

Also, until next time, did you researched this page: ... I%20Server

Or, also this developers guide for serial commands: ... I%20Server

Did you try to start the server manually? from cli ... r-manually

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 7 guests