01-08-2018 10:29 AM
I'm new here so Hi to everyone ! 🙂
I'm new with LabVIew also, so sorry for probably "stupid question".
Could you help me recognite this function with "house" ? From what I found out this function is letting us to choose from every "icon" which was used in blockdigram and then i can use it string representation. I found this blockdigram in old computer and i want to use this "function" in my raport.
Thank you !
01-08-2018 10:33 AM - edited 01-08-2018 10:34 AM
@tomek.ukf wrote:
I'm new here so Hi to everyone ! 🙂
I'm new with LabVIew also, so sorry for probably "stupid question".
Could you help me recognite this function with "house" ? From what I found out this function is letting us to choose from every "icon" which was used in blockdigram and then i can use it string representation. I found this blockdigram in old computer and i want to use this "function" in my raport.
Thank you !
Wow - talk about stumbling out of the starting blocks! Please review the LabVIEW Training resources listed on the main LabVIEW forum page. This is (usually) terrible coding practice, and if you are wondering what that function is, you aren't advanced enough to make use of it in an appropriate way.
Edit:
I'm sorry, that sounded kind of nasty. I didn't mean it to sound so cruel. 😞
01-08-2018 10:37 AM
That is a "Local Variable" they can be found on the Structures palette. But probably should not be used the way you are describing. The naming convention alone gives us clues that the code is not designed in a robust manner with a proper state machine to enforce system state information.
Number to Decimal String will only return the integer portion of the floating point values. Use "Number to Fractional String" instead
01-08-2018 11:39 AM - edited 01-08-2018 11:53 AM
I imagine you have a listbox with custom symbols on the right, but you don't show the corresponding block diagram object. Whenever you have duplicate code elements (number to string, but yes, pick the one that gives you decimal digits), consider using arrays and a for loop.
Where are the actual terminals? can you show us the entire diagram?
01-08-2018 12:05 PM - edited 01-08-2018 12:07 PM
Of course i can but it's my first program and there are a lot of mistakes and bad programing practises. Im builing it to teach myself about labview. My idea is to build mesurment system for EDM(Electrical discharge machine) generator. Now im using Basic signal generator but later i will add signal from measuring card. Thank to your help guys i started to put parameters in raport generation i will add some graphs later.
Here i have just part for voltage measurement i will add part for current later ( it should be almost same )
Sorry for mixing two languages i wasnt prepared for uploading but maybe you will show me some cardinal
defects,mistakes
01-08-2018 12:06 PM
@altenbach wrote:
I imagine you have a listbox with custom symbols on the right,
@ CA. I believe the OP means This House "Glyph".
and is speaking of the Link to... Right Click Menu selector.
01-08-2018 12:24 PM - edited 01-08-2018 12:26 PM
You are probably right jeff. That is certainly a gigantic list of controls/indicators. Seemed large for beginner code. 😮
Here, the "choosing" is at edit time. I thought he wanted to interact at run time.
In any case, whatever he's doing seems all misguided and wrong.
01-09-2018 01:55 PM
Learning on your own can be fun, but some structured learning might help you understand things quicker. At the bottom of this page is a bunch of links to free training. If you have an active SSP or are a student the self-paced training is pretty good. Otherwise there are a few other options.
Unofficial Forum Rules and Guidelines
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord