08-27-2012 05:27 AM - edited 08-27-2012 05:28 AM
Hello friends.
I have a problem.
I uses an Express VI to build a Table.
If you see an example below, it shows a table with precision set at 2.
Now if I want to change the precision, I have to right click, go to properties and do the precision change.
Is there a way to change the precision programatically. I couldnot see any property node for the precision setting.
Can anyone help me ?
PS: I am not very very conversant with Labview yet, so I would like to stick to Express VIs. I know they are not preferred by senior programmers but they are somehow very easy and convenient to use for newbies like me.
Rgds,
Rohit Chawla.
Solved! Go to Solution.
08-27-2012 07:35 AM
No, there is no programmatic way to do that. Express VIs are front-ends to actual VIs. That's what you get for simplicity - limited functionality
08-27-2012 07:57 AM
Not possible in Express VI itself, but you can add your own code between the Express VI and the resulting table. See the attached modified VI to get the idea.
Cheers,
Cerati
08-27-2012 11:06 AM
Thanks Smercurio_fc and Cerati
Cerati's solution worked.
But I was searching for something even simpler.
I agree with Smercurio_fc that we do lose functionality in express VIs.
But then "Laziness" is the mother of all inventions and I somehow invented a lazy method to solve my problem.
I created a case structure with the precision (1-2-3-4) wired to 4 cases and in each case I have a Build Table VI with its own preset precision. But the final Table is common.
So only 1 EVI (out of the 4) will execute and give me the table.
Some day I will also be able to use deeper code like Cerati and other senior LV programmers.
But for now, as James Bond said "I live to die another day" :manlol:
Attached my new VI just in case someone wants to look.
Rgds,
Rohit
08-03-2023 02:45 PM
I came across the same issue. I would think that the developers of Express VI's would anticipate having property node inputs for the things (common, not necessarily all) in the Configuration Dialog. Just my 2 cents!