Search the Community
Showing results for tags 'programmatically'.
Found 4 results
Calling a bash script on RT target programmatically
Sam Dexter posted a topic in Real-TimeThe task is simple - call Florence virtual keyboard on a CompactRIO programmatically but I must be overlooking something as I cannot get it to work... I have Florence installed with opkg and I also made a little bash script to call it. When I execute it from CompactRIO terminal - everything works but if I try to call the script from my application using SytemExec VI - I get the echo output from my script and the error code is 0 but the virtual keyboard does not start. Seems like a trivial problem but I am stuck here... Can someone explain to me what I've done wrong here and/or, maybe, suggest a better way of doing it, please?
I need to read the installer version number (not the exe version number) programmatically. Is there any way? I have a bundled software which has multiple EXE's under one installer. Commonly I use the installer version number for reference and want to show it up to the user. Is there any way to get the installer's version number instead of executable's version number? --Ajay.
How to insert an invoke node to a Flat Sequence
spaghetti_developer posted a topic in VI ScriptingHi guys, It's long time that I don't ask you an help, but this matter starts to make me crazy. By the scripting I can create a flat sequence on the BD, I'm able to create an invoke node (FP.Close) and I can insert into the flat sequence that invoke node but, I'm not able to wire the sequence to one button just to give a flow to the diagram. Can anyone help me? Thank you in advance.
How to programmatically get the formula node content
maxprs posted a topic in LabVIEW GeneralHi guys, new to LAVA forum, this is my first post here. I'm a long time LabVIEW user, and I'm stuck with a problem... so I thought maybe some one here could help me. There is a formula node in my application (more than one, but let's find the solution for one), and the developer can change the formula depending on how it want to customize the application. What I need to do is to show the content of the formula node to the user, so he knows exactly what's the formula in use at the moment. This must work on the deployed application, so with the run time engine. Infact the developer build the application after the customization of the formula. I have tried the following: 1) I put the formula node in a separate VI, in order to capture the block diagram image and then show that image to the user. I've used the BD.Get Image Scaled method, but it's clearly written in the help that id doesn't work with the run time engine. 2) Using the report generation toolkit I can call the Append VI Block Diagram to Report to an HTML report. I can't find in the help if it is supposed to work in run time engine, but I've had bad experiences in the past with that tool. And it doesn't seem to work. 3) I've tried a different approach using the labview scripting. I'm able to open the object reference to the formula node and then to load its content in a string with the property Formula Expression. But once the application is built it doesn't work, even if I'm not creating any code with the scripting, just reading. In the end I don't care if the formula is captured on an image rather than a string, or whatever... but it must be what is written in the formula node inside the executable. Just wonder if I've used the above methods in a wrong way, or if there is a different way to do it. Thanks Max