02-05-2009 09:58 AM
HI.
I have tax file in which first 6 lines are only giving refrence data, then after channel data start colome wise like first colume indicating no.123456...then second colume indicationg Date then third colume indicating time then fouth one indicating channel 1 and then fifth one indicating channel 2.
I tried to build program but it is not working as it should work..can you please help me. i have attached my program and text file.
Thanking you
raj
02-05-2009 10:42 AM
Your problem is that your values are separated with a variable number of delimiters (1..4 spaces). You should probably parse the string with "scan string for tokens", which automatically contracts consecutive delimiters into one.
Another option would be to just edit out the empty array elements, e.g. as in the attached crude modifiation. Modify as needed.
02-06-2009 04:54 AM
HI altenbach,
Thanks for help!!!
Now i have two problem
1) I am giving path to data then pressing load then values are loading, if i stop labview and then run again and then press load then that values comes on screen.
2)I have seprated each 2 channel in tab 1 and tab 2, i wanted to print all data, data from tab1, tab2 individually controllable, i have tried connect it with printer but some how not working.
I have attached that file
Please help me,
Thanks
raj
02-08-2009 10:36 AM
Hi once again,
I have solved problem no.1 that i have mention in previous mail regarding tab control. But still i am not able to print it. Actually i found one event structure but i dont know how to connect my data to that event structure.
I want to seee graph of my string data..Graph of time and channel 1 in tab 1 how can i do that just show me as one example then i will try to do rest of channel.
I have attached last version of my file.
Thanking you,
raj
02-08-2009 12:39 PM
OK, you see to still have some serious misconceptions about dataflow and LabVIEW in general. Having a control/indicator with the same name in a subVI, does not make it share data with the equally named control/indicator of the main VI. You need to send the appropriate control references to the subVI instead.
Having a DBL control as a channel selector makes no sense. Use an integer. And don't convert to I64 for no reason. I doubt you have more than 2^31 channels!
It is silly to have a dial to select the tab and then force the tab state to the correct page. Use the tab control directly instead.
Don't fill controls based on tab state. Fill them all (once!) when the data is read and no further action is required later. No local variables needed.
Your color scheme is just hideous. Red text on dark pink buttons?? 😮
Attached is a quick draft at a cleanup attempt.
02-10-2009 03:06 AM
Thanks,
Actually I am very new in labveiw and trying to do..And for learning only I have bought labview 8.5, when I got frosted from programming then after I started playing with colors and tabs at last it was red alphabet...It was not intention..Sorry if I posted a bad arranged program
02-10-2009 04:31 AM
Hi,
If i want to run labview program on a computer in which there is no labveiw is installed then how can i make this kind of file?
02-10-2009 05:38 AM
Hi,
How can i see time Vs channel output on graph screen?
If i want to run this program on computer in which there is no labveiw then how can i do that?
02-10-2009
08:39 AM
- last edited on
04-18-2025
10:31 AM
by
Content Cleaner
rajaryan1984 wrote:
If i want to run labview program on a computer in which there is no labveiw is installed then how can i make this kind of file?
If you have LabVIEW professional or higher, you would use the application builder to make a standalone executable. (If you only have base or FDS, it can be purchased seperately).
See for example this link.
The computer would need the LabVIEW Runtime engine installed, which is free. It can be included with the installer of downloaded from NI.
02-11-2009 10:21 AM
Hi altenbach,
i have date and time as a string and value of temperature as a string then how can i make graph as x-axis date and time and y axis temp value,
i think some minore convertor is needed which convert stings value to array and then displa as x-axis but i dont know how to do that