08-25-2016 11:00 AM
@MarkGreally wrote:
With regards to kernell32 and call library function is there any documentation or examples on how to interact with labview?
Read the comments to your other thread about this particular function. The documentation to kernel32 is on MSDN. The magic is to know enough C to make sense of that documentation. And then a little how to translate that into LabVIEW datatypes, but without any good C programming knowledge you are basically trying to do the same as if you were trying to build a house with no according education at all.
08-25-2016 11:31 AM
I have gone with Sam's suggestion of using .net as it seems a bit more straight forward and will give me direct access to the console from within Labview. I have it almost working except for one thing. The console window requires text and then a carriage return. This will not work when I put the text followed by a CR. The both work as expected independantly but cannot do them both at the same time. Any ideas why this may be??
Mark.
08-31-2016 08:57 AM
09-02-2016 03:16 AM
It turns out it was adding the CR and sending ccorrectly. I tried with some basic scripts and worked fine. The problem I have noticed is that if the scripts have delays or require user input they dont work in Labview for some reason. I just have a continuous stream an capture appropriately in Labview.
09-02-2016 03:59 AM