LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to make this reading table urgnetly!!!

Hello,

I am in a situation very complicated.I am doing my final project and founded many doubts,please help me urgently.

I am using labview 5.1 in my university.

I saw a VI in labview 7.1 which it is all i need for my project, but i can' t do this in labview 5.1.I am trying to do this but it is very difficult.

Could you help me??

I am sending a jpeg of this vi.And i am sending the function that causes difficulties for me in labview 5.1

I founded this VI at the labview site . This VI  do a table, fill different values for each cell.

 Thanks a lot and please helpme

 

0 Kudos
Message 1 of 21
(3,857 Views)

Hi,

This is the VI which i need a similar in labview 5.1 or solve may problem in other method.

Thanks!

 

0 Kudos
Message 2 of 21
(3,851 Views)

The VI in the image is pretty bad and might give unpredictable result. Notice that there is no data depedency ...

  1.  ... between the code on the left and the code in the sequence structure. We cannot guarantee that the sequence strucure only executes after the array on the left has been written.
  2.  ... between the N=0 case structure and the FOR loop.

I believe that you should ensure that the sequence does not start until the left code has executed and that the FOR loop only starts after the case has finished. RIght? This entire construct with all these disconnected local variable writes and reads just screams race condition! 😞

The VI you attached contains a single "replace array subset". Is that the function you need? (I vaguely remember that 5.1 might only have "replace array element"). You can easily duplicate the replace array subset behavior by placing the "replace array element" in a loop between shift registers. Is this what you need?

Message Edited by altenbach on 08-28-2005 08:30 PM

0 Kudos
Message 3 of 21
(3,832 Views)
I think you should just tell us what your actual problem is.
 
If you just need to read a file (or string, or array) into a table (or vice versa), there is probably a MUCH simpler solution. The VI in the picture seems way too complicated for such an easy task.
0 Kudos
Message 4 of 21
(3,829 Views)
Hi,
My problem is.
In my program i read 14 channels.
Each channel is a termistor.
I have to rad each the 16 channels each 1 minute .I wanto to save this values,but to save it isn't the problem. I wanto to make a table to save.
In want to put all this values in a table. Te table i am sending in a doc.In 10 minutes, i will have 10 lines.
Each line corresponding time and date for the 14 termistors.
The VI which do this isready in labview 7.1 but i need the same VI in labview 5.1 urgnetly.
Thanks a lot
0 Kudos
Message 5 of 21
(3,806 Views)
Hi,
To complete my email and receive a complete answer i am sending a jpeg of my program.
If not help i could later send the VI,but the vi is too big and has another sub vis.
I tried to do the table but i could'nt write the time and date,and jump line each 1 minute.
Thanks a lot
 
 
0 Kudos
Message 6 of 21
(3,798 Views)
Hi,
If you saw ,i am in hurry and sending many messages.Sorry....
But i am sending again the vi from labview whuch i want to do in labview 5.1. But i want to include time and date like the doc i sent.
Help me please...
Thaks a lot
Rafael
Labview 5.1 - Brasil
0 Kudos
Message 7 of 21
(3,766 Views)
Anybody help me please!
Thanks
Rafael -Brasil
Labview 5.1
0 Kudos
Message 8 of 21
(3,747 Views)
Hi Rafael
 
Use a shift register on your main data acquisition loop, initialise it with the column headings and build up the data inside the loop. Generally it's not a good idea to build an array in this way, but if you only need the program to run for several hours it should OK at this rate. The program loops once a second but only saves to the table every 60 loops.
 
Hope this helps
 
Ian
0 Kudos
Message 9 of 21
(3,724 Views)
Ianw,
First i want to thanks about your help.
I have to read the channels about 8-10 hours continuos.(or less, depend of the time of reading).
As you know i am using labview 5.1 because is the version available at my uninersity.
I tried to do what you said,but i haven't found two functions that you used.The functions are in the case wired with the function table and the function of date and time. Are these functions concatenate ??Exist in labview 5.1???
I need to use in labview 5.1
And the last thing, yes it is necessary data to be array,because i use in my program as you saw in jpeg.
Thanks and continue helping me..
Anybody could help me too,rs  ..please!
Thanks again
Rafael -Brasil
Labview 5.1
0 Kudos
Message 10 of 21
(3,698 Views)