03-18-2015 11:56 AM
03-18-2015 12:00 PM
03-19-2015 01:03 PM
Based on your MATLAB code that you supplied, we're probably looking at a case where your code simply does not work the same as the MT Generate Bits function. Rather than trying to use the MT Generate Bits function, could you not just implement your MATLAB code using LabVIEW functions? This may be a faster and simpler approach than trying to figure out how the MT Generate Bits code differs from your MATLAB code.
03-19-2015 02:12 PM
Yes you are totaly right i hope you did understand my matlab code because i tried as u said generating a code in labview better than trying to figure out about MT generate bits but i am having a logic error after i finished my code it's not get the same output as matlab and here you are the code which is maybe equivalent to the Matlab i hope you can help me in that its just my last question and i am sorry
Explainnation for code :
Index.vi is used to determine the positions of 1's in the Primitive polynomial
shifting and deleting .vi : for delete the first element in the primitive polynomial
PN Sequence which: is used to get the PN sequence at the end after the circule shift
i hope you would mind to help with tracing it and find the error in it
Finally Thanks a lot
Aomine
03-20-2015 10:39 AM
Hi Aomine,
I can try to take a look, but that will take me some time. My suggestion would be to use a Formula Node in LabVIEW instead since you already have a text version in MATLAB that is would be similar. Here's some help documentation on Formula Nodes. Give this a try and let me know if that provides better results for you. If I find some time, I'll try to dig into your code a little bit.
Formula Node Help:
http://zone.ni.com/reference/en-XX/help/371361J-01/glang/formula_node/
Formula Node Syntax:
http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/formula_node_syntax/
03-21-2015 05:02 AM
Finally i do really appreciate your help and your time for helping me Thanks i a lot i did worked on my logic error and corrected it Thanks
Aomine
03-21-2015 05:02 AM
Finally i do really appreciate your help and your time for helping me Thanks i a lot i did worked on my logic error and corrected it Thanks
Aomine
09-06-2016 12:59 PM
Hi Everyone,
I have interfaced a graphics LCD with the NI myRIO but myRIO takes a lot of time to initialize and draw things on the LCD. Is there any problem with the processor clock speed or some other problem?
09-07-2016 02:25 PM
Sajjad,
Is your question related to this post? If not you will have much better luck creating a new thread for it. In fact, I suggest you create a new post in the Academic Hardware Products forum, as they deal more closely with myRIO hardware.
ACADEMIC HARDWARE PRODUCTS
http://forums.ni.com/t5/Academic-Hardware-Products-ELVIS/bd-p/10