12-22-2008 09:51 PM
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.
12-22-2008 10:27 PM
That is the Build Array function. It is set for Concatenate Inputs. It concatenates the scalar value to the end of the array.
12-23-2008 09:23 PM
12-23-2008 09:29 PM
12-24-2008 10:23 PM
12-24-2008 10:55 PM
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?
12-25-2008 09:35 AM - edited 12-25-2008 09:36 AM
12-31-2008 02:51 AM
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.
12-31-2008 09:12 AM