LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Core 1 v2015 Exercise 9-4B and 9-4C

This is what I have so far. I am not sure how to fix the errors

0 Kudos
Message 11 of 16
(1,386 Views)

Need help. Must open a spreadsheet file, convert to an array, and read a column name in that array and then search to find a value in a specified row. This is my work so far, please help I have been working for hours and hours on this and have tried everything that I possibly can and cannot figure it out. Thank you in advance.

0 Kudos
Message 12 of 16
(1,403 Views)

I've taken a look at the Exercises.  Exercise 9 follows a sequence.  First, you do Exercise 9-4A, Write Multiple Channels with Simple Header, which creates a data file for you.  Note that as part of this exercise, you are introduced to the Array to Spreadsheet String function.  Also notice that one of the headers is "UUT Serial Number", which I believe you mentioned in an earlier Post.

 

Exercise 9-4B expands on what you just did in 9-4A.  In particular, it uses the file you just created, but now you need to "invert the logic you used" to create the file to read it and gets selected data elements available to the User.

 

Your code starts with a Write command.  The Exercise wants you to start with a Read command.  Try re-reading Exercise 9-4B (maybe revisit what you did in Exercise 9-4A).  You should be able to make more progress by doing Step 1 correctly.  When you do reply, in addition to attaching your VI for Exercise 9-4B, please also attach the Spreadsheet File that you created in Exercise 9-4A, the file that supplies the data that Exercise 9-4B requires as input.

 

Bob Schor

0 Kudos
Message 13 of 16
(1,368 Views)

@mshask wrote:

Listen, I'm not trying to get answers to assignment or anything, I would just like some help. I'm learning LabVIEW for my first job and I would really appreciate if you didn't ask if I did all these things because I did. I really want to understand it and it's my first week using labview. I am not a professional and I don't appreciate you acting like I'm some kind of incompetent person. I have ADD so it's really hard for me to pay attention and retain information sometimes and interpret some things so I really would just like some help or guidance, even something like which function to use. I have included my attempt for 9-4B, working on 9-4C. What I am not sure about is how/where to search for a UUT serial number? Thanks


To put it bluntly, we wouldn't have known you did all those things if we didn't ask.  The more information you can provide, the more helpful we can be.  We don't like asking questions just about as much as you don't like us asking them.  Sometimes it's like pulling teeth to get an idea of how to help.  It's no fun to be on either side of the pliers.  Sometimes you have to take the hit to make the play, so we ask the questions that aren't meant to offend, but end up doing so anyway.  We know in the long run it helps everyone involved.

 

I know I'm late in replying to this thread, and I've seen now that we have pulled the teeth, we are doing very constructive things.  We have quite an excellent conversation going on now.

 

And if you're learning LabVIEW on the job, you are already a professional.  You don't learn LabVIEW on the job to help you flip hamburgers more efficiently.  😉

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 14 of 16
(1,356 Views)

Hello All,

 

So I'm a little late to this party (Labview noob), I too am having issues with challenge 9-4B. I've attached my code and sample output file that its reading from, for some reason I cant get the search array to work properly, it always spits out -1 as if it didn't find anything. I've created a few indicators to see what the arrays looks like at different stages but cant figure out why its doing this. Any help would be much appreciated 🙂

0 Kudos
Message 15 of 16
(1,177 Views)

the sample data file didn't upload, sorry folks for the double post!

0 Kudos
Message 16 of 16
(1,175 Views)