LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview

 

 

Hi,

 

I am sending one image of the one alternative that i am thinking for my solution but i can't find one block in this image. Could you please tell me the block whose output is fed to bund le and whose inputs are from random number and shift register.

0 Kudos
Message 11 of 19
(1,616 Views)

That is the Build Array function.  It is set for Concatenate Inputs.  It concatenates the scalar value to the end of the array.

0 Kudos
Message 12 of 19
(1,612 Views)
I have tried build array function to concatenate inputs but after building array for x and y axis i am giving them to bundle. but bundle output doesn't connect with waveform graph. Now what to do to show graph??
0 Kudos
Message 13 of 19
(1,590 Views)
Well, you've done something wrong with either the Build Array or Bundle function. Attaching an image of a VI that works does not really help solve your problem. You have not done something in the same way so you should post what you have done.
0 Kudos
Message 14 of 19
(1,584 Views)
Ok. I am sending vi that conains terrors.  Upto build array it's working good but after that when i connect the build array to shift register, it's get error and bundle output also doesn't connected with waveform graph. Please check it out.
0 Kudos
Message 15 of 19
(1,560 Views)

Your VI makes no sense.  It looks nothing like the image you posted in reply 11.

 

Your while loop will only execute once because you have a True boolean wired to the stop condition.  The whole VI only executes once because you have no other loop around it.

 

In the image in reply 11, you fed an array into your shift register.  In this VI, you fed in a scalar, so you wind up with a 2 element 1-D array.  You can't feed that into the shift register because you already set it up to be a scalar.

 

Perhaps the large case structure should be in that while loop as well?  And the True constant to stop the while loop should be a control? And you should compare what you did with the image in reply 11 a little more closely? Smiley Wink

0 Kudos
Message 16 of 19
(1,555 Views)
It's also pointless to use an entire Formula Express VI just to divide a number by 10 or 1000. That's what this:  is for.
Message Edited by smercurio_fc on 12-25-2008 09:36 AM
0 Kudos
Message 17 of 19
(1,536 Views)

 

 

 

 

 Anyhow i got success in ploting graph of load vs deflection. Now i stuck to another problem with serial visa utility. It gives framing error. "Error-1073807253 occurred at VISA Read". How to solve it?
I am getting framing error while using serial visa port. I've checked all the serial settings i.e. baud rate, parity, data bits etc.,
I've tried many alternatives but those all doesn't work. I tried flush i/o buffer, set input buffer size and clear errors function. 
I also tried to ignore the errors from options in tools menu in block diagram. Can you tell me which mask value i should use in
flush buffer? I've also used error handler vi. All of these doesn't work.

0 Kudos
Message 18 of 19
(1,471 Views)
I don't understand why you're asking about the mask for the flush function for a framing error. If you do a search for framing error you will find a lot of posts, including this KnowledgeBase article.
Message 19 of 19
(1,457 Views)