Go to Post A big bowl of popcorn and FIRST. It doesn't get much better than that. - Warren Boudreau [more]
Home
Go Back   Chief Delphi > Technical > National Instruments LabVIEW and Data Acquisition
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 24-10-2008, 09:49
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,572
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Tip if you ever want to program network applications in LabVIEW

I can't believe this, but I just made my job A LOT easier. In LabVIEW 8, NI came out with shared variables. These shared variables are network-publishable, meaning you can access the variables over a computer on the same network. I can't believe I didn't find them earlier. Before, you had to flatten a variable down to a string, find the length of the string, send the length of the string over TCP, read it, then make sure you read that number of bytes hoping none of it gets messed up because you have to unflatten that string just to restore it back to the original variable you were sending across.

Shared variables takes ALL of that out (or perhaps does it for you) with datasockets and allows you to keep the original structure of your variables.

Ahhh....that was a nice find.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating mac applications with Labview kamocat NI LabVIEW 2 21-10-2008 21:07
Passwords for LabVIEW Applications Team96 LabView and Data Acquisition 1 18-01-2006 18:51
I want ro learn how to program! RubberDucky Programming 6 28-03-2005 20:42
The best fundraising program ever... Petey Fundraising 2 12-09-2003 19:42
Can you tip another robot to dislodge bins? Randy Ai Rules/Strategy 1 06-01-2003 17:17


All times are GMT -5. The time now is 09:03.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi