Jump to content

Need to Read & Write on command prompt


123

Recommended Posts

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.

Link to comment
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. :rolleyes:

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!

  • Like 1
Link to comment

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.