Re: Capturing STOUT/STDERR from C DLLs
scorn001 wrote:Also, Console.Write does work and produces output in the Read loop.So this must mean Console.Write uses another StdOut then the printf in the dll?
View ArticleRe: Capturing STOUT/STDERR from C DLLs
rolfk wrote:wiebe@CARYA wrote:The dll fails to load: LabVIEW: Failed to load dynamic library because of missing external symbols or dependencies, or because of an invalid file format.You don't have...
View ArticleRe: Capturing STOUT/STDERR from C DLLs
BTW. I checked Console.Write with an AllocConsole (use FreeConsole to remove this window). Using Console.Write does output to this console. (You do need a restart if you redirected the StdOut.). Can...
View ArticleRe: Critique my loop to send a text file, line by line or en masse?
Critiquing in general, I'd say that you need to learn dataflow basics. From a cursory look at your block diagram, I'd say all of your sequence structures could be eliminated with a proper...
View ArticleRe: Capturing STOUT/STDERR from C DLLs
wiebe@CARYA wrote:scorn001 wrote:Also, Console.Write does work and produces output in the Read loop.So this must mean Console.Write uses another StdOut then the printf in the dll?Absolutely! That are...
View ArticleRe: Use the PXI-4071 DMM's Digitizer to collect discharge voltage
Have you downloaded and installed the NI-DMM driver? They are included with the driver, as well as the Fetch & Graph Waveform.vi example shown in the previous screenshot. NI-DMM driver...
View ArticleUpdating Malleable VIs
I have been using a Malleable VI in an FPGA Project I have for some time now. I recently discovered a way to achieve the same functionality with reduced resource utilisation. If I update the *.vim...
View ArticleRe: Capturing STOUT/STDERR from C DLLs
I thought "A DLL doesn't have a stdin/stdout/stderr in itself. it inherits the stdin/stdout/stderr of whatever process the DLL is called from. ". So shouldn't Console.Write in LV output to the same...
View ArticleRe: Capturing STOUT/STDERR from C DLLs
This seems to be happening:https://stackoverflow.com/questions/17323299/redirect-stdout-from-loaded-dllNo solution...
View ArticleRe: Projectile motion
I don't have the Matlab Toolkit, so I can't run your code.Maybe you have to convert from degree to radians before feeding it into the sinus or cosinus function? I hastly translated your script in plain...
View ArticleRe: Jumping Mouse in LabVIEW with Laptop
We have also seen this behavior on Dell Latitude E7470s. Both my laptop and a coworkers exhibit this behavior and they were fresh laptops with fresh installs of Labview 2014 and Windows 7. I've tried...
View ArticleRe: Projectile motion
You're on the right track. I made the changes directly in the MATLAB node and while not familiar with the expressions used, produces a reasonable trace. With such simple functions, the Mathscript node...
View ArticleRe: Capturing STOUT/STDERR from C DLLs
Again, very good information. Thank you rolfk. So it sounds like maybe I will need to build the dll with the redirect code built in using a wrapper maybe.
View Articlepurchased educational version but only get option to download trial version...
I purchased the full version of Labview. Have receipt and under downloads there is a link. But it takes me to a screen with only two options: "download trial development system" which it wouldn't...
View ArticleRe: Capturing STOUT/STDERR from C DLLs
I think the DLL itself can redirect it's outputs (to a named pipe). So I think you could make a function that set's up the redirection. Then, the rest of the dll could stay the same?
View ArticleRe: Capturing STOUT/STDERR from C DLLs
wiebe@CARYA wrote:I thought "A DLL doesn't have a stdin/stdout/stderr in itself. it inherits the stdin/stdout/stderr of whatever process the DLL is called from. ". So shouldn't Console.Write in LV...
View ArticleRe: Capturing STOUT/STDERR from C DLLs
wiebe@CARYA wrote:I think the DLL itself can redirect it's outputs (to a named pipe). So I think you could make a function that set's up the redirection. Then, the rest of the dll could stay the...
View ArticleRe: i2c on myRIO-1900
I had similar problem at using I2C LCD module(ACM1602), but solved. by connecting 'True' into 'Keep bus BUSY' at low-level function 'Write.vi'
View ArticleRe: purchased educational version but only get option to download trial...
Similar to other versions, you should be able to download, install with your serial number (or by logging into your NI.com account) and have the version you paid for.
View ArticleRe: purchased educational version but only get option to download trial...
You probably did not get ripped off if you bought it through NI or another reputable source. The trial version will be the exact same as the real version, except it expires after some time. So once you...
View Article