LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programming labview

I'm using LabView for force measurement in metal cutting testing. As a result I get a diagramm showing the forces changing during the test. For my research I need an average values of these forces, now I calculate them manually by viewing and reading diagrams. Could I program LabView to calculate the average values automatically itself?
0 Kudos
Message 1 of 31
(4,440 Views)
The short answer to your question is yes LabVIEW can be programmed to do the average automatically. Since you obviously didn't write the code yourself I would recommend that you get the writer of the original code to make this addition. Depending upon how your data is structured there are multiple approaches to obtaining this value, so it's necessary to see your code to determine the best approach.
0 Kudos
Message 2 of 31
(4,410 Views)
Honestly, i know absolutely nothing about LabView as a programmer, i can only use it the way it is programmed now, so i'd defenately need some help. i am only starting my project, so i am new to it and it seems nobody can help me, even someone who has used this machine and equipment before. if you could tell me what information and where to look (and what is "code":)) i'd really appreciate this.
shortly, i am using labview to read the signals of Kistler dinamometr measuring cutting forces in 3 directions. the cutting process is interrupted, so as a result in labview i get a "wavy" diagram showing the chaniging of 3 forces during the test.
0 Kudos
Message 3 of 31
(4,407 Views)
As I said before, I recommend that you contact the third party who wrote the program to make the change. This should be a rather simple task for them.

If this is impossible then if the program is not an executable you can post it here. It is possible that it has been saved without a block diagram or that it is password protected, in which case you're out of luck unless you can get an unlocked copy or the password.

When I said "code" in my previous post I was referring to the vi, or more specifically the block diagram of the vi. The vi consists of a front panel (which contains the controls and indicators that you see at runtime) and a block diagram in which the controls and indicators are wired together with various functions to achieve what you want to do. The block diagram defines how the program runs and what calculations are performed.

You should be able to view the block diagram by going to the Windows menu on the menu bar and selecting "View Block Diagram"
0 Kudos
Message 4 of 31
(4,401 Views)
Ok, thanks a lot, i'll try to find out who we got the programm from:)
0 Kudos
Message 5 of 31
(4,387 Views)
Hi there again,

right, as i could find out, the program was installed quiet a long time ago, so the secretary doesn't have the invoice anymore and she doesn't know who we got the program from. i found a guy in uni IT service, who installed the software, but he is not able to make any changes. the only paper i have is the calibration certificate signed by Joseph Brochtrup, Test Engineering Manager.
if i check that block diagramm and if it is there, what can i do next to get the change i want?
0 Kudos
Message 6 of 31
(4,353 Views)
If you have access to the source code (the xxx.vi files) then you could attach a copy of the main VI to this message thread, with some more detail - then maybe, if it's not too big a job, someone might advise.
0 Kudos
Message 7 of 31
(4,335 Views)
ok, i'll try to make a copy, because that pc has no internet access, and explain in details what i'd like to change. many thanks!
0 Kudos
Message 8 of 31
(4,329 Views)
Is the program an EXE file or do you run it through LV (.vi or .llb extension)?
If it is an EXE, you will have to find the .vi file. Search your computer\CDs for files with the .vi or .llb extension.
If you found one, try opening it in LV (assuming you have LV installed) and click Window>>Show Block Diagram.
If you have the block diagram, or if you found the .vi\.llb file, tell us how many you found and we can try to determine which is the correct one, so you can post it here.
If you only have the EXE, then you're out of luck, because you must have the code in order to modify it.

___________________
Try to take over the world!
0 Kudos
Message 9 of 31
(4,328 Views)
right, ok, will try to find it today...
0 Kudos
Message 10 of 31
(4,325 Views)