LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array

Hi
 
Plz check out the attachment program. I this when i store the values to the excel file from an array the last value of each row is 0.00 i.e., the value I hv initilized to the array. But here I hv one one value to pass so I dont knw wht 2 do. So plz help me.
 
And also when I sacve this program i am getting a msg as "Insane Object at BDHP+4B6C in "monitoring t1 and p1.vi":{graphics} (0x80) : ainsDCO)".
 
thanks
0 Kudos
Message 1 of 5
(3,389 Views)

Basically you generate the value 0 on your own. If you want to have one single value, you have to use the "Index Array"-function.

Additionally you could make your vi much easier and better readable.

1. You have two constants placed in the diagram twice (2.5641 and 16.59). You could delete one set and wire the others instead.

2. The dataflow of the control Advaise Rate is from right to left. The convention is to have the dataflow from top left to bottom right. So place this control on the left side of the wait function

3. You extract the seconds value using different timefunction, although you just have to set the parameter "want seconds" of the "Get Date/Time String" with a true constant.

About the error: If you do not have an older safety copy, you probably have to make the vi again. Additional information could be found in the forum if you search for insane object.

Hope this helps.

Message Edited by becktho on 06-29-2007 11:18 AM

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 2 of 5
(3,384 Views)
When I opened the code, I saw a weird graphic anomaly near the middle of the block diagram on an Insert into Array function.  Perhaps this is related to the insane object error.  I would try deleting that and replacing it.
 

 

Message Edited by Ravens Fan on 07-01-2007 12:08 AM

0 Kudos
Message 3 of 5
(3,340 Views)


@becktho wrote:

...
3. You extract the seconds value using different timefunction, although you just have to set the parameter "want seconds" of the "Get Date/Time String" with a true constant.
...


And IF you really need that funny time format with multiple spaces and the word "Sec", for example, you can still do it in one simple step.

Top is your isolated "Rube Goldberg" version and below an alternative that gives the exact same result. 🙂

Message Edited by altenbach on 07-01-2007 01:09 AM

0 Kudos
Message 4 of 5
(3,327 Views)


@sujeep wrote:
Plz check out the attachment program. I this when i store the values to the excel file from an array the last value of each row is 0.00 i.e., the value I hv initilized to the array. But here I hv one one value to pass so I dont knw wht 2 do. So plz help me.

I think there is something wrong with your keyboard, because certain letters don't seem to work. This makes your description nearly incomprehensible. Could you try a different computer and repost?

If the pressure array only has one element, set the cluster size to "1" for array to cluster. (and don't append a zero to the array unless you want it there)

Many other things are wrong with your VI, maybe you can have a look at the attached image for some ideas on how to improve. For any chart, you can show a digital display (right-click..visible item...digital display), so you don't need these extra array indocators. Sorry, I don't have your drivers installed, so the missing VIs show up as "?".


Message Edited by altenbach on 07-01-2007 01:43 AM

Message 5 of 5
(3,324 Views)