From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-26-2012 04:23 PM
Hello,
I would to know how is it possible to import data from txt file into columns if i have lines like V=0.1 mL; pH=1.4019;
Thanks in advance!
Solved! Go to Solution.
09-26-2012 04:26 PM
Start with the Examples that are included with LabVIEW.
09-27-2012 04:27 AM
The function "Read From Spreadsheet File" on the File I/O pallette would be a good place to start.
Good luck!
09-27-2012 09:18 AM
Could anyone write me a sample program how to import this data into a table and perform math operations on them, please
I would appreciate it
09-27-2012 09:23 AM
Sure, how much are you willing to pay per hour?
Did you even try anything yourself? Looking at the examples or looking at the file/string functions?
09-27-2012 09:27 AM
yep i tried, but the problem is, that i couldn't manage how to import data into the table, because it has numbers and string, the best i've got is just two numbers and thats all..
🙂
09-27-2012 09:35 AM
Obviously if you want to do math you're going to have to use numeric data types.
The strings seem to be always the same, do you really need them? If so you could create 2 arrays, one with descriptors (strings) and a second one with the numbers (DBL).
Have a look at the scan from string or scan from file functions. These can handle strings and numbers.
09-27-2012 09:36 AM - edited 09-27-2012 09:41 AM
start with NI LabVIEW 101...
then look at the "string" and "string/number conversion" pallet, ultimately it all has to be converted to a string file..
09-28-2012 07:16 AM
Thanks guys, that was very helpful!
Is it possible to multiply number by 10 to the third power?
09-28-2012 07:19 AM
Senobim wrote:
Is it possible to multiply number by 10 to the third power?
Multiply by 1000? Look in the numeric palette and you will see a quite obvious multiply node.