Jump to content
News about the LabVIEW Wiki! Read more... ×
Sign in to follow this  
homerjay

completely new to LabView, need help with UDP

Recommended Posts

Hello,

 

i started working with LabView a few days ago and im stuck with my first problem and dont know how to solve it.

i hope somebody can give me a simple solution for my issues.

 

Im using LabView 2012 and try so send a JSON code via UDP to an inverter, in return i should get a set of parameters, instead i just get some errors.

My first question is, can i just put the JSON code into a string and spread it via UDP?

Share this post


Link to post
Share on other sites

Here are some of the free tutorials I suggest:

 

3 Hour Introduction http://www.ni.com/white-paper/5243/en/

6 Hour Introduction http://www.ni.com/white-paper/5241/en/

LabVEW Basics http://www.ni.com/gettingstarted/labviewbasics/

Self Paced training for students http://www.ni.com/academic/students/learn/

Self Paced training beginner to advanced, SSP Required http://sine.ni.com/myni/self-paced-training/app/main.xhtml

LabVIEW Wiki on Training http://labviewwiki.org/LabVIEW_tutorial#External_Links

 

Of course the best training is to work along side those who are experts on all things LabVIEW.  It is also very motivating to know there are others who struggled just like you but became experts over time, and constantly researching newer and better ways of doing things.

Share this post


Link to post
Share on other sites

Yes, you can just insert the JSON string into an UDP sent block. Have a look at the UDP examples (under help) how you could connect to another device via UDP.

 

Without your code and/or error codes it's pretty hard to tell what' s going wrong. (first start, can you ping the device?)

 

 

Ton

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.