07-06-2015 03:29 PM - edited 07-06-2015 03:38 PM
I used the custom device template to start my custom device and i have had success in deploying until I started making more complicated subVi's. I currently am trying to convert FPGA low and high ticks to duty cycle, but for some reason when i add it to the RT Driver VI 'Read Data From HW', it seems to cause a time out.... any thoughts? Is a loop okay? I have added a time delay but am still having issues. It is an inline device, so i am suspicious about it hogging resources, but am not sure.
THe attached images are meant to be read like this:
1. The ReadDataFromHW case of the RT Driver
2. This is the subVi that calls ToDutyCycle SIMStimPWMSubVI
3. ShiftRegister.PNG is the inside of the SubVI.
Solved! Go to Solution.
07-06-2015 10:50 PM
As a roboticist I celebrate early and often (usually through a failure or two...), but it seems that the answer was to basically convert the While Loop to a for loop with a count of 1, and then remove extra elements to make sure each shift register has only one, and then right click on the shift registers and convert to Feedback Node....
I was able to deploy to VeriStand as a Custom Device and it runs and calculates the Duty Cycle without any issues. WOOHOO!!! Where is that celebrate button!
07-07-2015 10:20 AM
Hello,
Thanks for posting that you were able to resolve your issue.
Please see attached for celebration.
Regards,