123 Posted October 4, 2016 Report Share Posted October 4, 2016 I have to develop one application to communicate with my hardware. I am running my C program code through command prompt and I have to read the data from command prompt at the same time when command prompt is running. Also I want to write on command prompt. I want to execute read & write function simultaneously. I tried one example for this (http://forums.ni.com/t5/LabVIEW/URGENT-How-we-read-stdout-directly/m-p/802382?view=by_date_ascending), but it’s not working properly for my purpose (due to copy paste concept used in it) It would be great if I get any help from anyone. Quote Link to comment
ShaunR Posted October 4, 2016 Report Share Posted October 4, 2016 Many people use Rolfs oglib_pipe but the real solution is to come into the 21st century and stop writing CLIs. 1 Quote Link to comment
123 Posted October 4, 2016 Author Report Share Posted October 4, 2016 I tried oglib_pipe but not able to read the written data on command prompt. Quote Link to comment
ShaunR Posted October 4, 2016 Report Share Posted October 4, 2016 (edited) Maybe you should post your code so we can see the issue. Ping Example.vi Edited October 4, 2016 by ShaunR Quote Link to comment
smithd Posted October 4, 2016 Report Share Posted October 4, 2016 4 hours ago, ShaunR said: Many people use Rolfs oglib_pipe but the real solution is to come into the 21st century and stop writing CLIs. Careful, if you don't use a CLI you have to come up with your own new, custom solution to making your code hard to use and your features undiscoverable. Stop reinventing the wheel people! 1 Quote Link to comment
ShaunR Posted October 4, 2016 Report Share Posted October 4, 2016 1 hour ago, smithd said: Careful, if you don't use a CLI you have to come up with your own new, custom solution to making your code hard to use and your features undiscoverable. Ahh. That explains LVPOOP. Quote Link to comment
CraigC Posted October 10, 2016 Report Share Posted October 10, 2016 Pre LVOOP - LabVIEW is "Programming for Engineers and Scientists" Post LVOOP - LabVIEW is "Programming for people with Computer Science Degrees" Not that I am a bitter vet or anything. hehe Quote Link to comment
Neil Pate Posted October 10, 2016 Report Share Posted October 10, 2016 Craig, it's not like they took features out of LabVIEW when they introduced LVOOP did they? Quote Link to comment
CraigC Posted October 10, 2016 Report Share Posted October 10, 2016 (edited) Nope, I actuallly use LVOOP. Still dont like it though. Just being facetious :). Edited October 10, 2016 by CraigC 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.