Encoders and Data

Hi everyone,
it’s my FIRST post, and I need help with the kit encoders (optical)
and I have a question about real time data saving:

  1. When I tring to run the program with the encoder code, LabVIEW wants me to give a password for the FPGA (which, I don’t have).
  2. I was wanderring if I can save in the flash memory data form the ran time, like the last angle of the gyro, and to use that data in the next run.

thankyou,
Ori-2630.

If it’s asking for the FPGA password you might be defaulting to running the vi on your PC, not the cRIO.

Are you running the Basic or Advanced Framework or just a standalone vi?

If your program gets stopped between runs, but you want to save and pass data between runs, then you’d probably want to write it to a permanent file and read that file back in each time you start.

About the FPGA, I fixed the problem…I was needing to update my LabVIEW to 3.0a, and it worked like a megic (except of the Gyro issue-solved).
And about the saving thing, I figerd that I need to save it on permanent file…but HOW?
If some one could sand me an exemple, it will help us.
One more thing, how should I connect the 4 wire form the encoder to the cRIO?

Thankyou again,
Ori-2630

The encoders that come with the ToughBoxes? The cable has four colors. Brown is ground and should go to the - of a DIO on the Digital Sidecar. Orange is power and should go to the 5v of the same DIO. Yellow is (either A or B, I don’t remember exactly right now) and should go to the SIGNAL of the same DIO. Blue is (B or A, whatever yellow isn’t) and goes to the SIGNAL of another DIO. Leave the - and 5v of that second DIO unconnected.

I would look here first: http://usdigital.com/first

Thank you all I succeeded with the encoders, but i need more information about saving data (logging) to the flash, and how to use it later (after power off…)