Jump to content

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?

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.

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

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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