LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Newbie needs help, Plz

I am new to lab and I have a little problem. We already have a VI is supposed to collect data from a spectra and dumps it on the server as a txt file. Unfortunately, this process takes time because you have to give the Input directory to the VI and specify the output directory. and then, to analyze it, I have to load those values into Matlab. It's a lng process to my standard. SO I was wondering if there is a way to write a C/C++ code to compile the whole thing so that I wil not need to write the I/O path names and  i could be done in one click? Please let me know if you have an idea.
0 Kudos
Message 1 of 4
(2,744 Views)
You can easily program any default paths into your LabVIEW code, or read them from an ini file. There is no need to jump through any flaming hoops.
 
Properly written, a VI can do anything you want with one single click! 😄 (or even without any clicks at all! 🐵
 
(You could probably leave Matlab out of it and do the analysis directly in LabVIEW code. If you have LabVIEW 8.0, you could even re-use some of your matlab code using mathscript, but it might be equally easy using wires only.)
0 Kudos
Message 2 of 4
(2,742 Views)
Thank you Altenbach,
 
I have another question. Let say that I ave 6 channels for testing and I have the VI to do I/O for the each channel. However, depending on the testing period, it sometimes takes a long time. So, how can I automate the process. Let say for channel 1, it gets the defaulted I/O paths and moves onto Channel 2 once channel 1 is done without me being there to do it manually? Thank you in advance.
0 Kudos
Message 3 of 4
(2,719 Views)
Duplicate post. See here.
Jarrod S.
National Instruments
0 Kudos
Message 4 of 4
(2,669 Views)