Discuss about the Piezo driver HERE
Open resource in SENSORICA's NRPOpen process for this VI development in SENSORICA's NRP
NOTE: if you contribute to this software development you can log your contributions into SENSORICA's NRP. You need to be an active affiliate of SNESORICA.
NOTE: This VI uses AO Channel 0 of the LJ DAQ card by default. If you want change the AO channel you need to change it everywhere in the program. You need to physically connect your Piezo Electronic Driver to channel AO0 of the LJ DAQ card. See more on the piezo manual.
NOTES: in order to make this program work properly with the NI DAQ card you need to make sure that the card is properly configured. The Piezo uses a NI-DAQ max Gloval Virtual Channel called MotorControlSignal (see picture below). If you don't use the other devices you don't need the other channels.
NOTE: in order to make this program work properly with your FPGA you need to have the IA Platform on your machine, which contains other files to configure your FPGA card, including a FPGA*.lvproj file, which is a LabView Project File. This LabView program is made to work in conjunction with other LabView programs that run other instruments like Mosquito, Perfusion, and Valves, on the same FPGA configuration. If you need a stand alone FPGA application only for the Piezo you need to modify the FPGA configuration. At this moment the MyFPGACode9-1.vi should run on the FPGA for this Piezo program and all the others.
See Instructions below for installing these LabView Drivers.
You need to download the entire LabView program for integration if you want to run this LabView Instrument Driver in conjunctions with other Instrument Drivers.
NOTE: the GLOBAL-lengthInfo.vi is a global variable that was added after Nabil's proposition to have the Piezo report motion, so that we can coordinate piezo motion with other devices. For example, we can now have Mosquito and/or Penguin data mixed with the Piezo data from one experiment, in order to have access to absolute length at all times.
The picture below shows the file structure of the IA Platform